/* /Components/Layout/MainLayout.razor.rz.scp.css */
.notification-search[b-rue604isfm] {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.search-inputs[b-rue604isfm] {
    display: flex;
    gap: 10px;
}
.search-input[b-rue604isfm] {
    flex: 1; /* This makes them equal width */
    padding: 10px 6px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

    .search-input:focus[b-rue604isfm] {
        outline: none;
        border-color: #8BC34A;
    }

    .search-input[b-rue604isfm]::placeholder {
        color: #999;
    }

.search-buttons[b-rue604isfm] {
    display: flex;
    gap: 10px;
}

.search-button[b-rue604isfm] {
    flex: 1;
    padding: 10px;
    background-color: #8BC34A;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .search-button:hover[b-rue604isfm] {
        background-color: #7CB342;
    }

.clear-button[b-rue604isfm] {
    flex: 1;
    padding: 10px;
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .clear-button:hover[b-rue604isfm] {
        background-color: #e0e0e0;
        border-color: #b0b0b0;
    }

.notification-body[b-rue604isfm] {
    flex: 1;
    /*overflow-y: auto;*/
    padding: 15px;
    padding-bottom: 10px;
}

.results-info[b-rue604isfm] {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    padding: 3px 0;
}

.notification-card[b-rue604isfm] {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    transition: box-shadow 0.2s;
}

    .notification-card:hover[b-rue604isfm] {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.card-header-row[b-rue604isfm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-date[b-rue604isfm] {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .card-date i[b-rue604isfm] {
        font-size: 13px;
    }

.card-status[b-rue604isfm] {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-processed[b-rue604isfm] {
    background-color: #E3F2FD;
    color: #1976D2;
}

.status-pending[b-rue604isfm] {
    background-color: #FFF3E0;
    color: #F57C00;
}

.card-title[b-rue604isfm] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-details[b-rue604isfm] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.detail-item[b-rue604isfm] {
    font-size: 13px;
    color: #555;
}

.detail-label[b-rue604isfm] {
    
    color: #666;
}

.detail-value[b-rue604isfm] {
    color: #333;
    font-weight: 600;
}

.card-footer[b-rue604isfm] {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

.download-link[b-rue604isfm] {
    font-size: 13px;
    color: #8BC34A;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: color 0.2s;
}

    .download-link:hover[b-rue604isfm] {
        color: #7CB342;
        text-decoration: underline;
    }

.pagination[b-rue604isfm] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    background: #fff;
    margin: 0;
    flex-shrink: 0;
    position: sticky;
}

.page-btn[b-rue604isfm] {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #333;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

    .page-btn:hover[b-rue604isfm] {
        background-color: #f5f5f5;
        border-color: #8BC34A;
    }

    .page-btn.active[b-rue604isfm] {
        background-color: #8BC34A;
        color: white;
        border-color: #8BC34A;
        font-weight: 600;
    }

.page-ellipsis[b-rue604isfm] {
    color: #999;
    padding: 0 5px;
}

.text-center[b-rue604isfm] {
    text-align: center;
}

.p-3[b-rue604isfm] {
    padding: 1rem;
}

/* Scrollbar styling */
.notification-body[b-rue604isfm]::-webkit-scrollbar {
    width: 6px;
}

.notification-body[b-rue604isfm]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notification-body[b-rue604isfm]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

    .notification-body[b-rue604isfm]::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-panel[b-rue604isfm] {
        width: 100%;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8po4fhk2in] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-8po4fhk2in] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-8po4fhk2in] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-8po4fhk2in] {
    font-size: 1.1rem;
}

.bi[b-8po4fhk2in] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-8po4fhk2in] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-8po4fhk2in] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-8po4fhk2in] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-8po4fhk2in] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-8po4fhk2in] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-8po4fhk2in] {
        padding-bottom: 1rem;
    }

    .nav-item[b-8po4fhk2in]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-8po4fhk2in]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-8po4fhk2in]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-8po4fhk2in] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-8po4fhk2in] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8po4fhk2in] {
        display: none;
    }

    .nav-scrollable[b-8po4fhk2in] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/SSO/UploadHelpDocument.razor.rz.scp.css */
