/* Randevu Alma Sayfası Özel Stilleri */

.appointment-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.appointment-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.appointment-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--border-light);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-gold);
    color: var(--primary-white);
}

.step.completed .step-number {
    background: #28a745;
    color: var(--primary-white);
}

.step-title {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

.step.active .step-title {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Adım İçerikleri */
.step-content {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px var(--shadow-light);
    margin-bottom: 30px;
    min-height: 400px;
}

.step-content h2 {
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
}

/* Hizmet Seçimi */
.service-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-option {
    border: 2px solid var(--border-light);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-white);
}

.service-option:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.service-option.selected {
    border-color: var(--primary-gold);
    background: var(--primary-pink);
}

.service-option h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-option .price {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-option .duration {
    color: var(--text-light);
    font-size: 14px;
}

/* Kuaför Seçimi */
.employee-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.employee-option {
    border: 2px solid var(--border-light);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-white);
}

.employee-option:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.employee-option.selected {
    border-color: var(--primary-gold);
    background: var(--primary-pink);
}

.employee-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--border-light);
}

.employee-option.selected .employee-photo {
    border-color: var(--primary-gold);
}

.employee-name {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.employee-services {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}

.service-tag {
    background: var(--primary-gold);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    white-space: nowrap;
    font-weight: 500;
}

.no-services {
    color: var(--text-light);
    font-style: italic;
    font-size: 12px;
}

.employee-specialties {
    color: var(--text-light);
    font-size: 11px;
    margin-top: 5px;
}

/* Tarih ve Saat Seçimi */
.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.date-picker, .time-picker {
    background: var(--primary-pink);
    border-radius: 15px;
    padding: 20px;
}

.date-picker h3, .time-picker h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.calendar-header {
    text-align: center;
    font-weight: bold;
    color: var(--text-dark);
    padding: 10px 5px;
    font-size: 14px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    background: var(--primary-white);
    border: 1px solid var(--border-light);
}

.calendar-day:hover {
    background: var(--primary-gold);
    color: var(--primary-white);
}

.calendar-day.selected {
    background: var(--primary-gold);
    color: var(--primary-white);
    font-weight: bold;
}

.calendar-day.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-white);
    font-size: 14px;
}

.time-slot:hover {
    border-color: var(--primary-gold);
    background: var(--primary-pink);
}

.time-slot.selected {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: var(--primary-white);
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #ddd;
}

/* Bilgi Girişi Formu */
.customer-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: var(--primary-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Randevu Özeti */
.appointment-summary {
    background: var(--primary-pink);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.appointment-summary h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-label {
    color: var(--text-light);
    font-weight: 600;
}

.summary-value {
    color: var(--text-dark);
    font-weight: bold;
}

.total-price {
    background: var(--primary-gold);
    color: var(--primary-white);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
}

/* Navigasyon Butonları */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.btn-back {
    background: var(--primary-white);
    color: var(--text-light);
    border: 2px solid var(--border-light);
}

.btn-back:hover {
    border-color: var(--text-light);
    color: var(--text-dark);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .appointment-steps {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .appointment-steps::before {
        display: none;
    }
    
    .step-content {
        padding: 25px;
        min-height: auto;
    }
    
    .datetime-selection {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-selection,
    .employee-selection {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-navigation .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .appointment-container {
        padding: 0 15px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .calendar {
        gap: 3px;
    }
    
    .calendar-day {
        font-size: 12px;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Giriş yapmış kullanıcı stilleri */
.customer-info-display {
    margin-bottom: 30px;
}

.info-card {
    background: #f8fffe;
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #065f46;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-card h3 i {
    margin-right: 8px;
    color: #10b981;
}

.info-card p {
    margin: 8px 0;
    color: #374151;
}

.info-card .text-success {
    color: #10b981 !important;
    font-weight: 500;
}

.info-card .text-success i {
    margin-right: 5px;
}

/* Saat seçimi loading ve error state'leri */
.loading {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-style: italic;
}

.loading::before {
    content: "⏳ ";
    margin-right: 8px;
}

.error {
    background: #fef2f2;
    color: #dc2626;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #fecaca;
}

.error::before {
    content: "⚠️ ";
    margin-right: 8px;
}

.no-slots {
    background: #fef3c7;
    color: #d97706;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #fde68a;
}

.no-slots::before {
    content: "📅 ";
    margin-right: 8px;
}

/* Geçmiş saatler için görsel iyileştirme */
.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed !important;
    position: relative;
}

.time-slot.unavailable::after {
    content: "❌";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 12px;
}

.time-slot:not(.unavailable):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}