/* Reset Dasar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    /* Latar belakang abu-abu muda */
}

.content-step {
    display: none;
    /* Default: Sembunyikan semua langkah konten */
}

.content-step.active {
    display: block;
    /* Hanya tampilkan langkah yang aktif */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

/* ======================================= */
/* HEADER (Sistem Penerimaan Murid Baru)   */
/* ======================================= */
.app-header {
    background-color: #fff;
    border-bottom: 2px solid #ccc;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-icon {
    color: #004d99;
    /* Warna biru SMK Migas */
    font-size: 28px;
    margin-right: 10px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.tahun-ajaran {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

/* ======================================= */
/* STEPPER (Navigasi Langkah 1-5)          */
/* ======================================= */
.stepper {
    display: flex;
    margin: 20px 0;
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step {
    flex-grow: 1;
    text-align: center;
    padding: 15px 10px;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-right: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Jarak antara nomor dan teks */
}

/* Mengubah style pending (belum aktif) */
/* .step:last-child {
    margin-right: 0;
}

.step.pending {
    background-color: #f7f7f7;
    color: #999;
} */

/* Mengubah style active (langkah saat ini) */
.step.active {
    background-color: #004d99;
    /* Biru tua, seperti di gambar */
    color: #fff;
    border-right: none;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #fff;
    color: #004d99;
    font-size: 14px;
    font-weight: bold;
}

/* Warna nomor langkah saat aktif */
.step.active .step-number {
    background-color: #004d99;
    color: #fff;
    border: 2px solid #fff;
}

/* ======================================= */
/* KONTEN (Ketentuan SPMB)                 */
/* ======================================= */
.content-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-title {
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.subheader-box {
    background-color: #004d99;
    color: #fff;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 20px;
}

p {
font-size: 17px;
font-weight: bold;
margin-bottom: 15px;
color: #004d99;
}

input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
  margin-right: 5px;
}

.unit-text {
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
}

.ketentuan-list {
    list-style-type: none;
    counter-reset: item;
    padding-left: 0;
}

.ketentuan-list li {
    counter-increment: item;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.ketentuan-list li::before {
    content: counter(item);
    background-color: #004d99;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    padding: 5px 10px;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Tombol WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.required::after {
  content: " *";
  color: #dc3545; /* Warna danger Bootstrap */
  font-weight: bold;
}

/* Pengaturan Kolom Input */
.form-row {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.form-label-col {
    flex: 0 0 30%;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    padding-top: 5px;
}

.form-input-col {
    flex: 1;
}

.form-input-col input[type="email"],
.form-input-col input[type="text"],
.form-input-col select,
.form-input-col input[type="date"],
.form-input-col input[type="file"],
.form-input-col input[type="number"]  {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input-col input[type="email"]:focus,
.form-input-col input[type="text"]:focus,
.form-input-col select:focus,
.form-input-col input[type="date"]:focus,
.form-input-col input[type="file"]:focus,
.form-input-col input[type="number"]:focus {
    border-color: #004d99;
}

.input-hint {
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    display: block;
}

/* Khusus untuk menyembunyikan/menampilkan step konten */
.content-step {
    display: none;
}

.content-step.active {
    display: block;
}

/* Tombol Navigasi Internal */
.nav-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #004d99;
    color: white;
}

.btn-primary:hover {
    background-color: #003366;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsif */
@media (max-width: 991px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stepper {
        flex-direction: column;
    }

    .step {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .form-row {
        flex-direction: column;
        border-bottom: none;
        padding-bottom: 0;
    }

    .form-label-col {
        flex: auto;
        padding-right: 0;
        margin-bottom: 5px;
    }

    .form-input-col {
        margin-bottom: 15px;
    }

    .nav-buttons {
        justify-content: center;
    }
}

    .registration-section {
        padding: 50px 20px;
        background-color: #f8f9fa;
        text-align: center;
        font-family: 'Inter', -apple-system, sans-serif;
    }

    .box-body {
        padding: 30px;
    }

    .box-header-content {
        text-align: center;
        padding: 40px 20px 20px 20px;
        border-bottom: 1px solid #f4f4f4;
    }

    .box-header-content h1 {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .box-header-content p {
        font-size: 1.1rem;
        color: #777;
        margin-bottom: 40px;
    }

    .jalur-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Kartu Jalur */
    .jalur-card {
        background: #ffffff;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #eee;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .jalur-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-color: #004d99;
    }

    .jalur-icon {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .jalur-card h3 {
        color: #333;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .jalur-card p {
        color: #666;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
        flex-grow: 1; /* Memastikan tombol selalu di bawah jika teks pendek */
    }

    /* Tombol Biru */
    .btn-daftar {
        background-color: #004d99;
        color: white;
        text-decoration: none;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 600;
        transition: background 0.3s ease;
        display: inline-block;
        width: 80%;
    }

    .btn-daftar:hover {
        background-color: #004d99;
    }