﻿body {
}

    body.modal-open {
        overflow: hidden;
    }

.bi-card-list-nav-menu::before {
    content: "\F227"; /* Unicode for bi-card-list */
}

.bi-card-list-nav-menu {
    font-size: 1.25rem;
    vertical-align: 1.0em;
    margin-right: 0.5rem;
    position: relative;
    /*top: -10px; / * or -1px to raise slightly */
}

.topbar a {
    color: #333;
    font-weight: 500;
}

    .topbar a:hover {
        text-decoration: underline;
        color: #0d6efd;
    }

.log-file-entry {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

    .log-file-entry:hover {
        background-color: #f0f0f0;
    }

    .log-file-entry.selected {
        background-color: #007bff;
        color: white;
        font-weight: bold;
    }

.log-content {
    white-space: pre-wrap;
    font-family: monospace;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 650px;
    width: 100%;
}

.log-file-entry {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-indicator {
    display: inline-block;
    margin-right: 1rem;
}

.cart-bubble {
    position: absolute;
    top: -0.1rem;
    right: -1.50rem;
    background-color: red;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    line-height: 1;
    min-width: 1.2rem;
    text-align: center;
}

.hero-banner {
    background-image: url('/images/banner1a.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.stickyBar {
    position: sticky;
    top: 0;
    z-index: 1000; /* Make sure it stays on top */
    background-color: white; /* or match your navbar background */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* optional: for a shadow effect */
}

/* Default (desktop / laptop) */
.custom-modal {
    min-width: 600px; /* or whatever @Width normally is */
    max-width: 800px; /* optional cap */
    max-height: 90vh;
}

/* Mobile overrides */
@media (max-width: 576px) {
    .custom-modal {
        width: 90vw !important; /* shrink to viewport width */
        min-width: auto !important;
        margin: 1rem;
    }

        .custom-modal .modal-content {
            max-height: 85vh;
            overflow-y: auto;
        }
}

.custom-modal img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* keeps it centered */
}

.product-image {
    max-width: 100%;
    max-height: 200px; /* adjust to fit modal height */
    object-fit: contain; /* or "cover" if you want it cropped */
}