/* General reset and styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

html, body {
    height: fit-content;
    min-height: 100vh;
    background-color: #fff; /* Background color */
}

    body.Inner {
        background-image: url('../images/pattern.svg');
    }

a {
    text-decoration: none !important;
}

[hidden] {
    display: none !important;
}

/* Fullscreen container for the splash screen */
.splash-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-image: url('../images/pattern.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    min-height: 100%;
    padding: 20px;
    text-align: center;
}

.loader-screen {
    position: fixed;
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(../images/pattern.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    min-height: 100%;
    padding: 20px;
    text-align: center;
    z-index: 99999999;
    background-color: #ffffff;
}

    .loader-screen.show {
        display: flex
    }

/* Centered logo */
.logo-container {
    /*flex-grow: 1;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.anm-bounce {
    animation: bounce 2s infinite; /* Bounce animation */
}

/* Bounce animation for the logo */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px); /* Move logo up and down */
    }
}

/* Loading bar container */
.loading-bar-container {
    width: 80%; /* Full width of the container */
    margin: 20px 0;
    background-color: #e0e0e0; /* Gray background */
    height: 6px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

/* The actual loading bar */
.loading-bar {
    height: 100%;
    background-color: #F58220; /* QrBite's brand color */
    width: 0; /* Initially set width to 0 */
    animation: loading 1s linear forwards; /* Animate width */
}

/* Keyframes for loading bar animation */
@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Footer */
footer {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-text {
    font-size: 0.75rem;
    color: #555;
}

.text-primary {
    color: #F58220;
}

.highlight {
    color: #F58220;
    font-weight: bold;
}

.header-buttons {
    top: 0;
    left: 50%;
    display: flex;
    position: absolute;
    width: 100%;
    max-width: 768px;
    height: 100px;
    transform: translateX(-50%);
}

.cafe-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-image: url('../images/pattern.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: fit-content;
    min-height: 100vh;
    max-width: 768px;
    padding: 20px;
    text-align: center;
    margin: auto;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px !important;
}

    .cafe-page.Inner {
        background-image: none;
        background-color: #ffffff;
    }

.language-button {
    background-color: #002D62;
    border: 2px solid #002D62;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .language-button img {
        margin-right: 8px;
        width: 18px;
    }

/* Cafe content styling */
.cafe-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    flex-grow: 1;
}

.cafe-content-inner {
    display: flex;
    flex-direction: column;
    justify-content: normal;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
}

.categ-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    overflow-x: auto;
    padding: 10px;
    margin: 10px -20px;
}

    .categ-header .categ-header-item {
        font-size: 12px;
        white-space: nowrap;
        padding: 5px 10px;
        background-color: #f1f1f1;
        color: #000000;
        border-radius: 15px;
    }

        .categ-header .categ-header-item.selected {
            background-color: #F58220;
            color: #ffffff;
        }

.cafe-categ-section {
    display: block;
    width: 100%;
    grid-column: 1 / -1;
    flex: 0 0 100%;
    max-width: 100%;
    float: none;
    clear: both;
    scroll-margin-top: 70px;
}

.section-break {
    width: 100%;
    height: 24px;
    display: block;
    clear: both;
}

.cafe-categ-title {
    text-align: start;
    color: #F58220;
    font-weight: 700;
    margin: 0 0 12px;
}

.cafe-categories {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

    .cafe-categories .category {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        margin-bottom: 20px;
        border-radius: 25px;
        max-width: 100%;
        min-width: 100%;
        padding-right: 5px;
        padding-left: 5px;
        flex: 1 0 0;
    }

        .cafe-categories .category .image-wrapper {
            position: relative;
            width: 100%;
            height: 96px;
            border-radius: 25px;
        }

            .cafe-categories .category .image-wrapper .categ-image {
                width: 100%;
                height: 96px;
                object-fit: cover;
                border-radius: 25px;
            }

            .cafe-categories .category .image-wrapper .image-overlay {
                width: 100%;
                position: absolute;
                height: 96px;
                border-radius: 25px;
                background: rgba(0, 0, 0, 0.3);
                top: 0;
            }

        .cafe-categories .category .category-name {
            position: absolute;
            display: flex;
            width: 100%;
            height: 100%;
            align-items: center;
            justify-content: center;
        }

            .cafe-categories .category .category-name h3 {
                color: #ffffff;
            }

.items-bar {
    position: relative;
    width: 100%;
    background: #ffffff;
    margin-bottom: 20px;
    padding: 10px;
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px !important;
    border-radius: 15px;
}

    .items-bar .desc-toggle {
        position: absolute;
        bottom: -7px;
        width: 40px;
        height: 20px;
        background-color: #ffffff;
        color: #F58220;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 30px;
        left: calc(50% - 20px);
        transition: transform 0.3s ease;
        box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px !important;
    }

        .items-bar .desc-toggle i.fa-solid.fa-angle-down {
            transition: transform 0.3s ease;
        }

        .items-bar .desc-toggle.rotate i.fa-solid.fa-angle-down {
            transform: rotate(180deg);
        }

    .items-bar .content {
        display: flex;
        text-align: start;
    }

    .items-bar .content-desc {
        display: none;
    }

    .items-bar .content .img-container img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 15px;
    }

