* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ffffff;
    color: #1a2c3e;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

:root {
    --blue-deep: #1a3c5e;
    --blue-soft: #eef5fc;
    --red-primary: #c41e3a;
    --red-light: #fde8eb;
    --gold: #f5b81b;
    --gold-soft: #fff4e0;
    --cream: #fefcf8;
    --text-dark: #1e2f3a;
    --text-gray: #5a6e7c;
    
    --bg-hero: linear-gradient(135deg, #1a3c5e 0%, #2a5a7a 100%);
    --bg-jurusan: #f8fafc;
    --bg-kelulusan: white;
    --bg-kontak: #f0f7f4;
    --bg-footer: #1a3c5e;
}

.blob-1, .blob-2, .blob-3 {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    width: 350px;
    height: 350px;
    background: #c41e3a20;
    top: -100px;
    right: -50px;
}

.blob-2 {
    width: 450px;
    height: 450px;
    background: #f5b81b20;
    bottom: 10%;
    left: -150px;
}

.blob-3 {
    width: 280px;
    height: 280px;
    background: #1a3c5e20;
    bottom: 5%;
    right: 5%;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 0.8rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(245, 184, 27, 0.2);
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 0.7rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h3 {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-deep), var(--red-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.logo p {
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 600;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-deep);
    transition: 0.2s;
}

.nav-menu a:hover {
    color: var(--red-primary);
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--blue-deep);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    background-image: url('https://lahatpos.disway.id/upload/d5db5062b7e548f378a190ec23c4f6c4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.section-wrap {
    padding: 5rem 2rem;
}

#jurusan {
    background: #f8fafc;
}

#kelulusan {
    background: white;
}

#kontak {
    background: #f0f7f4;
}

.container-simple {
    max-width: 1280px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--red-primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 2rem;
}

.jurusan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.jur-card {
    background: white;
    border-radius: 32px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.5, 1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0ede8;
    position: relative;
    overflow: hidden;
}

.jur-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red-primary), var(--gold), var(--blue-deep));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.jur-card:hover::before {
    transform: scaleX(1);
}

.jur-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 35px -12px rgba(196, 30, 58, 0.12);
    border-color: rgba(245, 184, 27, 0.3);
}

.jur-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.jur-card:nth-child(1) .jur-icon { color: var(--blue-deep); }
.jur-card:nth-child(2) .jur-icon { color: var(--red-primary); }
.jur-card:nth-child(3) .jur-icon { color: var(--gold); }
.jur-card:nth-child(4) .jur-icon { color: var(--blue-deep); }
.jur-card:nth-child(5) .jur-icon { color: var(--red-primary); }
.jur-card:nth-child(6) .jur-icon { color: var(--gold); }
.jur-card:nth-child(7) .jur-icon { color: var(--blue-deep); }
.jur-card:nth-child(8) .jur-icon { color: var(--red-primary); }
.jur-card:nth-child(9) .jur-icon { color: var(--gold); }
.jur-card:nth-child(10) .jur-icon { color: var(--blue-deep); }
.jur-card:nth-child(11) .jur-icon { color: var(--red-primary); }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.tag-list span {
    background: #f5f0eb;
    padding: 0.2rem 0.9rem;
    border-radius: 30px;
    font-size: 0.7rem;
    color: var(--blue-deep);
}

/* STYLE TIMER CARD - GANTI TOMBOL SPMB */
.timer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    padding: 0.1rem;
    border: 1px solid rgba(255,215,0,0.3);
    transition: all 0.3s ease;
    width: 100%;
}

.timer-inner {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 48px;
    padding: 1.4rem 1.8rem;
    text-align: center;
    backdrop-filter: blur(4px);
}

.timer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.timer-title i {
    font-size: 1.2rem;
    color: #ffd966;
}

.date-highlight {
    background: rgba(245, 184, 27, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 60px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffecb3;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.countdown-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 1rem 0 0.8rem;
    flex-wrap: wrap;
}

.time-block {
    background: rgba(255,255,240,0.12);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    padding: 0.6rem 0.2rem;
    flex: 1;
    min-width: 60px;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.2);
}

.time-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.time-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,200,0.85);
    font-weight: 500;
}

.timer-note {
    font-size: 0.7rem;
    color: #ffecb3;
    background: rgba(0,0,0,0.4);
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    margin-top: 0.75rem;
}

