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;
}


/* Main product card styling */
.mainpage-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 10px;
    border-radius: 6px;
    background-color: #fff;
}

    .mainpage-product-card:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

/* Tooltip container */
.mainpage-tooltip-container {
    position: relative;
}

/* Custom tooltip */
.mainpage-product-tooltip {
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    border-radius: 4px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1000;
    transition: opacity 0.3s ease;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

/* Show tooltip on hover */
.mainpage-tooltip-container:hover .mainpage-product-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Optional: image handling */
.mainpage-product-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; /* Adjust as needed */
    overflow: hidden;
}

.mainpage-product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Product name styling */
.mainpage-product-name {
    font-weight: bold;
}


/* Card body */
.card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

/* Product title: consistent height and alignment */
.card-title {
    font-size: 1rem;
    font-weight: 600;
    min-height: 2.5em; 
    margin-bottom: 0.5rem;
    text-align: center;
    word-break: break-word;
}

/* Product details (price, min order) */
.card-text {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    text-align: center;
    color: #333;
}

.loader {
    width: fit-content;
    font-weight: bold;
    font-family: monospace;
    font-size: 30px;
    background: radial-gradient(circle closest-side,#000 94%,#0000) right/calc(200% - 1em) 100%;
    animation: l24 1s infinite alternate linear;
}

    .loader::before {
        content: "Loading...";
        line-height: 1em;
        color: transparent;
        background: inherit;
        background-image: radial-gradient(circle closest-side, #fff 94%, #000);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }



@keyframes l24 {
    100% {
        background-position: left
    }
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Layout container */
.login-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensures full height */
}

/* Body/content area grows to push footer down */
.login-content {
    flex: 1;
    margin-bottom: 20px; /* <-- adds space before footer */
}


/* =========================
   Footer Styles
   ========================= */

.insite-footer {
    background: #0b1f2a; /* deep ocean color */
    color: #e6f2f7; /* light text */
    padding: 28px 20px;
    text-align: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    /* default visible (safe) */
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.insite-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
}

.insite-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.insite-footer__logo {
    height: 40px;
    width: auto;
}

.insite-footer__name {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.insite-footer__tagline {
    margin: 6px 0 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.insite-footer__legal {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: #9db7c3;
}

/* Larger screens: brand left, tagline center, legal right */
@media (min-width: 720px) {
    .insite-footer__inner {
        grid-template-columns: 1fr auto 1fr;
        text-align: left;
    }

    .insite-footer__brand {
        justify-self: start;
    }

    .insite-footer__tagline {
        justify-self: center;
        text-align: center;
    }

    .insite-footer__legal {
        justify-self: end;
        text-align: right;
    }
}



.toast {
    animation: toast-up 0.25s ease-out;
}

@keyframes toast-up {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}




/*skeletonLoader*/
.skimg-wrap {
    background: #fff;
}

.skimg-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,#e6e6e6 40%,#f2f2f2 50%,#e6e6e6 60%);
    background-size: 200% 100%;
    animation: skimg-shimmer 1.2s infinite;
    opacity: 1;
    transition: opacity 200ms ease;
}

.skimg-photo {
    opacity: 0;
    transition: opacity 220ms ease;
}

.skimg-loaded .skimg-photo {
    opacity: 1;
}

.skimg-loaded .skimg-skeleton {
    opacity: 0;
    pointer-events: none;
}

@keyframes skimg-shimmer {
    to {
        background-position: -200% 0;
    }
}

.skimg-error {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 14px;
    color: #666;
    background: #f2f2f2;
}




.flip-scene {
    perspective: 1200px;
}

.flip-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 450ms ease;
    width: 100%;
}

    .flip-card.is-flipped {
        transform: rotateY(180deg);
    }

.flip-face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
}
.flip-card-sizing {
    transition: height 200ms ease;
}
