/* /AuthPages/ForgetPassword.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Same card/input/button language as LoginPage.razor.css —
   kept in sync intentionally so Login and Forgot Password feel
   like the same screen. See LoginPage.razor.css for the source
   of each value.
═══════════════════════════════════════════════════════════ */
.login-card[b-qdxltvp72y] {
    width: 100%;
    max-width: 420px;
    background: white;
    border: 1px solid #aaa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.login-card .form-label[b-qdxltvp72y] {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2B2B2B;
    font-family: 'TelAviv-Modernist', sans-serif;
}

.login-card .form-control[b-qdxltvp72y] {
    height: 44px;
    border-radius: 12px;
    border: 1px solid #E6E6E6;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'TelAviv-Modernist', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card .form-control:focus[b-qdxltvp72y] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
    outline: none;
}

.login-card .btn-primary[b-qdxltvp72y] {
    height: 44px;
    border-radius: 12px;
    background: #CADBF8;
    border: none;
    color: #1A1A1A;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.15s;
}

.login-card .btn-primary:hover:not(:disabled)[b-qdxltvp72y] {
    opacity: 0.85;
    background: #CADBF8;
    border-color: #CADBF8;
}

.login-card .btn-primary:active:not(:disabled)[b-qdxltvp72y] {
    filter: brightness(0.9);
}

.login-card .btn-primary:focus[b-qdxltvp72y] {
    box-shadow: none;
}

.login-card .btn-primary:focus-visible[b-qdxltvp72y] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.login-card .btn-primary:disabled[b-qdxltvp72y] {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-card p[b-qdxltvp72y],
.login-card a[b-qdxltvp72y] {
    font-family: 'Heebo', sans-serif;
}

.login-card .validation-message[b-qdxltvp72y],
.login-card .text-danger[b-qdxltvp72y] {
    color: #C53030;
    font-size: 0.78rem;
    font-family: 'Heebo', sans-serif;
}

.login-card .text-success[b-qdxltvp72y] {
    color: #2d6a3f;
    font-size: 0.78rem;
    font-family: 'Heebo', sans-serif;
}
/* /AuthPages/LoginPage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Login/Signup card — values match existing site conventions:
   card: app.css .upload-form-card; inputs: app.css .form-field
   input; primary button: #70B4FD used site-wide for primary CTAs;
   secondary/outline hover: same #70B4FD/#F8FBFF used by
   .filter-toggle-btn / .content-sort-trigger.
═══════════════════════════════════════════════════════════ */
.login-card[b-klnoq80x3b] {
    width: 100%;
    max-width: 420px;
    background: white;
    border: 1px solid #aaa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.login-card .form-label[b-klnoq80x3b] {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2B2B2B;
    font-family: 'TelAviv-Modernist', sans-serif;
}

.login-card .form-control[b-klnoq80x3b] {
    height: 44px;
    border-radius: 12px;
    border: 1px solid #E6E6E6;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'TelAviv-Modernist', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card .form-control:focus[b-klnoq80x3b] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
    outline: none;
}

.login-card .btn-primary[b-klnoq80x3b] {
    height: 44px;
    border-radius: 12px;
    background: #CADBF8;
    border: none;
    color: #1A1A1A;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.15s;
}

.login-card .btn-primary:hover:not(:disabled)[b-klnoq80x3b] {
    opacity: 0.85;
    background: #CADBF8;
    border-color: #CADBF8;
}

.login-card .btn-primary:active:not(:disabled)[b-klnoq80x3b] {
    filter: brightness(0.9);
}

.login-card .btn-primary:focus[b-klnoq80x3b] {
    box-shadow: none;
}

.login-card .btn-primary:focus-visible[b-klnoq80x3b] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.login-card .btn-primary:disabled[b-klnoq80x3b] {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-card .btn-outline-secondary[b-klnoq80x3b] {
    height: 44px;
    border-radius: 12px;
    border: 1px solid #aaa;
    color: #2d2d2d;
    background: white;
    font-family: 'Heebo', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s;
}

.login-card .btn-outline-secondary:hover[b-klnoq80x3b] {
    border-color: #70B4FD;
    background: #EEF4FF;
    color: #2d2d2d;
}

.login-card .btn-outline-secondary:active[b-klnoq80x3b] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.login-card .btn-outline-secondary:focus[b-klnoq80x3b] {
    box-shadow: none;
}

.login-card .btn-outline-secondary:focus-visible[b-klnoq80x3b] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.login-card .btn-link[b-klnoq80x3b] {
    color: #3266C4;
    text-decoration: none;
    font-family: 'Heebo', sans-serif;
}

.login-card .btn-link:hover[b-klnoq80x3b] {
    color: #3266C4;
    text-decoration: underline;
}

.login-card p[b-klnoq80x3b],
.login-card a[b-klnoq80x3b] {
    font-family: 'Heebo', sans-serif;
}

.login-card .validation-message[b-klnoq80x3b],
.login-card .text-danger[b-klnoq80x3b] {
    color: #C53030;
    font-size: 0.78rem;
    font-family: 'Heebo', sans-serif;
}
/* /AuthPages/NotFoundPage.razor.rz.scp.css */
.not-found-wrapper[b-u130fzg1ww] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 24px;
    direction: rtl;
}

.not-found-code[b-u130fzg1ww] {
    font-size: 6rem;
    font-weight: 700;
    color: #2d2d2d;
    font-family: 'TelAviv-Modernist', sans-serif;
    line-height: 1;
    margin-bottom: 16px;
}

.not-found-text[b-u130fzg1ww] {
    font-size: 1.2rem;
    color: #888;
    font-family: 'Heebo', sans-serif;
    margin-bottom: 32px;
}

.not-found-link[b-u130fzg1ww] {
    display: inline-block;
    padding: 11px 28px;
    background: #CADBF8;
    color: #1A1A1A;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: 'Heebo', sans-serif;
    text-decoration: none;
    transition: opacity 0.15s;
}

.not-found-link:hover[b-u130fzg1ww] {
    opacity: 0.85;
    color: #1A1A1A;
    text-decoration: none;
}

.not-found-link:active[b-u130fzg1ww] {
    filter: brightness(0.9);
}

.not-found-link:focus-visible[b-u130fzg1ww] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}
/* /AuthPages/PendingPage.razor.rz.scp.css */
/* ערכים ודפוסים תואמים ל-NotFoundPage.razor.css ול-.login-card .btn-primary
   (LoginPage.razor.css) — אין ערכים/סגנונות חדשים, רק שימוש חוזר בקיים. */

.pending-wrapper[b-3o8kptqfdh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 24px;
    direction: rtl;
}

.pending-text[b-3o8kptqfdh] {
    font-size: 1.05rem;
    color: #888;
    font-family: 'Heebo', sans-serif;
    margin: 0 0 8px;
    max-width: 480px;
}

.pending-home-link[b-3o8kptqfdh] {
    display: inline-block;
    margin-top: 16px;
    padding: 11px 28px;
    background: #CADBF8;
    color: #1A1A1A;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: 'Heebo', sans-serif;
    text-decoration: none;
    transition: opacity 0.15s;
}

.pending-home-link:hover[b-3o8kptqfdh] {
    opacity: 0.85;
    color: #1A1A1A;
    text-decoration: none;
}

.pending-home-link:active[b-3o8kptqfdh] {
    filter: brightness(0.9);
}

.pending-home-link:focus-visible[b-3o8kptqfdh] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

@media (max-width: 480px) {
    .pending-wrapper[b-3o8kptqfdh] {
        padding: 32px 16px;
    }
}
/* /AuthPages/ResetPassword.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Same card/input/button language as LoginPage.razor.css —
   kept in sync intentionally so Reset Password feels like the
   same screen as Login and Forgot Password. See LoginPage.razor.css
   for the source of each value.
═══════════════════════════════════════════════════════════ */
.login-card[b-rbhqaq1kat] {
    width: 100%;
    max-width: 420px;
    background: white;
    border: 1px solid #aaa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

.login-card .form-label[b-rbhqaq1kat] {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2B2B2B;
    font-family: 'TelAviv-Modernist', sans-serif;
}

.login-card .form-control[b-rbhqaq1kat] {
    height: 44px;
    border-radius: 12px;
    border: 1px solid #E6E6E6;
    padding: 0 14px;
    font-size: 14px;
    font-family: 'TelAviv-Modernist', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card .form-control:focus[b-rbhqaq1kat] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
    outline: none;
}

.login-card .btn-primary[b-rbhqaq1kat] {
    height: 44px;
    border-radius: 12px;
    background: #CADBF8;
    border: none;
    color: #1A1A1A;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.15s;
}

.login-card .btn-primary:hover:not(:disabled)[b-rbhqaq1kat] {
    opacity: 0.85;
    background: #CADBF8;
    border-color: #CADBF8;
}

.login-card .btn-primary:active:not(:disabled)[b-rbhqaq1kat] {
    filter: brightness(0.9);
}

.login-card .btn-primary:focus[b-rbhqaq1kat] {
    box-shadow: none;
}

.login-card .btn-primary:focus-visible[b-rbhqaq1kat] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.login-card .btn-primary:disabled[b-rbhqaq1kat] {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-card p[b-rbhqaq1kat],
.login-card a[b-rbhqaq1kat] {
    font-family: 'Heebo', sans-serif;
}

.login-card .validation-message[b-rbhqaq1kat],
.login-card .text-danger[b-rbhqaq1kat] {
    color: #C53030;
    font-size: 0.78rem;
    font-family: 'Heebo', sans-serif;
}
/* /Components/FilterPanel.razor.rz.scp.css */
.filter-bar[b-zyhfil2bp0] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}

.filter-dropdown-wrapper[b-zyhfil2bp0] {
    position: relative;
}

.filter-dropdown-btn[b-zyhfil2bp0] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.50rem 16px;
    border: 1.5px solid #aaa;
    border-radius: 8px;
    background-color: #fff;
    font-size: 1rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background-color 0.15s;
}

.filter-dropdown-btn:hover:not(:disabled)[b-zyhfil2bp0] {
    border-color: #70B4FD;
    background-color: #EEF4FF;
}

.filter-dropdown-btn.active[b-zyhfil2bp0] {
    border-color: #70B4FD;
    font-weight: 600;
}

.filter-dropdown-btn--open[b-zyhfil2bp0] {
    border-color: #70B4FD;
    background-color: #E8F1FF;
}

.filter-dropdown-btn:active:not(:disabled)[b-zyhfil2bp0] {
    border-color: #3266c4;
    background-color: #CADBF8;
    color: #3266c4;
}

.filter-dropdown-btn:focus-visible[b-zyhfil2bp0] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.filter-dropdown-btn:disabled[b-zyhfil2bp0] {
    opacity: 0.6;
    cursor: not-allowed;
}

.filter-arrow[b-zyhfil2bp0] {
    font-size: 0.7rem;
    margin-right: 0.2rem;
}

.filter-badge[b-zyhfil2bp0] {
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-dropdown-menu[b-zyhfil2bp0] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    min-width: 160px;
    z-index: 100;
}

.filter-option[b-zyhfil2bp0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
}

.filter-option:hover[b-zyhfil2bp0] {
    background-color: #F5F5F0;
}

.filter-option:active[b-zyhfil2bp0] {
    background-color: #F0F0EB;
}

.filter-option:has(input:focus-visible)[b-zyhfil2bp0] {
    outline: 2px solid #70B4FD;
    outline-offset: -2px;
}