.info-pendaftaran {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.info-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.info-badge i {
    color: var(--gold);
    font-size: 0.9rem;
}

.info-badge strong {
    color: var(--gold);
    font-weight: 700;
}

.info-badge-secondary {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--gold-soft);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-soft {
    background: white;
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(245, 184, 27, 0.25);
}

.stats-grid-soft {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-soft .num {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--red-primary);
}

.hero-left .chip {
    background: var(--red-light);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--red-primary);
    margin-bottom: 1.5rem;
}

.hero-left h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #96caff;
}

.hero-left h1 span {
    background: linear-gradient(120deg, var(--red-primary), var(--gold));
    background-repeat: no-repeat;
    background-size: 100% 35%;
    background-position: bottom;
}

.hero-desc {
    margin: 1.2rem 0 2rem;
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info-single {
    background: white;
    border-radius: 36px;
    padding: 2rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0eae4;
}

.maps-container {
    width: 100%;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 1rem;
}

.maps-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-modern {
    background: var(--blue-deep);
    color: #cbdae6;
    text-align: center;
    padding: 2.5rem;
    font-size: 0.8rem;
    border-top: 3px solid var(--gold);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 2rem;
        border-radius: 24px;
        gap: 1rem;
        box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    }
    .menu-icon {
        display: block;
    }
    .hero-left h1 {
        font-size: 2.5rem;
    }
    .countdown-wrapper {
        gap: 0.4rem;
    }
    .time-number {
        font-size: 1.4rem;
    }
    .timer-inner {
        padding: 1rem;
    }
    .info-pendaftaran {
        flex-direction: column;
        gap: 0.75rem;
    }
}
/* JADWAL SPMB CARDS */
.jadwal-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0ede8;
}

.jadwal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.15);
}

.jadwal-header {
    background: linear-gradient(135deg, var(--blue-deep), #2a5a7a);
    padding: 1.5rem;
    text-align: center;
    color: white;
    position: relative;
}

.jadwal-header i {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.jadwal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.jalur-badge {
    display: inline-block;
    background: rgba(245, 184, 27, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 0.5rem;
    backdrop-filter: blur(4px);
}

.jadwal-body {
    padding: 1.5rem;
}

.jadwal-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0eae4;
}

.jadwal-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.jadwal-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--blue-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    font-size: 1.1rem;
}

.jadwal-content {
    flex: 1;
}

.jadwal-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red-primary);
    margin-bottom: 0.25rem;
}

.jadwal-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 0.25rem;
}

.jadwal-desc {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.4;
}
/* DOKUMEN GRID STYLES */
.dokumen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.dokumen-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f0ede8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.dokumen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--red-primary), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dokumen-card:hover::before {
    transform: scaleX(1);
}

.dokumen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -12px rgba(196, 30, 58, 0.15);
    border-color: rgba(245, 184, 27, 0.3);
}

.dokumen-icon {
    font-size: 2.2rem;
    color: var(--blue-deep);
    margin-bottom: 1rem;
}

.dokumen-number {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--blue-soft);
    color: var(--blue-deep);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.dokumen-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 0.25rem;
}

.dokumen-desc {
    font-size: 18px;
    color: var(--red-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.dokumen-arrow {
    display: flex;
    justify-content: flex-end;
    color: var(--gold);
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.dokumen-card:hover .dokumen-arrow {
    transform: translateX(5px);
}

/* DOKUMEN LIST STYLES */
.dokumen-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dokumen-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0eae4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dokumen-list li:last-child {
    border-bottom: none;
}

.dokumen-list li i {
    color: var(--red-primary);
    font-size: 1rem;
    width: 24px;
}

.dokumen-list li strong {
    color: var(--blue-deep);
}

.sub-list {
    list-style: none;
    padding-left: 2rem;
    margin: 0.5rem 0;
}

.sub-list li {
    border-bottom: none;
    padding: 0.35rem 0;
    font-size: 0.85rem;
}

.sub-list li i {
    font-size: 0.7rem;
    width: 20px;
}
/* UNDUHAN (DOWNLOAD) STYLES */
.unduhan-card {
    background: white;
    border-radius: 32px;
    padding: 1.5rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0ede8;
    position: sticky;
    top: 100px;
}

.unduhan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed #f0eae4;
}

.unduhan-header i {
    font-size: 2.5rem;
    color: var(--red-primary);
    margin-bottom: 0.5rem;
}

.unduhan-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 0.5rem;
}

.unduhan-header p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.unduhan-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.unduhan-list::-webkit-scrollbar {
    width: 4px;
}

.unduhan-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.unduhan-list::-webkit-scrollbar-thumb {
    background: var(--red-primary);
    border-radius: 2px;
}

.unduhan-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #f0ede8;
}

