/* Modal genel stil */
#bookingModal .modal-content {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Başlık kısmı */
#bookingModal .modal-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

/* Eğitmen fotoğrafı */
#modal_teacher_img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f1f1f1;
}

/* Eğitmen adı */
#modal_teacher_name {
    font-size: 1rem;
    color: #333;
}

/* Branş ve seviye metni */
#modal_teacher_title {
    font-size: 0.85rem;
    color: #777;
}

/* Form etiketleri */
#bookingModal label {
    font-weight: 500;
    color: #333;
}

/* Select ve input stilleri */
#bookingModal .form-select,
#bookingModal .form-control {
    border-radius: 0.5rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.95rem;
}

/* Loader görünümü */
#time-loader {
    display: flex;
    align-items: center;
}

/* Toplam tutar alanı */
#total_amount {
    font-size: 1.1rem;
}

/* Footer butonları */
#bookingModal .modal-footer .btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0.45rem;
}

/* Sepete ekle butonu */
#bookingModal .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: 0.2s ease-in-out;
}

#bookingModal .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Kapat butonu */
#bookingModal .btn-outline-secondary {
    border-color: #ccc;
    color: #555;
}

#bookingModal .btn-outline-secondary:hover {
    background-color: #f8f9fa;
}

/* jQuery UI Datepicker modal üstünde görünsün */
.ui-datepicker {
    z-index: 2000 !important;
}

/* Yeni Takvim Tasarımı */
.calendar-container {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1rem;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calendar-header h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.calendar-nav {
    display: flex;
    gap: 0.5rem;
}

.calendar-nav-btn {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-nav-btn:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #adb5bd;
}

.calendar-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.days-carousel-container {
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.days-row {
    display: flex;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.day-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem;
    min-width: 140px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.day-card:hover:not(.disabled) {
    border-color: #6c5ce7;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.15);
}

.day-card.selected {
    border-color: #6c5ce7;
    background: #f0edff;
}

.day-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

.day-card-header {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.day-card-date {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.day-card-month {
    font-size: 0.8rem;
    color: #6c757d;
}

.day-card.selected .day-card-date {
    color: #6c5ce7;
}

.time-slots-container {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.time-slots-container::-webkit-scrollbar {
    width: 6px;
}

.time-slots-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.time-slots-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
}

.time-slot {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.time-slot:hover:not(.disabled):not(.selected) {
    border-color: #6c5ce7;
    background: #f0edff;
}

.time-slot.selected {
    background: #6c5ce7;
    border-color: #6c5ce7;
    color: white;
}

.time-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #e9ecef;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.selected-info {
    background: #e7f5ff;
    border: 1px solid #74c0fc;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    display: none;
}

.selected-info.show {
    display: block;
}

.selected-info strong {
    color: #1971c2;
}
