/* ==========================================================================
   GLOBAL TYPOGRAPHY & BODY
   ========================================================================== */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Poppins', sans-serif;
}


/* ==========================================================================
   GLOBAL COMPONENTS & UTILITIES
   ========================================================================== */


/* Navbar Styling */

.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd !important;
}


/* CSS untuk Teks Berjalan Modern */

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 25s linear infinite;
    padding-left: 100%;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-item {
    display: inline-block;
    margin-right: 40px;
}


/* KUNCI RESPONSIVITAS TICKER (FULL DI HP, 35% DI DESKTOP) */

.ticker-box {
    width: 100%;
}

@media (min-width: 992px) {
    .ticker-box {
        max-width: 35%;
        margin-left: auto;
        /* Dorong merapat ke kanan */
        padding-left: 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.25);
        /* Garis pemisah khusus desktop */
    }
}


/* Animasi Tombol & Card (Hover Lift) */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}


/* Footer Styling */

.footer-custom {
    background-color: #15171c;
    /* Sedikit lebih gelap agar kontras */
    color: #a0aec0;
    border-top: 4px solid #0d6efd;
    /* Garis aksen biru di atas footer */
}

.footer-link {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(6px);
    /* Efek geser ke kanan yang elegan */
}

.footer-contact-list li {
    line-height: 1.6;
}

.tracking-wider {
    letter-spacing: 1.5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* Tombol Sosial Media Footer */

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    transform: translateY(-4px);
    color: #fff;
}


/* Warna asli saat disorot */

.social-btn.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-btn.youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
}

.social-btn.tiktok:hover {
    background-color: #000000 !important;
    border-color: #fe2c55 !important;
    /* Aksen warna TikTok merah/cyan */
    box-shadow: 2px 0px 0px #fe2c55, -2px 0px 0px #25f4ee;
}


/* Class utilitas untuk perlindungan konten (Anti-Copy) */

.unselectable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* ==========================================================================
   MASTER CSS - FRONTEND SMASANFA
   ========================================================================== */


/* --- 1. HERO CAROUSEL ANIMATIONS --- */

.hero-slider-img {
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.5);
    /* Sedikit lebih gelap agar teks terbaca jelas */
    transform: scale(1);
    transition: transform 6s ease-in-out;
    /* Efek Slow Zoom */
}


/* Saat slide aktif, gambar akan perlahan membesar */

.carousel-item.active .hero-slider-img {
    transform: scale(1.05);
}


/* Animasi Muncul dari Bawah ke Atas (Smooth) */

@keyframes customFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Teks dan Tombol disembunyikan di awal */

.hero-title,
.hero-subtitle,
.hero-btn-group {
    opacity: 0;
}


/* Teks dan tombol muncul bergantian (Staggered) saat slide aktif */

.carousel-item.active .hero-title {
    animation: customFadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.3s;
}

.carousel-item.active .hero-subtitle {
    animation: customFadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.6s;
}

.carousel-item.active .hero-btn-group {
    animation: customFadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.9s;
}


/* --- 2. GLOBAL COMPONENTS --- */

.section-title {
    color: #3f51b5;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- 3. HOMEPAGE SPECIFIC --- */

.bg-counter {
    /* Pastikan path gambar menyesuaikan letak folder CSS-mu */
    background: linear-gradient(rgba(13, 110, 253, 0.85), rgba(13, 110, 253, 0.9)), url('../images/bg-counter.jpg') center/cover fixed;
}

.post-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.alumni-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-top: 50px;
    /* Memberi ruang untuk foto yang menonjol ke atas */
}

.alumni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.15);
}

.alumni-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0d6efd;
    margin: -60px auto 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* ==========================================================================
   TOPBAR & NAVBAR COMPONENTS
   ========================================================================== */


/* Efek kedip untuk label INFO BARU */

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.animation-pulse {
    animation: pulse-red 2s infinite;
}


/* Memperhalus efek hover link */

.navbar .nav-link {
    transition: color 0.2s ease, transform 0.15s ease;
}


/* =====================================
   DROPDOWN HOVER DESKTOP (Termasuk Nested Dropend)
===================================== */

