/* /Components/BookCard.razor.rz.scp.css */
.card[b-a3on8mmyet] {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.card:hover[b-a3on8mmyet] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-actions[b-a3on8mmyet] {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 30;
    display: flex;
    gap: 0.5rem;
}

.ignore-btn[b-a3on8mmyet] {
    background: #eee;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 30;
}

.ignore-btn:hover[b-a3on8mmyet] { 
    background: #f66; 
    color: white; 
}

.unignore-btn[b-a3on8mmyet] {
    background: #eee;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 30;
}

.unignore-btn:hover[b-a3on8mmyet] {
    background: limegreen;
    color: white;
}

.enhance-btn[b-a3on8mmyet] {
    background: #eee;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 30;
}

.enhance-btn:hover[b-a3on8mmyet] {
    background: lightyellow;
    color: white;
}

.card h4[b-a3on8mmyet] { margin:0; font-size: 1rem; }

.card .subtitle[b-a3on8mmyet] {
    font-size: 0.9rem;
    color: #666;
}

.card .meta[b-a3on8mmyet] {
    font-size: 0.85rem;
    color:#444;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.card .authors[b-a3on8mmyet] {
    font-style: italic;
}

.card .details[b-a3on8mmyet] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    color: #666;
}

.card .details span[b-a3on8mmyet] {
    background: #f2f2f2;
    padding: 2px 6px;
    border-radius: 4px;
}

.card-img[b-a3on8mmyet] {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 4px;
}

.card-body[b-a3on8mmyet] {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.source-watermark[b-a3on8mmyet] {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20%;
    height: auto;
    opacity: 0.8;
    pointer-events: none; /* ✅ watermark never intercepts clicks */
    z-index: 0; /* ✅ explicitly below card-actions */
}

/* Expand button sits to the left of ignore - place using absolute and transform */
.expand-btn[b-a3on8mmyet] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 30;               /* sits above content/watermark */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: background .15s, transform .08s;
}

.expand-btn:hover[b-a3on8mmyet] { 
    background: #f7f7f7; 
    transform: translateY(-1px); 
}

/* ensure watermark under buttons */
.book-card[b-a3on8mmyet] { 
    position: relative; 
    z-index: 1;
    cursor: pointer;
}
.source-watermark[b-a3on8mmyet] { z-index: 0; pointer-events: none; }

/* expanded content */
.card.expanded[b-a3on8mmyet] {
    box-shadow: 0 6px 20px rgba(0,0,0,0.16);
}

/* extra section styles */
.extra[b-a3on8mmyet] {
    margin-top: 0.75rem;
    border-top: 1px dashed #e0e0e0;
    padding-top: 0.6rem;
    font-size: 0.9rem;
    color: #333;
}

.extra-section[b-a3on8mmyet] { margin-bottom: 0.6rem; }
.extra-section p[b-a3on8mmyet] { margin: 0.35rem 0 0; font-size: 0.88rem; color: #444; line-height: 1.35; }

/* keep layout responsive: expanded area does not overflow */
.card .card-body[b-a3on8mmyet] { overflow: visible; }

/* small screens: keep buttons reachable */
@media (max-width: 480px) {
    .expand-btn[b-a3on8mmyet] { width: 40px; height: 40px; right: 10px; bottom: 10px; }
    .ignore-btn[b-a3on8mmyet] { width: 32px; height: 32px; }
}
/* /Components/Filters.razor.rz.scp.css */
/* Filters */
.filters[b-0e08be1bdg] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.filters label[b-0e08be1bdg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
}

.filters select[b-0e08be1bdg] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filters select:hover[b-0e08be1bdg] {
    border-color: #0078d4;
    box-shadow: 0 0 0 2px rgba(0,120,212,0.2);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-n3n7gqz1sk] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-n3n7gqz1sk] {
    flex: 1;
}

