/* assets/css/style.css */

/* --- Variabel & Pengaturan Dasar --- */
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --wa-color: #25d366;
    --wa-hover: #1da851;
    --bg-light: #f4f6f9;
    --card-border: #e9ecef;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: #333333;
}

/* --- Custom Navbar --- */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

/* --- Custom Card & Form --- */
.card {
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    padding: 0.85rem 1.25rem;
}

.form-label {
    color: #495057;
    margin-bottom: 0.3rem;
}

.form-select-sm, .form-control-sm {
    border-radius: 6px;
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* --- Custom Tabel --- */
.table-responsive {
    border-radius: 0 0 10px 10px;
}

.table {
    margin-bottom: 0;
    vertical-align: middle;
}

.table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    background-color: #212529;
    color: #ffffff;
    border-bottom: none;
    padding: 0.75rem 1rem;
}

.table tbody tr {
    transition: background-color 0.15s ease-in-out;
}

.table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.04) !important;
}

/* --- Custom Badge Status Siswa --- */
.badge-status {
    padding: 0.4em 0.75em;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.3px;
    display: inline-block;
}

.badge-siap {
    background-color: #e3f2fd;
    color: #0d6efd;
    border: 1px solid #b6d4fe;
}

.badge-seleksi {
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffe69c;
}

.badge-diterima {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #a3cfbb;
}

.badge-batal {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* --- Tombol Panggil WhatsApp --- */
.btn-whatsapp {
    background-color: var(--wa-color);
    color: #ffffff;
    border: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-whatsapp:hover {
    background-color: var(--wa-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

/* --- Penyesuaian Layar Kecil (Mobile) --- */
@media (max-width: 768px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}