/* ========================================================
   IDN PORTOFOLIO - MODERN MAHASISWA DIRECTORY STYLESHEET
   Design System: Space Grotesk + Inter, Frosted Glass, Micro-Box 4px
   Harmonized with Landing Page Aesthetics
   ======================================================== */

:root {
    --lp-primary: #1d72b8;
    --lp-primary-hover: #155e8a;
    --lp-primary-rgb: 29, 114, 184;
    --lp-accent: #0284c7;
    --lp-accent-glow: rgba(2, 132, 199, 0.25);
    --lp-dark-text: #0f172a;
    --lp-muted-text: #64748b;
    --lp-card-bg: #ffffff;
    --lp-card-border: rgba(226, 232, 240, 0.9);
    --lp-card-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
    --lp-card-hover-shadow: 0 16px 36px -8px rgba(29, 114, 184, 0.16);
    --lp-chip-bg: rgba(241, 245, 249, 0.85);
    --lp-glass-bg: rgba(255, 255, 255, 0.85);
    --lp-glass-border: rgba(255, 255, 255, 0.7);
}

/* Dark Mode Tokens */
html.theme-dark,
body.theme-dark,
[data-bs-theme="dark"] {
    --lp-primary: #38bdf8;
    --lp-primary-hover: #7dd3fc;
    --lp-primary-rgb: 56, 189, 248;
    --lp-accent: #38bdf8;
    --lp-accent-glow: rgba(56, 189, 248, 0.3);
    --lp-dark-text: #f8fafc;
    --lp-muted-text: #94a3b8;
    --lp-card-bg: #161d2c;
    --lp-card-border: rgba(255, 255, 255, 0.08);
    --lp-card-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
    --lp-card-hover-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.9), 0 0 25px rgba(56, 189, 248, 0.2);
    --lp-chip-bg: rgba(22, 29, 44, 0.75);
    --lp-glass-bg: rgba(22, 29, 44, 0.8);
    --lp-glass-border: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------
   HERO DIRECTORY SECTION
   -------------------------------------------------------- */
.hero-wrapper {
    position: relative;
    padding: 3.5rem 1rem 3rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -80px;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(29, 114, 184, 0.18), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    top: 20px;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 4px;
    background: rgba(29, 114, 184, 0.08);
    border: 1px solid rgba(29, 114, 184, 0.2);
    color: var(--lp-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem !important;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    animation: pulseDotAnim 2s infinite ease-in-out;
}

@keyframes pulseDotAnim {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: clamp(2rem, 4.5vw, 2.9rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    color: var(--lp-dark-text);
    margin-bottom: 1.15rem;
}

.text-gradient {
    background: linear-gradient(135deg, #1d72b8 0%, #0284c7 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.theme-dark .text-gradient,
body.theme-dark .text-gradient,
[data-bs-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.125rem) !important;
    color: var(--lp-muted-text);
    line-height: 1.6 !important;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.hero-stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 4px;
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-card-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem !important;
    color: var(--lp-dark-text);
    transition: all 0.25s ease;
}

.hero-stat-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--lp-primary-rgb), 0.3);
}

.hero-stat-icon {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    background: rgba(var(--lp-primary-rgb), 0.12);
    color: var(--lp-primary);
}

.hero-stat-pill strong {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--lp-primary);
}

/* --------------------------------------------------------
   SEARCH & FILTER HUB
   -------------------------------------------------------- */
.filter-hub {
    background: var(--lp-card-bg);
    border-radius: 8px;
    border: 1px solid var(--lp-card-border);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.filter-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-hub-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--lp-dark-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.015em;
}

