:root {
    --main-color: #93ae90;
    --main-color-rgp: 147, 174, 144;
    --main-color-hover: #849c82; /* Darkened by approximately 10% */
    --main-color-active: #758b73; /* Darkened by approximately 20% */
}


* {
    font-family: 'Cairo', sans-serif;
}

html {
    height: 100% !important;
}

body {
    /*    min-height: 100% !important;*/
    padding: 0 !important;
    user-select: none !important;
    overflow-x: hidden !important;
    background-color: #f3f5f9;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(0 0 0 / 35%);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

.cursor-pointer {
    cursor: pointer !important;
}

.modal-content {
    border-radius: 2.5rem !important;
}

.swal2-modal {
    border-radius: 2.5rem !important;
    overflow: auto !important;
}

.type-title {
    font-size: 1.35rem !important;
}


.item-card.fade:not(.show) {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}


.btn-main {
    --bs-btn-color: #ffffff !important;
    --bs-btn-bg: var(--main-color) !important;
    --bs-btn-border-color: #20ab7f;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #20ab7f;
    --bs-btn-hover-border-color: #1b8d69;
    --bs-btn-focus-shadow-rgb: 32, 171, 127;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #93ae90;
    --bs-btn-active-border-color: #1b8d69;
    --bs-btn-active-shadow: inset 0 3px 5px #00000020;
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #1b8d69;
    --bs-btn-disabled-border-color: #1b8d69;
    --bs-btn-focus-box-shadow: #20ab7f;
}

.text-main {
    color: var(--main-color) !important;
}

.bg-main {
    background-color: var(--main-color) !important;
}

.btn {
    border-radius: 150px;
}

.swal2-confirm, .swal2-cancel {
    border-radius: 150px !important;
}

.loading {
    position: fixed;
    background-color: #1616162b;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}


.profile-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    background-color: #f3f5f9;
    border-radius: 50%;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    color: var(--main-color);
}

#HomePage {
    height: 100vh !important;
    background: linear-gradient(0deg, #000000c7, #0000001f), url(https://i.pinimg.com/736x/ed/15/69/ed1569f5382e14e57451c9087de97f00.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

#HomePage .category:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

#HomePage .category img {
    transition: transform 0.5s ease;
}

#HomePage .category:hover img {
    transform: scale(1.1);
}

#HomePage h1 {
    line-height: initial;
    font-size: 4.5rem !important;
    color: #fff;
}

#HomePage p {
    color: #fff;
}

#HomePage .btn {
    font-size: 2rem !important;
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
}

#HomePage #order_type {
    padding-top: 15% !important;
    padding-bottom: 30% !important;
}

#HomePage #order_type .card {
    border: 0 !important;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.15)
}

#HomePage #order_type .card p {
    font-size: 1.75rem !important;
}

@media (max-width: 576px) {
    #HomePage .btn {
        font-size: 1.5rem !important;
    }

    #HomePage h1 {
        font-size: 2.5rem !important;
    }

}


/* PAGE #2 STYLES*/


#MenuPage .categories-container {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    justify-content: start;
    margin: 10px 0 10px 0;
}


#MenuPage .category {
    border-radius: 26px;
}

#MenuPage .category img {
    height: 150px !important;
    width: 150px !important;
    object-fit: cover;
    border-radius: 26px;
    background: white;
    transition: all .2s ease-in-out;
}

#MenuPage .category.active img {
    border: 5px solid var(--main-color) !important;
}

#MenuPage .category .card-body {
    background-color: #93ae90;
    padding: 0;
    border-radius: 26px 26px 0 0;
}


#MenuPage .category .card-footer {
    background-color: #93ae90;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 0 0 26px 26px;
    max-width: 150px;
    border: 0;
}


#MenuPage .product {
    background: #fff;
    box-shadow: 0 0.3rem 1.525rem -0.375rem rgb(0 0 0 / 10%) !important;
    padding: 15px;
    min-height: 185px;
    border-radius: 6px;
}

#MenuPage .product .name {
    font-size: 13px !important;
    font-weight: bold !important;
}

#MenuPage .product .price {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-bottom: 5px;
}

#MenuPage .product .description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 18px;
    max-height: 40px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px !important;
    margin-bottom: 10px;
}


#MenuPage .product img {
    object-fit: cover !important;
    max-height: 130px;
    width: 100%;
}


@media (max-width: 576px) {
    #MenuPage .category .card-footer {
        max-width: 135px !important;
    }


    #MenuPage .category img {
        height: 135px !important;
        width: 135px !important;
    }

    #MenuPage .product .btn-main {
        font-size: 13px !important;
    }

    #MenuPage .logo {
        height: 110px;
    }

    #MenuPage .logo img {
        height: 85px;
    }


}


#ReceiptPage {
    height: 80vh !important;
}

#ReceiptPage .back-to-home {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    line-height: 80px;
}

@media (max-width: 576px) {

    #ReceiptPage h1 {
        font-size: 2rem !important;
        margin-bottom: 20px;
    }

}

.site-header {
    text-align: center;
    background-color: white;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.mt-45p {
    margin-top: 20vh;
}


/*
**************************  custom-input ***********************
*/


.custom-input {
    display: inline-block;
    height: 100px;
}

.custom-input-group {
    display: flex;
    overflow-x: auto;
    position: relative;
}


.custom-input-group > * {
    margin: 0.4rem 0.3rem;
}

.custom-input-group-legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9c9c9c;
    text-align: center;
    line-height: 1.125;
    margin-bottom: 1.25rem;
}

.custom-input-input {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.custom-input-wrapper {
    height: 100%;
}

.custom-input-input:checked + .custom-input-title {
    border-color: #93ae90;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #93ae90;
}

.custom-input-input:checked + .custom-input-title:before {
    transform: scale(1);
    opacity: 1;
    background-color: #93ae90;
    border-color: #93ae90;
}

.custom-input-input:checked + .custom-input-title .custom-input-icon, .custom-input-input:checked + .custom-input-title .custom-input-label {
    color: #93ae90;
}


.custom-input-input:focus + .custom-input-title:before {
    transform: scale(1);
    opacity: 1;
}

.custom-input-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6.5rem;
    min-height: 4rem;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.custom-input-title:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    top: 0.25rem;
    right: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 0;

}


.one_option ~ .custom-input-title:before {
    border-radius: 50%;
}

.custom-input-title:hover {
    border-color: #93ae90;
}

.custom-input-title:hover:before {
    transform: scale(1);
    opacity: 1;
}

.custom-input-icon {
    transition: 0.375s ease;
    color: #494949;
}

.custom-input-label {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
}

.custom-input-icon img {
    width: 65px;
    height: 35px;
    object-fit: contain;
}


.form-control:focus, .form-select:focus {
    border-color: black !important;
    box-shadow: none !important;
}



.fixed-bottom, .fixed-top {
    width: 100%;
    left: 50%;
    right: 0;
    transform: translate(-50%);
    max-width: 700px;
}


body {
    justify-self: center;
    max-width: 700px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