.items-bar-cart {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.item-name-outter {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.item-desc-outter {
    text-align: start;
    padding: 10px;
    font-size: 12px;
    color: #6e6e6e;
}

.price-tag {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

    .price-tag .red {
        color: #ffffff;
        background-color: #ff0000;
        padding: 0px 5px;
        border-radius: 15px;
        font-size: 10px;
    }

.input-group {
    display: flex;
    align-items: center;
    justify-content: end;
}

    .input-group .input-number {
        border: 0px;
        text-align: center;
        outline: none;
        width: 40px;
        font-size: 16px;
    }

    .input-group .btn {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background-color: #F58220;
        color: #ffffff;
        cursor: pointer;
        transition: 0.3s all;
        border: 0px;
        outline: 0px;
    }

        .input-group .btn:hover {
            background-color: #e06d1c;
        }

.recommended-wrapper {
    width: fit-content;
    margin: 5px 10px 20px 10px;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 10px;
    text-align: start;
    border: 1px solid #F58220;
    border-radius: 30px;
}

    .recommended-wrapper .recommended-title {
        width: 100%;
    }

    .recommended-wrapper .recommended-item {
        width: 33.33%;
        text-align: start;
    }

        .recommended-wrapper .recommended-item .img-container {
            position: relative;
            text-align: center;
            width: 100px;
            height: 100px;
        }

            .recommended-wrapper .recommended-item .img-container .add-featured-btn {
                position: absolute;
                top: -7px;
                right: -7px;
                width: 24px;
                height: 24px;
                background-color: #F58220;
                color: #ffffff;
                border-radius: 50%;
                border: 1px solid #ffffff;
            }

        .recommended-wrapper .recommended-item .recommended-item-name {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            font-size: 12px;
            font-weight: bold;
        }

.recommended-item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
}

.item-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #F58220;
    font-weight: bold;
    font-size: 16px;
}

.currency {
    font-size: 0.675em;
}

.select-item-wrapper {
    width: 100%;
    display: flex;
    justify-content: end;
    margin-top: 20px;
}

    .select-item-wrapper .btn-select-item {
        font-size: 12px;
        white-space: nowrap;
        padding: 5px 10px;
        background-color: #F58220;
        color: #ffffff;
        border-radius: 15px;
        transition: 0.3s all;
        cursor: pointer;
        border: 0px;
        outline: none;
    }

        .select-item-wrapper .btn-select-item:hover {
            background-color: #e06d1c;
        }

.sticky-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    right: auto;
    bottom: 32px;
    left: auto;
    position: sticky;
    z-index: 90;
    transition: 0.3s ease
}

.categ-btn {
    position: absolute !important;
    right: 50%;
    bottom: 0px;
    transform: translate(50%, 50%) !important;
    border: 1px solid rgb(235, 236, 242) !important;
    background-color: rgb(255, 255, 255) !important;
    z-index: 10 !important;
    border-radius: 32px !important;
}

.colapse-btn {
    position: absolute !important;
    right: 20px;
    top: 0px !important;
    transform: translate(-50%, -50%) !important;
    border: 1px solid rgb(235, 236, 242) !important;
    background-color: rgb(255, 255, 255) !important;
    z-index: 10 !important;
    border-radius: 32px !important;
}

    .colapse-btn .rotate {
        transition: transform 0.3s ease;
    }

        .colapse-btn .rotate.close {
            transform: rotate(180deg);
        }

.cafe-logo {
    width: 120px; /* Adjust size as necessary */
    margin-bottom: 20px;
}

.cafe-name {
    font-size: 2rem;
    color: #002D62;
    font-weight: bold;
    margin-bottom: 10px;
}

    .cafe-name.Inner {
        font-size: 1.4rem;
    }