.filter-option:has(input:checked)[b-zyhfil2bp0] {
    background-color: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.filter-option:has(input:checked):hover[b-zyhfil2bp0] {
    background-color: #E4EDFC;
}

.filter-option:has(input:checked):active[b-zyhfil2bp0] {
    background-color: #CADBF8;
}

.filter-dropdown-menu--below-row[b-zyhfil2bp0] {
    position: static;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.filter-clear-btn[b-zyhfil2bp0] {
    padding: 0.45rem 0.9rem;
    border: 1.5px solid #ccc;
    border-radius: 20px;
    background-color: transparent;
    font-size: 0.85rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    color: #555;
}

.filter-clear-btn:hover[b-zyhfil2bp0] {
    border-color: #888;
    color: #333;
}

@media (max-width: 600px) {
    .filter-bar[b-zyhfil2bp0] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: stretch;
    }

    .filter-dropdown-wrapper[b-zyhfil2bp0] {
        width: 100%;
    }

    .filter-dropdown-btn[b-zyhfil2bp0] {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .filter-clear-btn[b-zyhfil2bp0] {
        grid-column: 1 / -1;
        width: 100%;
    }

    .filter-dropdown-menu--below-row[b-zyhfil2bp0] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Admin.razor.rz.scp.css */
/* ===== Page Wrapper ===== */
.au-page-wrapper[b-4jhqiuxw3m] {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    direction: rtl;
}

/* ===== Controls Row: Tabs + Search + Add ===== */
.au-list-controls[b-4jhqiuxw3m] {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 16px;
}

.au-tabs[b-4jhqiuxw3m] {
    flex-shrink: 0;
}

.au-controls-end[b-4jhqiuxw3m] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* ===== Tabs ===== */
.au-tabs[b-4jhqiuxw3m] {
    display: flex;
    gap: 6px;
    background: #F0EFEA;
    border-radius: 14px;
    padding: 5px;
}

.au-tab[b-4jhqiuxw3m] {
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #777;
    font-size: 0.88rem;
    font-family: 'TelAviv-Modernist', sans-serif;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.au-tab:hover[b-4jhqiuxw3m] {
    background: rgba(255,255,255,0.6);
    color: #333;
}

.au-tab:active:not(.au-tab--active)[b-4jhqiuxw3m] {
    background: white;
    filter: brightness(0.9);
    color: #333;
}

.au-tab:focus-visible[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.au-tab--active[b-4jhqiuxw3m] {
    background: white;
    color: #2d2d2d;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* ===== Add Button ===== */
.au-add-btn[b-4jhqiuxw3m] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #CADBF8;
    color: #1A1A1A;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
}

.au-add-btn:hover:not(:disabled)[b-4jhqiuxw3m] {
    opacity: 0.85;
}

.au-add-btn:active:not(:disabled)[b-4jhqiuxw3m] {
    filter: brightness(0.9);
}

.au-add-btn:focus-visible[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.au-add-btn:disabled[b-4jhqiuxw3m] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== Pending-row approve action ===== */
.au-approve-btn[b-4jhqiuxw3m] {
    padding: 6px 14px;
    background: #CADBF8;
    color: #1A1A1A;
    border: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.au-approve-btn:hover[b-4jhqiuxw3m] {
    opacity: 0.85;
}

.au-approve-btn:active[b-4jhqiuxw3m] {
    filter: brightness(0.9);
}

.au-approve-btn:focus-visible[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

/* ===== Add User Form Card ===== */
.au-form-card[b-4jhqiuxw3m] {
    background: white;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #F1F1EC;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.au-form-title[b-4jhqiuxw3m] {
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0 0 20px;
}

.au-form-row[b-4jhqiuxw3m] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.au-field[b-4jhqiuxw3m] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 140px;
}

.au-field--wide[b-4jhqiuxw3m] {
    flex: 2;
}

.au-field-label[b-4jhqiuxw3m] {
    font-size: 13px;
    color: #2B2B2B;
    font-weight: 600;
    font-family: 'TelAviv-Modernist', sans-serif;
}

.au-input[b-4jhqiuxw3m] {
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 0.9rem;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #2d2d2d;
    background: #FAFAF7;
    outline: none;
    transition: border-color 0.15s;
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
}

.au-input:focus[b-4jhqiuxw3m] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.au-required[b-4jhqiuxw3m] {
    color: #C53030;
    margin-right: 2px;
}

.au-form-alert[b-4jhqiuxw3m] {
    background: #FFF5F5;
    color: #C53030;
    border: 1.5px solid #FEB2B2;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    margin-top: 12px;
    margin-bottom: 4px;
}

.au-field-error[b-4jhqiuxw3m] {
    color: #C53030;
    font-size: 0.78rem;
    margin-top: 4px;
    display: block;
    font-family: 'Heebo', sans-serif;
}

.au-form-actions[b-4jhqiuxw3m] {
    display: flex;
    gap: 10px;
}

.au-submit-btn[b-4jhqiuxw3m] {
    padding: 10px 28px;
    background: #CADBF8;
    color: #1A1A1A;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
}

.au-submit-btn:hover:not(:disabled)[b-4jhqiuxw3m] {
    opacity: 0.85;
}

.au-submit-btn:active:not(:disabled)[b-4jhqiuxw3m] {
    filter: brightness(0.9);
}

.au-submit-btn:focus-visible[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.au-submit-btn:disabled[b-4jhqiuxw3m] {
    opacity: 0.6;
    cursor: not-allowed;
}

.au-cancel-btn[b-4jhqiuxw3m] {
    padding: 10px 20px;
    background: transparent;
    color: #666;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.au-cancel-btn:hover:not(:disabled)[b-4jhqiuxw3m] {
    background: #F5F5F0;
    border-color: #ccc;
}

.au-cancel-btn:active:not(:disabled)[b-4jhqiuxw3m] {
    background: #F0F0EB;
    border-color: #aaa;
    color: #333;
}

.au-cancel-btn:focus-visible[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.au-cancel-btn:disabled[b-4jhqiuxw3m] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== User List ===== */
.au-user-list[b-4jhqiuxw3m] {
    background: white;
    border-radius: 18px;
    border: 1px solid #aaa;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.au-list-header[b-4jhqiuxw3m],
.au-user-row[b-4jhqiuxw3m] {
    padding-block: 14px;
}

/* Inner content grid — the row shell (.au-list-header / .au-user-row) stays
   full-width for background/border/separators; this wrapper is the actual
   five-column grid, centered and capped so columns don't stretch edge-to-edge. */
.au-row-grid[b-4jhqiuxw3m] {
    width: min(88%, 1180px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    column-gap: 8px;
}

.au-list-header[b-4jhqiuxw3m] {
    background: #FAFAF7;
    border-bottom: 1px solid #F1F1EC;
    border-radius: 18px 18px 0 0;
}

.au-list-header span[b-4jhqiuxw3m] {
    font-size: 0.75rem;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.au-list-header .au-col-date[b-4jhqiuxw3m],
.au-list-header .au-col-active[b-4jhqiuxw3m] {
    text-align: center;
}

.au-user-row[b-4jhqiuxw3m] {
    border-bottom: 1px solid #F9F9F6;
    transition: background 0.15s;
}

.au-user-row:last-child[b-4jhqiuxw3m] {
    border-bottom: none;
    border-radius: 0 0 18px 18px;
}

.au-user-row:hover[b-4jhqiuxw3m] {
    background: #FDFDF9;
}

/* Name column — width:100%/justify-self:stretch fill the column track so the
   right-aligned content packs against the column's true right edge. On top
   of that, .au-page-wrapper caps the whole page at 1180px, so at the stable
   wide-desktop state .au-user-list maxes out at 1132px; .au-row-grid's own
   width:min(88%,1180px) never reaches its 1180px branch there (88% of 1132
   is always smaller), so it resolves to a fixed ~68px outer inset on each
   side at that width. That inset (68px) plus this column's own 12px padding
   pushed the avatar ~80px from the table edge — far more than intended.
   Rather than touching .au-row-grid's width/margins (which would resize
   every equal-fr column, including the already-tuned Role button's track),
   pull just this column back toward the table edge with a negative margin,
   landing the avatar at a normal ~24px inset instead. */
.au-col-name[b-4jhqiuxw3m] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline-start: 12px;
    width: 100%;
    justify-self: stretch;
    box-sizing: border-box;
    margin-inline-start: -56px;
}

.au-avatar[b-4jhqiuxw3m] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.au-avatar--1[b-4jhqiuxw3m] { background: #CADBF8; color: #4A6FA5; }  /* כחול פסטלי */
.au-avatar--2[b-4jhqiuxw3m] { background: #E6D7F7; color: #70559C; }  /* לבנדר פסטלי */
.au-avatar--3[b-4jhqiuxw3m] { background: #FEC899; color: #9A6233; }  /* אפרסק פסטלי */

.au-user-fullname[b-4jhqiuxw3m] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
}

/* Email column — direction:ltr keeps the address itself reading/truncating
   correctly as LTR content; text-align:right keeps it visually anchored to
   the right side of the cell, matching the RTL table's reading direction. */
.au-col-email[b-4jhqiuxw3m] {
    font-size: 0.85rem;
    color: #777;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
    direction: ltr;
    text-align: right;
    width: 100%;
    justify-self: stretch;
    box-sizing: border-box;
}

/* Date column */
.au-col-date[b-4jhqiuxw3m] {
    font-size: 0.85rem;
    color: #888;
    font-family: 'Heebo', sans-serif;
    text-align: center;
}

.au-col-active[b-4jhqiuxw3m] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.au-user-row--inactive[b-4jhqiuxw3m] {
    opacity: 0.55;
}

.au-toggle-slider--inactive[b-4jhqiuxw3m] {
    background-color: #ccc !important;
}

/* Toggle Switch */
.au-toggle[b-4jhqiuxw3m] {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    cursor: pointer;
}

.au-toggle input[b-4jhqiuxw3m] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.au-toggle-slider[b-4jhqiuxw3m] {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #DDDAD3;
    border-radius: 22px;
    transition: background 0.25s;
}

.au-toggle:hover input:not(:checked) + .au-toggle-slider[b-4jhqiuxw3m] {
    background: #D2CEC6;
}

.au-toggle-slider[b-4jhqiuxw3m]::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.au-toggle input:checked + .au-toggle-slider[b-4jhqiuxw3m] {
    background: #A8D59B;
}

.au-toggle:hover input:checked + .au-toggle-slider[b-4jhqiuxw3m] {
    background: #9CCF8E;
}

.au-toggle input:checked + .au-toggle-slider[b-4jhqiuxw3m]::before {
    transform: translateX(18px);
}

.au-toggle input:focus-visible + .au-toggle-slider[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: 2px;
}

/* Role column */
.au-col-role[b-4jhqiuxw3m] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Role custom dropdown ===== */
.au-role-cs-backdrop[b-4jhqiuxw3m] {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.au-role-cs[b-4jhqiuxw3m] {
    position: relative;
}

.au-role-cs-btn[b-4jhqiuxw3m] {
    position: relative;
    display: flex;
    align-items: center;
    height: 38px;
    min-width: 206px;
    padding: 0 12px;
    border: 1px solid #aaa;
    border-radius: 14px;
    background: white;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #2d2d2d;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.15s;
    direction: rtl;
    white-space: nowrap;
}

/* התווית תופסת את כל רוחב הכפתור ומרוכזת בתוכו במלואו — ה-chevron מנותק
   מזרימת ה-flex (position: absolute) כדי שלא ישפיע על מרכוז הטקסט */
.au-role-cs-btn > span[b-4jhqiuxw3m] {
    width: 100%;
    text-align: center;
}

.au-role-cs-btn:hover[b-4jhqiuxw3m],
.au-role-cs-btn--open[b-4jhqiuxw3m] {
    border-color: #70B4FD;
}

.au-role-cs-btn:active[b-4jhqiuxw3m] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.au-role-cs-btn:focus-visible[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.au-role-cs-chevron[b-4jhqiuxw3m] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.18s ease;
    color: #555;
}

.au-role-cs-btn--open .au-role-cs-chevron[b-4jhqiuxw3m] {
    transform: translateY(-50%) rotate(180deg);
}

.au-role-cs-menu[b-4jhqiuxw3m] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 100%;
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    overflow: hidden;
    padding: 4px;
    display: flex;
    flex-direction: column;
}

.au-role-cs-option[b-4jhqiuxw3m] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    white-space: nowrap;
    border-radius: 8px;
    transition: background 0.12s;
}

.au-role-cs-option:hover[b-4jhqiuxw3m] {
    background: #F5F5F0;
}

.au-role-cs-option:active[b-4jhqiuxw3m] {
    background: #F0F0EB;
}

.au-role-cs-option:focus-visible[b-4jhqiuxw3m] {
    outline: 2px solid #737373;
    outline-offset: -2px;
}

.au-role-cs-option--selected[b-4jhqiuxw3m] {
    background: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.au-role-cs-option--selected:hover[b-4jhqiuxw3m] {
    background: #E4EDFC;
}

.au-role-cs-option--selected:active[b-4jhqiuxw3m] {
    background: #CADBF8;
}

/* ===== Positive confirm-dialog CTA (הפעלה / הענקת הרשאה) =====
   .edit-confirm-save-btn is normally defined in EditContentPage.razor.css,
   but Blazor CSS isolation scopes that rule to EditContentPage only —
   it never reaches markup rendered by Admin.razor. Mirrored here with
   the same two properties so it actually applies in this component's scope. */
.edit-confirm-save-btn[b-4jhqiuxw3m] {
    background: #CADBF8 !important;
    color: #1A1A1A;
}

/* ===== Empty State ===== */
.au-empty[b-4jhqiuxw3m] {
    text-align: center;
    padding: 48px 0;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
}

/* ===== Banner Area ===== */
.au-banner-area[b-4jhqiuxw3m] {
    margin-bottom: 16px;
}

/* ===== Search Bar ===== */
.au-search-wrap[b-4jhqiuxw3m] {
    position: relative;
    flex: 1;
    min-width: 0;
    width: auto;
    border: 1px solid #aaa;
    border-radius: 14px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.15s;
}

.au-search-wrap:focus-within[b-4jhqiuxw3m] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.au-search-input[b-4jhqiuxw3m] {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 9px 57px 9px 12px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    box-sizing: border-box;
    background: transparent;
    color: #2d2d2d;
    outline: none;
}

/* ===== Add User Panel ===== */
.au-add-panel[b-4jhqiuxw3m] {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 24px;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    direction: rtl;
}

.au-add-panel .au-form-title[b-4jhqiuxw3m] {
    margin: 0 0 28px;
    text-align: right;
}

.au-add-panel .au-form-row[b-4jhqiuxw3m] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin: 0;
}

.au-add-panel .au-field[b-4jhqiuxw3m] {
    min-width: 0;
}

/* ::deep נדרש כי ValidationMessage הוא child component — הפלט שלו לא מקבל את scope attribute של Admin.razor */
.au-add-panel[b-4jhqiuxw3m]  .validation-message,
.au-add-panel[b-4jhqiuxw3m]  .au-field-error,
.au-add-panel[b-4jhqiuxw3m]  .validation-message.au-field-error {
    display: block;
    margin-top: 8px;
    color: #C95858 !important;
    font-family: 'Heebo', sans-serif;
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    line-height: 1.45;
    text-align: right;
}

/* direction: ltr הופך את סדר ה-flex לשמאל-ימין, כך שהוספה (ראשון ב-DOM) הוא השמאלי ביותר */
.au-add-panel .au-form-actions[b-4jhqiuxw3m] {
    direction: ltr;
    justify-content: flex-start;
    margin-top: 28px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .au-controls-row[b-4jhqiuxw3m] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .au-tabs[b-4jhqiuxw3m] {
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    .au-page-wrapper[b-4jhqiuxw3m] {
        padding: 20px 14px 60px;
        overflow-x: hidden;
    }

    .au-controls-row[b-4jhqiuxw3m] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    /* טאבים — רשת 2×2, כל אופציה בפני עצמה */
    .au-tabs[b-4jhqiuxw3m] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .au-tab[b-4jhqiuxw3m] {
        padding: 12px 8px;
        border-radius: 12px;
        background: white;
        border: 1.5px solid #E8E8E8;
        color: #555;
        font-size: 0.85rem;
        text-align: center;
        white-space: nowrap;
    }

    .au-tab--active[b-4jhqiuxw3m] {
        background: #CADBF8;
        color: #1A1A1A;
        border-color: #CADBF8;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(112,180,253,0.3);
    }

    .au-tab--active:hover[b-4jhqiuxw3m] {
        background: #CADBF8;
        color: #1A1A1A;
    }

    .au-list-controls[b-4jhqiuxw3m] {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .au-controls-end[b-4jhqiuxw3m] {
        flex-direction: column;
        align-items: stretch;
    }

    .au-search-wrap[b-4jhqiuxw3m] {
        width: 100%;
        flex: none;
    }

    .au-add-btn[b-4jhqiuxw3m] {
        width: 100%;
        justify-content: center;
    }

    /* הכותרת נעלמת */
    .au-list-header[b-4jhqiuxw3m] {
        display: none;
    }

    /* מנטרל את עטיפת הגריד הפנימית — התאים הופכים לילדים ישירים של .au-user-row,
       כדי שהפריסה כעמודת כרטיס (flex-direction: column) תמשיך לעבוד כרגיל */
    .au-row-grid[b-4jhqiuxw3m] {
        display: contents;
    }

    /* כל שורה הופכת לכרטיס */
    .au-user-list[b-4jhqiuxw3m] {
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .au-user-row[b-4jhqiuxw3m] {
        display: flex;
        flex-direction: column;
        background: white;
        border: 1px solid #F1F1EC;
        border-radius: 16px;
        margin-bottom: 12px;
        padding: 16px;
        gap: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    .au-user-row:last-child[b-4jhqiuxw3m] {
        border-bottom: 1px solid #F1F1EC;
    }

    /* שורת שם — ללא תווית, ממלאת את כל הרוחב */
    .au-col-name[b-4jhqiuxw3m] {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #F5F5F0;
        padding-inline-start: 0;
        margin-inline-start: 0;
    }

    /* כל שדה אחר — שורת תווית+ערך */
    .au-col-email[b-4jhqiuxw3m],
    .au-col-date[b-4jhqiuxw3m],
    .au-col-active[b-4jhqiuxw3m],
    .au-col-role[b-4jhqiuxw3m] {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #F9F9F6;
        width: 100%;
        box-sizing: border-box;
    }

    /* משיבים למינימום המקורי — ההרחבה ל-206px מיועדת רק לתא הרוחב הקבוע בדסקטופ */
    /* במובייל הכפתור צר — משיבים את הפריסה המקורית (תווית מול chevron
       בקצוות, ללא ריכוז מלא) שמיועדת רק לכפתור הרחב בדסקטופ */
    .au-role-cs-btn[b-4jhqiuxw3m] {
        min-width: 100px;
        justify-content: space-between;
        gap: 8px;
    }

    .au-role-cs-btn > span[b-4jhqiuxw3m] {
        width: auto;
        text-align: right;
    }

    .au-role-cs-chevron[b-4jhqiuxw3m] {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        flex-shrink: 0;
    }

    .au-role-cs-btn--open .au-role-cs-chevron[b-4jhqiuxw3m] {
        transform: rotate(180deg);
    }

    .au-col-role[b-4jhqiuxw3m] {
        border-bottom: none;
    }

    /* תוויות — לפני כל שדה (חוץ משם) */
    .au-col-email[b-4jhqiuxw3m]::before,
    .au-col-date[b-4jhqiuxw3m]::before,
    .au-col-active[b-4jhqiuxw3m]::before,
    .au-col-role[b-4jhqiuxw3m]::before {
        content: attr(data-label);
        font-size: 0.78rem;
        color: #aaa;
        font-family: 'Heebo', sans-serif;
        font-weight: 600;
        flex-shrink: 0;
    }

    /* אימייל — מניעת גלישה. מאפסים direction ל-rtl (בניגוד לדסקטופ) כדי
       שסדר הפריטים בשורת ה-flex (תווית מול ערך) לא יתהפך */
    .au-col-email[b-4jhqiuxw3m] {
        font-size: 0.85rem;
        word-break: break-all;
        gap: 8px;
        direction: rtl;
        text-align: right;
    }

    .au-add-panel[b-4jhqiuxw3m] {
        padding: 24px 20px;
    }

    .au-add-panel .au-form-row[b-4jhqiuxw3m] {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
/* /Pages/AiAssistantPage.razor.rz.scp.css */
/* ===================================================
   RAG Sources
   =================================================== */

/* Outer row: positions the sources block on the same side as the AI bubble (left) */
.ai-sources-row[b-mshc69ilwq] {
    display: flex;
    direction: ltr;
    justify-content: flex-start;
    padding: 0 0 6px 0;
}

/* Inner block: RTL text, max 70% width, styled card */
.ai-sources-inner[b-mshc69ilwq] {
    direction: rtl;
    text-align: right;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px 12px 7px 10px;
    background: #f9f8f5;
    border-radius: 8px;
    border: 1px solid #e8e4da;
}

.ai-sources-label[b-mshc69ilwq] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.7rem;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
}

.ai-sources-chunk[b-mshc69ilwq] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.72rem;
    color: #555;
    direction: rtl;
    text-align: right;
    line-height: 1.45;
}

.ai-sources-chunk-title[b-mshc69ilwq] {
    font-weight: 600;
    color: #444;
}

.ai-sources-chunk-summary[b-mshc69ilwq] {
    font-weight: 400;
    color: #666;
}

.ai-sources-files[b-mshc69ilwq] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.67rem;
    color: #aaa;
    direction: rtl;
    text-align: right;
    margin-top: 2px;
    border-top: 1px solid #e8e4da;
    padding-top: 4px;
}

/* ===================================================
   Opening Screen
   =================================================== */

.ai-opening[b-mshc69ilwq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 3rem;
}

/* Override global yarden-title bottom margin for this page */
.yarden-title[b-mshc69ilwq] {
    margin-bottom: 10px;
}

.ai-subtitle[b-mshc69ilwq] {
    font-family: 'TelAviv-Modernist', sans-serif;
    font-size: 1.05rem;
    color: #555;
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
}

/* ===================================================
   Input Box — shared between opening & chat mode
   =================================================== */

.ai-input-area[b-mshc69ilwq] {
    width: 100%;
    max-width: 899px;
    height: clamp(140px, 20vh, 219px);
    border-radius: 16px;
    border: 2px solid rgba(17, 0, 0, 0.40);
    background: #FFF;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.ai-textarea[b-mshc69ilwq] {
    flex: 1;
    padding: 14px 16px 4px;
    border: none;
    outline: none;
    resize: none;
    font-family: 'Heebo', sans-serif;
    font-size: 1.08rem;
    line-height: 1.65;
    background: transparent;
    color: #222;
    direction: rtl;
    text-align: right;
}

.ai-textarea:focus-visible[b-mshc69ilwq] {
    outline: none;
}

.ai-input-area:focus-within[b-mshc69ilwq] {
    border-color: #737373;
}

/* Icon buttons row — ltr so send is left, upload is right */
.ai-icon-actions[b-mshc69ilwq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 13px 8px;
    direction: ltr;
    flex-shrink: 0;
}

/* Send button tooltip wrapper */
.send-wrapper[b-mshc69ilwq] {
    position: relative;
    display: inline-flex;
}

.send-wrapper.has-tooltip:hover[b-mshc69ilwq]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.82);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
    pointer-events: none;
    direction: rtl;
}

.ai-send-btn[b-mshc69ilwq] {
    background: #C0E2B8;
    border: 1px solid #aaa;
    border-radius: 8px;
    width: auto;
    height: fit-content;
    align-self: center;
    padding: 4px 6px;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
}

.ai-send-btn:hover:not(:disabled)[b-mshc69ilwq] {
    opacity: 0.85;
}

.ai-send-btn:active:not(:disabled)[b-mshc69ilwq] {
    filter: brightness(0.9);
}

.ai-send-btn:focus-visible[b-mshc69ilwq] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ai-send-btn:disabled[b-mshc69ilwq] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-send-btn img[b-mshc69ilwq] {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ai-creator-icon[b-mshc69ilwq] {
    display: block;
    margin: 0 auto 10px;
    width: 220px;
    height: auto;
    max-width: 100%;
}

@media (max-width: 600px) {
    .ai-creator-icon[b-mshc69ilwq] {
        width: 160px;
    }
}

.ai-upload-btn[b-mshc69ilwq] {
    position: relative;
    background: transparent;
    border: 1px solid #aaa;
    border-radius: 8px;
    width: auto;
    height: fit-content;
    align-self: center;
    padding: 4px 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

/* Real <input type="file"> stays in the DOM and in the Tab order —
   made invisible via opacity (not display:none, which removes it from
   focus/accessibility entirely, and not width/clip, which browsers
   don't reliably honor for a file input's native widget). It's sized
   to cover the whole visual button so clicking/tapping anywhere on
   the "+" still hits the real input. */
[b-mshc69ilwq] .ai-file-input-hidden {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    border: 0;
}

.ai-upload-btn:has(input:focus-visible)[b-mshc69ilwq] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ai-upload-btn:hover:not(:disabled)[b-mshc69ilwq] {
    background: #F5F5F0;
    border-color: #ccc;
}

.ai-upload-btn:active:not(:disabled)[b-mshc69ilwq] {
    background: #F0F0EB;
    border-color: #aaa;
    color: #333;
}

.ai-upload-btn:focus-visible[b-mshc69ilwq] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ai-upload-btn:disabled[b-mshc69ilwq] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-upload-btn img[b-mshc69ilwq] {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Compact input box — chat mode, single row */
.ai-input-area--compact[b-mshc69ilwq] {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: auto;
    min-height: 72px;
    padding: 0 12px;
    gap: 10px;
    overflow: visible;
}

.ai-textarea-shell[b-mshc69ilwq] {
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    min-height: 40px;
    overflow: hidden;
}

.ai-input-area--compact .ai-textarea[b-mshc69ilwq] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    height: auto;
    padding: 8px 10px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
    resize: none;
    line-height: 1.4;
}

.ai-input-area--compact .send-wrapper[b-mshc69ilwq] {
    align-self: flex-end;
    margin-bottom: 8px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .ai-input-area--compact[b-mshc69ilwq] {
        padding: 0 8px;
        gap: 6px;
        min-height: 66px;
        height: auto;
    }

    .ai-input-area--compact .ai-textarea[b-mshc69ilwq] {
        padding: 6px 8px;
    }

    .ai-textarea-shell[b-mshc69ilwq],
    .ai-input-area--compact .ai-textarea[b-mshc69ilwq] {
        min-height: 36px;
        height: auto;
    }
}

/* ===================================================
   Chat Mode
   =================================================== */

.ai-chat-wrapper[b-mshc69ilwq] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 70px);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 2.5rem;
    box-sizing: border-box;
}

/* "שיחה חדשה" — right-aligned, no divider */
.ai-chat-topbar[b-mshc69ilwq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0 0.4rem;
    flex-shrink: 0;
    gap: 1rem;
}

.new-chat-btn[b-mshc69ilwq] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.88rem;
    padding: 0.35rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #bbb;
    background: #fff;
    cursor: pointer;
    color: #333;
    transition: all 0.15s ease;
}

.new-chat-btn:hover[b-mshc69ilwq] {
    background: #f0ece4;
    border-color: #888;
}

/* Messages area */
.ai-messages[b-mshc69ilwq] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 20px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
}

.message-row[b-mshc69ilwq] {
    display: flex;
    width: 100%;
    direction: ltr;
}

/* direction:ltr on .message-row — flex-end = visual right (user), flex-start = visual left (bot) */
.user-row[b-mshc69ilwq] {
    justify-content: flex-end;
}

.ai-row[b-mshc69ilwq] {
    justify-content: flex-start;
}

.message-bubble[b-mshc69ilwq] {
    box-sizing: border-box;
    max-width: 70%;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-family: 'Heebo', sans-serif;
    font-size: 1.08rem;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    direction: rtl;
    text-align: right;
}

.user-bubble[b-mshc69ilwq] {
    background: #DCC3E3;
    color: #000;
    border-bottom-right-radius: 4px;
}

.ai-bubble[b-mshc69ilwq] {
    background: #fff;
    color: #222;
    border: 1px solid #e0ddd6;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

/* Long structured output (activity, session plan, etc.) — wider card, still left-aligned */
.ai-bubble--wide[b-mshc69ilwq] {
    max-width: min(100%, 800px);
    width: min(100%, 800px);
}

/* Typing animation */
.typing-indicator[b-mshc69ilwq] {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 0.85rem 1rem;
}

.typing-indicator span[b-mshc69ilwq] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aaa;
    animation: typing-bounce-b-mshc69ilwq 1.2s infinite ease-in-out;
    display: inline-block;
}

.typing-indicator span:nth-child(2)[b-mshc69ilwq] { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3)[b-mshc69ilwq] { animation-delay: 0.4s; }

@keyframes typing-bounce-b-mshc69ilwq {
    0%, 80%, 100% { transform: scale(0.75); opacity: 0.45; }
    40%            { transform: scale(1.1);  opacity: 1; }
}

/* Export button — appears below last AI message */
.ai-export-row[b-mshc69ilwq] {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    padding: 2px 0 6px 8px;
}

.ai-export-btn[b-mshc69ilwq] {
    background: #ACDDF1;
    border: 1px solid #aaa;
    border-radius: 8px;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    direction: rtl;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.ai-export-btn:hover[b-mshc69ilwq] {
    background: #ACDDF1;
    color: #000;
}

.ai-export-btn:disabled[b-mshc69ilwq] {
    opacity: 0.5;
    cursor: default;
}

.ai-export-btn--pptx[b-mshc69ilwq] {
    background: #FEC899;
}

.ai-export-btn--pptx:hover[b-mshc69ilwq] {
    background: #FEC899;
}

.export-icon[b-mshc69ilwq] {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Wrapper that keeps input box + file hint at the same width */
.ai-input-wrapper[b-mshc69ilwq] {
    width: 100%;
    max-width: 899px;
}

/* Quiet AI-use disclaimer — directly below the input box */
.ai-disclaimer[b-mshc69ilwq] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.78rem;
    color: #666;
    text-align: center;
    direction: rtl;
    margin: 8px 4px 0;
}

@media (max-width: 600px) {
    .ai-disclaimer[b-mshc69ilwq] {
        margin: 8px 10px 0;
    }
}

/* Attached file indicator — below input box */
.ai-file-hint[b-mshc69ilwq] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.8rem;
    color: #888;
    text-align: right;
    direction: rtl;
    margin: 5px 4px 0;
}

/* System error message — between messages and input box */
.ai-error-message[b-mshc69ilwq] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.82rem;
    color: #b04040;
    text-align: center;
    padding: 0.4rem 0.5rem;
    flex-shrink: 0;
}

/* ===================================================
   Responsive
   =================================================== */

@media (max-width: 960px) {
    .ai-input-area[b-mshc69ilwq] {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .ai-chat-wrapper[b-mshc69ilwq] {
        height: calc(100dvh - 116px);
        padding: 0 0.5rem;
    }

    .message-bubble[b-mshc69ilwq] {
        max-width: 85%;
    }

    .ai-send-btn[b-mshc69ilwq],
    .ai-upload-btn[b-mshc69ilwq] {
        width: 38px;
        height: 38px;
    }

    .ai-send-btn img[b-mshc69ilwq],
    .ai-upload-btn img[b-mshc69ilwq] {
        width: 26px;
        height: 26px;
    }

    .ai-input-area--compact[b-mshc69ilwq] {
        min-height: 62px;
        height: auto;
        padding: 0 6px;
        gap: 6px;
    }

    .ai-input-wrapper[b-mshc69ilwq] {
        flex-shrink: 0;
    }
}
/* /Pages/ContentItemsPage.razor.rz.scp.css */
.content-page-layout[b-yw93ea7ey1] {
    display: flex;
    flex-direction: column;
}

.search-filter-row[b-yw93ea7ey1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 0.75rem;
}

.search-filter-row .search-input-container[b-yw93ea7ey1] {
    flex: 1 1 520px;
    max-width: 620px;
    min-width: 280px;
    padding-inline: 0;
    width: auto;
}

/* compensate for removed container padding so icon doesn't overlap placeholder */
.search-filter-row .search-input[b-yw93ea7ey1] {
    padding-right: 62px;
}

.filter-toggle-btn[b-yw93ea7ey1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.50rem 16px;
    border-radius: 8px;
    border: 1.5px solid #aaa;
    background: white;
    font-size: 1rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s ease, border-radius 0.15s ease, background 0.2s ease;
    color: #2B2B2B;
    white-space: nowrap;
    flex: 0 0 auto;
    height: 46px;
    box-sizing: border-box;
}

.content-sort-dropdown[b-yw93ea7ey1] {
    position: relative;
    flex: 0 0 auto;
}

.content-sort-trigger[b-yw93ea7ey1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
    padding-inline: 16px;
    border: 1.5px solid #aaa;
    border-radius: 8px;
    background: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: #2B2B2B;
    cursor: pointer;
    direction: rtl;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.content-sort-trigger:hover:not(:disabled)[b-yw93ea7ey1] {
    border-color: #70B4FD;
    background: #EEF4FF;
}

.content-sort-trigger.active[b-yw93ea7ey1] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.content-sort-trigger:active:not(:disabled)[b-yw93ea7ey1] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.content-sort-trigger:focus-visible[b-yw93ea7ey1] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.content-sort-trigger:disabled[b-yw93ea7ey1] {
    opacity: 0.6;
    cursor: not-allowed;
}

.sort-chevron[b-yw93ea7ey1] {
    font-size: 10px;
    color: #888;
}

.content-sort-menu[b-yw93ea7ey1] {
    position: absolute;
    inset-block-start: calc(100% + 6px);
    inset-inline-start: 0;
    min-width: 150px;
    padding: 6px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 20;
    direction: rtl;
}

.content-sort-option[b-yw93ea7ey1] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    color: #2B2B2B;
    text-align: right;
    direction: rtl;
    cursor: pointer;
    transition: background 0.15s;
}

.content-sort-option:hover[b-yw93ea7ey1] {
    background: #F5F5F0;
}

.content-sort-option:active[b-yw93ea7ey1] {
    background: #F0F0EB;
}

.content-sort-option:focus-visible[b-yw93ea7ey1] {
    outline: 2px solid #70B4FD;
    outline-offset: -2px;
}

.content-sort-option.active[b-yw93ea7ey1] {
    background: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.content-sort-option.active:hover[b-yw93ea7ey1] {
    background: #E4EDFC;
}

.content-sort-option.active:active[b-yw93ea7ey1] {
    background: #CADBF8;
}

.filter-toggle-btn:hover:not(:disabled)[b-yw93ea7ey1] {
    border-color: #70B4FD;
    background: #EEF4FF;
}

.filter-toggle-btn.active[b-yw93ea7ey1] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.filter-toggle-btn:active:not(:disabled)[b-yw93ea7ey1] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.filter-toggle-btn:focus-visible[b-yw93ea7ey1] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.filter-toggle-btn:disabled[b-yw93ea7ey1] {
    opacity: 0.6;
    cursor: not-allowed;
}

.filter-toggle-badge[b-yw93ea7ey1] {
    background: #CADBF8;
    color: #1A1A1A;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-toggle-arrow[b-yw93ea7ey1] {
    font-size: 10px;
    color: #888;
}

.results-count[b-yw93ea7ey1] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: 'Heebo', sans-serif;
}

.content-not-found[b-yw93ea7ey1] {
    text-align: center;
    padding: 48px 24px;
    color: #888;
    font-family: 'Heebo', sans-serif;
}

.content-not-found p[b-yw93ea7ey1] {
    font-size: 1rem;
    margin-bottom: 16px;
}

.content-not-found-back[b-yw93ea7ey1] {
    display: inline-block;
    padding: 9px 22px;
    background: #CADBF8;
    color: #1A1A1A;
    border-radius: 12px;
    font-size: 0.9rem;
    text-decoration: none;
    font-family: 'Heebo', sans-serif;
}

.content-not-found-back:hover[b-yw93ea7ey1] {
    opacity: 0.85;
}

.content-not-found-back:active[b-yw93ea7ey1] {
    filter: brightness(0.9);
}

.content-not-found-back:focus-visible[b-yw93ea7ey1] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

/* בלוק זהה ב-ContentItemsPage.razor.css וב-MediaTypePage.razor.css — לשנות בשני המקומות יחד */
@media (max-width: 700px) {
    .search-filter-row[b-yw93ea7ey1] {
        flex-wrap: wrap;
    }

    .search-filter-row .search-input-container[b-yw93ea7ey1] {
        flex: 1 1 100%;
        max-width: none;
    }

    .filter-toggle-btn[b-yw93ea7ey1] {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 0;
        justify-content: space-between;
    }

    .content-sort-dropdown[b-yw93ea7ey1] {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 0;
    }

    .content-sort-trigger[b-yw93ea7ey1] {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .content-sort-menu[b-yw93ea7ey1] {
        inset-inline-start: auto;
        inset-inline-end: 0;
    }
}
/* /Pages/EditContentPage.razor.rz.scp.css */
/* Heebo throughout — scoped font override for placeholders etc.
   (mirrors UploadContentPage.razor.css exactly — Blazor CSS isolation
   scopes this per-page, so it must be duplicated rather than shared) */
.upload-page-wrapper input[b-qfo0nnjaz1],
.upload-page-wrapper input[b-qfo0nnjaz1]::placeholder,
.upload-page-wrapper textarea[b-qfo0nnjaz1],
.upload-page-wrapper textarea[b-qfo0nnjaz1]::placeholder,
.upload-page-wrapper select[b-qfo0nnjaz1],
.upload-page-wrapper label[b-qfo0nnjaz1],
.upload-page-wrapper .dropzone-text[b-qfo0nnjaz1],
.upload-page-wrapper .upload-message[b-qfo0nnjaz1],
.upload-page-wrapper .upload-microcopy[b-qfo0nnjaz1],
.upload-page-wrapper .upload-section-label[b-qfo0nnjaz1],
.upload-page-wrapper .file-link-legend[b-qfo0nnjaz1],
.upload-page-wrapper .upload-target-label[b-qfo0nnjaz1] {
    font-family: 'Heebo', sans-serif;
}

/* Step 2 context summary — second, subtler line under "יעד התוכן"
   (mirrors UploadContentPage.razor.css exactly) */
.upload-target-source[b-qfo0nnjaz1] {
    display: block;
    margin-top: 4px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.85rem;
    color: #777;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.upload-target-source-key[b-qfo0nnjaz1] {
    font-weight: 600;
    color: #555;
}

/* ═══════════════════════════════════════════════════════════
   Custom field dropdowns (category / subcategory)
   — replaces native <select>, dimensions match .form-field
   select/input (44px/12px/#E6E6E6) already used in this form;
   chevron/menu/hover language matches the custom selects
   already used elsewhere in the app (mi-cs-*, au-role-cs-*).
═══════════════════════════════════════════════════════════ */
.upload-cs-backdrop[b-qfo0nnjaz1] {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.upload-cs[b-qfo0nnjaz1] {
    position: relative;
    width: 100%;
}

.upload-cs-btn[b-qfo0nnjaz1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #2d2d2d;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    direction: rtl;
    box-sizing: border-box;
}

.upload-cs-btn span[b-qfo0nnjaz1] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-cs-btn:hover[b-qfo0nnjaz1],
.upload-cs-btn--open[b-qfo0nnjaz1] {
    border-color: #70B4FD;
}

.upload-cs-btn:active:not(:disabled)[b-qfo0nnjaz1] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.upload-cs-btn:focus-visible[b-qfo0nnjaz1] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.upload-cs-btn:disabled[b-qfo0nnjaz1] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F5F5F0;
}

.upload-cs-chevron[b-qfo0nnjaz1] {
    flex-shrink: 0;
    transition: transform 0.18s ease;
    color: #555;
}

.upload-cs-btn--open .upload-cs-chevron[b-qfo0nnjaz1] {
    transform: rotate(180deg);
}

.upload-cs-menu[b-qfo0nnjaz1] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
    display: flex;
    flex-direction: column;
}

.upload-cs-option[b-qfo0nnjaz1] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    white-space: normal;
    border-radius: 8px;
    transition: background 0.12s;
    box-sizing: border-box;
}

.upload-cs-option:hover[b-qfo0nnjaz1] {
    background: #F5F5F0;
}

.upload-cs-option:active[b-qfo0nnjaz1] {
    background: #F0F0EB;
}

.upload-cs-option:focus-visible[b-qfo0nnjaz1] {
    outline: 2px solid #737373;
    outline-offset: -2px;
}

.upload-cs-option--selected[b-qfo0nnjaz1] {
    background: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.upload-cs-option--selected:hover[b-qfo0nnjaz1] {
    background: #E4EDFC;
}

.upload-cs-option--selected:active[b-qfo0nnjaz1] {
    background: #CADBF8;
}

/* ═══════════════════════════════════════════════════════════
   Existing file display
═══════════════════════════════════════════════════════════ */
.edit-existing-file[b-qfo0nnjaz1] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.edit-existing-ext[b-qfo0nnjaz1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F0F7FF;
    color: #3266C4;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}

.edit-existing-label[b-qfo0nnjaz1] {
    font-size: 0.88rem;
    color: #555;
    font-family: 'Heebo', sans-serif;
    flex: 1;
}

.edit-existing-view[b-qfo0nnjaz1] {
    font-size: 0.85rem;
    color: #3266C4;
    font-family: 'Heebo', sans-serif;
    text-decoration: none;
    flex-shrink: 0;
}

.edit-existing-view:hover[b-qfo0nnjaz1] {
    text-decoration: underline;
}

.edit-remove-btn[b-qfo0nnjaz1] {
    background: transparent;
    border: 1px solid #FED7D7;
    color: #C53030;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.82rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.edit-remove-btn:hover[b-qfo0nnjaz1] {
    background: #FFF5F5;
}

/* ═══════════════════════════════════════════════════════════
   File removed notice
═══════════════════════════════════════════════════════════ */
.edit-file-removed[b-qfo0nnjaz1] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFF5F5;
    border: 1px solid #FED7D7;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    margin-bottom: 12px;
}

.edit-undo-btn[b-qfo0nnjaz1] {
    background: transparent;
    border: 1px solid #C53030;
    color: #C53030;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.82rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: background 0.15s;
    margin-right: auto;
}

.edit-undo-btn:hover[b-qfo0nnjaz1] {
    background: #FEECEC;
}

/* ═══════════════════════════════════════════════════════════
   Dropzone spacing when file shown above
═══════════════════════════════════════════════════════════ */
.edit-dropzone-gap[b-qfo0nnjaz1] {
    display: block;
    margin: 12px auto 0;
}

/* ═══════════════════════════════════════════════════════════
   Change file button (inside dropzone when file selected)
═══════════════════════════════════════════════════════════ */
.edit-change-file-btn[b-qfo0nnjaz1] {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Heebo', sans-serif;
    padding: 0;
    margin-right: 6px;
    text-decoration: underline;
}

.edit-change-file-btn:hover[b-qfo0nnjaz1] {
    color: #555;
}

/* ═══════════════════════════════════════════════════════════
   Field validation
═══════════════════════════════════════════════════════════ */
.field-has-error input[b-qfo0nnjaz1],
.field-has-error select[b-qfo0nnjaz1],
.field-has-error textarea[b-qfo0nnjaz1] {
    border-color: #C53030 !important;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.10) !important;
}

.field-error-msg[b-qfo0nnjaz1] {
    font-size: 0.78rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    margin-top: 5px;
}

.field-required[b-qfo0nnjaz1] {
    color: #C53030;
    font-size: 0.8rem;
    margin-right: 2px;
}

/* File section error highlight */
.file-section-error[b-qfo0nnjaz1] {
    outline: 2px solid rgba(197, 48, 48, 0.35);
    outline-offset: 2px;
    border-radius: 16px;
}

.edit-file-error[b-qfo0nnjaz1] {
    font-size: 0.82rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    margin-top: 10px;
    padding: 8px 12px;
    background: #FFF5F5;
    border-radius: 8px;
    border: 1px solid #FED7D7;
}

/* ═══════════════════════════════════════════════════════════
   Confirm save dialog — blue button override
═══════════════════════════════════════════════════════════ */
.edit-confirm-save-btn[b-qfo0nnjaz1] {
    background: #CADBF8 !important;
    color: #1A1A1A;
}

.edit-confirm-save-btn:hover:not(:disabled)[b-qfo0nnjaz1] {
    opacity: 0.85;
}

.edit-confirm-save-btn:active:not(:disabled)[b-qfo0nnjaz1] {
    filter: brightness(0.9);
}

.edit-confirm-save-btn:focus-visible[b-qfo0nnjaz1] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.edit-confirm-save-btn:disabled[b-qfo0nnjaz1] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════
   ביטול — שורה עליונה בפינה השמאלית של הכרטיסייה
═══════════════════════════════════════════════════════════ */
.edit-cancel-bar[b-qfo0nnjaz1] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F0F0;
}

/* ═══════════════════════════════════════════════════════════
   Type selection cards — icon size override (210px, same as Upload)
═══════════════════════════════════════════════════════════ */
.category-card-icon[b-qfo0nnjaz1] {
    width: 210px;
    height: 210px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .category-card-icon[b-qfo0nnjaz1] {
        width: 128px;
        height: 128px;
    }
}

/* ═══════════════════════════════════════════════════════════
   Rejected content notice (top of edit area)
═══════════════════════════════════════════════════════════ */
.edit-rejection-banner[b-qfo0nnjaz1] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: #FFF5F5;
    border: 1px solid #FED7D7;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.edit-rejection-banner-title[b-qfo0nnjaz1] {
    font-size: 0.92rem;
    font-weight: 700;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    margin: 0;
}

.edit-rejection-banner-meta[b-qfo0nnjaz1],
.edit-rejection-banner-reason[b-qfo0nnjaz1] {
    font-size: 0.84rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   Auto-removed file notice (when switching to media type)
═══════════════════════════════════════════════════════════ */
.edit-media-switch-note[b-qfo0nnjaz1] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #FFF4D6;
    border: 1px solid #F0D080;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.84rem;
    color: #856300;
    font-family: 'Heebo', sans-serif;
    margin-bottom: 12px;
    line-height: 1.45;
}
/* /Pages/Index.razor.rz.scp.css */
.home-container[b-3exjpy8i1u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8rem 1rem 2rem;
}

.home-hero[b-3exjpy8i1u] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.home-logo-img[b-3exjpy8i1u] {
    width: 470px;
    max-width: 90%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.home-hero-img[b-3exjpy8i1u] {
    width: 52%;
    max-width: 620px;
    min-width: 280px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 0;
}

.search-bar-wrapper[b-3exjpy8i1u] {
    margin-top: 1rem;
}

.home-tagline[b-3exjpy8i1u] {
    font-family: 'TelAviv-Modernist', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #1F1F1F;
    margin: 0 0 2rem;
    text-align: center;
    direction: rtl;
}

.home-tagline-accent[b-3exjpy8i1u] {
    color: #000;
}

.home-subtitle[b-3exjpy8i1u] {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'TelAviv-Modernist', sans-serif;
    font-weight: 400;
}

.home-cards[b-3exjpy8i1u] {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: clamp(2rem, 13vw, 12rem);
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.home-card[b-3exjpy8i1u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.home-card-image-link[b-3exjpy8i1u] {
    display: block;
    cursor: pointer;
}

.home-card-image[b-3exjpy8i1u] {
    width: clamp(130px, 14vw, 185px);
    height: clamp(130px, 14vw, 185px);
    object-fit: contain;
    transition: transform 0.2s;
    margin-bottom: -35px;
    transform: translateY(8px);
}

.home-card-image:hover[b-3exjpy8i1u] {
    transform: translateY(8px) scale(1.05);
}

/* Per-image vertical alignment — compensates for uneven transparent
   padding baked into each source PNG so the icons appear to sit on
   the same visual baseline with an even gap to the button below. */
.home-card-image--kb[b-3exjpy8i1u] {
    object-position: 50% 56%;
}

.home-card-image--videos[b-3exjpy8i1u] {
    object-position: 50% 46%;
}

.home-card-image--content[b-3exjpy8i1u] {
    object-position: 50% 48%;
}

.home-card-image.scale-up[b-3exjpy8i1u] {
    transform: translateY(8px) scale(1.25);
}

.home-card-image.scale-up:hover[b-3exjpy8i1u] {
    transform: translateY(8px) scale(1.3);
}

.home-card-btn[b-3exjpy8i1u] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(150px, 16vw, 213px);
    height: clamp(38px, 4vw, 46px);
    border-radius: 8px;
    color: #000000;
    font-family: 'TelAviv-Modernist', sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: clamp(16px, 1.5vw, 20px);
    white-space: nowrap;
    margin-top: auto;
}

.home-card-btn:hover[b-3exjpy8i1u] {
    opacity: 0.85;
    color: #000000;
    text-decoration: none;
}

.home-card-btn-pink[b-3exjpy8i1u] {
    background-color: #fcb1c9;
}

.home-card-btn-blue[b-3exjpy8i1u] {
    background-color: #ACDDF1;
}

.home-card-btn-yellow[b-3exjpy8i1u] {
    background-color: #fde7ab;
}

@media (max-width: 768px) {
    .home-container[b-3exjpy8i1u] {
        padding-top: 2rem;
    }

    .home-logo-img[b-3exjpy8i1u] {
        margin-bottom: 0.5rem;
    }

    .search-bar-wrapper[b-3exjpy8i1u] {
        margin-top: 2rem;
        width: 100%;
    }

    .search-input-container[b-3exjpy8i1u] {
        max-width: 326px;
        margin: 0 auto;
    }

    .search-input[b-3exjpy8i1u] {
        font-size: 0.9rem;
        padding: 0.45rem 3.5rem 0.45rem 0.75rem;
        height: 42px;
        box-sizing: border-box;
    }

    .search-icon[b-3exjpy8i1u] {
        font-size: 0.8rem;
        right: 1.3rem;
    }

    .home-cards[b-3exjpy8i1u] {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 0.25rem;
    }

    .home-subtitle[b-3exjpy8i1u] {
        margin-top: 0.25rem;
        margin-bottom: 0;
    }

    .home-card-image[b-3exjpy8i1u] {
        width: 130px;
        height: 130px;
        margin-bottom: -25px;
    }

    .home-card-btn[b-3exjpy8i1u] {
        width: auto;
        min-width: 150px;
        padding: 0 14px;
        height: 38px;
        font-size: 16px;
    }

    .home-subtitle[b-3exjpy8i1u] {
        margin-top: 1rem;
    }
}

/* /Pages/KnowledgeBasePage.razor.rz.scp.css */
.page-container[b-xt1cbxoq83] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.page-title[b-xt1cbxoq83] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 2rem;
}

.categories-grid[b-xt1cbxoq83] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
}

.category-card-icon[b-xt1cbxoq83] {
    width: 210px;
    height: 210px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .category-card-name[b-xt1cbxoq83] {
        font-size: 20px;
    }

    .category-card-icon[b-xt1cbxoq83] {
        width: 128px;
        height: 128px;
    }
}
/* /Pages/ManageContentPage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Backdrop for 3-dot menu
═══════════════════════════════════════════════════════════ */
.mc-menu-backdrop[b-hw1uoc1z9h] {
    position: fixed;
    inset: 0;
    z-index: 100;
}

/* ═══════════════════════════════════════════════════════════
   Page wrapper
═══════════════════════════════════════════════════════════ */
.mc-page-wrapper[b-hw1uoc1z9h] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    direction: rtl;
}

/* ═══════════════════════════════════════════════════════════
   Subtitle
═══════════════════════════════════════════════════════════ */
.mc-subtitle[b-hw1uoc1z9h] {
    color: #8C8C8C;
    font-size: 0.92rem;
    font-family: 'Heebo', sans-serif;
    margin: -8px 0 20px 0;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════
   Toolbar row (search + status select + upload button)
═══════════════════════════════════════════════════════════ */
.mc-toolbar-row[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.mc-search-wrap[b-hw1uoc1z9h] {
    position: relative;
    flex: 1;
    border: 1px solid #aaa;
    border-radius: 14px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.15s;
}

.mc-search-wrap:focus-within[b-hw1uoc1z9h] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}


.mc-search-input[b-hw1uoc1z9h] {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 9px 57px 9px 12px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    box-sizing: border-box;
    background: transparent;
    color: #2d2d2d;
    outline: none;
}

/* ── Custom dropdowns (status filter + sort) ── */
.mi-custom-select[b-hw1uoc1z9h] {
    position: relative;
    flex-shrink: 0;
}

.mi-cs-btn[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 38px;
    min-width: 155px;
    padding: 0 12px;
    border: 1px solid #aaa;
    border-radius: 14px;
    background: white;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #2d2d2d;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.15s;
    direction: rtl;
    white-space: nowrap;
}

.mi-cs-btn:hover[b-hw1uoc1z9h] {
    border-color: #70B4FD;
}

.mi-cs-btn--open[b-hw1uoc1z9h] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.mi-cs-btn:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.mi-cs-chevron[b-hw1uoc1z9h] {
    flex-shrink: 0;
    transition: transform 0.18s ease;
    color: #555;
}

.mi-cs-btn--open .mi-cs-chevron[b-hw1uoc1z9h] {
    transform: rotate(180deg);
}

.mi-cs-menu[b-hw1uoc1z9h] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 100%;
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    overflow: hidden;
    padding: 4px;
    display: flex;
    flex-direction: column;
    animation: mcDropIn-b-hw1uoc1z9h 0.13s ease;
}

@keyframes mcDropIn-b-hw1uoc1z9h {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mi-cs-option[b-hw1uoc1z9h] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    white-space: nowrap;
    border-radius: 8px;
    transition: background 0.12s;
}

.mi-cs-option:hover[b-hw1uoc1z9h] { background: #F5F5F0; }
.mi-cs-option:active[b-hw1uoc1z9h] { background: #F0F0EB; }

.mi-cs-option:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #70B4FD;
    outline-offset: -2px;
}

.mi-cs-option--selected[b-hw1uoc1z9h] { background: #EEF4FF; color: #3266c4; font-weight: 600; }
.mi-cs-option--selected:hover[b-hw1uoc1z9h] { background: #E4EDFC; }
.mi-cs-option--selected:active[b-hw1uoc1z9h] { background: #CADBF8; }

.mi-custom-select--sort .mi-cs-btn[b-hw1uoc1z9h] {
    width: 115px;
    min-width: unset;
}

.mc-add-btn[b-hw1uoc1z9h] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    flex-shrink: 0;
    margin: 0;
    background: #CADBF8;
    color: #1A1A1A;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.mc-add-btn:hover:not(:disabled)[b-hw1uoc1z9h] { opacity: 0.85; }

.mc-add-btn:active:not(:disabled)[b-hw1uoc1z9h] {
    filter: brightness(0.9);
}

.mc-add-btn:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.mc-add-btn:disabled[b-hw1uoc1z9h] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════
   Empty / loading
═══════════════════════════════════════════════════════════ */
.mc-empty[b-hw1uoc1z9h] {
    text-align: center;
    padding: 60px 0;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   Main list wrapper
═══════════════════════════════════════════════════════════ */
.mc-list[b-hw1uoc1z9h] {
    background: white;
    border-radius: 18px;
    border: 1px solid #aaa;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Clip child backgrounds to rounded corners */
.mc-list > *:first-child:not(:last-child)[b-hw1uoc1z9h] {
    border-radius: 17px 17px 0 0;
}

.mc-list > *:last-child:not(:first-child)[b-hw1uoc1z9h] {
    border-radius: 0 0 17px 17px;
}

.mc-list > *:only-child[b-hw1uoc1z9h] {
    border-radius: 17px;
}

/* ═══════════════════════════════════════════════════════════
   Content row
═══════════════════════════════════════════════════════════ */
.mc-row[b-hw1uoc1z9h] {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #F3F3EE;
    transition: background 0.12s;
}

.mc-row:last-child[b-hw1uoc1z9h] { border-bottom: none; }
.mc-row:hover[b-hw1uoc1z9h] { background: #FDFDF9; }
.mc-row--rejecting[b-hw1uoc1z9h] { background: #FDFDF9; }

/* ── Main horizontal content ── */
.mc-row-main[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
}

/* ── File type icon ── */
.mc-icon-wrap[b-hw1uoc1z9h] {
    width: 87px;
    height: 87px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-content-icon[b-hw1uoc1z9h] {
    width: 87px;
    height: 87px;
    object-fit: contain;
}

/* ── Name + category ── */
.mc-name-group[b-hw1uoc1z9h] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.mc-title-row[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-name-cell[b-hw1uoc1z9h] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
    min-width: 0;
}

.mc-name-sub[b-hw1uoc1z9h] {
    font-size: 0.81rem;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-uploader-sub[b-hw1uoc1z9h] {
    font-size: 0.76rem;
    color: #bbb;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mc-rejection-inline[b-hw1uoc1z9h] {
    font-size: 0.76rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
}

/* ── Spacer ── */
/* flex: 0 (not 1) — .mc-name-group already has flex:1 and claims all
   remaining row width on its own; giving this empty spacer flex:1 too
   used to split that space 50/50 with the title, wasting half of it. */
.mc-row-spacer[b-hw1uoc1z9h] { flex: 0; }

/* ── Meta: date + pill ── */
.mc-meta-row[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-meta-row .mct-status-pill[b-hw1uoc1z9h] {
    flex-shrink: 0;
}

.mc-date[b-hw1uoc1z9h] {
    font-size: 0.8rem;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   Status pill
═══════════════════════════════════════════════════════════ */
.mct-status-pill[b-hw1uoc1z9h] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
}

.mct-status-dot[b-hw1uoc1z9h] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mct-status-pending[b-hw1uoc1z9h]  { background: #FFF4D6; color: #D89B00; }
.mct-status-pending  .mct-status-dot[b-hw1uoc1z9h] { background: #D89B00; }

.mct-status-approved[b-hw1uoc1z9h] { background: #E5F7EA; color: #28A745; }
.mct-status-approved .mct-status-dot[b-hw1uoc1z9h] { background: #28A745; }

.mct-status-rejected[b-hw1uoc1z9h] { background: #FDEBEC; color: #D64545; }
.mct-status-rejected .mct-status-dot[b-hw1uoc1z9h] { background: #D64545; }

/* Rejection reason badge */
.mc-rejection-info[b-hw1uoc1z9h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 50%;
    background: #D64545;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 2px;
    padding: 0;
    position: relative;
}

.mc-rejection-info:hover[b-hw1uoc1z9h] {
    opacity: 0.85;
}

.mc-rejection-info:active[b-hw1uoc1z9h] {
    filter: brightness(0.9);
}

.mc-rejection-info:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

/* Rejection reason expanded text (mobile-friendly) */
.mc-rejection-text[b-hw1uoc1z9h] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff8f8;
    border: 1px solid #FEB2B2;
    color: #C53030;
    font-size: 0.78rem;
    font-family: 'Heebo', sans-serif;
    padding: 7px 11px;
    border-radius: 8px;
    z-index: 20;
    min-width: 180px;
    max-width: 260px;
    white-space: normal;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   Quick actions (desktop only): view + edit
═══════════════════════════════════════════════════════════ */
.mc-quick-actions[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mc-quick-action-btn[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-decoration: none;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
    box-sizing: border-box;
    white-space: nowrap;
}

.mc-quick-action-btn:hover:not(:disabled)[b-hw1uoc1z9h] { background: #F5F5F0; border-color: #ccc; }

.mc-quick-action-btn:active:not(:disabled)[b-hw1uoc1z9h] {
    background: #F0F0EB;
    border-color: #aaa;
    color: #333;
}

.mc-quick-action-btn:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.mc-quick-action-btn:disabled[b-hw1uoc1z9h] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mc-quick-action-icon[b-hw1uoc1z9h] {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   3-dot menu
═══════════════════════════════════════════════════════════ */
.mc-menu-wrap[b-hw1uoc1z9h] {
    position: relative;
    flex-shrink: 0;
}

.mc-three-dot-btn[b-hw1uoc1z9h] {
    background: transparent;
    border: none;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3d3d3d;
    transition: background 0.12s, color 0.12s;
    padding: 0;
}

.mc-three-dot-btn:hover:not(:disabled)[b-hw1uoc1z9h] { background: #F0F0EB; color: #555; }

.mc-three-dot-btn:active:not(:disabled)[b-hw1uoc1z9h] {
    background: #E8E8E2;
    color: #333;
}

.mc-three-dot-btn:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.mc-three-dot-btn:disabled[b-hw1uoc1z9h] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mc-dropdown[b-hw1uoc1z9h] {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    min-width: 150px;
    overflow: hidden;
    animation: mcDropIn-b-hw1uoc1z9h 0.13s ease;
}

@keyframes mcDropIn-b-hw1uoc1z9h {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mc-dropdown-item[b-hw1uoc1z9h] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    text-decoration: none;
    transition: background 0.12s;
    box-sizing: border-box;
}

.mc-dropdown-item:hover[b-hw1uoc1z9h] { background: #F5F5F0; }

.mc-dropdown-item:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #737373;
    outline-offset: -5px;
}

.mc-dropdown-approve[b-hw1uoc1z9h] { color: #28A745; }
.mc-dropdown-approve:hover[b-hw1uoc1z9h] { background: #F0FBF2; }

.mc-dropdown-reject[b-hw1uoc1z9h] { color: #D64545; }
.mc-dropdown-reject:hover[b-hw1uoc1z9h] { background: #FFF5F5; }

.mc-dropdown-delete[b-hw1uoc1z9h] { color: #C53030; }
.mc-dropdown-delete:hover[b-hw1uoc1z9h] { background: #FFF5F5; }

.mc-dropdown-icon[b-hw1uoc1z9h] {
    width: 15px;
    height: 15px;
    object-fit: contain;
    opacity: 1;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   Inline rejection panel
═══════════════════════════════════════════════════════════ */
.mc-reject-inline[b-hw1uoc1z9h] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px 14px 20px;
}

.mc-reject-textarea[b-hw1uoc1z9h] {
    width: 100%;
    border: 1.5px solid #ECE7DD;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    padding: 8px 10px;
    direction: rtl;
    resize: none;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

.mc-reject-textarea:focus[b-hw1uoc1z9h] {
    border-color: #F4728F;
}

.mc-reject-btns[b-hw1uoc1z9h] {
    display: flex;
    gap: 8px;
}

.mc-btn-confirm-reject[b-hw1uoc1z9h] {
    background: #F4728F;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.mc-btn-confirm-reject:hover[b-hw1uoc1z9h] { opacity: 0.85; }

.mc-btn-cancel-reject[b-hw1uoc1z9h] {
    background: transparent;
    color: #555;
    border: 1.5px solid #ECE7DD;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.mc-btn-cancel-reject:hover:not(:disabled)[b-hw1uoc1z9h] { background: #F5F5F0; border-color: #ccc; }

.mc-btn-cancel-reject:active:not(:disabled)[b-hw1uoc1z9h] {
    background: #F0F0EB;
    border-color: #aaa;
    color: #333;
}

.mc-btn-cancel-reject:focus-visible[b-hw1uoc1z9h] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.mc-btn-cancel-reject:disabled[b-hw1uoc1z9h] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════
   Inline error message
═══════════════════════════════════════════════════════════ */
.mc-inline-msg[b-hw1uoc1z9h] {
    font-size: 0.78rem;
    color: #D64545;
    font-family: 'Heebo', sans-serif;
    margin: 0;
    padding: 0 20px 12px;
    text-align: center;
}

/* Mobile-only elements — hidden on desktop */
.mc-mobile-expand-btn[b-hw1uoc1z9h]  { display: none; }
.mc-mobile-actions[b-hw1uoc1z9h]     { display: none; }
.mc-mobile-action-btn[b-hw1uoc1z9h]  { display: none; }
.mc-label-mobile[b-hw1uoc1z9h]       { display: none; }

/* ═══════════════════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Row layout */
    .mc-row-main[b-hw1uoc1z9h] {
        padding: 12px 16px;
        gap: 10px;
        align-items: center;
        cursor: pointer;
    }

    .mc-icon-wrap[b-hw1uoc1z9h] {
        width: clamp(44px, 13.5vw, 58px);
        height: clamp(44px, 13.5vw, 58px);
        align-self: center;
    }

    .mc-content-icon[b-hw1uoc1z9h] {
        width: 100%;
        height: 100%;
    }

    .mc-uploader-sub[b-hw1uoc1z9h] {
        white-space: normal;
    }

    .mc-rejection-inline[b-hw1uoc1z9h] {
        white-space: normal;
    }

    /* Hide spacer so name gets full width */
    .mc-row-spacer[b-hw1uoc1z9h] { display: none; }

    /* Name: full title, wraps to as many lines as needed */
    .mc-name-cell[b-hw1uoc1z9h] {
        white-space: normal;
    }

    .mc-name-sub[b-hw1uoc1z9h] {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Hide 3-dot, show chevron */
    .mc-menu-wrap[b-hw1uoc1z9h] { display: none; }

    /* Hide desktop quick actions — mobile uses .mc-mobile-actions instead */
    .mc-quick-actions[b-hw1uoc1z9h] { display: none; }

    .mc-mobile-expand-btn[b-hw1uoc1z9h] {
        display: flex;
        background: transparent;
        border: none;
        border-radius: 7px;
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #3d3d3d;
        padding: 0;
        flex-shrink: 0;
        transition: background 0.12s, color 0.12s;
    }

    .mc-mobile-expand-btn svg[b-hw1uoc1z9h] {
        transition: transform 0.2s ease;
    }

    .mc-mobile-expand-btn--open svg[b-hw1uoc1z9h] {
        transform: rotate(-90deg);
    }

    .mc-mobile-expand-btn--open[b-hw1uoc1z9h] { color: #70B4FD; }

    .mc-mobile-expand-btn:hover:not(:disabled)[b-hw1uoc1z9h] {
        background: #F0F0EB;
        color: #555;
    }

    .mc-mobile-expand-btn:active:not(:disabled)[b-hw1uoc1z9h] {
        background: #E8E8E2;
        color: #333;
    }

    .mc-mobile-expand-btn:focus-visible[b-hw1uoc1z9h] {
        outline: 2px solid #737373;
        outline-offset: 1px;
    }

    /* Mobile actions panel */
    .mc-mobile-actions[b-hw1uoc1z9h] {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 16px 14px;
        border-top: 1px solid #F3F3EE;
        justify-content: center;
    }

    .mc-mobile-action-btn[b-hw1uoc1z9h] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        background: white;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.12s, border-color 0.12s;
        flex-shrink: 0;
    }

    .mc-mobile-action-icon[b-hw1uoc1z9h] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .mc-mobile-action-btn:hover:not(:disabled)[b-hw1uoc1z9h]      { background: #F5F5F0; border-color: #ccc; }
    .mc-mobile-action-approve:hover:not(:disabled)[b-hw1uoc1z9h]  { background: #F0FBF2; border-color: #C6EFD1; }
    .mc-mobile-action-reject:hover:not(:disabled)[b-hw1uoc1z9h]   { background: #FFF5F5; border-color: #FEB2B2; }
    .mc-mobile-action-delete:hover:not(:disabled)[b-hw1uoc1z9h]   { background: #FFF5F5; border-color: #FEB2B2; }

    .mc-mobile-action-btn:active:not(:disabled)[b-hw1uoc1z9h] {
        background: #F0F0EB;
        border-color: #aaa;
        color: #333;
    }

    .mc-mobile-action-approve:active:not(:disabled)[b-hw1uoc1z9h] {
        background: #C0E2B8;
        border-color: #28A745;
        color: #28A745;
    }

    .mc-mobile-action-reject:active:not(:disabled)[b-hw1uoc1z9h],
    .mc-mobile-action-delete:active:not(:disabled)[b-hw1uoc1z9h] {
        background: #FEECEC;
        border-color: #C53030;
        color: #C53030;
    }

    .mc-mobile-action-btn:focus-visible[b-hw1uoc1z9h] {
        outline: 2px solid #737373;
        outline-offset: 1px;
    }

    .mc-mobile-action-btn:disabled[b-hw1uoc1z9h] {
        opacity: 0.6;
        cursor: not-allowed;
    }
}

@media (max-width: 600px) {
    .mc-page-wrapper[b-hw1uoc1z9h] { padding: 20px 12px 60px; }

    .mc-toolbar-row[b-hw1uoc1z9h] { flex-wrap: wrap; gap: 10px; }
    .mc-search-wrap[b-hw1uoc1z9h] { flex: 1 1 100%; }
    .mi-custom-select[b-hw1uoc1z9h] { flex: 1; min-width: 0; }
    .mi-cs-btn[b-hw1uoc1z9h] { width: 100%; min-width: 0; }
    .mi-custom-select--sort .mi-cs-btn[b-hw1uoc1z9h] { width: 100%; min-width: 0; }
    .mc-add-btn[b-hw1uoc1z9h] { flex: 1 1 100%; justify-content: center; flex-shrink: unset; }
    .mc-status-select[b-hw1uoc1z9h] { width: 100%; flex-shrink: unset; }

    .mc-label-desktop[b-hw1uoc1z9h] { display: none; }
    .mc-label-mobile[b-hw1uoc1z9h]  { display: inline; }
}
/* /Pages/ManageLibraryPage.razor.rz.scp.css */
/* Summary label desktop/mobile toggle */
.ml-label-mobile[b-i6zlegc4t5] { display: none; }

@media (max-width: 600px) {
    .ml-label-desktop[b-i6zlegc4t5] { display: none; }
    .ml-label-mobile[b-i6zlegc4t5]  { display: inline; }
}

/* ═══════════════════════════════════════════════════════════
   Backdrop for 3-dot menu
═══════════════════════════════════════════════════════════ */
.ml-menu-backdrop[b-i6zlegc4t5] {
    position: fixed;
    inset: 0;
    z-index: 100;
}

/* ═══════════════════════════════════════════════════════════
   Page wrapper
═══════════════════════════════════════════════════════════ */
.ml-page-wrapper[b-i6zlegc4t5] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    direction: rtl;
}

/* ═══════════════════════════════════════════════════════════
   Controls row
═══════════════════════════════════════════════════════════ */
.ml-controls-row[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   Add button
═══════════════════════════════════════════════════════════ */
.ml-add-btn[b-i6zlegc4t5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #CADBF8;
    color: #1A1A1A;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.ml-add-btn:hover:not(:disabled)[b-i6zlegc4t5] { opacity: 0.85; }

.ml-add-btn:active:not(:disabled)[b-i6zlegc4t5] {
    filter: brightness(0.9);
}

.ml-add-btn:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ml-add-btn:disabled[b-i6zlegc4t5] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════
   Toolbar row (search + add button)
═══════════════════════════════════════════════════════════ */
.ml-toolbar-row[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ml-search-wrap[b-i6zlegc4t5] {
    position: relative;
    flex: 1;
    border: 1px solid #aaa;
    border-radius: 14px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.15s;
}

.ml-search-wrap:focus-within[b-i6zlegc4t5] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}


.ml-search-input[b-i6zlegc4t5] {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 9px 57px 9px 12px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    box-sizing: border-box;
    background: transparent;
    color: #2d2d2d;
    outline: none;
}


/* ═══════════════════════════════════════════════════════════
   Empty / loading
═══════════════════════════════════════════════════════════ */
.ml-empty[b-i6zlegc4t5] {
    text-align: center;
    padding: 60px 0;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   Main list wrapper
═══════════════════════════════════════════════════════════ */
.ml-list[b-i6zlegc4t5] {
    background: white;
    border-radius: 18px;
    border: 1px solid #aaa;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Clip child backgrounds to match container's rounded corners */
.ml-list > *:first-child:not(:last-child)[b-i6zlegc4t5] {
    border-radius: 17px 17px 0 0;
}

.ml-list > *:last-child:not(:first-child)[b-i6zlegc4t5] {
    border-radius: 0 0 17px 17px;
}

.ml-list > *:only-child[b-i6zlegc4t5] {
    border-radius: 17px;
}

/* ═══════════════════════════════════════════════════════════
   Category row — flex layout
═══════════════════════════════════════════════════════════ */
.ml-cat-row[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #F3F3EE;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

.ml-cat-row:last-child[b-i6zlegc4t5] { border-bottom: none; }
.ml-cat-row:hover[b-i6zlegc4t5] { background: #FDFDF9; }
.ml-cat-row--open[b-i6zlegc4t5] { background: #FAFAF7; border-bottom: none; }

/* ── Folder icon circle ── */
.ml-cat-icon-circle[b-i6zlegc4t5] {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    background: transparent !important;
}


/* ── Icon images ── */
.ml-cat-icon-img[b-i6zlegc4t5] {
    width: 67px;
    height: 47px;
    object-fit: contain;
    display: block;
    align-self: center;
}

/* ── Name + description group ── */
.ml-cat-name-group[b-i6zlegc4t5] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.ml-cat-name-cell[b-i6zlegc4t5] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ml-cat-desc[b-i6zlegc4t5] {
    font-size: 0.81rem;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Spacer ── */
.ml-row-spacer[b-i6zlegc4t5] { flex: 1; }

/* ── Meta counts ── */
.ml-cat-meta[b-i6zlegc4t5] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.ml-meta-item[b-i6zlegc4t5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    gap: 1px;
}

.ml-meta-item + .ml-meta-item[b-i6zlegc4t5] {
    border-right: 1px solid #3d3d3d;
}

.ml-meta-num[b-i6zlegc4t5] {
    font-weight: 700;
    color: #2d2d2d;
    font-size: 1.15rem;
    line-height: 1.2;
    font-family: 'Heebo', sans-serif;
}

.ml-meta-lbl[b-i6zlegc4t5] {
    font-size: 0.73rem;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
}

/* ── Category actions (right side) ── */
.ml-cat-actions[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

/* ── Shared action button ── */
.ml-action-btn[b-i6zlegc4t5] {
    background: transparent;
    border: none;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #ccc;
    transition: background 0.12s, color 0.12s;
    padding: 0;
    flex-shrink: 0;
}

.ml-action-btn:hover:not(:disabled)[b-i6zlegc4t5] { background: #F0F0EB; color: #555; }
.ml-action-btn.ml-action-delete:hover:not(:disabled)[b-i6zlegc4t5] { background: #FFF0F0; color: #C53030; }

.ml-action-btn:active:not(:disabled)[b-i6zlegc4t5] {
    background: #E8E8E2;
    color: #333;
}

.ml-action-btn.ml-action-delete:active:not(:disabled)[b-i6zlegc4t5] {
    background: #FEECEC;
    color: #C53030;
}

.ml-action-btn:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ml-action-btn:disabled[b-i6zlegc4t5] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ml-icon[b-i6zlegc4t5] {
    width: 15px;
    height: 15px;
    object-fit: contain;
    opacity: 1;
}

/* ── Expand chevron button ── */
.ml-expand-btn[b-i6zlegc4t5] {
    background: transparent;
    border: none;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3d3d3d;
    transition: background 0.12s, color 0.12s, transform 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.ml-expand-btn:hover:not(:disabled)[b-i6zlegc4t5] { background: #F0F0EB; color: #555; }

.ml-expand-btn:active:not(:disabled)[b-i6zlegc4t5] {
    background: #E8E8E2;
    color: #333;
}

.ml-expand-btn:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ml-expand-btn:disabled[b-i6zlegc4t5] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ml-expand-btn svg[b-i6zlegc4t5] {
    transition: transform 0.2s ease;
}

.ml-expand-btn--open svg[b-i6zlegc4t5] {
    transform: rotate(-90deg);
    color: #70B4FD;
}

.ml-expand-btn--open[b-i6zlegc4t5] { color: #70B4FD; }

/* ═══════════════════════════════════════════════════════════
   3-dot menu
═══════════════════════════════════════════════════════════ */
.ml-menu-wrap[b-i6zlegc4t5] {
    position: relative;
}

.ml-three-dot-btn[b-i6zlegc4t5] {
    background: transparent;
    border: none;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3d3d3d;
    transition: background 0.12s, color 0.12s;
    padding: 0;
    flex-shrink: 0;
}

.ml-three-dot-btn:hover:not(:disabled)[b-i6zlegc4t5] { background: #F0F0EB; color: #555; }

.ml-three-dot-btn:active:not(:disabled)[b-i6zlegc4t5] {
    background: #E8E8E2;
    color: #333;
}

.ml-three-dot-btn:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ml-three-dot-btn:disabled[b-i6zlegc4t5] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ml-dropdown[b-i6zlegc4t5] {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    min-width: 150px;
    overflow: hidden;
    animation: mlDropIn-b-i6zlegc4t5 0.13s ease;
}

@keyframes mlDropIn-b-i6zlegc4t5 {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ml-dropdown-item[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    transition: background 0.12s;
    box-sizing: border-box;
}

.ml-dropdown-item:hover[b-i6zlegc4t5] { background: #F5F5F0; }

.ml-dropdown-item:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: -5px;
}

.ml-dropdown-delete[b-i6zlegc4t5] { color: #C53030; }
.ml-dropdown-delete:hover[b-i6zlegc4t5] { background: #FFF5F5; }

.ml-dropdown-icon[b-i6zlegc4t5] {
    width: 15px;
    height: 15px;
    object-fit: contain;
    opacity: 1;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   Expanded sub-section
═══════════════════════════════════════════════════════════ */
.ml-sub-section[b-i6zlegc4t5] {
    background: #F7F7F3;
    border-bottom: 1px solid #EDEDEA;
}

.ml-sub-row[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px 11px 20px;
    padding-right: 78px;
    border-bottom: 1px solid #EDEDEA;
    transition: background 0.12s;
}

.ml-sub-row:last-of-type[b-i6zlegc4t5] { border-bottom: none; }
.ml-sub-row:hover[b-i6zlegc4t5] { background: #EFEFEB; }

.ml-sub-icon-circle[b-i6zlegc4t5] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ml-sub-name-cell[b-i6zlegc4t5] {
    font-size: 0.88rem;
    color: #3d3d3d;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ml-sub-count[b-i6zlegc4t5] {
    font-size: 0.82rem;
    color: #3d3d3d;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.ml-sub-actions[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

/* Sub empty state */
.ml-sub-empty[b-i6zlegc4t5] {
    padding: 14px 78px;
    font-size: 0.88rem;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
}

/* Add sub row */
.ml-add-sub-row[b-i6zlegc4t5] {
    padding: 10px 20px 14px 20px;
    padding-right: 78px;
}

.ml-btn-add-sub[b-i6zlegc4t5] {
    background: transparent;
    border: 1.5px dashed #3d3d3d;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #3d3d3d;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.ml-btn-add-sub:hover[b-i6zlegc4t5] {
    border-color: #70B4FD;
    color: #70B4FD;
    background: #F0F7FF;
}

/* ═══════════════════════════════════════════════════════════
   Media list spacing
═══════════════════════════════════════════════════════════ */
.ml-list--media[b-i6zlegc4t5] {
    margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════
   Edit / Create Popup
═══════════════════════════════════════════════════════════ */
.ml-popup-overlay[b-i6zlegc4t5] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.42);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: mlFadeIn-b-i6zlegc4t5 0.15s ease;
}

@keyframes mlFadeIn-b-i6zlegc4t5 {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.ml-popup[b-i6zlegc4t5] {
    background: white;
    border-radius: 20px;
    padding: 32px;
    width: 540px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    direction: rtl;
    box-shadow: 0 20px 60px rgba(0,0,0,0.16);
    animation: mlSlideUp-b-i6zlegc4t5 0.2s ease;
}

.ml-popup.ml-popup-sm[b-i6zlegc4t5] { width: 400px; }

@keyframes mlSlideUp-b-i6zlegc4t5 {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.ml-popup-title-row[b-i6zlegc4t5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.ml-popup-title[b-i6zlegc4t5] {
    font-size: 1.2rem;
    font-family: 'TelAviv-Modernist', sans-serif;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0;
}

.ml-popup-delete-btn[b-i6zlegc4t5] {
    width: 34px;
    height: 34px;
    border: 1px solid #D8D8D8;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.ml-popup-delete-btn:hover:not(:disabled)[b-i6zlegc4t5] {
    border-color: #E6A5A5;
    background: #FFF5F5;
}

.ml-popup-delete-btn:active:not(:disabled)[b-i6zlegc4t5] {
    background: #FEECEC;
    border-color: #C53030;
    color: #C53030;
}

.ml-popup-delete-btn:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ml-popup-delete-btn:disabled[b-i6zlegc4t5] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ml-form-group[b-i6zlegc4t5] { margin-bottom: 18px; }

.ml-form-label[b-i6zlegc4t5] {
    display: block;
    font-size: 0.75rem;
    font-family: 'Heebo', sans-serif;
    color: #6F6F6F;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.ml-form-input[b-i6zlegc4t5],
.ml-form-textarea[b-i6zlegc4t5] {
    width: 100%;
    border: 1.5px solid #E8E8E8;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 0.92rem;
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    box-sizing: border-box;
    background: #FAFAF7;
    color: #2d2d2d;
    transition: border-color 0.15s, background 0.15s;
    outline: none;
}

.ml-form-input:focus[b-i6zlegc4t5],
.ml-form-textarea:focus[b-i6zlegc4t5] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
    background: white;
}

.ml-form-textarea[b-i6zlegc4t5] { resize: none; }

.ml-color-row[b-i6zlegc4t5] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ml-color-swatch[b-i6zlegc4t5] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.12s, border-color 0.12s;
    padding: 0;
    outline: none;
}

.ml-color-swatch:hover[b-i6zlegc4t5] { transform: scale(1.12); }

.ml-color-swatch:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 2px;
}

.ml-color-swatch.ml-color-selected[b-i6zlegc4t5] {
    border-color: #2d2d2d;
    transform: scale(1.12);
}

.ml-icon-grid[b-i6zlegc4t5] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
}

.ml-icon-option[b-i6zlegc4t5] {
    border: 1.5px solid #E8E8E8;
    border-radius: 10px;
    padding: 10px 6px 8px;
    background: transparent;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
    min-height: 70px;
    justify-content: center;
    background: #FAFAF7;
}

.ml-icon-option:hover[b-i6zlegc4t5] { background: #F0F7FF; border-color: #b0d4fb; }
.ml-icon-option.ml-icon-selected[b-i6zlegc4t5] { border-color: #3266C4; background: #CADBF8; }
.ml-icon-option:focus-visible[b-i6zlegc4t5] { outline: 2px solid #737373; outline-offset: 2px; box-shadow: none; border-color: #E8E8E8; }

.ml-icon-preview[b-i6zlegc4t5] { width: 36px; height: 36px; object-fit: contain; }

.ml-icon-label[b-i6zlegc4t5] {
    font-size: 0.68rem;
    font-family: 'Heebo', sans-serif;
    color: #777;
    text-align: center;
    line-height: 1.2;
}

.ml-icon-none[b-i6zlegc4t5] { font-size: 0.8rem; font-family: 'Heebo', sans-serif; color: #aaa; }

.ml-popup-error[b-i6zlegc4t5] {
    font-size: 0.83rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    margin: 0 0 12px 0;
    text-align: center;
}

.ml-popup-actions[b-i6zlegc4t5] { display: flex; gap: 10px; margin-top: 22px; }

.ml-btn-cancel[b-i6zlegc4t5] {
    flex: 1;
    height: 40px;
    background: transparent;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    color: #666;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.ml-btn-cancel:hover:not(:disabled)[b-i6zlegc4t5] { background: #F5F5F0; border-color: #ccc; }

.ml-btn-cancel:active:not(:disabled)[b-i6zlegc4t5] {
    background: #F0F0EB;
    border-color: #aaa;
    color: #333;
}

.ml-btn-cancel:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ml-btn-cancel:disabled[b-i6zlegc4t5] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ml-btn-save[b-i6zlegc4t5] {
    flex: 2;
    height: 40px;
    background: #CADBF8;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    color: #1A1A1A;
    cursor: pointer;
    transition: opacity 0.15s;
}

.ml-btn-save:hover:not(:disabled)[b-i6zlegc4t5] { opacity: 0.85; }

.ml-btn-save:active:not(:disabled)[b-i6zlegc4t5] {
    filter: brightness(0.9);
}

.ml-btn-save:focus-visible[b-i6zlegc4t5] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.ml-btn-save:disabled[b-i6zlegc4t5] { opacity: 0.6; cursor: not-allowed; }


/* Mobile-only edit button — hidden on desktop */
.ml-mobile-edit-btn[b-i6zlegc4t5] {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .ml-cat-desc[b-i6zlegc4t5] { display: none; }
    .ml-cat-meta[b-i6zlegc4t5] { display: none; }

    /* Category row — centered alignment */
    .ml-cat-row[b-i6zlegc4t5] {
        padding: 14px 16px;
        gap: 10px;
        align-items: center;
    }

    .ml-cat-icon-circle[b-i6zlegc4t5] {
        width: 38px;
        height: 38px;
    }

    /* Show direct edit button, hide 3-dot menu */
    .ml-mobile-edit-btn[b-i6zlegc4t5] { display: flex; }
    .ml-three-dot-btn[b-i6zlegc4t5]   { display: none; }

    /* Remove spacer so name-group gets all remaining width */
    .ml-row-spacer[b-i6zlegc4t5] {
        display: none;
    }

    /* Allow category name to wrap — no ellipsis */
    .ml-cat-name-cell[b-i6zlegc4t5] {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Sub-rows: grid layout to control columns precisely */
    .ml-sub-row[b-i6zlegc4t5] {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        gap: 8px;
        padding: 11px 16px;
    }

    /* Allow sub-category name to wrap — no ellipsis */
    .ml-sub-name-cell[b-i6zlegc4t5] {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Reduce heavy indent on add-sub row and empty state */
    .ml-add-sub-row[b-i6zlegc4t5] {
        padding: 10px 16px 14px;
    }

    .ml-sub-empty[b-i6zlegc4t5] {
        padding: 14px 16px;
    }

    /* Add-sub button full width on mobile */
    .ml-btn-add-sub[b-i6zlegc4t5] {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .ml-page-wrapper[b-i6zlegc4t5] { padding: 20px 12px 60px; }

    .ml-controls-row[b-i6zlegc4t5] { flex-direction: column; align-items: stretch; }
    .ml-toolbar-row[b-i6zlegc4t5] { flex-direction: column; align-items: stretch; }
    .ml-add-btn[b-i6zlegc4t5] { justify-content: center; }

}
/* /Pages/MediaPage.razor.rz.scp.css */
.category-card-icon[b-x9w6tlkocy] {
    width: 210px;
    height: 210px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .category-card-icon[b-x9w6tlkocy] {
        width: 128px;
        height: 128px;
    }
}

.page-container[b-x9w6tlkocy] {
    padding-top: 2rem;
}

.categories-grid[b-x9w6tlkocy] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
}
/* /Pages/MediaTypePage.razor.rz.scp.css */
.category-card-icon[b-d20ofuv058] {
    width: 210px;
    height: 210px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .category-card-icon[b-d20ofuv058] {
        width: 128px;
        height: 128px;
    }
}

/* page-container needed for sub-category card grid */
.page-container[b-d20ofuv058] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

/* ── Items view — זהה לחלוטין ל-ContentItemsPage ── */
.content-page-layout[b-d20ofuv058] {
    display: flex;
    flex-direction: column;
}

.search-filter-row[b-d20ofuv058] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 0.75rem;
}

.search-filter-row .search-input-container[b-d20ofuv058] {
    flex: 1 1 520px;
    max-width: 620px;
    min-width: 280px;
    padding-inline: 0;
    width: auto;
}

.search-filter-row .search-input[b-d20ofuv058] {
    padding-right: 62px;
}

.filter-toggle-btn[b-d20ofuv058] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.50rem 16px;
    border-radius: 8px;
    border: 1.5px solid #aaa;
    background: white;
    font-size: 1rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    color: #2B2B2B;
    white-space: nowrap;
    height: 46px;
    box-sizing: border-box;
}

.filter-toggle-btn:hover:not(:disabled)[b-d20ofuv058] {
    border-color: #70B4FD;
    background: #EEF4FF;
}

.filter-toggle-btn.active[b-d20ofuv058] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.filter-toggle-btn:active:not(:disabled)[b-d20ofuv058] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.filter-toggle-btn:focus-visible[b-d20ofuv058] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.filter-toggle-btn:disabled[b-d20ofuv058] {
    opacity: 0.6;
    cursor: not-allowed;
}

.filter-toggle-badge[b-d20ofuv058] {
    background: #CADBF8;
    color: #1A1A1A;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-toggle-arrow[b-d20ofuv058] {
    font-size: 10px;
    color: #888;
}

.content-sort-dropdown[b-d20ofuv058] {
    position: relative;
    flex: 0 0 auto;
}

.content-sort-trigger[b-d20ofuv058] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
    padding-inline: 16px;
    border: 1.5px solid #aaa;
    border-radius: 8px;
    background: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: #2B2B2B;
    cursor: pointer;
    direction: rtl;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.content-sort-trigger:hover:not(:disabled)[b-d20ofuv058] {
    border-color: #70B4FD;
    background: #EEF4FF;
}

.content-sort-trigger.active[b-d20ofuv058] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.content-sort-trigger:active:not(:disabled)[b-d20ofuv058] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.content-sort-trigger:focus-visible[b-d20ofuv058] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.content-sort-trigger:disabled[b-d20ofuv058] {
    opacity: 0.6;
    cursor: not-allowed;
}

.sort-chevron[b-d20ofuv058] {
    font-size: 10px;
    color: #888;
}

.content-sort-menu[b-d20ofuv058] {
    position: absolute;
    inset-block-start: calc(100% + 6px);
    inset-inline-start: 0;
    min-width: 150px;
    padding: 6px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 20;
    direction: rtl;
}

.content-sort-option[b-d20ofuv058] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    color: #2B2B2B;
    text-align: right;
    direction: rtl;
    cursor: pointer;
    transition: background 0.15s;
}

.content-sort-option:hover[b-d20ofuv058] {
    background: #F5F5F0;
}

.content-sort-option:active[b-d20ofuv058] {
    background: #F0F0EB;
}

.content-sort-option:focus-visible[b-d20ofuv058] {
    outline: 2px solid #70B4FD;
    outline-offset: -2px;
}

.content-sort-option.active[b-d20ofuv058] {
    background: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.content-sort-option.active:hover[b-d20ofuv058] {
    background: #E4EDFC;
}

.content-sort-option.active:active[b-d20ofuv058] {
    background: #CADBF8;
}

/* בלוק זהה ב-ContentItemsPage.razor.css וב-MediaTypePage.razor.css — לשנות בשני המקומות יחד */
@media (max-width: 700px) {
    .search-filter-row[b-d20ofuv058] {
        flex-wrap: wrap;
    }

    .search-filter-row .search-input-container[b-d20ofuv058] {
        flex: 1 1 100%;
        max-width: none;
    }

    .filter-toggle-btn[b-d20ofuv058] {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 0;
        justify-content: space-between;
    }

    .content-sort-dropdown[b-d20ofuv058] {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 0;
    }

    .content-sort-trigger[b-d20ofuv058] {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .content-sort-menu[b-d20ofuv058] {
        inset-inline-start: auto;
        inset-inline-end: 0;
    }
}

.content-count[b-d20ofuv058] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: 'Heebo', sans-serif;
}
/* /Pages/MyItemsPage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════
   Backdrop for 3-dot menu
═══════════════════════════════════════════════════════════ */
.mi-menu-backdrop[b-b6hs68001a] {
    position: fixed;
    inset: 0;
    z-index: 100;
}

/* ═══════════════════════════════════════════════════════════
   Page wrapper
═══════════════════════════════════════════════════════════ */
.mi-page-wrapper[b-b6hs68001a] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    direction: rtl;
}


/* ═══════════════════════════════════════════════════════════
   Toolbar row (search + status select + upload button)
═══════════════════════════════════════════════════════════ */
.mi-toolbar-row[b-b6hs68001a] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.mi-search-wrap[b-b6hs68001a] {
    position: relative;
    flex: 1;
    border: 1px solid #aaa;
    border-radius: 14px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.15s;
}

.mi-search-wrap:focus-within[b-b6hs68001a] {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}


.mi-search-input[b-b6hs68001a] {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 9px 57px 9px 12px;
    font-size: 0.9rem;
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    box-sizing: border-box;
    background: transparent;
    color: #2d2d2d;
    outline: none;
}

/* ── Custom dropdowns (status filter + sort) ── */
.mi-custom-select[b-b6hs68001a] {
    position: relative;
    flex-shrink: 0;
}

.mi-cs-btn[b-b6hs68001a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 38px;
    min-width: 155px;
    padding: 0 12px;
    border: 1px solid #aaa;
    border-radius: 14px;
    background: white;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #2d2d2d;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: border-color 0.15s;
    direction: rtl;
    white-space: nowrap;
}

.mi-cs-btn:hover[b-b6hs68001a] {
    border-color: #70B4FD;
}

.mi-cs-btn--open[b-b6hs68001a] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.mi-cs-btn:focus-visible[b-b6hs68001a] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.mi-cs-chevron[b-b6hs68001a] {
    flex-shrink: 0;
    transition: transform 0.18s ease;
    color: #555;
}

.mi-cs-btn--open .mi-cs-chevron[b-b6hs68001a] {
    transform: rotate(180deg);
}

.mi-cs-menu[b-b6hs68001a] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 100%;
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    overflow: hidden;
    padding: 4px;
    display: flex;
    flex-direction: column;
    animation: miDropIn-b-b6hs68001a 0.13s ease;
}

.mi-cs-option[b-b6hs68001a] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    white-space: nowrap;
    border-radius: 8px;
    transition: background 0.12s;
}

.mi-cs-option:hover[b-b6hs68001a] {
    background: #F5F5F0;
}

.mi-cs-option:active[b-b6hs68001a] {
    background: #F0F0EB;
}

.mi-cs-option:focus-visible[b-b6hs68001a] {
    outline: 2px solid #70B4FD;
    outline-offset: -2px;
}

.mi-cs-option--selected[b-b6hs68001a] {
    background: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.mi-cs-option--selected:hover[b-b6hs68001a] {
    background: #E4EDFC;
}

.mi-cs-option--selected:active[b-b6hs68001a] {
    background: #CADBF8;
}

/* Sort button: compact fixed width, overrides min-width */
.mi-custom-select--sort .mi-cs-btn[b-b6hs68001a] {
    width: 115px;
    min-width: unset;
}

.mi-add-btn[b-b6hs68001a] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #CADBF8;
    color: #1A1A1A;
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.mi-add-btn:hover:not(:disabled)[b-b6hs68001a] { opacity: 0.85; }

.mi-add-btn:active:not(:disabled)[b-b6hs68001a] {
    filter: brightness(0.9);
}

.mi-add-btn:focus-visible[b-b6hs68001a] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.mi-add-btn:disabled[b-b6hs68001a] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sort select — compact width (sized to longest visible label, not full option set) */
.mi-sort-select[b-b6hs68001a] {
    width: auto;
    min-width: 0;
    padding-right: 10px;
    padding-left: 28px;
}

/* Dropdown menus (native select) — styled closed state matches design language */
.mi-status-select:focus-visible[b-b6hs68001a] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

/* ═══════════════════════════════════════════════════════════
   Empty / loading / error
═══════════════════════════════════════════════════════════ */
.mi-empty[b-b6hs68001a] {
    text-align: center;
    padding: 60px 0;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
}

.mi-load-error[b-b6hs68001a] {
    color: #C53030;
    background: #FFF5F5;
    border: 1px solid #FEB2B2;
    border-radius: 10px;
    padding: 14px 20px;
}

/* ═══════════════════════════════════════════════════════════
   Main list wrapper
═══════════════════════════════════════════════════════════ */
.mi-list[b-b6hs68001a] {
    background: white;
    border-radius: 18px;
    border: 1px solid #aaa;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.mi-list > *:first-child:not(:last-child)[b-b6hs68001a] { border-radius: 17px 17px 0 0; }
.mi-list > *:last-child:not(:first-child)[b-b6hs68001a]  { border-radius: 0 0 17px 17px; }
.mi-list > *:only-child[b-b6hs68001a] { border-radius: 17px; }

/* ═══════════════════════════════════════════════════════════
   Content row
═══════════════════════════════════════════════════════════ */
.mi-row[b-b6hs68001a] {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #F3F3EE;
    transition: background 0.12s;
}

.mi-row:last-child[b-b6hs68001a] { border-bottom: none; }
.mi-row:hover[b-b6hs68001a] { background: #FDFDF9; }

.mi-row-main[b-b6hs68001a] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
}

.mi-icon-wrap[b-b6hs68001a] {
    width: 86px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mi-content-icon[b-b6hs68001a] {
    width: 86px;
    height: 56px;
    object-fit: contain;
}

.mi-name-group[b-b6hs68001a] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.mi-title-row[b-b6hs68001a] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mi-name-cell[b-b6hs68001a] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
    min-width: 0;
}

.mi-name-sub[b-b6hs68001a] {
    font-size: 0.81rem;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* flex: 0 (not 1) — .mi-name-group already has flex:1 and claims all
   remaining row width on its own; giving this empty spacer flex:1 too
   used to split that space 50/50 with the title, wasting half of it. */
.mi-row-spacer[b-b6hs68001a] { flex: 0; }

.mi-date-row[b-b6hs68001a] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mi-date-row .mit-status-pill[b-b6hs68001a] {
    flex-shrink: 0;
}

.mi-date[b-b6hs68001a] {
    font-size: 0.76rem;
    color: #bbb;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   Status pill
═══════════════════════════════════════════════════════════ */
.mit-status-pill[b-b6hs68001a] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
    position: relative;
}

.mit-status-dot[b-b6hs68001a] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mit-status-pending[b-b6hs68001a]  { background: #FFF4D6; color: #D89B00; }
.mit-status-pending  .mit-status-dot[b-b6hs68001a] { background: #D89B00; }

.mit-status-approved[b-b6hs68001a] { background: #E5F7EA; color: #28A745; }
.mit-status-approved .mit-status-dot[b-b6hs68001a] { background: #28A745; }

.mit-status-rejected[b-b6hs68001a] { background: #FDEBEC; color: #D64545; }
.mit-status-rejected .mit-status-dot[b-b6hs68001a] { background: #D64545; }

/* Inline review details — always visible */
.mi-review-details[b-b6hs68001a] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.mi-review-reason[b-b6hs68001a] {
    font-size: 0.78rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mi-review-meta[b-b6hs68001a] {
    font-size: 0.74rem;
    color: #aaa;
    font-family: 'Heebo', sans-serif;
    white-space: nowrap;
}

.mi-review-details--approved .mi-review-meta[b-b6hs68001a] { color: #5a9e6f; }

/* ═══════════════════════════════════════════════════════════
   Quick actions (desktop only): view + edit
═══════════════════════════════════════════════════════════ */
.mi-quick-actions[b-b6hs68001a] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mi-quick-action-btn[b-b6hs68001a] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-decoration: none;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
    box-sizing: border-box;
    white-space: nowrap;
}

.mi-quick-action-btn:hover:not(:disabled)[b-b6hs68001a] { background: #F5F5F0; border-color: #ccc; }

.mi-quick-action-btn:active:not(:disabled)[b-b6hs68001a] {
    background: #F0F0EB;
    border-color: #aaa;
    color: #333;
}

.mi-quick-action-btn:focus-visible[b-b6hs68001a] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.mi-quick-action-btn:disabled[b-b6hs68001a] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mi-quick-action-icon[b-b6hs68001a] {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   3-dot menu (desktop)
═══════════════════════════════════════════════════════════ */
.mi-menu-wrap[b-b6hs68001a] {
    position: relative;
    flex-shrink: 0;
}

.mi-three-dot-btn[b-b6hs68001a] {
    background: transparent;
    border: none;
    border-radius: 7px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3d3d3d;
    transition: background 0.12s, color 0.12s;
    padding: 0;
}

.mi-three-dot-btn:hover:not(:disabled)[b-b6hs68001a] { background: #F0F0EB; color: #555; }

.mi-three-dot-btn:active:not(:disabled)[b-b6hs68001a] {
    background: #E8E8E2;
    color: #333;
}

.mi-three-dot-btn:focus-visible[b-b6hs68001a] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.mi-three-dot-btn:disabled[b-b6hs68001a] {
    opacity: 0.6;
    cursor: not-allowed;
}

.mi-dropdown[b-b6hs68001a] {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    min-width: 150px;
    overflow: hidden;
    animation: miDropIn-b-b6hs68001a 0.13s ease;
}

@keyframes miDropIn-b-b6hs68001a {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mi-dropdown-item[b-b6hs68001a] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    text-decoration: none;
    transition: background 0.12s;
    box-sizing: border-box;
}

.mi-dropdown-item:hover[b-b6hs68001a] { background: #F5F5F0; }

.mi-dropdown-item:focus-visible[b-b6hs68001a] {
    outline: 2px solid #737373;
    outline-offset: -5px;
}

.mi-dropdown-delete[b-b6hs68001a] { color: #C53030; }
.mi-dropdown-delete:hover[b-b6hs68001a] { background: #FFF5F5; }

.mi-dropdown-icon[b-b6hs68001a] {
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Mobile-only elements — hidden on desktop */
.mi-mobile-expand-btn[b-b6hs68001a] { display: none; }
.mi-mobile-actions[b-b6hs68001a]    { display: none; }
.mi-mobile-action-btn[b-b6hs68001a] { display: none; }
.mi-label-mobile[b-b6hs68001a]      { display: none; }

/* ═══════════════════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .mi-row-main[b-b6hs68001a] {
        padding: 12px 16px;
        gap: 10px;
        align-items: center;
        cursor: pointer;
    }

    .mi-icon-wrap[b-b6hs68001a] {
        width: 56px;
        height: 56px;
        align-self: center;
    }

    .mi-content-icon[b-b6hs68001a] {
        width: 56px;
        height: 56px;
    }

    .mi-review-reason[b-b6hs68001a],
    .mi-review-meta[b-b6hs68001a] {
        white-space: normal;
    }

    .mi-row-spacer[b-b6hs68001a] { display: none; }

    .mi-name-cell[b-b6hs68001a] {
        white-space: normal;
    }

    .mi-name-sub[b-b6hs68001a] {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Hide 3-dot, show chevron */
    .mi-menu-wrap[b-b6hs68001a] { display: none; }

    /* Hide desktop quick actions — mobile uses .mi-mobile-actions instead */
    .mi-quick-actions[b-b6hs68001a] { display: none; }

    .mi-mobile-expand-btn[b-b6hs68001a] {
        display: flex;
        background: transparent;
        border: none;
        border-radius: 7px;
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #3d3d3d;
        padding: 0;
        flex-shrink: 0;
        transition: background 0.12s, color 0.12s;
    }

    .mi-mobile-expand-btn svg[b-b6hs68001a] {
        transition: transform 0.2s ease;
    }

    .mi-mobile-expand-btn--open svg[b-b6hs68001a] {
        transform: rotate(-90deg);
    }

    .mi-mobile-expand-btn--open[b-b6hs68001a] { color: #70B4FD; }

    .mi-mobile-expand-btn:hover:not(:disabled)[b-b6hs68001a] {
        background: #F0F0EB;
        color: #555;
    }

    .mi-mobile-expand-btn:active:not(:disabled)[b-b6hs68001a] {
        background: #E8E8E2;
        color: #333;
    }

    .mi-mobile-expand-btn:focus-visible[b-b6hs68001a] {
        outline: 2px solid #737373;
        outline-offset: 1px;
    }

    .mi-mobile-actions[b-b6hs68001a] {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 16px 14px;
        border-top: 1px solid #F3F3EE;
        justify-content: center;
    }

    .mi-mobile-action-btn[b-b6hs68001a] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        background: white;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.12s, border-color 0.12s;
        flex-shrink: 0;
    }

    .mi-mobile-action-icon[b-b6hs68001a] {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .mi-mobile-action-btn:hover:not(:disabled)[b-b6hs68001a]      { background: #F5F5F0; border-color: #ccc; }
    .mi-mobile-action-delete:hover:not(:disabled)[b-b6hs68001a]   { background: #FFF5F5; border-color: #FEB2B2; }

    .mi-mobile-action-btn:active:not(:disabled)[b-b6hs68001a] {
        background: #F0F0EB;
        border-color: #aaa;
        color: #333;
    }

    .mi-mobile-action-delete:active:not(:disabled)[b-b6hs68001a] {
        background: #FEECEC;
        border-color: #C53030;
        color: #C53030;
    }

    .mi-mobile-action-btn:focus-visible[b-b6hs68001a] {
        outline: 2px solid #737373;
        outline-offset: 1px;
    }

    .mi-mobile-action-btn:disabled[b-b6hs68001a] {
        opacity: 0.6;
        cursor: not-allowed;
    }
}

@media (max-width: 600px) {
    .mi-page-wrapper[b-b6hs68001a] { padding: 20px 12px 60px; }

    .mi-toolbar-row[b-b6hs68001a] { flex-wrap: wrap; gap: 10px; }
    .mi-search-wrap[b-b6hs68001a] { flex: 1 1 100%; }
    .mi-custom-select[b-b6hs68001a] { flex: 1; min-width: 0; }
    .mi-cs-btn[b-b6hs68001a] { width: 100%; min-width: 0; }
    .mi-custom-select--sort .mi-cs-btn[b-b6hs68001a] { width: 100%; min-width: 0; }
    .mi-add-btn[b-b6hs68001a] { flex: 1 1 100%; justify-content: center; flex-shrink: unset; }
    .mi-status-select[b-b6hs68001a] { width: 100%; flex-shrink: unset; }

    .mi-label-desktop[b-b6hs68001a] { display: none; }
    .mi-label-mobile[b-b6hs68001a]  { display: inline; }
}
/* /Pages/SearchPage.razor.rz.scp.css */
.search-page-container[b-195auzxh9z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.search-page-title[b-195auzxh9z] {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.search-bar-wrapper[b-195auzxh9z] {
    width: 100%;
    max-width: 680px;
    margin-bottom: 1.5rem;
}

.search-status[b-195auzxh9z] {
    color: #888;
    font-size: 1rem;
    margin-top: 2rem;
    text-align: center;
    font-family: 'Heebo', sans-serif;
}

/* ── Wrapper — מתכווץ לגריד ומתמרכז ── */
.search-results-wrapper[b-195auzxh9z] {
    width: fit-content;
    max-width: 1160px;
    margin-inline: auto;
}

/* ── ממורכז על אותו ציר אופקי של השדה (max-width זהה ל-search-bar-wrapper) — ─
   כדי שיישאר מיושר איתו גם כש-search-results-wrapper רחב יותר (fit-content). ── */
.results-count[b-195auzxh9z] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: 'Heebo', sans-serif;
    max-width: 680px;
    margin-inline: auto;
}

/* ── שורת בקרה: רוחב = רוחב הגריד ── */
.search-controls-row[b-195auzxh9z] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.25rem;
    direction: rtl;
}


/* ── Chips סינון לפי סוג ── */
.search-type-chips[b-195auzxh9z] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-type-chip[b-195auzxh9z] {
    height: 34px;
    padding: 0 18px;
    border-radius: 20px;
    border: 1.5px solid #D0D0D0;
    background: transparent;
    color: #555;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.search-type-chip:hover[b-195auzxh9z] {
    border-color: #ACDDF1;
    background: #F0F8FD;
}

.search-type-chip--active[b-195auzxh9z] {
    border-color: #ACDDF1;
    background: #ACDDF1;
    color: #1a1a1a;
    font-weight: 600;
}

/* ── סינון + מיון — זוג controls אחד, בצד שמאל של search-controls-row ── */
.search-filter-sort-group[b-195auzxh9z] {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 600px) {
    /* ה-group עצמו צריך רוחב מלא כדי שהילדים (flex: 1 1 0) באמת יתחלקו
       ברוחב השורה כולה, ולא רק ברוחב התוכן הטבעי של ה-group */
    .search-filter-sort-group[b-195auzxh9z] {
        width: 100%;
    }

    /* Grid: two explicit 1fr tracks split the row exactly in half.
       Filter and Sort no longer have different structural depths (button
       directly in the grid vs. wrapper-then-button) — both are now
       wrapper > button, and both levels share one sizing class each, so
       there is nothing left to compensate for asymmetrically. */
    .search-filter-sort-group[b-195auzxh9z] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mobile-control-wrapper[b-195auzxh9z] {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .mobile-control-btn[b-195auzxh9z] {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

/* ── Spacing לפני content-grid כש-FilterPanel סגור — אותו ערך
   שכבר קיים בין results-count לגריד ב-ContentItemsPage/MediaTypePage.
   החפיפה עצמה נפתרת עכשיו ברמת FilterPanel (RenderMenuBelowRow), לא כאן. ── */
[b-195auzxh9z] .filter-bar {
    margin-bottom: 0.75rem;
}

.filter-toggle-btn[b-195auzxh9z] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.50rem 16px;
    border-radius: 8px;
    border: 1.5px solid #aaa;
    background: white;
    font-size: 1rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s ease, border-radius 0.15s ease, background 0.2s ease;
    color: #2B2B2B;
    white-space: nowrap;
    flex: 0 0 auto;
    height: 46px;
    box-sizing: border-box;
}

.filter-toggle-btn:hover:not(:disabled)[b-195auzxh9z] {
    border-color: #70B4FD;
    background: #EEF4FF;
}

.filter-toggle-btn.active[b-195auzxh9z] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.filter-toggle-btn:active:not(:disabled)[b-195auzxh9z] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.filter-toggle-btn:focus-visible[b-195auzxh9z] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.filter-toggle-btn:disabled[b-195auzxh9z] {
    opacity: 0.6;
    cursor: not-allowed;
}

.filter-toggle-badge[b-195auzxh9z] {
    background: #CADBF8;
    color: #1A1A1A;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-toggle-arrow[b-195auzxh9z] {
    font-size: 10px;
    color: #888;
}

/* ── Backdrop לסגירת dropdown ── */
.search-backdrop[b-195auzxh9z] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

/* ══════════════════════════════════════════════════════
   Sort dropdown — זהה ל-ContentItemsPage / MediaTypePage
══════════════════════════════════════════════════════ */
.content-sort-dropdown[b-195auzxh9z] {
    position: relative;
    flex: 0 0 auto;
}

.content-sort-trigger[b-195auzxh9z] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
    padding-inline: 16px;
    border: 1.5px solid #aaa;
    border-radius: 8px;
    background: #fff;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: #2B2B2B;
    cursor: pointer;
    direction: rtl;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.content-sort-trigger:hover:not(:disabled)[b-195auzxh9z] {
    border-color: #70B4FD;
    background: #EEF4FF;
}

.content-sort-trigger.active[b-195auzxh9z] {
    border-color: #70B4FD;
    background: #E8F1FF;
}

.content-sort-trigger:active:not(:disabled)[b-195auzxh9z] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.content-sort-trigger:focus-visible[b-195auzxh9z] {
    outline: 2px solid #70B4FD;
    outline-offset: 1px;
}

.content-sort-trigger:disabled[b-195auzxh9z] {
    opacity: 0.6;
    cursor: not-allowed;
}

.sort-chevron[b-195auzxh9z] {
    font-size: 10px;
    color: #888;
}

.content-sort-menu[b-195auzxh9z] {
    position: absolute;
    inset-block-start: calc(100% + 6px);
    inset-inline-start: 0;
    min-width: 150px;
    padding: 6px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 100;
    direction: rtl;
}

.content-sort-option[b-195auzxh9z] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    color: #2B2B2B;
    text-align: right;
    direction: rtl;
    cursor: pointer;
    transition: background 0.15s;
}

.content-sort-option:hover[b-195auzxh9z] {
    background: #F5F5F0;
}

.content-sort-option:active[b-195auzxh9z] {
    background: #F0F0EB;
}

.content-sort-option:focus-visible[b-195auzxh9z] {
    outline: 2px solid #70B4FD;
    outline-offset: -2px;
}

.content-sort-option.active[b-195auzxh9z] {
    background: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.content-sort-option.active:hover[b-195auzxh9z] {
    background: #E4EDFC;
}

.content-sort-option.active:active[b-195auzxh9z] {
    background: #CADBF8;
}

/* ── הדגשת מונח חיפוש ── */
:global(.search-highlight)[b-195auzxh9z] {
    background: #FFF3B0;
    color: inherit;
    border-radius: 2px;
    padding: 0 1px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .search-page-title[b-195auzxh9z] { font-size: 1.5rem; }
    .search-controls-row[b-195auzxh9z] { flex-direction: column; align-items: flex-start; }

    /* ה-chips מתנהגים כקבוצת סינון אחת: רוחב מלא + ממורכזים, כדי שגם כש-הם
       עוברים שורה, השורה השנייה תתמרכז ולא תיתקע צמודה לקצה */
    .search-type-chips[b-195auzxh9z] {
        width: 100%;
        justify-content: center;
    }
}
/* /Pages/SubCategoriesPage.razor.rz.scp.css */
.subcategory-cards-wrapper[b-0wgxbbba19] {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    margin: 0 auto;
}

.subcategories-grid[b-0wgxbbba19] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem 1rem;
}

.category-card-icon[b-0wgxbbba19] {
    width: 210px;
    height: 210px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .category-card-name[b-0wgxbbba19] {
        font-size: 20px;
    }

    .category-card-icon[b-0wgxbbba19] {
        width: 128px;
        height: 128px;
    }
}
/* /Pages/UploadContentPage.razor.rz.scp.css */
/* Inline field validation — mirrors EditContentPage.razor.css exactly (Blazor CSS
   isolation scopes .field-has-error/.field-error-msg per-page, so it must be
   duplicated here rather than shared) */
.field-has-error input[b-tt2xuyw44y],
.field-has-error select[b-tt2xuyw44y],
.field-has-error textarea[b-tt2xuyw44y] {
    border-color: #C53030 !important;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.10) !important;
}

.field-error-msg[b-tt2xuyw44y] {
    font-size: 0.78rem;
    color: #C53030;
    font-family: 'Heebo', sans-serif;
    margin-top: 5px;
}

.upload-dropzone.field-has-error[b-tt2xuyw44y] {
    border-color: #C53030;
}

/* No Permission */
.upload-no-permission[b-tt2xuyw44y] {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

/* Heebo throughout — scoped font override for placeholders etc. */
.upload-page-wrapper input[b-tt2xuyw44y],
.upload-page-wrapper input[b-tt2xuyw44y]::placeholder,
.upload-page-wrapper textarea[b-tt2xuyw44y],
.upload-page-wrapper textarea[b-tt2xuyw44y]::placeholder,
.upload-page-wrapper select[b-tt2xuyw44y],
.upload-page-wrapper label[b-tt2xuyw44y],
.upload-page-wrapper .dropzone-text[b-tt2xuyw44y],
.upload-page-wrapper .upload-message[b-tt2xuyw44y],
.upload-page-wrapper .upload-microcopy[b-tt2xuyw44y],
.upload-page-wrapper .upload-section-label[b-tt2xuyw44y],
.upload-page-wrapper .file-link-legend[b-tt2xuyw44y],
.upload-page-wrapper .upload-target-label[b-tt2xuyw44y] {
    font-family: 'Heebo', sans-serif;
}

/* Step 1 work-area card — tighter padding */
.upload-form-card.upload-section[b-tt2xuyw44y] {
    padding: 16px;
}

/* Step 1 layout wrapper */
.upload-step1-layout[b-tt2xuyw44y] {
    margin: 0 auto;
}

/* Selection cards — icon size for Upload/Edit type selection (overrides app.css 64px) */
.category-card-icon[b-tt2xuyw44y] {
    width: 210px;
    height: 210px;
    object-fit: contain;
}

/* ═══════════════════════════════════════════════════════════
   Custom field dropdowns (category / subcategory / language)
   — replaces native <select>, dimensions match .form-field
   select/input (44px/12px/#E6E6E6) already used in this form;
   chevron/menu/hover language matches the custom selects
   already used elsewhere in the app (mi-cs-*, au-role-cs-*).
═══════════════════════════════════════════════════════════ */
.upload-cs-backdrop[b-tt2xuyw44y] {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.upload-cs[b-tt2xuyw44y] {
    position: relative;
    width: 100%;
}

.upload-cs-btn[b-tt2xuyw44y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #E6E6E6;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #2d2d2d;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    direction: rtl;
    box-sizing: border-box;
}

.upload-cs-btn span[b-tt2xuyw44y] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-cs-btn:hover[b-tt2xuyw44y],
.upload-cs-btn--open[b-tt2xuyw44y] {
    border-color: #70B4FD;
}

.upload-cs-btn:active:not(:disabled)[b-tt2xuyw44y] {
    border-color: #3266c4;
    background: #CADBF8;
    color: #3266c4;
}

.upload-cs-btn:focus-visible[b-tt2xuyw44y] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.upload-cs-btn:disabled[b-tt2xuyw44y] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F5F5F0;
}

.upload-cs-chevron[b-tt2xuyw44y] {
    flex-shrink: 0;
    transition: transform 0.18s ease;
    color: #555;
}

.upload-cs-btn--open .upload-cs-chevron[b-tt2xuyw44y] {
    transform: rotate(180deg);
}

.upload-cs-menu[b-tt2xuyw44y] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    background: white;
    border: 1px solid #E8E8E2;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 200;
    max-height: 260px;
    overflow-y: auto;
    padding: 4px;
    display: flex;
    flex-direction: column;
}

.upload-cs-option[b-tt2xuyw44y] {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #333;
    direction: rtl;
    text-align: right;
    white-space: normal;
    border-radius: 8px;
    transition: background 0.12s;
    box-sizing: border-box;
}

.upload-cs-option:hover[b-tt2xuyw44y] {
    background: #F5F5F0;
}

.upload-cs-option:active[b-tt2xuyw44y] {
    background: #F0F0EB;
}

.upload-cs-option:focus-visible[b-tt2xuyw44y] {
    outline: 2px solid #737373;
    outline-offset: -2px;
}

.upload-cs-option--selected[b-tt2xuyw44y] {
    background: #EEF4FF;
    color: #3266c4;
    font-weight: 600;
}

.upload-cs-option--selected:hover[b-tt2xuyw44y] {
    background: #E4EDFC;
}

.upload-cs-option--selected:active[b-tt2xuyw44y] {
    background: #CADBF8;
}

/* Step 2 context summary — second, subtler line under "יעד התוכן" */
.upload-target-source[b-tt2xuyw44y] {
    display: block;
    margin-top: 4px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.85rem;
    color: #777;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.upload-target-source-key[b-tt2xuyw44y] {
    font-weight: 600;
    color: #555;
}

/* "החלפת קובץ" button inside dropzone-selected-file */
.dropzone-selected-file .edit-cancel-btn[b-tt2xuyw44y] {
    border: 1.5px solid #B0B0B0;
}

/* Old filter layout rules — kept for any remaining usages */
.filter-group-options[b-tt2xuyw44y] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.filter-group-options--grid[b-tt2xuyw44y] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.filter-required[b-tt2xuyw44y] {
    color: #C53030;
    font-weight: 700;
    margin-right: 2px;
}

.filter-group-badge[b-tt2xuyw44y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ACDDF1;
    color: #2d2d2d;
    font-family: 'Heebo', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 7px;
    min-width: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    /* Reduce type-selection icon size on mobile */
    .category-card-icon[b-tt2xuyw44y] {
        width: 128px;
        height: 128px;
    }

    /* Match KnowledgeBasePage's mobile card-name size */
    .category-card-name[b-tt2xuyw44y] {
        font-size: 20px;
    }

    .filter-group-options[b-tt2xuyw44y] {
        flex-direction: column;
        gap: 8px;
    }

    .filter-group-options--grid[b-tt2xuyw44y] {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
/* /Shared/ConfirmNavigationModal.razor.rz.scp.css */
.delete-btn-confirm[b-bftgb3v7z8] {
    background: #CADBF8;
    color: #1A1A1A;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.top-row[b-hayi2zqy46] {
    position: sticky;
    top: 0;
    z-index: 300;
}

.content[b-hayi2zqy46] {
    padding: 2rem 1rem 1rem;
    margin: 0 auto;
    background-color: #FEFAEE;
}

.page[b-hayi2zqy46] {
    background-color: #FEFAEE;
}
/* /Shared/ManagementTabs.razor.rz.scp.css */
.mgmt-tabs-wrapper[b-nkmvj8wmmn] {
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 52px;
}

.mgmt-tabs[b-nkmvj8wmmn] {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 1px solid #CFC8BA;
    border-radius: 999px;
    padding: 5px;
    gap: 4px;
    direction: rtl;
}

[b-nkmvj8wmmn] .mgmt-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #6F6A60;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.12s, color 0.12s, box-shadow 0.12s;
    cursor: pointer;
}

[b-nkmvj8wmmn] .mgmt-tab:hover {
    background: #F8F3E4;
    color: #3a3630;
    text-decoration: none !important;
}

[b-nkmvj8wmmn] .mgmt-tab:active:not(.active) {
    background: #C8C2B8;
    color: #1F1F1F;
    text-decoration: none !important;
}

[b-nkmvj8wmmn] .mgmt-tab:focus-visible {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

@media (max-width: 480px) {
    [b-nkmvj8wmmn] .mgmt-tab {
        padding: 8px 14px;
    }
}

[b-nkmvj8wmmn] .mgmt-tab.active {
    background: #FFFDF7;
    color: #1F1F1F !important;
    border: 1px solid #C8C2B8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    text-decoration: none !important;
}

[b-nkmvj8wmmn] .mgmt-tab.active:hover {
    color: #1F1F1F !important;
    background: #FFFDF7;
    border-color: #C8C2B8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-light[b-gnj43v0dug] {
    background-color: #F8F3E4;
    font-family: 'TelAviv-Modernist', sans-serif;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 68px;
    max-height: 68px;
    overflow: visible;
}

[b-gnj43v0dug] .navbar-light .container-fluid {
    height: 68px;
    overflow: visible;
}

/* מניעת הרחבת navbar על ידי אייקונים */
.collapse[b-gnj43v0dug]  a.nav-link {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

[b-gnj43v0dug] a.nav-link,
[b-gnj43v0dug] a.nav-link:hover,
[b-gnj43v0dug] a.nav-link:focus,
[b-gnj43v0dug] a.nav-link.active,
button[b-gnj43v0dug] {
    color: #000 !important;
}

    [b-gnj43v0dug] a.nav-link:hover, button:hover[b-gnj43v0dug] {
        text-decoration: underline;
        color: #000 !important;
    }

/* Active state — דסקטופ בלבד, לא משפיע על sidebar */
.collapse[b-gnj43v0dug]  ul:not(.about-open) a.nav-link.active,
.collapse[b-gnj43v0dug]  button.nav-link.active {
    background: #1F1F1F;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none !important;
}

.collapse[b-gnj43v0dug]  a.nav-link.active:hover,
.collapse[b-gnj43v0dug]  button.nav-link.active:hover {
    text-decoration: none !important;
    color: #fff !important;
}

.collapse[b-gnj43v0dug]  a.nav-link:active:not(.active),
.collapse[b-gnj43v0dug]  button.nav-link:active:not(.active) {
    background: #CFC8BA;
    border-radius: 8px;
}

[b-gnj43v0dug] a.nav-link:focus-visible,
[b-gnj43v0dug] button.nav-link:focus-visible {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

/* ריווח בין פריטי ניווט */
.collapse .navbar-nav[b-gnj43v0dug] {
    gap: 28px;
}

/* קו תחתון בין ה-navbar לתוכן */
.navbar-light[b-gnj43v0dug] {
    border-bottom: 1px solid rgba(0, 0, 0, 0.13) !important;
}

/* nav-link — flex אחיד לכל הפריטים */
.collapse[b-gnj43v0dug]  a.nav-link,
.collapse[b-gnj43v0dug]  button.nav-link,
.navbar-user-desktop[b-gnj43v0dug]  button.nav-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

/* אייקוני ניווט */
.nav-icon-img[b-gnj43v0dug] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    margin: 0;
    position: static;
    transform: none;
    filter: brightness(0) opacity(0.7);
}

/* active — הפוך לבן על רקע שחור */
.collapse[b-gnj43v0dug]  a.nav-link.active .nav-icon-img {
    filter: brightness(0) invert(1);
}

/* תפריט משתמש — הסתר במובייל */
.navbar-user-desktop[b-gnj43v0dug] {
    display: none;
}

@media (min-width: 992px) {
    .navbar-user-desktop[b-gnj43v0dug] {
        display: block;
    }
}

.navbar-mobile-brand-group[b-gnj43v0dug] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* לוגו */
.navbar-logo-group[b-gnj43v0dug] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none !important;
}

.navbar-logo[b-gnj43v0dug] {
    height: 22px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.navbar-book-icon[b-gnj43v0dug] {
    height: 25px;
    width: auto;
    object-fit: contain;
}

/* תפריט משתמש נפתח — דסקטופ */
.user-menu-wrapper[b-gnj43v0dug] {
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.user-menu-toggle[b-gnj43v0dug] {
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.user-menu-toggle:hover:not(:disabled)[b-gnj43v0dug] {
    background: #F0F0EB;
    color: #555;
}

.user-menu-toggle:active:not(:disabled)[b-gnj43v0dug] {
    background: #E8E8E2;
    color: #333;
}

.user-menu-toggle:focus-visible[b-gnj43v0dug] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.user-menu-toggle:disabled[b-gnj43v0dug] {
    opacity: 0.6;
    cursor: not-allowed;
}

.user-menu-icon[b-gnj43v0dug] {
    font-size: 1.35rem;
    top: -2px;
}

.user-menu-chevron[b-gnj43v0dug] {
    flex-shrink: 0;
}

[b-gnj43v0dug] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

[b-gnj43v0dug] .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

[b-gnj43v0dug] .navbar-toggler:focus {
    box-shadow: none !important;
}

[b-gnj43v0dug] .navbar-toggler:focus-visible {
    outline: 2px solid #737373 !important;
    outline-offset: 1px;
}

.user-menu-backdrop[b-gnj43v0dug] {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.user-dropdown[b-gnj43v0dug] {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 160px;
    display: flex;
    flex-direction: column;
}

[b-gnj43v0dug] .user-dropdown-item {
    padding: 10px 16px;
    color: #000;
    text-decoration: none;
    text-align: right;
    display: block;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
}

    [b-gnj43v0dug] .user-dropdown-item:hover {
        background-color: #f0f0f0;
        color: #333;
        text-decoration: none;
    }

/* ═══════════════════════════════════════
   Sidebar — מובייל בלבד
═══════════════════════════════════════ */
.sidebar-overlay[b-gnj43v0dug] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
}

.sidebar-drawer[b-gnj43v0dug] {
    position: fixed;
    top: 0;
    right: -300px;
    width: 270px;
    height: 100dvh;
    background: #FEFAEE;
    z-index: 1050;
    transition: right 0.28s ease;
    padding: 1.5rem 1.2rem;
    direction: rtl;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.sidebar-drawer.sidebar-open[b-gnj43v0dug] {
    right: 0;
}

.sidebar-close-btn[b-gnj43v0dug] {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    color: #444;
    margin-bottom: 1.2rem;
    line-height: 1;
    transition: color 0.12s;
}

.sidebar-close-btn:hover:not(:disabled)[b-gnj43v0dug] {
    color: #333;
}

.sidebar-close-btn:active:not(:disabled)[b-gnj43v0dug] {
    color: #1a1a1a;
}

.sidebar-close-btn:focus-visible[b-gnj43v0dug] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.sidebar-close-btn:disabled[b-gnj43v0dug] {
    opacity: 0.6;
    cursor: not-allowed;
}

.sidebar-user[b-gnj43v0dug] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E8E4DA;
}

.sidebar-nav[b-gnj43v0dug] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[b-gnj43v0dug] .sidebar-link {
    display: block;
    padding: 11px 8px;
    font-size: 1rem;
    font-family: 'TelAviv-Modernist', sans-serif;
    color: #1a1a1a !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.15s;
    text-align: right;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
}

[b-gnj43v0dug] .sidebar-link:hover {
    background: #F0EBE0;
    text-decoration: none !important;
}

[b-gnj43v0dug] .sidebar-link.active,
[b-gnj43v0dug] .sidebar-link.active:hover {
    background: #E8E4DA;
    text-decoration: none !important;
}

[b-gnj43v0dug] .sidebar-link:active:not(.active) {
    background: #CFC8BA;
    text-decoration: none !important;
}

[b-gnj43v0dug] .sidebar-link:focus-visible {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.sidebar-divider[b-gnj43v0dug] {
    height: 1px;
    background: #E8E4DA;
    margin: 1rem 0;
}

.sidebar-logout[b-gnj43v0dug] {
    color: #C53030 !important;
}

/* הצג sidebar רק במובייל */
@media (max-width: 991px) {
    .sidebar-overlay[b-gnj43v0dug] {
        display: block;
    }
}

/* ═══════════════════════════════════════
   כפתור אודות בדסקטופ
═══════════════════════════════════════ */
.about-nav-btn[b-gnj43v0dug] {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'TelAviv-Modernist', sans-serif;
    font-weight: 500;
}

/* ═══════════════════════════════════════
   Modal אודות
═══════════════════════════════════════ */
.about-overlay[b-gnj43v0dug] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-modal[b-gnj43v0dug] {
    display: flex;
    flex-direction: column;
    background: #F8F3E4;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 780px;
    width: 92%;
    max-height: 90vh;
    direction: rtl;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* ── Header ── */
.about-modal-header[b-gnj43v0dug] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: #F8F3E4;
    border-radius: 22px 22px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.about-label[b-gnj43v0dug] {
    font-family: 'TelAviv-Modernist', sans-serif;
    font-size: 0.9rem;
    color: #555;
    letter-spacing: 0.04em;
    margin: 0;
    text-align: center;
}

.about-close-btn[b-gnj43v0dug] {
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #555;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}

.about-close-btn:hover[b-gnj43v0dug] {
    background: #F0EBE0;
    text-decoration: none;
}

/* ── Body (גלילה פנימית) ── */
.about-modal-body[b-gnj43v0dug] {
    flex: 1;
    overflow-y: auto;
    background: #FEFAEE;
    padding: 32px 44px;
}

/* ── אזור עליון ── */
.about-top[b-gnj43v0dug] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.about-project-logo[b-gnj43v0dug] {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.about-tagline[b-gnj43v0dug] {
    font-family: 'TelAviv-Modernist', sans-serif;
    font-size: 1rem;
    color: #2B2B2B;
    line-height: 1.7;
    margin: 0 0 10px;
    max-width: 540px;
}

.about-faculty-link[b-gnj43v0dug] {
    font-family: 'TelAviv-Modernist', sans-serif;
    font-size: 0.92rem;
    color: #555;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.about-faculty-link:hover[b-gnj43v0dug] {
    text-decoration: underline;
    color: #2B2B2B;
}

.about-year[b-gnj43v0dug] {
    font-family: 'TelAviv-Modernist', sans-serif;
    font-size: 0.88rem;
    color: #777;
    margin: 0;
}

/* ── שורות ארגונים ── */
.about-orgs-section[b-gnj43v0dug] {
    width: 460px;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .about-orgs-section[b-gnj43v0dug] {
        transform: translateX(-48px);
    }
}

.about-org-row[b-gnj43v0dug] {
    width: 100%;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    column-gap: 24px;
    align-items: center;
    direction: rtl;
    margin-bottom: 28px;
    text-align: right;
}

.about-org-logo[b-gnj43v0dug] {
    width: 160px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.about-org-logo img[b-gnj43v0dug] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.about-org-text[b-gnj43v0dug] {
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    color: #2B2B2B;
    line-height: 1.65;
    min-width: 200px;
}

.about-org-text p[b-gnj43v0dug] {
    margin: 0;
}

.about-org-spacer[b-gnj43v0dug] {
    margin-top: 4px !important;
}

/* ── Footer ── */
.about-footer[b-gnj43v0dug] {
    background: #F8F3E4;
    border-top: 1px solid rgba(0, 0, 0, 0.13);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 22px 22px;
    padding: 14px 24px;
    text-align: center;
    flex-shrink: 0;
}

.about-footer p[b-gnj43v0dug] {
    font-family: 'TelAviv-Modernist', sans-serif;
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}

/* ── מובייל ── */
@media (max-width: 600px) {
    .about-modal[b-gnj43v0dug] {
        max-height: 85vh;
    }

    .about-modal-body[b-gnj43v0dug] {
        padding: 24px 20px;
    }

    .about-orgs-section[b-gnj43v0dug] {
        width: min(100%, 330px);
    }

    .about-org-row[b-gnj43v0dug] {
        grid-template-columns: 110px minmax(0, 1fr);
        column-gap: 16px;
    }

    .about-org-logo[b-gnj43v0dug] {
        width: 110px;
        height: 70px;
    }

    .about-org-text[b-gnj43v0dug] {
        min-width: 0;
        font-size: 0.9rem;
    }
}

/* הסתר collapse במובייל (sidebar מחליף) */
@media (max-width: 991px) {
    [b-gnj43v0dug] .navbar-collapse {
        display: none !important;
    }
}
/* /Shared/Pagination.razor.rz.scp.css */
.pagination-bar[b-j1dsaa0l4w] {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 16px 0 8px;
    direction: ltr;
}

.page-btn[b-j1dsaa0l4w] {
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border: 1px solid #aaa;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 0.88rem;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled)[b-j1dsaa0l4w] {
    background: #F0F4FF;
    border-color: #70B4FD;
    color: #1a6fd8;
}

.page-btn:active:not(.page-btn--active):not(:disabled)[b-j1dsaa0l4w] {
    background: #CADBF8;
    border-color: #3266c4;
    color: #3266c4;
}

.page-btn:focus-visible[b-j1dsaa0l4w] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}

.page-btn:disabled[b-j1dsaa0l4w] {
    opacity: 0.55;
    cursor: default;
}

.page-btn--active[b-j1dsaa0l4w] {
    background: #CADBF8;
    border-color: #CADBF8;
    color: #1A1A1A;
    font-weight: 700;
}

.page-btn--active:hover[b-j1dsaa0l4w] {
    opacity: 0.85;
}

.page-btn--active:active[b-j1dsaa0l4w] {
    filter: brightness(0.9);
}

.page-ellipsis[b-j1dsaa0l4w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 34px;
    color: #aaa;
    font-size: 0.88rem;
}
/* /Shared/SuccessBanner.razor.rz.scp.css */
.success-banner[b-wz54waz116] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e6f4ea;
    color: #2d6a3f;
    border: 1px solid #a8d5b0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    direction: rtl;
    font-family: 'Heebo', sans-serif;
}

.success-banner-icon[b-wz54waz116] {
    font-size: 1.05rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.success-banner-text[b-wz54waz116] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.success-banner-text strong[b-wz54waz116] {
    font-size: 0.95rem;
    font-weight: 600;
}

.success-banner-text span[b-wz54waz116] {
    font-size: 0.88rem;
    color: #3a7a50;
}

.success-banner-close[b-wz54waz116] {
    background: none;
    border: none;
    color: #2d6a3f;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    opacity: 0.55;
    flex-shrink: 0;
    margin-top: 1px;
}

.success-banner-close:hover[b-wz54waz116] {
    opacity: 1;
}

.success-banner-close:active[b-wz54waz116] {
    filter: brightness(0.9);
}

.success-banner-close:focus-visible[b-wz54waz116] {
    outline: 2px solid #737373;
    outline-offset: 1px;
}