@media (min-width: 992px) {
    .navbar .nav-link:hover {
        transform: translateY(-1px);
    }
    /* 1. Posisi awal SEMUA dropdown menu */
    .navbar .dropdown-menu {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.25s ease;
        display: block;
        visibility: hidden;
        margin-top: 0;
    }
    /* 2. Munculkan HANYA dropdown menu level pertama saat parent di-hover */
    .navbar .nav-item.dropdown:hover>.dropdown-menu {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    /* 3. Posisi awal SUB-DROPDOWN (Level 2 / Dropend) */
    .dropdown-menu .dropend .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        /* Muncul di sebelah kanan menu induknya */
        transform: translateX(10px);
        /* Efek geser dari kiri ke kanan */
        transition: all 0.25s ease;
    }
    /* 4. Munculkan SUB-DROPDOWN saat .dropend di-hover */
    .dropdown-menu .dropend:hover>.dropdown-menu {
        opacity: 1;
        transform: translateX(0);
        visibility: visible;
    }
}


/* =====================================
   STYLING KHUSUS UNTUK MODE MOBILE
===================================== */

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        margin-top: 10px;
    }
    /* Beri garis pemisah halus antar menu di HP */
    .navbar-nav .nav-item {
        border-bottom: 1px solid #f1f5f9;
        padding: 5px 0;
    }
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    /* Rapikan dropdown utama di HP */
    .navbar .dropdown-menu {
        border: none;
        background-color: #f8f9fa;
        padding-left: 1rem;
        margin-top: 5px;
    }
    /* 1. Sembunyikan Sub-Dropdown secara default di HP */
    .dropdown-menu .dropend .dropdown-menu {
        display: none;
        background-color: #ffffff;
        border-left: 2px solid #0d6efd;
        /* Garis penanda visual sub-menu */
        margin-left: 10px;
        padding-left: 15px;
        margin-top: 5px;
        box-shadow: none;
    }
    /* 2. Munculkan Sub-Dropdown JIKA diklik (Class .show dari Javascript) */
    .dropdown-menu .dropend .dropdown-menu.show {
        display: block;
    }
}


/* ==========================================================================
   PAGE: PROFIL SEKOLAH
   ========================================================================== */

.about-text {
    text-align: justify;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #4a5568;
}

.about-text p {
    margin-bottom: 1.5rem;
}


/* Kotak Informasi Cepat (Quick Facts) */

.fact-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 110, 253, 0.2);
}

.fact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(102, 16, 242, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0d6efd;
    margin-bottom: 20px;
}


/* Peta Interaktif */

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    background-color: #e9ecef;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}


/* UX Quick Nav Buttons (Digunakan di banyak halaman) */

.btn-ux-nav {
    transition: all 0.3s;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-ux-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.15);
}


/* ==========================================================================
   PAGE: VISI & MISI
   ========================================================================== */

.vision-box {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #0d6efd;
    position: relative;
    z-index: 1;
}

.vision-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #1a1d24;
    font-weight: 600;
    font-style: italic;
}


/* Misi List Styling */

.mission-list {
    list-style: none;
    padding-left: 0;
}

.mission-list li {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-left: 4px solid #fbb900;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
}

.mission-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left-color: #0d6efd;
}

.mission-icon {
    color: #0d6efd;
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: -2px;
}


/* ==========================================================================
   PAGE: FASILITAS SEKOLAH
   ========================================================================== */

.fasilitas-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fasilitas-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fasilitas-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.fasilitas-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fasilitas-card:hover .fasilitas-img {
    transform: scale(1.08);
}

.fasilitas-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
    border: 3px solid #fff;
    z-index: 2;
}


/* ==========================================================================
   PAGE: STRUKTUR ORGANISASI
   ========================================================================== */

.struktur-wrapper {
    background-color: #fff;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.struktur-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.struktur-img:hover {
    transform: scale(1.02);
}

.zoom-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(13, 110, 253, 0.9);
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.employee-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.employee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 110, 253, 0.2);
}

.employee-photo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #3f51b5, #0d6efd);
    margin-top: 25px;
    margin-bottom: 15px;
}

.employee-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    background-color: #f8f9fa;
}


/* ==========================================================================
   PAGE: BERITA & SIDEBAR
   ========================================================================== */

.post-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Menimpa border none dari index */
}

