.ppdb-registration-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ppdb-registration-form h2 {
    color: #2c5aa0;
    text-align: center;
    margin-bottom: 10px;
}

.ppdb-registration-form h3 {
    color: #2c5aa0;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 10px;
    margin-top: 30px;
}

.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2c5aa0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 5px rgba(44, 90, 160, 0.3);
}

.ppdb-submit-btn {
    background: #2c5aa0;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.ppdb-submit-btn:hover {
    background: #1e3d6f;
}

.ppdb-alert {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ppdb-table-container {
    overflow-x: auto;
}

.ppdb-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.ppdb-table th,
.ppdb-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.ppdb-table th {
    background: #2c5aa0;
    color: white;
}

.ppdb-table tr:hover {
    background: #f5f5f5;
}

.ppdb-export-btn {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 20px;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .ppdb-registration-form {
        padding: 10px;
    }
}


/* Error States */
.ppdb-form input.error,
.ppdb-form select.error,
.ppdb-form textarea.error {
    border-color: #dc3232;
    box-shadow: 0 0 5px rgba(220, 50, 50, 0.3);
}

.field-error {
    color: #dc3232;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.ppdb-alert.ppdb-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ppdb-alert.ppdb-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ppdb-alert-actions {
    margin-top: 15px;
}

.ppdb-alert-actions .button {
    margin-right: 10px;
}




/* Styles untuk Bukti Pendaftaran dan Pembayaran */
.ppdb-bukti-pendaftaran,
.ppdb-payment-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.ppdb-bukti-actions,
.ppdb-payment-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ppdb-print-btn, 
.ppdb-bayar-btn, 
.ppdb-data-btn,
.whatsapp-confirm-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.ppdb-print-btn {
    background: #2c5aa0;
    color: white;
}

.ppdb-bayar-btn {
    background: #28a745;
    color: white;
}

.ppdb-data-btn {
    background: #6c757d;
    color: white;
}

.whatsapp-confirm-btn {
    background: #25D366;
    color: white;
}

.whatsapp-confirm-btn:hover {
    background: #128C7E;
}

.status-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-paid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Print Styles untuk Bukti Pendaftaran */
@media print {
    .ppdb-bukti-actions,
    .ppdb-payment-info,
    .ppdb-payment-status,
    .ppdb-payment-actions {
        display: none !important;
    }
    
    .ppdb-bukti-content {
        border: none !important;
        padding: 0 !important;
    }
    
    .ppdb-status-info {
        background: none !important;
        border: none !important;
        padding: 0 !important;
    }
}