.unduhan-item:hover {
    background: white;
    border-color: var(--red-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.1);
}

.unduhan-icon {
    width: 48px;
    height: 48px;
    background: var(--red-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    font-size: 1.5rem;
}

.unduhan-info {
    flex: 1;
}

.unduhan-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-deep);
    margin-bottom: 0.2rem;
}

.unduhan-desc {
    font-size: 0.7rem;
    color: var(--text-gray);
}

.unduhan-btn {
    background: var(--blue-deep);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.unduhan-btn:hover {
    background: var(--red-primary);
    color: white;
}

@media (max-width: 900px) {
    .dokumen-grid {
        grid-template-columns: 1fr;
    }
    
    .unduhan-card {
        position: static;
        margin-top: 1rem;
    }
}
/* RESPONSIVE MOBILE UNTUK DOKUMEN SECTION */
@media (max-width: 900px) {
    .dokumen-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Layout 2 kolom menjadi 1 kolom di mobile */
    .dokumen-layout {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    /* Card unduhan tidak sticky di mobile */
    .unduhan-card {
        position: static;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    /* Header unduhan di mobile */
    .unduhan-header {
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }
    
    .unduhan-header i {
        font-size: 1.8rem;
    }
    
    .unduhan-header h3 {
        font-size: 1rem;
    }
    
    .unduhan-header p {
        font-size: 0.7rem;
    }
    
    /* List unduhan di mobile */
    .unduhan-list {
        max-height: none;
        gap: 0.8rem;
    }
    
    .unduhan-item {
        flex-wrap: wrap;
        padding: 0.8rem;
        gap: 0.7rem;
    }
    
    .unduhan-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .unduhan-info {
        flex: 1;
        min-width: 150px;
    }
    
    .unduhan-title {
        font-size: 0.8rem;
    }
    
    .unduhan-desc {
        font-size: 0.65rem;
    }
    
    .unduhan-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.2rem;
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Card dokumen di mobile */
    .dokumen-card {
        padding: 1rem;
    }
    
    .dokumen-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .dokumen-title {
        font-size: 0.9rem;
    }
    
    .dokumen-desc {
        font-size: 18px;
    }
    
    .dokumen-number {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
        top: 0.8rem;
        right: 0.8rem;
    }
}
/* RESPONSIVE MOBILE untuk layout 2 kolom */
@media (max-width: 768px) {
    .dokumen-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .dokumen-grid {
        grid-template-columns: 1fr !important;
    }
}
/* PERBAIKAN MODAL UNTUK MOBILE */
#modalDokumen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    z-index: 2200;
    overflow-y: auto;
    padding: 20px;
    display: none;
}

#modalDokumen .modal-content {
    background: white;
    max-width: 550px;
    width: 100%;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 30px 50px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Styling scroll untuk konten modal */
#modalDokumen .modal-content::-webkit-scrollbar {
    width: 4px;
}

#modalDokumen .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#modalDokumen .modal-content::-webkit-scrollbar-thumb {
    background: var(--red-primary);
    border-radius: 4px;
}

/* Header modal */
.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    background: white;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0eae4;
    z-index: 10;
}

.modal-header-custom h3 {
    color: var(--red-primary);
    font-size: 1.5rem;
    margin: 0;
}

#closeModalDokumen {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

#closeModalDokumen:hover {
    color: var(--red-primary);
}

/* Body modal - bisa di-scroll */
.modal-body-custom {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Tombol di modal */
#tutupModalDokumenBtn {
    background: var(--blue-deep);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    position: sticky;
    bottom: 0;
    margin-top: 1rem;
}

#tutupModalDokumenBtn:hover {
    background: var(--red-primary);
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    #modalDokumen {
        padding: 10px;
        align-items: flex-start;
    }
    
    #modalDokumen .modal-content {
        padding: 1.5rem;
        max-height: 95vh;
        border-radius: 24px;
    }
    
    .modal-header-custom h3 {
        font-size: 1.2rem;
    }
    
    #closeModalDokumen {
        font-size: 1.5rem;
    }
    
    .modal-body-custom {
        font-size: 0.85rem;
    }
    
    /* Daftar dokumen di modal */
    .dokumen-list li {
        padding: 0.6rem 0;
        font-size: 0.85rem;
    }
    
    .sub-list {
        padding-left: 1.5rem;
    }
    
    .sub-list li {
        font-size: 0.8rem;
    }
}