@font-face {
    font-family: 'Aptos';
    src: url(./Fonts/Aptos.ttf);
}
    /*
    .fullscreen-bg {
        height: 250px;
        width: 100%;
        background-image: url(./Img/kkipbg/kkipbg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    }
    */


/*background: linear-gradient(to bottom, #04317a, rgba(10, 92, 196, 0.9), rgba(255, 255, 255, 0));*/

.drink-menu {
    display: flex;
    height: 200px;
    width: 100%;
    background: linear-gradient(to bottom, #1976d2, rgba(25, 118, 210, 0.99), transparent);
    color: #FFF;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(8px); /* Adds a soft blur effect */
    padding: 20px; /* Adds spacing to avoid content touching edges */
}

.def-bg {
    background-color: #f8f8f8;
}

.kkip-color {
    color: #04317a;
}

/* Apply styles only when inside .menu-page */
.menu-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f8f8;
}


/* Menu Container */
.menu-container {
    width: 100%;
    min-height: 100vh;
    max-width: 800px;
    background-color: #f8f8f8;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .menu-container {
        width: 100%;
        background: transparent;
        box-shadow: none;
    }
}

.menu-content {
    padding: 20px;
    margin-bottom: 10px;
}

.pantry-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

    .pantry-list.show {
        max-height: 1000px; /* Adjust this value based on content height */
    }

/* Search Bar */
.search-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}

/*.sticky-search {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}*/

    .search-wrapper input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }


.search-wrapper-mn {
    margin-bottom: 20px;
}

    .search-wrapper-mn input {
        width: 300px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

    .search-container i {
        position: absolute;
        left: 10px; /* Adjust as needed */
        font-size: 16px;
        color: gray;
    }

    .search-container input {
        padding-left: 35px; /* Space for the icon */
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

/* Menu Cards */
.menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Individual Menu Card */
.menu-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content fills the space properly */
    align-items: center;
    height: 100%; /* Ensures all cards have the same height */
    min-height: 300px; /* Adjust as needed */
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
}

   /* .menu-card:hover {
        transform: scale(1.05);
    }*/

/* Ensure menu images have a uniform size */
.menu-image {
    flex-grow: 1;
    width: 100%; /* Ensures it takes the full width of the container */
    max-width: 200px; /* Set a reasonable max width */
    height: 150px; /* Maintains the aspect ratio */
    object-fit: cover; /* Prevents stretching */
    border-radius: 10px; /* Optional: adds rounded corners */
    transition: transform 0.2s;
}
.menu-image:hover {
    transform: scale(1.05);
}

.variation-image {
    flex-grow: 1;
    width: 100%; /* Ensures it takes the full width of the container */
    max-width: 350px; /* Set a reasonable max width */
    min-height: 200px; /* Maintains the aspect ratio */
    height: auto;
    object-fit: cover; /* Prevents stretching */
    border-radius: 10px; /* Optional: adds rounded corners */
    transition: transform 0.2s;
}

    .variation-image:hover {
        transform: scale(1.05);
    }

/* Menu Text */
.menu-header {
    flex-grow: 1;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.menu-body {
    flex-grow: 1;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* No Results */
.no-results {
    font-size: 16px;
    color: red;
    font-weight: bold;
}

/* Add to Cart Button */
.add-to-cart-btn {
    background-color: #007bff !important;
}

    .add-to-cart-btn:hover {
        background-color: #0056b3 !important;
    }

/* No Results Message */
.no-results {
    font-size: 16px;
    color: #888;
    text-align: center;
}

/* View Cart Button */
.view-cart-btn {
    position: fixed;
    bottom: 105px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 1;
}

/* Cart Popup */
.cart-popup {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 2000;
}

/* Cart Content */
.cart-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Cart List */
.cart-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px; /* Set maximum height */
    overflow-y: auto; /* Make it scrollable if content exceeds height */
    margin-bottom: 20px;
}

    /* Scrollbar styles */
    .cart-list::-webkit-scrollbar {
        width: 8px;
    }

    .cart-list::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }

/* Cart Item */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* Cart Info (Image and Details) */
.cart-info {
    display: flex;
    align-items: center;
}

/* Cart Image */
.cart-image {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 15px;
}

/* Cart Details */
.cart-details {
    text-align: left;
}

.cart-name {
    font-weight: bold;
    display: block;
}

.cart-variation-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    align-items: center;
}