.status-message {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

    .status-message.closed {
        color: red;
        font-weight: bold;
    }

.opening-hours-label {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}

.opening-hours {
    font-size: 1.3rem;
    font-weight: bold;
    color: #002D62;
}

/* Footer styling */
.cafe-footer {
    text-align: center;
    padding-bottom: 10px;
}

.footer-logo {
    width: 70px;
    margin-bottom: 10px;
}

.cafe-footer p {
    font-size: 0.8rem;
    color: #555;
}

.cafe-footer a {
    color: #F58220;
    text-decoration: none;
}

.table-number {
    font-size: 1rem;
    color: black;
    font-weight: bold;
    margin-bottom: 10px;
}

.enter-pin-label {
    font-size: 1rem;
    color: #777;
    margin-bottom: 10px;
}

/* PIN Input Field Container */
.pin-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #F58220;
    border-radius: 30px;
    padding: 5px 15px;
    width: 250px;
    margin-bottom: 20px;
    position: relative;
}

    .pin-input-container .icon-lock {
        color: #F58220;
    }

    .pin-input-container .pin-input {
        border: none;
        text-align: center;
        font-size: 1rem;
        width: 100%;
        outline: none;
        padding: 5px;
    }

.feedback {
    color: #ff0505
}

/* Submit Button */
.qb-primary-button {
    background-color: #F58220;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    width: 250px;
    font-weight: bold;
    transition: 0.3s all;
    outline: none !important;
}

    .qb-primary-button:hover {
        background-color: #e06d1c;
    }

.qb-plight-button {
    background-color: transparent;
    color: #F58220;
    border: 1px solid #F58220;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    width: 250px;
    font-weight: bold;
    transition: 0.3s all;
    outline: none !important;
}

    .qb-plight-button:hover {
        color: #e06d1c;
        border: 1px solid #e06d1c;
    }

.qb-primary-sm-button {
    background-color: #F58220;
    color: white;
    border: none;
    padding: 0px 15px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s all;
    outline: none !important;
}

    .qb-primary-sm-button:hover {
        background-color: #e06d1c;
    }

.qb-secondary-button {
    background-color: #002D62;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    width: 250px;
    font-weight: bold;
    transition: 0.3s all;
    outline: none !important;
}

    .qb-secondary-button:hover {
        background-color: #002754;
    }

.primary-bold {
    color: #002D62;
    font-weight: bold;
    margin-bottom: 10px;
}

.pin-code {
    font-size: 16px;
    background-color: rgba(150, 150, 150, 0.3);
    padding: 10px 20px;
    border-radius: 15px;
}

.bill-btn-wrapper {
    position: relative;
    width: 100%;
    padding: 8px 8px !important;
    /*width: calc(100% - 25px) !important;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-bill-btn {
    min-height: 26px;
    min-width: 26px;
    padding: 1px 5px;
    border-radius: 15px;
    background-color: #fff;
    color: #F58220;
}

small.curency {
    font-size: 0.6rem
}

/*Helper classes*/
.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-b-20 {
    margin-bottom: 20px;
}

.m-b-30 {
    margin-bottom: 30px;
}

.m-b-40 {
    margin-bottom: 40px;
}

.m-t-10 {
    margin-top: 10px;
}

.m-t-20 {
    margin-top: 20px;
}

.m-t-30 {
    margin-top: 30px;
}

.m-t-40 {
    margin-top: 40px;
}

.m-l-10 {
    margin-left: 10px;
}

.m-l-20 {
    margin-left: 20px;
}

.m-l-30 {
    margin-left: 30px;
}

.m-l-40 {
    margin-left: 40px;
}

.m-r-10 {
    margin-right: 10px;
}

.m-r-20 {
    margin-right: 20px;
}

.m-r-30 {
    margin-right: 30px;
}

.m-r-40 {
    margin-right: 40px;
}

.m-x-10 {
    margin-left: 10px;
    margin-right: 10px;
}

.m-x-20 {
    margin-left: 20px;
    margin-right: 20px;
}

.m-x-30 {
    margin-left: 30px;
    margin-right: 30px;
}

.m-x-40 {
    margin-left: 40px;
    margin-right: 40px;
}

.m-y-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.m-y-20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.m-y-30 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.m-y-40 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.text-center {
    text-align: center !important;
}

.justify-content-center {
    justify-content: center !important;
}
