/* =========== VARIABLES =========== */
:root {
    /* Primary Colors */
    --primary-color: #4B88F0;
    --primary-dark: #1D56C4;
    --success-color: #34D399;
    --error-color: #F87171;
    
    /* Gray Scale */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Green Colors */
    --koyu-yesil: #005E20;
    --orta-yesil: #007C3E;
    --acik-yesil: #E8F5E9;
    --cok-acik-yesil: #F5FFF8;
    
    /* Utility */
    --hata-renk: #dc3545;
    --border-color: #d1d5db;
    --text-color: #333333;
}
.specialty-label {
    font-weight: 600;
    color: var(--gray-700);
}
/* =========== BASIC LAYOUT =========== */
.appointment-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.form-container {
    flex: 1;
    max-width: 800px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* =========== PROGRESS STEPS =========== */
.booking-steps {
    display: flex;
    align-items: center;
    margin: 0 0 48px;
    padding: 0;
    list-style: none;
    position: relative;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-200);
    z-index: 1;
}

.booking-steps::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    z-index: 1;
    width: var(--progress-width, 0%);
    transition: width 0.3s ease;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

.step-item.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.step-item.active .step-label {
    color: var(--gray-900);
}

.step-item.completed .step-number {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #fff;
}

/* =========== FORM SECTIONS =========== */
.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.form-section[data-step="4"] {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-section[data-step="4"] h3 {
    color: var(--koyu-yesil);
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--acik-yesil);
}

/* =========== DOCTOR & SERVICE CARDS =========== */
.doctor-card,
.service-card {
    padding: 24px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.doctor-card:hover,
.service-card:hover {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.doctor-card.selected,
.service-card.selected {
    border-color: var(--primary-color);
    background: rgba(75, 136, 240, 0.05);
}

.doctor-card h4,
.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 4px;
}

.doctor-card p,
.service-card p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    font-style: italic;
}

.doctor-card .doctor-spezialisierung {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    font-style: italic;
}

.doctor-card img, 
.service-card img {
    transition: transform 0.2s ease;
}

.doctor-card:hover img, 
.service-card:hover img {
    transform: scale(1.05);
}

.doctor-card .flex-shrink-0 {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
}

.doctor-card .flex-shrink-0 img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.doctor-card .w-24.h-24,
.doctor-card .doctor-image-container {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

.doctor-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* =========== DATE PICKER =========== */
.date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.week-info {
    text-align: center;
}

.week-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.week-dates {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.nav-button, .nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-400);
    transition: all 0.2s ease;
}

.nav-button:hover, .nav-btn:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* =========== DATE GRID =========== */
.date-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.date-column {
    text-align: center;
}

.date-header {
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 12px;
}

.date-day {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.date-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

/* =========== TIME SLOTS =========== */
.time-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 12px;
}

.time-slots::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

.time-slots::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

.time-slots::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    opacity: 0.8;
}

.time-slots::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.time-slot {
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
    color: var(--gray-800);
    background: #fff;
    font-weight: 500;
}

.time-slot:hover:not(.unavailable) {
    border-color: var(--primary-color);
    background: #EFF6FF;
}

.time-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.time-slot.unavailable {
    background: var(--gray-100);
    color: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.5;
}

/* =========== FORM CONTROLS =========== */
.form-group {
    margin-bottom: 24px;
}

.form-label, .form-group label {
    display: block;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-label.required::after, .form-group label.required:after {
    content: "*";
    color: var(--error-color);
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    color: var(--gray-900);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control.error {
    border-color: var(--hata-renk);
    background-color: rgba(220, 53, 69, 0.03);
}

.form-section[data-step="4"] .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 20px;
}

.form-section[data-step="4"] .form-group {
    flex: 1 0 calc(33.333% - 20px);
    margin-bottom: 20px;
    position: relative;
}

.form-section[data-step="4"] textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* =========== FORM ELEMENTS =========== */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    color: var(--gray-900);
    background: #fff;
    width: 100%;
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.terms-group {
    margin-top: 20px;
    width: 100%;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--koyu-yesil);
}

.checkbox-label p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.checkbox-label.error {
    color: var(--error-color);
}

/* =========== RECAPTCHA =========== */
.recaptcha-group {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.g-recaptcha {
    display: inline-block;
}

.recaptcha-group .error-message {
    color: var(--error-color);
    margin-top: 5px;
    font-size: 0.875rem;
    display: none;
}

/* =========== MESSAGES & ERRORS =========== */
.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    animation: fadeIn 0.3s ease-in-out;
}

.form-control.error+.error-message,
.checkbox-label.error+.error-message,
.recaptcha-group .error-message.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none !important;
}

/* =========== BUTTONS =========== */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 120px;
    text-align: center;
}

.btn-secondary {
    background: var(--gray-100);
    border: none;
    color: var(--gray-700);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--gray-200);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========== LOADING OVERLAY =========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========== SUCCESS SCREEN =========== */
