
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: Arial, sans-serif; background-color: #f4f4f4; color: #333; line-height: 1.6; }
        a { text-decoration: none; color: inherit; }

        /* --- Header & Navigation --- */
        .top-bar { background-color: #fff; border-bottom: 3px solid #004d99; box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: sticky; top: 0; width: 100%; z-index: 1000; }
        .header-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; background: linear-gradient(to right, #004d99 30%, #ffc107 70%); color: white; }
        .logo { width: 40px; height: 40px; margin-right: 10px; }
        .title-text { display: flex; flex-direction: column; font-weight: bold; font-size: 14px; }
        
        .main-nav { background-color: #fff; padding: 0 5%; border-bottom: 3px solid #f4f4f4; }
        .main-nav ul { list-style: none; display: flex; margin-bottom: 0; }
        .main-nav li a { display: block; padding: 15px; color: #333; font-weight: bold; border-bottom: 3px solid transparent; transition: all 0.3s; }
        .main-nav li a:hover, .main-nav li a.active { color: #004d99; border-bottom: 3px solid #004d99; }

        /* --- Content Layout --- */
        main { padding: 20px 5%; min-height: 80vh; }
        .section-title { font-size: 1.2em; font-weight: bold; color: #004d99; border-left: 4px solid #ffc107; padding-left: 10px; margin: 20px 0 15px 0; }

        /* --- Tab Styling --- */
        .nav-pills .nav-link { color: #555; border: 1px solid #ddd; margin-right: 5px; font-size: 13px; font-weight: bold; }
        .nav-pills .nav-link.active { background-color: #004d99; color: white; }

      
    

        /* --- Footer --- */
        .site-footer { background-color: #ffc107; color: #333; padding: 30px 5%; text-align: center; margin-top: 50px; }
        .social-icons a { color: #004d99; font-size: 1.5em; margin: 0 10px; }

        @media (max-width: 768px) {
            .header-container { flex-direction: column; text-align: center; }
            .main-nav ul { flex-wrap: wrap; justify-content: center; }
        }

.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.75em;
    font-weight: bold;
    margin-top: 2px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake-error {
    animation: shake 0.2s ease-in-out 0s 2;
}

#ppdbForm input[type="file"] {
            display: block;
            width: 100%;
            padding: 0.375rem 0.75rem;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: #212529;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
            transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        }
        .section-title-line {
            border-left: 5px solid #007bff;
            padding-left: 15px;
            margin-bottom: 20px;
            font-weight: bold;
            color: #333;
        }

.link-terkait-section {
    margin-top: 60px;
    margin-bottom: 40px;
    width: 100%;
}
.link-title {
    text-align: center !important;
    font-size: 1.8rem;
    font-weight: 800;
    color: #333333;
    margin-bottom: 35px;
    text-transform: uppercase;
    border: none !important;
    padding-left: 0 !important;
}

.link-title .terkait-text {
    color: #ffc107; 
}
.link-terkait-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important; 
    align-items: stretch;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto !important;
}
.link-terkait-grid a {
    display: block;
    flex: 0 1 calc(25% - 20px);
    min-width: 200px;
    max-width: 240px;
    text-decoration: none !important;
}
.link-item {
    background-color: #ffffff;
    border: 1px solid #e3e6ec;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.link-terkait-grid a:hover .link-item {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 77, 153, 0.1);
    border-color: #004d99;
}
.link-item img.img-link {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
}

.link-terkait-grid a:hover .link-item img {
    transform: scale(1.08); 
}
.link-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #495057;
    line-height: 1.4;
    display: block;
}
.ppdb-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a !important;
}
.alert.ppdb-alert-blue {
    background-color: #e0f2fe !important;
    border: none !important;
    border-left: 5px solid #2563eb !important; 
    border-radius: 8px !important;
    padding: 16px 24px !important;
}
.ppdb-alert-icon-box i {
    color: #ef4444 !important; 
    font-size: 1.15rem;
}
.ppdb-alert-text {
    font-size: 0.92rem;
    color: #1e40af !important; 
    font-weight: 500;
}
.card.ppdb-info-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #f1f5f9 !important;
}
.ppdb-card-heading {
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    color: #0f172a !important;
}
.ppdb-table-box {
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
}

.ppdb-table-box table {
    width: 100% !important;
    border-collapse: collapse !important;
}
.ppdb-table-box table thead tr {
    background-color: #2563eb !important; 
}
.ppdb-table-box table thead th {
    background-color: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 14px 20px !important;
    border: none !important;
    text-transform: capitalize;
}
/* Style Baris Isi Data Tabel PPDB */
.ppdb-table-box table tbody td {
    padding: 14px 20px !important;
    font-size: 0.92rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: #ffffff !important;
}
/* Efek Hover Garis Data */
.ppdb-table-box table tbody tr:hover td {
    background-color: #f8fafc !important;
}
.ppdb-table-box table tbody tr:last-child td {
    border-bottom: none !important;
}
/* Penegasan Khusus untuk Baris Nilai Total */
.ppdb-table-box table tbody tr.ppdb-total-row td {
    background-color: #f8fafc !important;
    font-size: 0.95rem !important;
    border-top: 2px solid #e2e8f0 !important;
}
/* Penyelaras Responsif di Layar HP */
@media (max-width: 576px) {
    .ppdb-main-title { font-size: 1.5rem; }
    .ppdb-table-box table thead th, 
    .ppdb-table-box table tbody td {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
    }
}
/* Responsivitas Layar Ponsel & Tablet */
@media (max-width: 768px) {
    .link-terkait-grid a {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .link-title {
        font-size: 1.4rem;
    }
    .link-terkait-grid {
        gap: 15px;
    }
    .link-terkait-grid a {
        flex: 0 1 100%;
        max-width: 100%;
    }
}
