/* Style untuk halaman jadwal */
.card {
    border-radius: 15px;
    overflow: hidden;

    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 1.25rem;
}

.rounded-4 {
    border-radius: 0.75rem !important;
}

.rounded-top-4 {
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
}

/* Pengaturan Tabel */
.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
}

.table {
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.5rem 0.75rem;
}

.table th, .table td {
    vertical-align: middle;
}

/* Mencegah wrapping teks */
.table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
}

.table thead th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    white-space: nowrap;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.03);
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Filter section */
#filterSection .card {
    border: 1px solid rgba(0,0,0,0.05);

}

#filterSection .form-label {
    font-weight: 500;
    color: #495057;
}

.form-select:focus, .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Warna dan ikon */
.text-teal {
    color: #20B2AA !important;
}

.bg-teal {
    background-color: #20B2AA !important;
    color: white;
}

.text-pink {
    color: #FF69B4 !important;
}

/* Button styling */
.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.btn-outline-info {
    border-color: #17a2b8;
    color: #17a2b8;
}

.btn-outline-info:hover {
    background-color: #17a2b8;
    color: white;
}

.btn-outline-warning {
    border-color: #ffc107;
    color: #ffc107;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #212529;
}

/* Modal styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: none;
    padding: 1.5rem;
}

/* Alert styling */
.alert {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .table-responsive {
        overflow-x: auto;
    }
    .table {
        min-width: 800px;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between .btn {
        width: 100%;
    }
    
    .card-header h5 {
        font-size: 1.1rem;
    }
    
    .table th, .table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}

.container h2 i {
    color: #0d6efd;
    margin-right: 8px;
}