.form-success-screen {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    position: relative;
    z-index: 10;
    background: #fff;
}

.success-content {
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    font-size: 64px;
    color: var(--success-color);
    margin-bottom: 24px;
}

.form-success-screen:not(.hidden) ~ .info-panel,
.form-success-screen:not(.hidden) ~ .info-panel-toggle {
    display: none !important;
}

/* Başarı ekranında adımların gizlendiğinden emin olma */
.form-success-screen:not(.hidden) ~ .booking-steps,
.form-success-screen:not(.hidden) + .booking-steps {
    display: none !important;
}

/* Başarı ekranındaki detaylar için */
.appointment-details {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(75, 136, 240, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.detail-item i {
    width: 24px;
    color: var(--primary-color);
    margin-right: 12px;
}

.detail-item .detail-label {
    font-weight: 600;
    margin-right: 8px;
    color: var(--gray-700);
    min-width: 120px;
}

.detail-item .detail-value {
    color: var(--gray-900);
    word-break: break-word;
}

/* Uzun notlar için */
.detail-item .patient-notes {
    display: block;
    margin-top: 5px;
    padding-left: 36px;
    font-style: italic;
}

/* =========== INFO PANEL (DESKTOP) =========== */
.info-panel {
    width: 320px;
    min-width: 320px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    position: sticky;
    top: 32px;
    height: fit-content;
    color: white;
    overflow: hidden;
    z-index: 10;
}

.info-panel-empty {
    padding: 32px 24px;
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.info-panel-content {
    padding: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    flex: 1;
}

.info-text h4 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
    opacity: 0.9;
}

.info-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

.info-panel-toggle {
    display: none;
}

.info-panel-close {
    display: none;
}

/* =========== MOBILE STYLES =========== */
@media screen and (max-width: 768px) {
    .appointment-wrapper {
        flex-direction: column;
        padding: 15px;
        padding-bottom: 80px;
    }

    .form-container {
        max-width: 100%;
    }
    
    /* Form Responsive Adjustments */
    .form-section[data-step="4"] .form-group {
        flex: 0 0 100%;
    }
    
    .form-section[data-step="4"] .form-row {
        gap: 10px;
    }
    
    /* Date Grid Responsive */
    .date-grid {
        display: flex;
        overflow: hidden;
        position: relative;
        height: auto !important; /* Otomatik yükseklik */
        min-height: 300px !important; /* Minimum yükseklik */
        width: 100%;
    }

    /* Her gün için boyut ve görünüm ayarları */
    .date-column {
        flex: 0 0 100%;
        width: 100%;
        transform: translateX(0);
        transition: transform 0.3s ease;
        display: none;
    }

    /* Aktif günü göster */
    .date-column.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }

    /* Saatlerin kaydırılabilir olması için düzeltmeler */
    .date-column.active .time-slots {
        max-height: 350px !important; 
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important; /* iOS için daha iyi scroll */
        padding-bottom: 30px !important;
        margin-bottom: 20px !important;
    }

    /* Time slotları biraz daha kullanıcı dostu yap */
    .time-slot {
        padding: 16px !important;
        margin-bottom: 10px !important;
        font-size: 16px !important;
    }

    /* Kaydırma düğmeleri - eşit boyutta */
    .mobile-date-nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 15px 0 !important;
        padding: 0 !important;
    }

    .mobile-date-nav button {
        width: 44px !important;
        height: 44px !important;
        background: var(--primary-color) !important;
        color: white !important;
        border: none !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: background 0.2s ease !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
        margin: 0 !important;
    }

    .mobile-date-nav button i {
        font-size: 18px !important;
    }

    .mobile-date-nav button:hover {
        background: var(--primary-dark) !important;
    }

    .mobile-date-nav .current-date {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 600 !important;
        color: var(--gray-700) !important;
        flex: 1 !important;
        text-align: center !important;
        padding: 0 10px !important;
    }

    /* Info Panel Toggle Button */
    .info-panel-toggle {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        background: var(--primary-color) !important;
        color: white !important;
        border: none !important;
        border-radius: 50px !important;
        padding: 12px 25px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
        z-index: 999998 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
    }

    .toggle-icon {
        font-size: 18px;
    }

    /* Info Panel Mobile */
    .info-panel {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        bottom: 0 !important;
        width: 85% !important;
        max-width: 350px !important;
        height: 100vh !important;
        z-index: 1000000 !important;
        transition: right 0.3s ease-in-out !important;
        padding: 60px 20px 20px 20px !important;
        background: #fff !important;
        overflow-y: auto !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2) !important;
        transform: none !important;
        border-radius: 0 !important;
    }

    .info-panel.active {
        right: 0 !important;
    }

    /* Close Button */
    .info-panel-close {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #f3f4f6 !important;
        color: #374151 !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 1001000 !important;
        border: none !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    }

    /* Overlay */
    .info-panel-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        z-index: 999999 !important;
        transition: opacity 0.3s ease !important;
    }

    .info-panel-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* Mobile Panel Content */
    .info-panel-content {
        padding: 0 !important;
    }

    .info-item {
        display: flex !important;
        align-items: flex-start !important;
        padding: 15px !important;
        margin-bottom: 10px !important;
        background: #f9fafb !important;
        border-radius: 8px !important;
        border: 1px solid #e5e7eb !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .info-icon {
        width: 40px !important;
        height: 40px !important;
        background: #f0f7ff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .info-icon i {
        color: var(--primary-color) !important;
        font-size: 18px !important;
    }

    .info-text h4 {
        color: var(--gray-600) !important;
        font-size: 14px !important;
        margin: 0 0 5px 0 !important;
        opacity: 1 !important;
    }

    .info-text p {
        color: var(--gray-900) !important;
        font-size: 15px !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        opacity: 1 !important;
        word-break: break-word !important;
    }

    .info-panel-empty {
        text-align: center !important;
        color: var(--gray-600) !important;
        padding: 30px 15px !important;
    }
}