.post-card .card-img-top {
    transition: transform 0.5s ease;
}

.post-card:hover .card-img-top {
    transform: scale(1.05);
}

.img-wrapper {
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}


/* Styling Sidebar */

.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-widget-title {
    background: #fff;
    padding: 18px 20px;
    font-weight: 800;
    border-bottom: 2px solid #f8f9fa;
    color: #1a1d24;
    margin: 0;
    font-size: 1.1rem;
}


/* ==========================================================================
   PAGE: BACA BERITA (SINGLE POST)
   ========================================================================== */

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.article-content a {
    color: #0d6efd;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 15px;
    color: #6c757d;
    font-style: italic;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}


/* ==========================================================================
   PAGE: EKSTRAKURIKULER
   ========================================================================== */

.parallax-header {
    background: linear-gradient(rgba(26, 29, 36, 0.8), rgba(26, 29, 36, 0.85)), url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') center/cover fixed;
    padding: 100px 0;
}

.table-custom {
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom thead th {
    background-color: #3f51b5;
    color: #fff;
    border: none;
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.table-custom thead th:first-child {
    border-top-left-radius: 10px;
}

.table-custom thead th:last-child {
    border-top-right-radius: 10px;
}

.table-custom tbody tr {
    transition: all 0.3s ease;
}

.table-custom tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05) !important;
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table-custom tbody td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}


/* ==========================================================================
   PAGE: JADWAL PELAJARAN
   ========================================================================== */

.schedule-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.schedule-header {
    background-color: #3f51b5;
    color: #fff;
    padding: 15px 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 4px solid #fbb900;
}

.schedule-item {
    padding: 12px 20px;
    border-bottom: 1px dashed #e9ecef;
    transition: background-color 0.2s ease;
}

.schedule-item:hover {
    background-color: rgba(13, 110, 253, 0.03);
}

.schedule-item:last-child {
    border-bottom: none;
}

.time-badge {
    background-color: #e9ecef;
    color: #4a5568;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 5px;
}


/* ==========================================================================
   PAGE: KALENDER AKADEMIK
   ========================================================================== */

.timeline-month-header {
    background-color: #f8f9fa;
    border-left: 5px solid #0d6efd;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    color: #1a1d24;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.event-card {
    border-left: 4px solid #0d6efd;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.event-card.is-holiday {
    border-left-color: #dc3545;
    background-color: #fff5f5;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

.date-box {
    background: #0d6efd;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    min-width: 80px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

.date-box.is-holiday {
    background: #dc3545;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
}

.date-box .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.date-box .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}


/* ==========================================================================
   PAGE: HUBUNGI KAMI (KONTAK)
   ========================================================================== */

#map_canvas {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    /* Warna dasar selagi map meload */
}

.fa-contact {
    font-size: 26px;
    color: #fbb900;
}

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    font-size: 0.95rem;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: #fff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
}

.is-divider {
    height: 3px;
    width: 50px;
    background-color: #fbb900;
    margin-top: 10px;
}


/* ==========================================================================
   PAGE: PRESTASI SISWA
   ========================================================================== */


/* Styling Accordion Ala St. Louis */

.accordion-custom .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background-color: #f8f9fa;
    color: #1a1d24;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
    border-left: 5px solid #0d6efd;
    box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: #0d6efd;
    color: #fff;
    border-left-color: #fbb900;
}

.accordion-custom .accordion-button::after {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.accordion-custom .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}


/* Styling Tabel Prestasi */

.table-prestasi th {
    background-color: transparent;
    color: #6c757d;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 2px solid #e9ecef;
}

.table-prestasi td {
    vertical-align: middle;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f1f1;
}

.table-prestasi tr:hover {
    background-color: rgba(13, 110, 253, 0.03);
}


/* ==========================================================================
   PAGE: PUSAT UNDUHAN
   ========================================================================== */


/* Styling List File Unduhan */

.download-list-item {
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.download-list-item:hover {
    background-color: #f8f9fa;
    border-left-color: #0d6efd;
}

.file-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    border-radius: 12px;
    font-size: 2rem;
}


/* Animasi Toast Javascript */

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.toast-anim-in {
    animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-anim-out {
    animation: slideOutDown 0.4s ease-in forwards;
}