/* ==========================================
   PPDB.CSS - PPDB (Penerimaan Peserta Didik Baru)
   Form Pendaftaran dan Halaman PPDB
   ========================================== */

.ppdb-hero {
    background: #1e293b;
    padding: 50px 0 40px;
    text-align: center;
}

.ppdb-hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.ppdb-hero p.hero-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ── INFO CARDS ── */
.ppdb-info-section {
    padding: 56px 0 0;
}

.ppdb-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.ppdb-info-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ppdb-info-card h5 .icon-wrap {
    width: 28px;
    height: 28px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ppdb-info-card h5 .icon-wrap i {
    font-size: 11px;
    color: #f97316;
}

.ppdb-info-card ul,
.ppdb-info-card ol {
    margin: 0;
    padding-left: 18px;
}

.ppdb-info-card li {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.9;
}

.program-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.program-badge {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
}

/* ── FORM SECTION ── */
.ppdb-form-section {
    padding: 36px 0 80px;
}

.ppdb-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.ppdb-form-header {
    background: #1e293b;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.ppdb-form-header .header-icon {
    width: 38px;
    height: 38px;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ppdb-form-header .header-icon i {
    color: #f97316;
    font-size: 14px;
}

.ppdb-form-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.ppdb-form-header p {
    color: rgba(255,255,255,0.5);
    font-size: 12.5px;
    margin: 2px 0 0;
}

.ppdb-form-body {
    padding: 36px 32px;
}

/* ── SECTION DIVIDER (tanpa nomor) ── */
.ppdb-section-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 32px 0 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.ppdb-section-divider:first-child {
    margin-top: 0;
}

.ppdb-section-divider h6 {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    white-space: nowrap;
}

.ppdb-section-divider .divider-line {
    flex: 1;
}

/* ── FORM CONTROLS ── */
.ppdb-form-body .form-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.ppdb-form-body .form-control,
.ppdb-form-body .form-select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.15s ease;
    box-shadow: none !important;
    width: 100%;
}

.ppdb-form-body .form-control:focus,
.ppdb-form-body .form-select:focus {
    border-color: #1e40af;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,64,175,0.1) !important;
}

.ppdb-form-body .form-control::placeholder {
    color: #9ca3af;
}

.ppdb-form-body .form-control.is-invalid,
.ppdb-form-body .form-select.is-invalid {
    border-color: #ef4444;
}

.ppdb-form-body .invalid-feedback {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

.ppdb-form-body textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.required-star {
    color: #ef4444;
    margin-left: 2px;
    font-size: 13px;
}

.optional-badge {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 2px 8px;
    border-radius: 20px;
}

/* ── SUBMIT - Dark Blue ── */
.btn-ppdb-submit {
    background: #212529;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 44px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn-ppdb-submit:hover {
    background: #343a40;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33,37,41,0.3);
}

.btn-ppdb-submit:focus,
.btn-ppdb-submit:active,
.btn-ppdb-submit:focus-visible {
    background: #212529;
    color: #ffffff;
    outline: none !important;
    box-shadow: none !important;
}

.btn-ppdb-submit i {
    margin-right: 8px;
}

/* ── ALERT ── */
.ppdb-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 6px;
    color: #15803d;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 18px;
    margin-bottom: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .ppdb-hero { 
        padding: 36px 0 28px; 
    }
    
    .ppdb-hero h1 { 
        font-size: 1.4rem; 
    }
    
    .ppdb-form-header { 
        padding: 20px; 
    }
    
    .ppdb-form-body { 
        padding: 24px 16px; 
    }
    
    .btn-ppdb-submit { 
        width: 100%; 
        padding: 12px; 
    }
}