/* ÖNEMLİ: Mobil görünüm için media query */
@media screen and (max-width: 768px) {
    /* Mobilde yan panel gizlenecek */
    .info-panel, .info-panel-toggle {
        display: none !important;
    }
    
    /* Mobilde üst panel görünecek */
    .top-info-panel-container {
        display: block;
    }
    
    /* Mobilde wrapper tek sütun olacak */
    .appointment-wrapper {
        flex-direction: column;
    }
}

/* Yukarıdan Açılan Panel - Sadece mobilde görünecek */
.top-info-panel-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    z-index: 100;
    /* Varsayılan olarak gizli */
    display: none;
}

.top-info-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.toggle-arrow {
    transition: transform 0.3s ease;
}

.toggle-arrow.active {
    transform: rotate(180deg);
}

.top-info-panel {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.top-info-panel.active {
    max-height: 60vh;
    padding: 20px;
    opacity: 1;
    overflow-y: auto;
}

/* reCAPTCHA hata mesajının doğru görüntülenmesini sağlama */
.recaptcha-group .error-message.show {
  display: block !important;
  color: var(--error-color);
  margin-top: 5px;
  font-size: 0.875rem;
  animation: fadeIn 0.3s ease-in-out;
}

/* Başarı ekranında adımların kesinlikle gizlenmesini sağlayan CSS */
.form-success-screen:not(.hidden) {
    z-index: 999 !important;
    position: relative !important;
    background: #fff !important;
  }
  
  .form-success-screen:not(.hidden) ~ .booking-steps,
  .form-success-screen:not(.hidden) + .booking-steps {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }
  
  /* Formun daha temiz görünmesini sağlayan ek CSS */
  .form-success-screen .success-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 15px;
  }
  /* CSS dosyasına eklenecek stil kuralları */

/* reCAPTCHA hata mesajının daha belirgin görünmesi için */
.recaptcha-group {
    position: relative;
    margin: 20px 0;
    padding: 10px;
    border-radius: 8px;
  }
  
  .recaptcha-group .error-message.show {
    display: block !important;
    color: var(--error-color) !important;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 8px 12px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: bold;
    border-left: 3px solid var(--error-color);
    animation: pulsate 1.5s ease-in-out infinite;
  }
  
  @keyframes pulsate {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
  }
  
  /* reCAPTCHA'nın kendisinin belirginleştirilmesi */
  .g-recaptcha {
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

/* HARDWARE ACCELERATION & ANIMATIONS */
.info-panel, 
.info-panel-overlay,
.info-panel-toggle,
.info-panel-close {
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    will-change: transform, opacity !important;
    transform: translateZ(0) !important;
}

/* WORDPRESS ADMIN COMPATIBILITY */
.wp-customizer .info-panel-toggle,
.wp-customizer .info-panel,
.wp-customizer .info-panel-overlay {
    position: fixed !important;
}

body.wp-customizer .info-panel.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wp-customizer .info-panel {
    z-index: 999999 !important;
}

.wp-customizer .info-panel-overlay.active {
    z-index: 999998 !important;
    display: block !important;
}

body.wp-admin .info-panel,
body.wp-admin .info-panel-overlay,
body.wp-admin .info-panel-toggle,
body.wp-admin .info-panel-close {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.info-panel * {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}
/* Update this in your CSS file */
.date-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Change from 5 to 6 columns */
    gap: 16px;
}

/* For responsive design on smaller screens */
@media screen and (max-width: 1024px) {
    .date-grid {
        grid-template-columns: repeat(3, 1fr); /* Show 3 days per row on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .date-grid {
        display: flex; /* Keep the existing mobile layout */
        overflow: hidden;
        position: relative;
        height: auto !important;
        min-height: 300px !important;
        width: 100%;
    }
    
    /* No need to change the mobile styles that show one day at a time */
}

/* Hide the separate Saturday section as it's now included in the main grid */
.sat-section {
    display: none !important;
}