/* ── Layout Container ── */
.hdoc-container[b-dsniprtjlw] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Common Card Style ── */
.hdoc-card[b-dsniprtjlw] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* ── Card 1: Upload Form Card ── */
.hdoc-card-header[b-dsniprtjlw] {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hdoc-header-title-group[b-dsniprtjlw] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hdoc-card-badge[b-dsniprtjlw] {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #f4f9eb;
    border: 1px solid #cce6a7;
    color: #5b8c15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.hdoc-card-title[b-dsniprtjlw] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

.hdoc-required-hint[b-dsniprtjlw] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
}

.req[b-dsniprtjlw] {
    color: #ef4444;
    font-weight: 600;
    margin-left: 2px;
}

/* Form Body */
.hdoc-form-body[b-dsniprtjlw] {
    padding: 1.5rem;
}

.hdoc-form-grid[b-dsniprtjlw] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 992px) {
    .hdoc-form-grid[b-dsniprtjlw] {
        grid-template-columns: 1fr;
    }
}

.hdoc-field-group[b-dsniprtjlw] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
}

.hdoc-label[b-dsniprtjlw] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.1rem;
}

.hdoc-input[b-dsniprtjlw] {
    width: 100%;
    height: 44px;
    padding: 0 0.875rem;
    font-size: 0.85rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    outline: none;
    transition: all 0.2s ease;
}

.hdoc-input:hover[b-dsniprtjlw] {
    background-color: #ffffff;
    border-color: #cbd5e1;
}

.hdoc-input:focus[b-dsniprtjlw] {
    background-color: #ffffff;
    border-color: #5b8c15;
    box-shadow: 0 0 0 3px rgba(91, 140, 21, 0.15);
}

.hdoc-input[b-dsniprtjlw]::placeholder {
    color: #94a3b8;
}

