h1:focus {
    outline: none;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
    }


/*MainLayout*/

.header-container {
    /*position:fixed;
    top:0;
    z-index:20000;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    width:100%;
}

.logo {
    width: 100px; /* Set your desired logo width */
}

/* Add your burger menu styles here */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Add other styles as needed */
}

.burger-menu {
    position: relative;
}

.burger-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Adjust or add more styles as needed */
}

.burger-menu-button .menu-text {
    font-size: 12px; /* Smaller font size for the "menu" text */
    margin-top: 4px; /* Space between the icon and the text */
    text-transform:capitalize;
}

.burger-menu-items {
    display: none;
    position: absolute;
    top: 100px; /* Position below the button */
    left: 0;
    background-color: white; /* Choose a background color that suits your design */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: adds a shadow for better visibility */
    width: 100%; /* Adjust width as needed */
    z-index: 1000; /* Ensures the menu appears above other content */
    text-align:center;
}

    .burger-menu-items a {
        display: block;
        text-decoration: none;
        color: black;
        padding: 10px;
        /* Add more styles as needed */
    }

        .burger-menu-items a:hover {
            background-color: #f0f0f0; /* Change for hover effect */
        }


.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

.footer-links {
    display: flex;
    margin-top: 10px;
}

    .footer-links a {
        margin-right: 20px;
        color: white;
        text-decoration: none;
    }

.main {
    /*top: 100px;
    position: relative;*/
}

    /*ProductList*/
.product-list {
    max-width: 700px;
    margin: 1em auto;
    
}

.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f6f6f6; /* Light grey background */
    
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px; /* Increased space between items */
}

.product-button {
    grid-row: span 2;
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .product-button:hover {
        background-color: #45a049; /* Darker green on hover */
    }

.btcart-count {
    background-color: blue;
    color: white;
    border-radius: 50%;
    padding: 4px 9px;
    margin-left:5px;
    font-size: 10px;
}
    /*Cart in Header*/
.cart-container {
    position: relative;
}

.cart-icon {
    font-size: 24px;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.cart-desc {
    color: #FFF; 
    text-decoration: none;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
}

/* Hide .cart-desc on screens smaller than 768px */
@media (max-width: 767px) {
    .cart-desc {
        display: none;
    }
}
    /*Cart*/
    .cart {
    max-width: 700px;
    align-items: center;
    margin: 2em auto;    
}

.cart h2 {
    margin: 0 auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    border-bottom: 1px solid #e0e0e0;
    
}

/* First Column */
.cart-item-left {
    display: flex;
    flex-direction: column; /* Stacks the name and details vertically */
    width: 80%; /* Adjust width as needed */
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Adds some space between quantity control elements */
}

/* Second Column */
.cart-item-right {
    display: flex;
    justify-content: flex-end;
    width: 20%; /* Adjust width as needed */
}

.remove-button {
    background-color: red;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .remove-button:hover {
        background-color: #d40000; /* Darker shade of red on hover */
    }

/* Cart Summary */
.cart-summary {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    max-width: 60%;
    margin: 1em auto
}

    .cart-summary > div {
        display: flex;
        justify-content: space-between; /* Left aligns description and right aligns the total */
        padding: 0.5rem 0; /* Adds some vertical space between each line */
    }

/* Checkout Buttons */
.checkout-btn {
    width: calc(50% - 1.15rem); /* Makes each button half the cart's width with 1rem deducted for spacing */
    padding: 1rem;
    margin: 0.5rem; /* Adds space around each button */    
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-green {
    background-color: #7B7;
    color: #ffffff;
}

.btn-orange {
    background-color: #FF5733;
    color: #111;
}
    .checkout-btn:hover {
        background-color: #0056b3; /* Darker shade on hover, adjust as needed */
    }

/*Notifications*/
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    color: #fff;
    border-radius: 5px;
    opacity: 0.9;
    z-index: 1000;
    transition: opacity 0.5s;
    display: none;
}

    .notification.success {
        background-color: #4CAF50; /* Green */
    }

    .notification.error {
        background-color: #f44336; /* Red */
    }
/*ThankYou*/
.thanks {
    max-width:700px;
    margin: 1em auto;
}

.order-details {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
    margin: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

    .order-details p {
        margin: 0;
        padding: 5px 0;
    }

    .order-details strong {
        font-weight: bold;
    }

    .order-details a {
        color: #007BFF;
        text-decoration: none;
    }

        .order-details a:hover {
            text-decoration: underline;
        }


/*MODAL*/
.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header span {
    float: right;
    cursor: pointer;
}

.modal-body {
    margin-top: 20px;
}

/*Login*/
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
/*Select Arrow*/
.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 1em; /* Make space for the icon */
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='black' d='M143 352l-136-136c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 34 0L160 277l116.4-117.5c9.4-9.4 24.6-9.4 34 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.4-24.6 9.4-34 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%;
    background-size: 0.65em auto;
}

    /* To remove the border and outline */
    .custom-select:focus {
        outline: none;
        border: 1px solid #ced4da;
        box-shadow: none;
    }


    /*Printing
    */
.company-info, .only-print {
    display: none;
}
@media print {
    .header-container, .footer-container, .no-print {
        display: none;
    }

    .company-info, .only-print {
        display: block;
    }

    .row {
        display: flex;
        flex-wrap: nowrap;
    }

    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        display: block;
        /* Optional: Set a specific width for each column if needed, e.g., 50% for col-lg-6 */
        width: auto; /* Adjust as needed */
    }
}


/*LOADER*/
.lds-roller {
    display: inline-block;    
    width: 80px;
    height: 80px;
    position: fixed; /* or 'absolute' */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Ensure it's above other content */
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;        
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #444;
            margin: -4px 0 0 -4px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.export-container {
    position: relative;
    width:100%;
}

.export-button {
    position: absolute;
    top: 10px;
    right: 0;
    z-index:10000;
}

.print-button {
    position: absolute;
    top: 10px;
    right: 50px;
    z-index: 10000;
}