﻿/* OnlineRezervasyon - Ek Stiller */
/* Mevcut global stiller korunuyor, sadece ekleme yapılıyor */

/* Bayi seçildi vurgusu - sarı (#f9d42e = rgb(249,212,46)) + 25 = rgb(255,237,71) */
.wizard-branch.selected {
    background: #ffed47 !important;
    border-color: #111 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* Bayi listesi container */
#expertiseListContainer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wizard-empty-text {
    color: #888;
    font-style: italic;
    padding: 2rem;
    text-align: center;
}

/* Form validasyon hataları */
.form-group-wizard {
    position: relative;
    margin-bottom: 0.5rem;
}

.validation-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.wizard-input.error {
    border-color: #e74c3c !important;
}

/* Paket detay balonunda maddeler */
.pkg-detail-substances {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
    font-size: 0.85rem;
}

    .pkg-detail-substances li {
        padding: 0.25rem 0;
        padding-left: 1.25rem;
        position: relative;
    }

        .pkg-detail-substances li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--yellow, #d4a900);
        }

/* Geri butonu */
.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--yellow, #d4a900);
    color: var(--yellow, #d4a900);
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-outline-gold:hover {
        background: var(--yellow, #d4a900);
        color: #fff;
    }

/* Tarih input stili */
#reservationDate {
    min-width: 200px;
}

/* KVKK checkbox */
#kvkkCheckbox {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Submit butonu disabled durumu */
.wizard-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sonuç Modal (AdminPanel'den alındı) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

    .modal-overlay.show {
        display: flex;
    }

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

    .modal-icon.success {
        background: rgba(39, 174, 96, 0.15);
        color: #27ae60;
    }

    .modal-icon.error {
        background: rgba(231, 76, 60, 0.15);
        color: #e74c3c;
    }

.modal-title {
    margin-bottom: 0.5rem;
    color: #2f2f30;
}

.modal-message {
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
}

    .modal-footer.justify-center {
        justify-content: center;
    }

.btn-modal {
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

    .btn-modal.btn-primary {
        background: var(--yellow, #d4a900);
        color: #fff;
    }

        .btn-modal.btn-primary:hover {
            background: #b8960a;
        }

/* Loading durumu */
.wizard-branch.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-progress-actions {
        flex-direction: column;
        gap: 1rem;
    }

        .wizard-progress-actions .btn-outline-gold,
        .wizard-progress-actions .btn-gold {
            width: 100%;
            text-align: center;
        }
}