#activeFilterBadge {
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-reset-filter {
    background: transparent;
    border: none;
    color: var(--lp-muted-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-reset-filter:hover {
    color: var(--lp-primary);
    background: rgba(var(--lp-primary-rgb), 0.08);
}

/* Search Bar */
.main-search-wrapper {
    position: relative;
    width: 100%;
}

.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-leading-icon {
    position: absolute;
    left: 20px;
    font-size: 1.1rem;
    color: var(--lp-primary);
    pointer-events: none;
    z-index: 2;
}

.main-search-field {
    width: 100%;
    height: 54px;
    padding: 12px 75px 12px 52px;
    border-radius: 4px;
    border: 1.5px solid var(--lp-card-border);
    background: var(--lp-card-bg);
    color: var(--lp-dark-text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem !important;
    font-weight: 500;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.main-search-field:focus {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 4px rgba(var(--lp-primary-rgb), 0.18), 0 8px 25px rgba(29, 114, 184, 0.1);
}

.search-kbd-hint {
    position: absolute;
    right: 18px;
    background: var(--lp-card-border);
    color: var(--lp-muted-text);
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem !important;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.clear-search-btn {
    position: absolute;
    right: 48px;
    background: transparent;
    border: none;
    color: var(--lp-muted-text);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.clear-search-btn:hover {
    color: #ef4444;
}

/* Category Chips */
.quick-prodi-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.quick-pill-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lp-muted-text);
    margin-right: 6px;
}

.category-chip {
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--lp-card-border);
    background: var(--lp-chip-bg);
    color: var(--lp-dark-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem !important;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.22s ease;
}

.category-chip:hover {
    border-color: var(--lp-primary);
    color: var(--lp-primary);
    transform: translateY(-1px);
}

.category-chip.active {
    background: linear-gradient(135deg, #1d72b8 0%, #155e8a 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(29, 114, 184, 0.3);
}

.chip-programmer.active {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.3);
}

.chip-engineer.active {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.3);
}

.chip-designer.active {
    background: linear-gradient(135deg, #9333ea 0%, #c026d3 100%);
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.3);
}

/* Secondary Filters */
.custom-filter-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-filter-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem !important;
    font-weight: 700;
    color: var(--lp-muted-text);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.custom-filter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-filter-input-wrap .filter-icon {
    position: absolute;
    left: 14px;
    color: var(--lp-primary);
    pointer-events: none;
    font-size: 0.95rem;
    z-index: 1;
}

.custom-select-control {
    width: 100%;
    height: 44px;
    padding: 8px 14px 8px 40px;
    border-radius: 4px;
    border: 1px solid var(--lp-card-border);
    background-color: var(--lp-card-bg);
    color: var(--lp-dark-text);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem !important;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.custom-select-control:focus {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(var(--lp-primary-rgb), 0.18);
}

/* --------------------------------------------------------
   STUDENT SHOWCASE CARD (MICRO-BOX 4px)
   -------------------------------------------------------- */
.student-card-modern {
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-card-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--lp-card-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.student-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--lp-card-hover-shadow);
    border-color: rgba(var(--lp-primary-rgb), 0.4);
    color: inherit;
}

/* Card Cover Banner */
.student-card-cover {
    height: 75px;
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(29, 114, 184, 0.2) 0%, rgba(2, 132, 199, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cover-prog {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.25) 0%, rgba(8, 145, 178, 0.1) 100%);
}

.cover-eng {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.25) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.cover-des {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25) 0%, rgba(192, 38, 211, 0.1) 100%);
}

/* Floating Badges on Banner */
.badge-prodi-float {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 2px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.72rem !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.badge-prodi-programmer {
    background: rgba(14, 116, 144, 0.9);
    color: #ffffff;
}

.badge-prodi-engineer {
    background: rgba(180, 83, 9, 0.9);
    color: #ffffff;
}

.badge-prodi-designer {
    background: rgba(147, 51, 234, 0.9);
    color: #ffffff;
}

.badge-prodi-default {
    background: rgba(30, 41, 59, 0.9);
    color: #ffffff;
}

/* Verification Badge */
.verified-chip {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Student Avatar */
.student-avatar-wrap {
    padding: 0 1.25rem;
    margin-top: -36px;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.student-card-avatar {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: cover;
    border: 3px solid var(--lp-card-bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    background: #0f172a;
    transition: transform 0.25s ease;
}

.student-card-modern:hover .student-card-avatar {
    transform: scale(1.05);
}

.student-angkatan-pill {
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(29, 114, 184, 0.08);
    border: 1px solid rgba(29, 114, 184, 0.2);
    color: var(--lp-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem !important;
    font-weight: 700;
}

/* Card Body */
.student-card-body {
    padding: 0.85rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.student-card-name {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--lp-dark-text);
    margin: 0 0 0.35rem;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.student-card-modern:hover .student-card-name {
    color: var(--lp-primary);
}

.student-meta-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem !important;
    color: var(--lp-muted-text);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Student Portfolio Stat Bar */
.student-porto-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 3px;
    background: rgba(241, 245, 249, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem !important;
    color: var(--lp-dark-text);
}

.student-porto-stat strong {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--lp-primary);
    font-size: 0.95rem;
}

/* Card Footer */
.student-card-footer {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.student-social-links {
    display: flex;
    gap: 6px;
}

.student-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.04);
    color: var(--lp-muted-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.student-social-btn:hover {
    background: var(--lp-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 3px;
    background: rgba(var(--lp-primary-rgb), 0.1);
    color: var(--lp-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-detail-link:hover {
    background: var(--lp-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 114, 184, 0.25);
}

.btn-detail-link i {
    transition: transform 0.2s ease;
}

.btn-detail-link:hover i {
    transform: translateX(3px);
}

/* --------------------------------------------------------
   LOAD MORE & PROGRESS SECTION
   -------------------------------------------------------- */
.load-more-section {
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.data-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 4px;
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-card-border);
    color: var(--lp-muted-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem !important;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.data-counter-pill strong {
    color: var(--lp-primary);
}

.collection-progress-bar-wrap {
    width: 280px;
    height: 6px;
    border-radius: 2px;
    background: var(--lp-card-border);
    overflow: hidden;
}

.collection-progress-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent));
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    background: linear-gradient(135deg, #1d72b8 0%, #155e8a 100%);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(29, 114, 184, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more-modern:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d72b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

/* --------------------------------------------------------
   SKELETON SHIMMER CARDS
   -------------------------------------------------------- */
.skeleton-card {
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-card-border);
    border-radius: 4px;
    overflow: hidden;
    height: 280px;
}

.shimmer {
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.6) 0%, rgba(241, 245, 249, 0.9) 50%, rgba(226, 232, 240, 0.6) 100%);
    background-size: 200% 100%;
    animation: shimmerAnim 1.5s infinite linear;
}

@keyframes shimmerAnim {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Empty State Card */
.empty-state-card {
    background: var(--lp-card-bg);
    border: 1px dashed var(--lp-card-border);
    border-radius: 4px;
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    background: rgba(var(--lp-primary-rgb), 0.1);
    color: var(--lp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.empty-state-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--lp-dark-text);
    margin-bottom: 0.5rem;
}

.empty-state-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem !important;
    color: var(--lp-muted-text);
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

/* ========================================================
   DARK MODE HARMONY & NORMALIZATION (Zero Font Inflation)
   ======================================================== */
html.theme-dark .hero-glow-1,
body.theme-dark .hero-glow-1,
[data-bs-theme="dark"] .hero-glow-1 {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%);
}

html.theme-dark .hero-glow-2,
body.theme-dark .hero-glow-2,
[data-bs-theme="dark"] .hero-glow-2 {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.24), transparent 70%);
}

html.theme-dark .hero-badge-pill,
body.theme-dark .hero-badge-pill,
[data-bs-theme="dark"] .hero-badge-pill {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.82rem !important;
}

html.theme-dark .hero-title,
body.theme-dark .hero-title,
[data-bs-theme="dark"] .hero-title,
html[data-bs-theme="dark"] h1.hero-title {
    font-size: clamp(2rem, 4.5vw, 2.9rem) !important;
    line-height: 1.15 !important;
}

html.theme-dark .hero-desc,
body.theme-dark .hero-desc,
[data-bs-theme="dark"] .hero-desc {
    font-size: clamp(0.95rem, 1.8vw, 1.125rem) !important;
}

html.theme-dark .hero-stat-pill,
body.theme-dark .hero-stat-pill,
[data-bs-theme="dark"] .hero-stat-pill {
    background: rgba(22, 29, 44, 0.75);
    border-color: rgba(255, 255, 255, 0.09);
    color: #e2e8f0;
    font-size: 0.88rem !important;
}

html.theme-dark .filter-hub,
body.theme-dark .filter-hub,
[data-bs-theme="dark"] .filter-hub {
    background: rgba(22, 29, 44, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

html.theme-dark .filter-hub-header,
body.theme-dark .filter-hub-header,
[data-bs-theme="dark"] .filter-hub-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.theme-dark .filter-hub-title,
body.theme-dark .filter-hub-title,
[data-bs-theme="dark"] .filter-hub-title,
html[data-bs-theme="dark"] h2.filter-hub-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

html.theme-dark .main-search-field,
body.theme-dark .main-search-field,
[data-bs-theme="dark"] .main-search-field {
    background: rgba(15, 21, 33, 0.88);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 1rem !important;
}

html.theme-dark .search-kbd-hint,
body.theme-dark .search-kbd-hint,
[data-bs-theme="dark"] .search-kbd-hint {
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.75rem !important;
}

html.theme-dark .category-chip,
body.theme-dark .category-chip,
[data-bs-theme="dark"] .category-chip {
    background: rgba(15, 21, 33, 0.75);
    border-color: rgba(255, 255, 255, 0.09);
    color: #cbd5e1;
    font-size: 0.82rem !important;
}

html.theme-dark .category-chip.active,
body.theme-dark .category-chip.active,
[data-bs-theme="dark"] .category-chip.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
}

html.theme-dark .custom-select-control,
body.theme-dark .custom-select-control,
[data-bs-theme="dark"] .custom-select-control {
    background-color: rgba(15, 21, 33, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 0.92rem !important;
}

html.theme-dark .custom-select-control option,
body.theme-dark .custom-select-control option,
[data-bs-theme="dark"] .custom-select-control option {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

html.theme-dark .student-card-modern,
body.theme-dark .student-card-modern,
[data-bs-theme="dark"] .student-card-modern {
    background: linear-gradient(180deg, rgba(26, 35, 52, 0.9) 0%, rgba(18, 24, 38, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

html.theme-dark .student-card-cover,
body.theme-dark .student-card-cover,
[data-bs-theme="dark"] .student-card-cover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.theme-dark .student-card-avatar,
body.theme-dark .student-card-avatar,
[data-bs-theme="dark"] .student-card-avatar {
    border-color: #1e293b;
}

html.theme-dark .student-card-name,
body.theme-dark .student-card-name,
[data-bs-theme="dark"] .student-card-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #f8fafc;
}

html.theme-dark .student-card-name:hover,
body.theme-dark .student-card-name:hover,
[data-bs-theme="dark"] .student-card-name:hover {
    color: #38bdf8;
}

html.theme-dark .student-meta-sub,
body.theme-dark .student-meta-sub,
[data-bs-theme="dark"] .student-meta-sub {
    font-size: 0.76rem !important;
    color: #94a3b8;
}

html.theme-dark .student-porto-stat,
body.theme-dark .student-porto-stat,
[data-bs-theme="dark"] .student-porto-stat {
    background: rgba(15, 21, 33, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.82rem !important;
}

html.theme-dark .student-card-footer,
body.theme-dark .student-card-footer,
[data-bs-theme="dark"] .student-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html.theme-dark .student-social-btn,
body.theme-dark .student-social-btn,
[data-bs-theme="dark"] .student-social-btn {
    background: rgba(30, 41, 59, 0.8);
    color: #94a3b8;
}

html.theme-dark .student-social-btn:hover,
body.theme-dark .student-social-btn:hover,
[data-bs-theme="dark"] .student-social-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

html.theme-dark .btn-detail-link,
body.theme-dark .btn-detail-link,
[data-bs-theme="dark"] .btn-detail-link {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.28);
    font-size: 0.82rem !important;
}

html.theme-dark .btn-detail-link:hover,
body.theme-dark .btn-detail-link:hover,
[data-bs-theme="dark"] .btn-detail-link:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-color: transparent;
}

html.theme-dark .data-counter-pill,
body.theme-dark .data-counter-pill,
[data-bs-theme="dark"] .data-counter-pill {
    background: rgba(22, 29, 44, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.85rem !important;
}

html.theme-dark .btn-load-more-modern,
body.theme-dark .btn-load-more-modern,
[data-bs-theme="dark"] .btn-load-more-modern {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 0.95rem !important;
}

html.theme-dark .shimmer,
body.theme-dark .shimmer,
[data-bs-theme="dark"] .shimmer {
    background: linear-gradient(90deg, rgba(30, 36, 48, 0.6) 0%, rgba(51, 65, 85, 0.8) 50%, rgba(30, 36, 48, 0.6) 100%);
    background-size: 200% 100%;
}

html.theme-dark .empty-state-card,
body.theme-dark .empty-state-card,
[data-bs-theme="dark"] .empty-state-card {
    background: rgba(22, 29, 44, 0.65);
    border-color: rgba(255, 255, 255, 0.14);
}
