/* CSS Frontend Petugas Absensi */
.petugas-header {
    background: linear-gradient(135deg, #198754 0%, #0d6efd 100%);
    color: white;
    padding: 2rem 1rem;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}

.petugas-header h1 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.asrama-tab-btn {
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 25px;
    transition: all 0.2s ease;
}

/* Tabel Absensi Styling */
.table-absensi th {
    vertical-align: middle;
    text-align: center;
    background-color: #f1f3f5;
    font-weight: 600;
}

.table-absensi td {
    vertical-align: middle;
}

.status-radio-group {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.status-radio-label {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    font-weight: 500;
    font-size: 0.875rem;
    user-select: none;
    transition: all 0.15s ease-in-out;
}

.status-radio-input {
    display: none;
}

/* Color states when radio checked */
.status-radio-input[value="masuk"]:checked + .status-radio-label {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.status-radio-input[value="izin"]:checked + .status-radio-label {
    background-color: #0dcaf0;
    color: #000;
    border-color: #0dcaf0;
}

.status-radio-input[value="sakit"]:checked + .status-radio-label {
    background-color: #ffc107;
    color: #000;
    border-color: #ffc107;
}

.status-radio-input[value="alfa"]:checked + .status-radio-label {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.status-radio-input[value="non_mukim"]:checked + .status-radio-label {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-header-check {
    font-size: 0.75rem;
    padding: 3px 8px;
    margin-top: 4px;
    border-radius: 4px;
    display: block;
    width: 100%;
}

/* Screenshot & Rekap Card */
#rekap-screenshot-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    font-family: 'Courier New', Courier, monospace, sans-serif;
}

.rekap-header-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px dashed #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.rekap-section-title {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}

.keterangan-input-box {
    transition: all 0.2s ease;
}
