/* ===== DOCUMENT LIBRARY (Tài liệu kỳ họp) — modern landing style ===== */
.dhf-doc-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0a2540 0%, #0d3a6b 50%, #0061af 100%);
    color: #fff; padding: 56px 0 80px;
}
.dhf-doc-hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(123,232,255,0.18) 0%, transparent 55%);
}
.dhf-doc-hero-inner { position: relative; z-index: 2; }
.dhf-doc-hero h1 {
    font-size: 2.4rem; font-weight: 800; margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.dhf-doc-hero .dhf-doc-eyebrow {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(6px);
    color: #cfe6ff; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px;
}
.dhf-doc-hero .dhf-doc-summary {
    color: #cfe6ff; font-size: 1rem; line-height: 1.7;
    max-width: 720px;
}
.dhf-doc-hero .dhf-doc-meta {
    display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px;
    color: #cfe6ff; font-size: 0.95rem;
}
.dhf-doc-hero .dhf-doc-meta i { color: #7be8ff; margin-right: 6px; }

.dhf-doc-shell { margin-top: -40px; position: relative; z-index: 3; padding-bottom: 60px; }

/* Folder card — represents one category (binder) */
.dhf-doc-folder {
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 12px 36px rgba(10, 37, 64, 0.1);
    margin-bottom: 20px; border: 1px solid rgba(0, 97, 175, 0.05);
}
.dhf-doc-folder-head {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(90deg, rgba(0, 97, 175, 0.04) 0%, rgba(123, 232, 255, 0.04) 100%);
    border-bottom: 1px solid rgba(0, 97, 175, 0.08);
}
.dhf-doc-folder-icon {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
    background: linear-gradient(135deg, #0061af 0%, #00a8d8 100%);
    color: #fff; font-size: 1.4rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.dhf-doc-folder-name {
    flex: 1; font-size: 1.1rem; font-weight: 700; color: #0a2540;
}
.dhf-doc-folder-name a { color: inherit; text-decoration: none; }
.dhf-doc-folder-name a:hover { color: #0061af; }
.dhf-doc-folder-count {
    background: rgba(0, 97, 175, 0.1); color: #0061af;
    padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.dhf-doc-folder-link {
    color: #0061af; font-weight: 600; text-decoration: none; font-size: 0.9rem;
    padding: 6px 12px; border-radius: 8px;
    transition: background .2s ease, transform .15s ease;
}
.dhf-doc-folder-link:hover { background: rgba(0,97,175,0.08); transform: translateX(2px); }

/* Document row inside a folder */
.dhf-doc-list { padding: 6px 0; }
.dhf-doc-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(0, 97, 175, 0.05);
    transition: background .2s ease;
}
.dhf-doc-row:last-child { border-bottom: none; }
.dhf-doc-row:hover { background: rgba(0, 97, 175, 0.03); }
.dhf-doc-row-icon {
    width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px;
    background: rgba(0, 97, 175, 0.08); color: #0061af;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
}
.dhf-doc-row-body { flex: 1; min-width: 0; }
.dhf-doc-row-title {
    font-weight: 600; color: #0a2540;
    text-decoration: none; display: block;
    overflow: hidden; text-overflow: ellipsis;
}
.dhf-doc-row-title:hover { color: #0061af; }
.dhf-doc-row-meta {
    color: #64748b; font-size: 0.82rem; margin-top: 3px;
}
.dhf-doc-row-meta i { color: #94a3b8; margin-right: 5px; }
.dhf-doc-row-action {
    color: #0061af; padding: 6px 10px; border-radius: 8px;
    text-decoration: none; font-size: 0.85rem; white-space: nowrap;
    transition: background .2s ease;
}
.dhf-doc-row-action:hover { background: rgba(0,97,175,0.08); }
.dhf-doc-empty { padding: 20px 22px; color: #94a3b8; font-style: italic; text-align: center; }

/* Sidebar — quick navigation */
.dhf-doc-sidebar { position: sticky; top: 90px; }
.dhf-doc-sidebar-card {
    background: #fff; border-radius: 16px; padding: 20px;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
    margin-bottom: 18px;
}
.dhf-doc-sidebar-title {
    font-weight: 800; color: #0a2540; font-size: 0.95rem;
    margin-bottom: 12px; padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,97,175,0.1);
    display: flex; align-items: center; gap: 8px;
}
.dhf-doc-sidebar-title i { color: #0061af; }
.dhf-doc-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 8px;
    color: #334155; text-decoration: none; font-size: 0.9rem;
    transition: background .2s ease, color .2s ease;
}
.dhf-doc-nav-link i { color: #94a3b8; font-size: 0.8rem; }
.dhf-doc-nav-link:hover, .dhf-doc-nav-link.active {
    background: rgba(0,97,175,0.06); color: #0061af;
}
.dhf-doc-nav-link:hover i, .dhf-doc-nav-link.active i { color: #0061af; }

/* Pagination wrapper */
.dhf-doc-pagination { padding: 20px 0 8px; }
.dhf-doc-pagination .pagination { margin: 0; }
.dhf-doc-pagination .page-link {
    color: #0061af; border-color: rgba(0,97,175,0.18); border-radius: 8px; margin: 0 3px;
}
.dhf-doc-pagination .page-item.active .page-link {
    background: #0061af; border-color: #0061af; color: #fff;
}

@media (max-width: 991.98px) {
    .dhf-doc-hero h1 { font-size: 1.7rem; }
    .dhf-doc-hero { padding: 40px 0 56px; }
    .dhf-doc-shell { margin-top: -28px; }
    .dhf-doc-sidebar { position: static; }
    .dhf-doc-folder-head { flex-wrap: wrap; }
}