.hdoc-field-hint[b-dsniprtjlw] {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

.hdoc-error[b-dsniprtjlw] {
    font-size: 0.74rem;
    color: #ef4444;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

/* Autocomplete Role Dropdown (Stitch Theme Match) */
.hdoc-autocomplete-wrapper[b-dsniprtjlw] {
    position: relative;
    width: 100%;
    height: 44px;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-stack {
    width: 100% !important;
    height: 44px !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-control {
    margin-top: 0 !important;
    width: 100% !important;
    height: 44px !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .fixed-height-autocomplete {
    width: 100% !important;
    height: 44px !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-control-input-container {
    height: 44px !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input.mud-input-outlined {
    height: 44px !important;
    background-color: #f8fafc !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input.mud-input-outlined:hover {
    background-color: #ffffff !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input.mud-input-outlined:focus-within {
    background-color: #ffffff !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-outlined-border {
    border-color: #e2e8f0 !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-outlined:hover:not(:focus-within) .mud-input-outlined-border {
    border-color: #cbd5e1 !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: #5b8c15 !important;
    box-shadow: 0 0 0 3px rgba(91, 140, 21, 0.15) !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-root,
[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-slot,
[b-dsniprtjlw] .hdoc-autocomplete-wrapper input.mud-input-element {
    height: 44px !important;
    min-height: 44px !important;
    line-height: 44px !important;
    font-size: 0.85rem !important;
    color: #0f172a !important;
    padding-left: 0.875rem !important;
    padding-right: 2.25rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper input.mud-input-element::placeholder {
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    opacity: 1 !important;
}



[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-adornment {
    margin-right: 0.5rem !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-adornment svg,
[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-adornment .mud-icon-root {
    color: #94a3b8 !important;
    font-size: 1.15rem !important;
}

[b-dsniprtjlw] .hdoc-autocomplete-wrapper .mud-input-adornment button:hover svg {
    color: #64748b !important;
}

/* Custom PDF File Picker Zone */
.hdoc-file-zone[b-dsniprtjlw] {
    position: relative;
    height: 44px;
    border: 1px dashed #cbd5e1;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.65rem;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
}

.hdoc-file-zone:hover[b-dsniprtjlw] {
    border-color: #5b8c15;
    background-color: #f4f9eb;
}

.hdoc-file-zone.has-file[b-dsniprtjlw] {
    border-style: solid;
    border-color: #cce6a7;
    background-color: #fcfdf9;
}

[b-dsniprtjlw] .hdoc-file-zone input[type="file"],
[b-dsniprtjlw] input.hdoc-file-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hdoc-file-content[b-dsniprtjlw] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
    pointer-events: none;
    z-index: 1;
}

.hdoc-pdf-badge[b-dsniprtjlw] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hdoc-file-name[b-dsniprtjlw] {
    font-size: 0.78rem;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hdoc-browse-btn[b-dsniprtjlw] {
    font-size: 0.68rem;
    font-weight: 700;
    color: #5b8c15;
    background: #f4f9eb;
    border: 1px solid #cce6a7;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
    flex-shrink: 0;
    pointer-events: none;
    z-index: 1;
    letter-spacing: 0.02em;
}

/* Form Actions Toolbar */
.hdoc-form-footer[b-dsniprtjlw] {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hdoc-notice-badge[b-dsniprtjlw] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    font-weight: 500;
    color: #92400e;
    background-color: #fefce8;
    border: 1px solid #fde68a;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
}

.hdoc-notice-badge i[b-dsniprtjlw] {
    color: #d97706;
    font-size: 0.85rem;
}

.hdoc-action-buttons[b-dsniprtjlw] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.hdoc-btn[b-dsniprtjlw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.65rem;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 38px;
}

.hdoc-btn:active:not(:disabled)[b-dsniprtjlw] {
    transform: scale(0.98);
}

.hdoc-btn-clear[b-dsniprtjlw] {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.hdoc-btn-clear:hover[b-dsniprtjlw] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.hdoc-btn-upload[b-dsniprtjlw] {
    background-color: #5b8c15;
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(91, 140, 21, 0.25);
}

.hdoc-btn-upload:hover:not(:disabled)[b-dsniprtjlw] {
    background-color: #4e7912;
    box-shadow: 0 2px 4px 0 rgba(91, 140, 21, 0.35);
}

.hdoc-btn-upload:disabled[b-dsniprtjlw] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ── Card 2: Document Listing Card ── */
.hdoc-directory-card[b-dsniprtjlw] {
    display: flex;
    flex-direction: column;
}

/* Table Controls Toolbar */
.hdoc-table-controls[b-dsniprtjlw] {
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hdoc-search-wrapper[b-dsniprtjlw] {
    position: relative;
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
}

.hdoc-search-icon[b-dsniprtjlw] {
    position: absolute;
    left: 0.85rem;
    color: #94a3b8;
    font-size: 0.82rem;
    pointer-events: none;
}

.hdoc-search-input[b-dsniprtjlw] {
    width: 100%;
    height: 38px;
    padding: 0.45rem 2rem 0.45rem 2.3rem;
    font-size: 0.8rem;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    outline: none;
    transition: all 0.2s ease;
}

.hdoc-search-input:focus[b-dsniprtjlw] {
    background-color: #ffffff;
    border-color: #94b44c;
    box-shadow: 0 0 0 3px rgba(148, 180, 76, 0.15);
}

.hdoc-search-input[b-dsniprtjlw]::placeholder {
    color: #94a3b8;
}

.hdoc-search-clear[b-dsniprtjlw] {
    position: absolute;
    right: 0.65rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.hdoc-search-clear:hover[b-dsniprtjlw] {
    color: #64748b;
}

.hdoc-total-counter[b-dsniprtjlw] {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.hdoc-total-counter strong[b-dsniprtjlw] {
    color: #0f172a;
    font-weight: 700;
}

/* Modern Data Table */
.hdoc-table-wrapper[b-dsniprtjlw] {
    overflow-x: auto;
    width: 100%;
    background: #ffffff;
}

.hdoc-table[b-dsniprtjlw] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.hdoc-table thead th[b-dsniprtjlw] {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    background-color: #f8fafc;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.hdoc-table tbody tr[b-dsniprtjlw] {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}

.hdoc-table tbody tr:last-child[b-dsniprtjlw] {
    border-bottom: none;
}

.hdoc-table tbody tr:hover[b-dsniprtjlw] {
    background-color: #f8fafc;
}

.col-doc-name[b-dsniprtjlw] {
    text-align: left;
}

.col-actions[b-dsniprtjlw] {
    text-align: right;
    width: 150px;
    padding-right: 1.5rem !important;
}

/* Document Row Content */
.hdoc-doc-cell[b-dsniprtjlw] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    user-select: none;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.hdoc-row-pdf-badge[b-dsniprtjlw] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.hdoc-table tbody tr:hover .hdoc-row-pdf-badge[b-dsniprtjlw] {
    transform: scale(1.05);
}

.hdoc-doc-title[b-dsniprtjlw] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.15s ease;
}

.hdoc-table tbody tr:hover .hdoc-doc-title[b-dsniprtjlw] {
    color: #5b8c15;
}

.hdoc-doc-view-hint[b-dsniprtjlw] {
    font-size: 0.72rem;
    color: #94a3b8;
    opacity: 0;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    margin-left: 0.2rem;
}

.hdoc-table tbody tr:hover .hdoc-doc-view-hint[b-dsniprtjlw] {
    opacity: 0.8;
    color: #5b8c15;
}

/* Row Action Buttons */
.hdoc-actions[b-dsniprtjlw] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.hdoc-row-btn[b-dsniprtjlw] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.hdoc-row-btn-view:hover[b-dsniprtjlw] {
    background-color: #f0f9ff;
    color: #0284c7;
    border-color: #bae6fd;
}

.hdoc-row-btn-download:hover[b-dsniprtjlw] {
    background-color: #f4f9eb;
    color: #5b8c15;
    border-color: #cce6a7;
}

.hdoc-row-btn-delete:hover[b-dsniprtjlw] {
    background-color: #fee2e2;
    color: #e11d48;
    border-color: #fecaca;
}

/* Empty State */
.hdoc-empty-cell[b-dsniprtjlw] {
    padding: 3.5rem 1.5rem !important;
    text-align: center;
}

.hdoc-empty-state[b-dsniprtjlw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.hdoc-empty-icon[b-dsniprtjlw] {
    font-size: 2.5rem;
    color: #cbd5e1;
}

.hdoc-empty-title[b-dsniprtjlw] {
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

.hdoc-clear-search-btn[b-dsniprtjlw] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.3rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hdoc-clear-search-btn:hover[b-dsniprtjlw] {
    background: #e2e8f0;
    color: #1e293b;
}

/* Table Footer / Summary & Pagination */
.hdoc-table-footer[b-dsniprtjlw] {
    padding: 0.75rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hdoc-footer-summary[b-dsniprtjlw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hdoc-footer-summary strong[b-dsniprtjlw] {
    color: #1e293b;
    font-weight: 600;
}

.hdoc-footer-divider[b-dsniprtjlw] {
    color: #cbd5e1;
    font-weight: 300;
}

.hdoc-rows-selector[b-dsniprtjlw] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    margin: 0;
    font-size: 0.75rem;
}

.hdoc-rows-select[b-dsniprtjlw] {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    color: #334155;
    height: 28px;
    outline: none;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.hdoc-rows-select:focus[b-dsniprtjlw] {
    border-color: #5b8c15;
    box-shadow: 0 0 0 2px rgba(91, 140, 21, 0.15);
}

/* Page Numbers Navigation */
.hdoc-pagination[b-dsniprtjlw] {
    display: inline-flex;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.hdoc-page-btn[b-dsniprtjlw] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 30px;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    background: #ffffff;
    border: none;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    user-select: none;
}

.hdoc-page-btn:last-child[b-dsniprtjlw] {
    border-right: none;
}

.hdoc-page-btn:hover:not(:disabled):not(.active)[b-dsniprtjlw] {
    background: #f8fafc;
    color: #0f172a;
}

.hdoc-page-btn.active[b-dsniprtjlw] {
    background: #5b8c15;
    color: #ffffff;
    font-weight: 600;
    border-color: #5b8c15;
    z-index: 2;
}

.hdoc-page-btn:disabled[b-dsniprtjlw] {
    opacity: 0.45;
    cursor: not-allowed;
    color: #94a3b8;
}

.hdoc-page-arrow[b-dsniprtjlw] {
    font-size: 0.72rem;
    color: #64748b;
}

@media (max-width: 640px) {
    .hdoc-table-footer[b-dsniprtjlw] {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* ── Custom Scrollbar ── */
.custom-scrollbar[b-dsniprtjlw]::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.custom-scrollbar[b-dsniprtjlw]::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 9999px;
}

.custom-scrollbar[b-dsniprtjlw]::-webkit-scrollbar-track {
    background-color: transparent;
}

/* ── Dark Mode Overrides ── */
body.dark-mode .hdoc-card[b-dsniprtjlw] {
    background: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .hdoc-card-header[b-dsniprtjlw] {
    background: #252525;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hdoc-card-title[b-dsniprtjlw] {
    color: #f8fafc;
}

body.dark-mode .hdoc-required-hint[b-dsniprtjlw] {
    color: #94a3b8;
}

body.dark-mode .hdoc-card-badge[b-dsniprtjlw] {
    background: rgba(91, 140, 21, 0.2);
    border-color: rgba(91, 140, 21, 0.4);
    color: #94b44c;
}

body.dark-mode .hdoc-label[b-dsniprtjlw] {
    color: #cbd5e1;
}

body.dark-mode .hdoc-input[b-dsniprtjlw] {
    background-color: #272727;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

body.dark-mode .hdoc-input:hover[b-dsniprtjlw] {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: #2c2c2c;
}

body.dark-mode .hdoc-input:focus[b-dsniprtjlw] {
    border-color: #94b44c;
    background-color: #2c2c2c;
}

body.dark-mode .hdoc-input[b-dsniprtjlw]::placeholder {
    color: #64748b;
}

body.dark-mode .hdoc-field-hint[b-dsniprtjlw] {
    color: #94a3b8;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input.mud-input-outlined {
    background-color: #272727 !important;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input.mud-input-outlined:hover {
    background-color: #2c2c2c !important;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input.mud-input-outlined:focus-within {
    background-color: #2c2c2c !important;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input-outlined:hover:not(:focus-within) .mud-input-outlined-border {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: #94b44c !important;
    box-shadow: 0 0 0 3px rgba(148, 180, 76, 0.25) !important;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper input.mud-input-element {
    color: #f1f5f9 !important;
}

body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper input.mud-input-element::placeholder {
    color: #64748b !important;
}



body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input-adornment svg,
body.dark-mode[b-dsniprtjlw]  .hdoc-autocomplete-wrapper .mud-input-adornment .mud-icon-root {
    color: #94a3b8 !important;
}

body.dark-mode .hdoc-file-zone[b-dsniprtjlw] {
    background-color: #272727;
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .hdoc-file-zone:hover[b-dsniprtjlw] {
    background-color: rgba(91, 140, 21, 0.15);
    border-color: #94b44c;
}

body.dark-mode .hdoc-file-zone.has-file[b-dsniprtjlw] {
    background-color: #2c2c2c;
    border-color: rgba(148, 180, 76, 0.4);
}

body.dark-mode .hdoc-file-name[b-dsniprtjlw] {
    color: #e2e8f0;
}

body.dark-mode .hdoc-form-footer[b-dsniprtjlw] {
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hdoc-notice-badge[b-dsniprtjlw] {
    background-color: rgba(217, 119, 6, 0.15);
    border-color: rgba(217, 119, 6, 0.3);
    color: #fde68a;
}

body.dark-mode .hdoc-btn-clear[b-dsniprtjlw] {
    background: #272727;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .hdoc-btn-clear:hover[b-dsniprtjlw] {
    background: #333333;
    color: #ffffff;
}

body.dark-mode .hdoc-table-controls[b-dsniprtjlw] {
    background: #1e1e1e;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hdoc-search-input[b-dsniprtjlw] {
    background-color: #272727;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

body.dark-mode .hdoc-search-input:focus[b-dsniprtjlw] {
    background-color: #2c2c2c;
    border-color: #94b44c;
}

body.dark-mode .hdoc-total-counter[b-dsniprtjlw] {
    color: #94a3b8;
}

body.dark-mode .hdoc-total-counter strong[b-dsniprtjlw] {
    color: #f1f5f9;
}

body.dark-mode .hdoc-table-wrapper[b-dsniprtjlw] {
    background: #1e1e1e;
}

body.dark-mode .hdoc-table thead th[b-dsniprtjlw] {
    background-color: #252525;
    color: #94a3b8;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .hdoc-table tbody tr[b-dsniprtjlw] {
    background-color: #1e1e1e;
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

body.dark-mode .hdoc-table tbody tr:hover[b-dsniprtjlw] {
    background-color: #272727;
}

body.dark-mode .hdoc-doc-title[b-dsniprtjlw] {
    color: #e2e8f0;
}

body.dark-mode .hdoc-doc-view-hint[b-dsniprtjlw] {
    color: #64748b;
}

body.dark-mode .hdoc-table tbody tr:hover .hdoc-doc-view-hint[b-dsniprtjlw] {
    color: #94b44c;
}

body.dark-mode .hdoc-row-btn-view:hover[b-dsniprtjlw] {
    background-color: rgba(2, 132, 199, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

body.dark-mode .hdoc-table-footer[b-dsniprtjlw] {
    background-color: #252525;
    border-top-color: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}

body.dark-mode .hdoc-footer-summary strong[b-dsniprtjlw] {
    color: #f1f5f9;
}

body.dark-mode .hdoc-footer-divider[b-dsniprtjlw] {
    color: #475569;
}

body.dark-mode .hdoc-rows-selector[b-dsniprtjlw] {
    color: #94a3b8;
}

body.dark-mode .hdoc-rows-select[b-dsniprtjlw] {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

body.dark-mode .hdoc-rows-select:focus[b-dsniprtjlw] {
    border-color: #94b44c;
    box-shadow: 0 0 0 2px rgba(148, 180, 76, 0.25);
}

body.dark-mode .hdoc-pagination[b-dsniprtjlw] {
    background: #222222;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .hdoc-page-btn[b-dsniprtjlw] {
    background: #222222;
    border-right-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

body.dark-mode .hdoc-page-btn:hover:not(:disabled):not(.active)[b-dsniprtjlw] {
    background: #2d2d2d;
    color: #ffffff;
}

body.dark-mode .hdoc-page-btn.active[b-dsniprtjlw] {
    background: #5b8c15;
    color: #ffffff;
}

body.dark-mode .hdoc-page-btn:disabled[b-dsniprtjlw] {
    color: #525252;
    opacity: 0.4;
}

body.dark-mode .hdoc-page-arrow[b-dsniprtjlw] {
    color: #94a3b8;
}