/* Quantity Buttons */
.quantity-btn {
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
}

.cart-quantity {
    margin: 0 10px;
}

/* Remove Button */
.remove-btn {
    margin-left: 10px;
}

/* Cart Buttons */
.cart-buttons {
    margin-top: 20px;
}


/* Remove Button */
.remove-btn {
    padding: 5px 10px;
    font-size: 14px;
}

/* Confirm & Close Buttons */
.cart-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}


/* Confirm Order Button */
.confirm-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

    .confirm-btn:hover {
        background-color: #0056b3;
    }

/* Remove Button */
/*.remove-btn {
    background-color: red;
    color: white;
    padding: 5px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}*/

/* Order Confirmation */
.checkumarku {
    width: 300px;
    height: 250px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 50px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px; /* Rounded corners */
    z-index: 2000;
}


/* Pending Order Button */
.pending-order-btn {
    position: fixed !important;
    top: 60px !important; /* Adjust so it's below the search bar */
    left: 50% !important;
    transform: translateX(-50%) !important;
    background-color: #ff9800 !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    z-index: 1100 !important; /* Ensure it's above other elements */
}


/* Pending Order Popup */
.pending-order-popup {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translate(-50%, 0);
    background: white;
    border: 2px solid #ddd;
    padding: 20px;
    width: 350px;
    z-index: 1001;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 500px; /* Ensures the popup doesn’t get too tall */
    border-radius: 8px;
}

/* Pending Order Content */
.pending-order-content {
    text-align: left;
}

/* Pending Order List */
.pending-order-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px; /* Restrict height */
    overflow-y: auto; /* Make it scrollable */
}

    /* Scrollbar styling (optional) */
    .pending-order-list::-webkit-scrollbar {
        width: 8px;
    }

    .pending-order-list::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }

/* Pending Order Item */
.pending-order-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Pending Order Info */
.pending-order-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Pending Order Image */
.pending-order-image {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

/* Pending Order Details */
.pending-order-details {
    flex-grow: 1;
}

/* Pending Order Name */
.pending-order-name {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Pending Order Variations */
.pending-order-variations {
    list-style: disc;
    padding-left: 15px;
    margin: 5px 0;
    font-size: 14px;
}

/* Pending Order Quantity */
.pending-order-quantity {
    font-size: 14px;
    color: #555;
}

/* Close Button */
.close-bttn {
    width: 100%;
    padding: 10px;
    background: #d9534f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

    .close-bttn:hover {
        background: #c9302c;
    }

.dialog-center {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text inside */
}

.blue-bg {
    background: #e8f7ff !important;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures page takes full height */
}

.content {
    flex: 1; /* Pushes footer to the bottom when content is short */
}

.footer {
    background-color: #1976d2;
    color: white;
    text-align: center;
    font-size: 17px;
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto; /* Reduce height */
    padding-top: 15px;
    margin-top: 30px;
}


.pantry-container {
    justify-content: center;
    padding: 10px;
}

.pantry-card {
    width: 100%; 
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px; 
    align-items: center;
    justify-content: center;
}

.pantry-info {
    align-items: center;
    justify-content: center;
}

.pantry-open {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pantry-closed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    opacity: 0.6;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.order-confirmation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    min-width: 300px; /* Set width */
    min-height: 200px; /* Prevent too much height */
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px; /* Rounded corners */
    z-index: 2000;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10px auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
}

.close-btn {
    background-color: #7ac142;
    width: 100%;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

    .close-btn:hover {
        background-color: #669f33;
    }



html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}



