#calendar {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* PERBAIKAN: Style untuk tombol jam yang berbeda status - DIHAPUS DUPLIKAT */
.jam-btn {
    margin: 2px;
    min-width: 80px;
    transition: all 0.2s ease;
    position: relative;
}

.jam-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.jam-btn.btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    border-color: #dc3545;
    color: white;
    cursor: not-allowed;
}

.jam-btn.btn-warning {
    background: linear-gradient(45deg, #ffc107, #e0a800);
    border-color: #ffc107;
    color: #212529;
    cursor: pointer !important; /* Pastikan bisa diklik */
}

.jam-btn.btn-outline-success {
    border: 2px solid #28a745;
    color: #28a745;
    background: transparent;
}

.jam-btn.btn-success {
    background: linear-gradient(45deg, #28a745, #218838);
    border-color: #28a745;
    color: white;
    font-weight: bold;
}

.jam-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.jam-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.jam-btn.btn-warning:hover {
    background: linear-gradient(45deg, #e0a800, #d39e00);
    border-color: #d39e00;
}

/* PERBAIKAN: Pointer untuk tombol yang bisa diklik vs tidak */
.jam-btn[data-status="tersedia"] {
    cursor: pointer;
}

.jam-btn[data-status="terverifikasi"] {
    cursor: not-allowed;
}

.jam-btn[data-status="pending"] {
    cursor: pointer;
}

/* Style untuk icon lock dan clock */
.jam-btn .fa-lock,
.jam-btn .fa-clock {
    font-size: 0.7em;
    opacity: 0.9;
}

/* Calendar Styles dengan status blokir */
.fc-event-tidak-tersedia {
    background-color: #6c757d !important;
    color: white !important;
}

.fc-event-penuh {
    font-weight: bold !important;
}

/* Jam Button Styles dengan status baru */
.jam-btn.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

.jam-btn.btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* File Validation Styles */
.file-info {
    border-radius: 5px;
    margin-top: 8px;
}

.file-info.alert-success {
    border-left: 4px solid #198754;
}

.file-info.alert-danger {
    border-left: 4px solid #dc3545;
}

.image-preview {
    text-align: center;
    margin-top: 10px;
}

.image-preview img {
    border: 2px solid #dee2e6;
    border-radius: 5px;
    object-fit: cover;
}

/* Loading state untuk file input */
.file-loading {
    position: relative;
}

.file-loading::after {
    content: "Memvalidasi...";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0d6efd;
}

/* Status Legend */
.status-legend {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.status-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-right: 10px;
    display: inline-block;
}

.status-tersedia { background-color: #198754; }
.status-terverifikasi { background-color: #dc3545; }
.status-pending { background-color: #ffc107; }
.status-tidak-tersedia { background-color: #6c757d; }
.status-lewat { background-color: #f8f9fa; border: 1px solid #dee2e6; }

/* PERBAIKAN: Style untuk tooltip - DIHAPUS DUPLIKAT */
.jam-btn[data-bs-toggle="tooltip"] {
    cursor: help;
}

.tooltip {
    pointer-events: auto !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tooltip .tooltip-inner {
    max-width: 300px;
    text-align: left;
    white-space: pre-line;
    background-color: #333;
    color: white;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #333;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #333;
}

.selected-day {
    background-color: #00695C !important;
    color: white !important;
    border-radius: 8px;
}

/* Style untuk calendar events */
.fc-event {
    cursor: pointer;
}

.fc-daygrid-day.fc-event {
    background-color: #dc3545 !important;
}

.fc-daygrid-day.fc-event .fc-daygrid-day-number {
    color: white !important;
    font-weight: bold;
}

/* Styling untuk tanggal yang sudah lewat */
.fc-day-past {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.fc-day-past .fc-daygrid-day-number {
    color: #6c757d !important;
}

/* Styling untuk tanggal yang disabled */
.fc-day-disabled {
    pointer-events: none !important;
}

.back-button {
    position: relative;
    padding-left: 2.5rem;
    padding-right: 1rem; 
}

.back-button::before {
    content: "\f2ff"; 
    font-family: 'Material-Design-Iconic-Font';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.back-button::after {
    content: "" !important; 
    display: none !important; 
}

.no-arrow::after {
    content: "" !important;
    display: none !important;
    margin-left: 0 !important;
}

/* PERBAIKAN: Hapus komentar CSS yang tidak valid */
.wizard-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.wizard-steps { 
    padding: 0; 
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.wizard-steps li { 
    text-align: center; 
    flex: 1; 
    position: relative; 
    z-index: 10;
}

.wizard-steps li .circle { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: #e9ecef; 
    margin: 0 auto; 
    line-height: 40px; 
    color: #6c757d; 
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid #e9ecef;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
}

.wizard-steps li.active .circle { 
    background: #00695C; 
    color: white;
    border-color: #00695C;
    transform: scale(1.1);
}

.wizard-steps li.completed .circle { 
    background: #00695C; 
    color: white;
    border-color: #00695C;
}

.wizard-steps li .label { 
    margin-top: 8px; 
    font-size: 14px; 
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.wizard-steps li.active .label { 
    color: #00695C; 
    font-weight: 600;
}

.wizard-steps li.completed .label { 
    color: #00695C; 
}

/* GARIS BACKGROUND (ABU-ABU) */
.wizard-steps::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e9ecef;
    z-index: 1;
}

/* GARIS PROGRESS (HIJAU) */
.wizard-steps::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 0;
    height: 4px;
    background: #00695C;
    z-index: 2;
    transition: width 0.3s ease;
}

/* Atur lebar garis progress berdasarkan step */
.wizard-steps[data-step="1"]::after { width: 0%; }
.wizard-steps[data-step="2"]::after { width: 50%; }
.wizard-steps[data-step="3"]::after { width: 100%; }

/* Hapus semua ::before dan ::after pada li */
.wizard-steps li::before,
.wizard-steps li::after {
    display: none !important;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.payment-info {
    border-left: 4px solid #28a745;
}