.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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."
    }

.loading-icon-container {
    display: block;
    width: 100vw;
    height: 80vh;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.loading-icon {
    width: 7rem;
    height: 7rem;
}

.loading-title {
    font-size: 26px;
    font-family: "Open Sans";
    font-weight: 700;
    color: #424242;
}

.loading-subtitle {
    font-size: 14px;
    font-family: "Open Sans";
    font-weight: 500;
    color: #424242;
}

code {
    color: #c02d76;
}

.nav {
    transition: transform 0.6s !important;
}

.nav--hidden {
    transform: translateY(-150px);
    box-shadow: none;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.floating-cart {
    bottom: 50px;
    right: 16px;
}

.floating-cart-btn {
    background-color: #ffffff;
}

    .floating-cart-btn > span > span {
        margin-left: -3px !important;
    }

.delivery-location-button {
    max-width: 300px;
    padding: 18px 24px !important;
}

.delivery-location-text {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
}

.product-container {
    border: 1px solid #eeeeee;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.product-image-container {
    min-height: 120px;
    max-height: 120px;
    width: 100%;
    /*background-color: #eeeeee;*/
    overflow: hidden;
}

.product-title {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1;
}

.input-label {
    font-size: 14px;
    font-weight: 600;
}

.auth-header-pt-desktop {
    padding-top: 5px;
}

.auth-header-pt-mobile {
    padding-top: 10px;
}

.body {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 160px);
    background: #ffffff;
}

main {
    flex-grow: 1;
}

footer {
    display: flex;
    flex-direction: column;
    background: #992018;
    color: #ffffff;
    min-height: 100px;
    margin: 0px 0 16px 0;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

/* Banner Styles */
.banner {
    background-image: url('../images/banner-img.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

    .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

.banner-content {
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        height: 200px;
    }

        .banner h1 {
            font-size: 2em;
        }
}

.quantity-container {
    display: flex;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    overflow: hidden;
}

    .quantity-container button {
        background: #ffffff !important;
        color: #c4c4c4;
        border: none;
        cursor: pointer;
        font-size: 20px;
        width: 20px;
        height: auto;
        text-align: center;
        transition: background-color 0.2s;
    }

        .quantity-container button:hover {
            color: #000000;
        }

.quantity-input-box {
    width: 40px;
    text-align: center;
    border: none;
    padding: 5px 6px;
    font-size: 14px;
    outline: none;
}

    /* Hide the number input spin buttons */
    .quantity-input-box::-webkit-inner-spin-button,
    .quantity-input-box::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .quantity-input-box[type="number"] {
        -moz-appearance: textfield;
    }

.cart-quantity-container {
    display: flex;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    overflow: hidden;
    height: 25px;
    width: 65px;
}

    .cart-quantity-container button {
        background: #ffffff !important;
        color: #c4c4c4;
        border: none;
        cursor: pointer;
        font-size: 20px;
        width: 20px;
        height: auto;
        text-align: center;
        transition: background-color 0.2s;
    }

        .cart-quantity-container button:hover {
            color: #000000;
        }

.cart-quantity-input-box {
    width: 30px;
    text-align: center;
    border: none;
    padding: 8px 2px;
    font-size: 12px;
    outline: none;
}

    /* Hide the number input spin buttons */
    .cart-quantity-input-box::-webkit-inner-spin-button,
    .cart-quantity-input-box::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .cart-quantity-input-box[type="number"] {
        -moz-appearance: textfield;
    }

.cart-badge {
    inset: auto auto calc(100% - 20px) calc(100% - 15px) !important;
}

.prescription-image-container {
    border: 1px solid #eeeeee;
    position: relative;
    overflow: hidden;
    height: 100px;
    width: 100px;
}

.prescription-delete-btn {
    position: absolute;
    right: 1px;
    top: 1px;
}

.white-gray-bg {
    background: #F2F3F5 !important;
}

.white-bg {
    background: #FFFFFF !important;
}

.border-top {
    border-top: 0.5px solid #f2f3f5 !important;
}

.border-bottom {
    border-bottom: 0.5px solid #f2f3f5 !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14, #fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.color-gray {
    color: #c7c7c7 !important;
}

.color-light-red {
    color:#FAA0A0;
}

.color-white {
    color: #FFFFFF !important;
}

.fs-strike {
    text-decoration: line-through !important;
}

.account-image-container {
    height: 50px;
    width: 50px;
    border-radius: 25px;
    overflow: hidden;
}

.upload-prescription-container input[type="file"] {
    position: relative;
    z-index: 1000;
}