.sidebar[b-n3n7gqz1sk] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-n3n7gqz1sk] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-n3n7gqz1sk]  a, .top-row[b-n3n7gqz1sk]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-n3n7gqz1sk]  a:hover, .top-row[b-n3n7gqz1sk]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-n3n7gqz1sk]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-n3n7gqz1sk] {
        justify-content: space-between;
    }

    .top-row[b-n3n7gqz1sk]  a, .top-row[b-n3n7gqz1sk]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-n3n7gqz1sk] {
        flex-direction: row;
    }

    .sidebar[b-n3n7gqz1sk] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-n3n7gqz1sk] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-n3n7gqz1sk]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-n3n7gqz1sk], article[b-n3n7gqz1sk] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-n3n7gqz1sk] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-n3n7gqz1sk] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-eeihmsz06i] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-eeihmsz06i] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-eeihmsz06i] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-eeihmsz06i] {
    font-size: 1.1rem;
}

.bi[b-eeihmsz06i] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-book-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-book' viewBox='0 0 16 16'%3E%3Cpath d='M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783'/%3E%3C/svg%3E");
}

.bi-ignored-book-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-ignored-book' viewBox='0 0 16 16'%3E%3Cpath d='M1 2.828c.885-.37 2.154-.769 3.388-.893 1.33-.134 2.458.063 3.112.752v9.746c-.935-.53-2.12-.603-3.213-.493-1.18.12-2.37.461-3.287.811zm7.5-.141c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783'%2F%3E%3Cpath stroke='white' d='m1.7 4.5 5 5m-5 0 5-5m2.6 0 5 5m-5 0 5-5'%2F%3E%3C%2Fsvg%3E");
}

.bi-bookmark-star-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-bookmark-star' viewBox='0 0 16 16'%3E%3Cpath d='M7.84 4.1a.178.178 0 0 1 .32 0l.634 1.285a.18.18 0 0 0 .134.098l1.42.206c.145.021.204.2.098.303L9.42 6.993a.18.18 0 0 0-.051.158l.242 1.414a.178.178 0 0 1-.258.187l-1.27-.668a.18.18 0 0 0-.165 0l-1.27.668a.178.178 0 0 1-.257-.187l.242-1.414a.18.18 0 0 0-.05-.158l-1.03-1.001a.178.178 0 0 1 .098-.303l1.42-.206a.18.18 0 0 0 .134-.098z'/%3E%3Cpath d='M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1z'/%3E%3C/svg%3E");
}

.bi-house-door-fill-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-eeihmsz06i] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-eeihmsz06i] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-eeihmsz06i] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-eeihmsz06i] {
        padding-bottom: 1rem;
    }

    .nav-item[b-eeihmsz06i]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-eeihmsz06i]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-eeihmsz06i]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-eeihmsz06i] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-eeihmsz06i] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-eeihmsz06i] {
        display: none;
    }

    .nav-scrollable[b-eeihmsz06i] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Books.razor.rz.scp.css */
.book-list-container[b-con3j6cz15] {
    height: calc(100vh - 180px);
    overflow-y: auto;
    padding: 12px;
}

/* Book grid */
.grid[b-con3j6cz15] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

/* Pager */
.pager[b-con3j6cz15] {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:12px 0;
}

.pager button[b-con3j6cz15] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background-color: #0078d4;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.pager button:hover:not([disabled])[b-con3j6cz15] {
    background-color: #005a9e;
}

button[disabled][b-con3j6cz15] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* /Components/Pages/IgnoredBooks.razor.rz.scp.css */
.book-list-container[b-z8940aumlg] {
    height: calc(100vh - 180px);
    overflow-y: auto;
    padding: 12px;
}

/* Book grid */
.grid[b-z8940aumlg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
}

/* Pager */
.pager[b-z8940aumlg] {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:12px 0;
}

.pager button[b-z8940aumlg] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background-color: #0078d4;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.pager button:hover:not([disabled])[b-z8940aumlg] {
    background-color: #005a9e;
}

button[disabled][b-z8940aumlg] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Filters */
.filters-outer[b-z8940aumlg] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.filters[b-z8940aumlg] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.filters label[b-z8940aumlg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
}

.filters select[b-z8940aumlg] {
    padding: 0.4rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filters select:hover[b-z8940aumlg] {
    border-color: #0078d4;
    box-shadow: 0 0 0 2px rgba(0,120,212,0.2);
}

.filter-checkbox input[type="checkbox"][b-z8940aumlg] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #888;
    border-radius: 4px;
    display: grid;
    place-content: center;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}

