body, html {
    height: 100%; margin: 0; font-family: 'Inter', sans-serif; background-color: #f8f9fa;
}
.custom-css-1 {
    border-radius: 0 0 1rem 1rem; border: none;
    box-shadow: 0 0 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.video-header {
    padding: 1.5rem; border-radius: 0.75rem; margin-bottom: 2.5rem;
    box-shadow: 0 8px 20px rgba(67, 100, 247, 0.3);
}

/* Kalender Styling */
.calendar-grid, .calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar-day, .weekday { padding: 10px; text-align: center; border-radius: 0.5rem; }
.weekday { font-weight: bold; font-size: 0.85rem; color: #6c757d; }
.calendar-day.today { background-color: #ffc107; color: #fff; font-weight: bold; }
.calendar-day.status-checked-in { background-color: #198754; color: white; }
.calendar-day.status-checked-out { background-color: #4364F7; color: white; }

/* Modal Modern Styling */
.modal-content { border: none; border-radius: 1.25rem; overflow: hidden; }
.modal-header-img {
    height: 180px;
    background-image: url('https://images.unsplash.com/photo-1499209974431-9dac3adaf471?q=80&w=2070&auto=format&fit=crop');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #3f81d3;
    position: relative; display: flex; align-items: flex-end; padding: 1.5rem;
}
.modal-header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}
.modal-header-img h1 { position: relative; color: white; font-weight: 700; margin: 0; z-index: 1; }
.suggestion-checklist { max-height: 280px; overflow-y: auto; padding-right: 5px; }
.form-check {
    padding: 0.8rem 1rem; margin-bottom: 0.5rem; border-radius: 0.75rem;
    border: 1px solid #f0f0f0; transition: all 0.2s;
}
.form-check:hover { background-color: #f8faff; border-color: #4364F7; }
.form-check-input:checked + .form-check-label { font-weight: 600; color: #4364F7; }

.summary-note {
    background-color: #f8f9fa; border-left: 4px solid #4364F7;
    padding: 12px 15px; border-radius: 4px; white-space: pre-wrap; font-size: 0.95rem;
}
.form-check .form-check-input {
    margin-left: 0;
}

/* Menghilangkan padding bawaan bootstrap pada form-check */
.custom-radio-box {
    padding-left: 0 !important;
}

/* Gaya Label saat tidak terpilih */
.custom-radio-box .form-check-label {
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6 !important;
    cursor: pointer;
}

/* Gaya Label saat Input Radio di-Check (Aktif) */
.custom-radio-box .form-check-input:checked + .form-check-label {
    background-color: #4364F7; /* Warna tema Anda */
    color: white;
    border-color: #4364F7 !important;
    box-shadow: 0 4px 10px rgba(67, 100, 247, 0.2);
}

.cursor-pointer {
    cursor: pointer;
}

/* Hover effect untuk setiap sel tanggal */
.calendar-day {
    transition: all 0.2s ease;
    cursor: pointer;
}
.calendar-day:hover {
    background-color: #e9ecef; /* Warna abu-abu muda saat hover */
    transform: translateY(-2px); /* Efek sedikit terangkat */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
}
/* Memastikan tanggal yang sudah berwarna tetap terlihat jelas saat hover */
.calendar-day.status-checked-in:hover {
    background-color: #157347; /* Hijau lebih gelap sedikit */
}
.calendar-day.status-checked-out:hover {
    background-color: #324fcb; /* Biru lebih gelap sedikit */
}
.calendar-day.today:hover {
    background-color: #e5ac00; /* Kuning lebih gelap sedikit */
}
/* Gaya dasar sel kalender agar ikon bisa diposisikan */
.calendar-day {
    position: relative; /* Penting untuk posisi ikon di dalam */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent; /* Border default agar tidak geser saat hover */
}

/* Border dan Icon untuk status Selesai (Checked-out) */
.calendar-day.status-checked-out {
    background-color: #4364F7 !important;
    border-color: #2a47c7 !important;
    font-weight: bold;
}

/* Menambahkan icon check menggunakan pseudo-element */
.calendar-day.status-checked-out::after {
    content: "\f26e"; /* Kode hex Bootstrap Icon bi-check-circle-fill */
    font-family: "bootstrap-icons";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
    background: white;
    color: #4364F7;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: solid 1px;
}


.custom-checkbox {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    display: grid;
    place-content: center;
}

.custom-checkbox::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em white;
    background-color: CanvasText;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox:checked {
    background-color: #468fea;
    border-color: #468fea;
}

.custom-checkbox:checked::before {
    transform: scale(1);
}

/* Efek saat checkbox dicentang pada teks label */
.suggestion-card:has(input:checked) {
    background-color: #f0f7ff;
    border-color: #468fea;
    opacity: 0.8;
}

.suggestion-card:has(input:checked) span {
    color: #0a58ca;
}

/* Animasi halus saat ditekan */
.suggestion-card:active {
    transform: scale(0.98);
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInSlide 0.4s ease forwards;
}

/* Agar tampilan list di mobile tetap rapi */
#checkin-note, #checkout-note {
    display: flex;
    flex-direction: column; /* List vertikal di mobile */
    gap: 8px;
}

@media (min-width: 768px) {
    #checkin-note, #checkout-note {
        flex-direction: row; /* Kotak-kotak menyamping di desktop */
        flex-wrap: wrap;
    }
}

.hover-scale {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-scale:active {
    transform: scale(0.95);
}

#checkin-btn {
    background: linear-gradient(135deg, #468fea 0%, #357ae8 100%);
    border: none;
}

#checkout-btn {
    border: 2px solid #468fea;
    color: #468fea;
}

/* Animasi denyut halus untuk menunjukkan sesi sedang aktif */
.timer-active {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(70, 143, 234, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(70, 143, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(70, 143, 234, 0); }
}

/* Efek border pada hover */
.calendar-day:hover {
    border-color: #dee2e6;
}
@media(max-width:767px){
    .calendar-day {
        padding: 10px 4px;
        font-size: 12px;
    }
    .weekday {
        padding: 4px;
        font-size: 12px;
    }
}