.filter-checkbox input[type="checkbox"]:checked[b-z8940aumlg] {
    background: #0078d4;
    border-color: #0078d4;
}

.filter-checkbox input[type="checkbox"]:checked[b-z8940aumlg]::before {
    content: "✓";
    color: white;
    font-size: 0.9rem;
    line-height: 1;
}
/* /Components/Pages/Queries.razor.rz.scp.css */
h3[b-rgurx3iash] {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

form[b-rgurx3iash] {
    display: flex;
    gap: 0.5rem;
    margin: 0 auto 1.5rem auto;
    max-width: 600px;
}

form input[b-rgurx3iash] {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

form button[b-rgurx3iash] {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #0078d4;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

form button:hover[b-rgurx3iash] {
    background-color: #005a9e;
}

ul[b-rgurx3iash] {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

li[b-rgurx3iash] {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li span[b-rgurx3iash] {
    font-size: 1rem;
    font-weight: 500;
}

li em[b-rgurx3iash] {
    font-size: 0.85rem;
    color: #777;
    margin-left: 0.5rem;
}

.actions[b-rgurx3iash] {
    display: flex;
    gap: 0.4rem;
}

li button[b-rgurx3iash] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

li button:hover[b-rgurx3iash] {
    color: #c0392b;
}

.trigger-area[b-rgurx3iash] {
    margin-top: 2rem;
    text-align: center;
}

.trigger-area button[b-rgurx3iash] {
    padding: 0.5rem 1rem;
    border: none;
    background-color: #28a745;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.trigger-area button:hover[b-rgurx3iash] {
    background-color: #1e7e34;
}

.trigger-area p[b-rgurx3iash] {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.edit-row[b-rgurx3iash] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.edit-row input[b-rgurx3iash] {
    flex: 1;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

.actions[b-rgurx3iash] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.queries-container[b-rgurx3iash] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centers content horizontally */
    gap: 2rem;
}

.queries-list[b-rgurx3iash],
.trigger-area[b-rgurx3iash] {
    flex: 1 1 400px; /* each takes at least 400px, then shares available space */
    max-width: 600px; /* prevent them from stretching too wide on widescreens */
}

.trigger-area[b-rgurx3iash] {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.trigger-area h3[b-rgurx3iash] {
    margin-top: 0;
}

.trigger-area button[b-rgurx3iash] {
    display: block;
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 6px;
    background: #0078d7;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.trigger-area button:hover[b-rgurx3iash] {
    background: #005fa3;
}

/* mark inactive queries */
li.inactive[b-rgurx3iash] {
    opacity: 0.6;
    background: #f0f0f0;
}

li.inactive span[b-rgurx3iash] {
    text-decoration: line-through;
}

/* toggle button colors */
li button[title="Toggle Active"][b-rgurx3iash] {
    font-size: 1.2rem;
}

li button[title="Toggle Active"]:hover[b-rgurx3iash] {
    color: #0078d4;
}

.progress-area[b-rgurx3iash] {
    margin-top: 1rem;
    text-align: left;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-step[b-rgurx3iash] {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.progress-step strong[b-rgurx3iash] {
    display: inline-block;
    min-width: 140px;
}

.progress-step progress[b-rgurx3iash] {
    width: 200px;
    height: 12px;
    margin: 0 0.5rem;
}

/* Style the progress bar for modern browsers */
progress[b-rgurx3iash]::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 6px;
}
progress[b-rgurx3iash]::-webkit-progress-value {
    background-color: #0078d4;
    border-radius: 6px;
}
progress[b-rgurx3iash]::-moz-progress-bar {
    background-color: #0078d4;
    border-radius: 6px;
}

.progress-step span[b-rgurx3iash] {
    font-size: 0.8rem;
    color: #555;
}

.progress-step small[b-rgurx3iash] {
    font-size: 0.75rem;
    color: #777;
}


/* Mobile: force full width */
@media (max-width: 768px) {
    .queries-list[b-rgurx3iash],
    .trigger-area[b-rgurx3iash] {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

