/* Wedday Randevu Sistemi - Frontend CSS */

.wedday-appointment-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wedday-appointment-title {
    text-align: center;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f5e8;
}

.wedday-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.wedday-section-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.wedday-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #EEAC32;
    margin-right: 10px;
    border-radius: 2px;
}



/* Tarih Seçimi */
.wedday-date-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wedday-date-input {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wedday-date-input:focus {
    outline: none;
    border-color: #EEAC32;
    box-shadow: 0 0 0 3px rgba(238, 172, 50, 0.1);
}

.wedday-flexible-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.wedday-flexible-text {
    color: #6c757d;
    font-size: 14px;
    flex: 1;
}

.wedday-info-icon {
    width: 20px;
    height: 20px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: help;
}

/* Switch Tasarımı */
.wedday-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.wedday-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.wedday-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.wedday-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .wedday-slider {
    background-color: #EEAC32;
}

input:checked + .wedday-slider:before {
    transform: translateX(26px);
}

/* Saat Seçimi */
.wedday-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.wedday-time-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.wedday-time-slot:hover {
    border-color: #EEAC32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 172, 50, 0.15);
}

.wedday-time-slot.active {
    background: #FFF8E1;
    border-color: #EEAC32;
    color: #E65100;
}

.wedday-time-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.wedday-time-text {
    font-weight: 600;
}

/* Hizmetler */
.wedday-services-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wedday-service-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.wedday-service-item:hover {
    border-color: #EEAC32;
    box-shadow: 0 2px 8px rgba(238, 172, 50, 0.1);
}

.wedday-service-item.active {
    background: #FFF8E1;
    border-color: #EEAC32;
}

.wedday-service-switch {
    margin-right: 15px;
}

.wedday-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wedday-service-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.wedday-service-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
}

.wedday-service-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.wedday-original-price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 14px;
}

.wedday-discounted-price {
    color: #EEAC32;
    font-weight: 600;
    font-size: 16px;
}

.wedday-price-info {
    width: 18px;
    height: 18px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: help;
}

/* Toplam Fiyat */
.wedday-total-section {
    background: #f8f9fa;
    padding: 14px;
    border-radius: 10px;
    text-align: right;
}

.wedday-total-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0px;
}

.wedday-original-total {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 18px;
}

.wedday-discounted-total {
    color: #EEAC32;
    font-size: 24px;
    font-weight: 700;
}

/* Butonlar */
.wedday-next-section {
    text-align: center;
    margin-bottom: 30px;
}

.wedday-next-button {
    background: linear-gradient(135deg, #EEAC32, #FFB74D);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(238, 172, 50, 0.3);
}

.wedday-next-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 172, 50, 0.4);
}

.wedday-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.wedday-next-button:hover .wedday-arrow {
    transform: translateX(3px);
}

/* Çift Bilgileri Formu - Yeniden Tasarlandı */
.wedday-customer-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #EEAC32;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(238, 172, 50, 0.1);
}

.wedday-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.wedday-form-description {
    color: #6c757d;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Çift Bölümleri - Yeniden Tasarlandı */
.wedday-couple-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.wedday-couple-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EEAC32, #f4d03f);
}

.wedday-couple-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #EEAC32;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wedday-couple-icon {
    font-size: 20px;
    background: #EEAC32;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedday-general-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.wedday-general-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EEAC32, #f4d03f);
}

.wedday-general-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #EEAC32;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wedday-general-icon {
    font-size: 20px;
    background: #EEAC32;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* İletişim Tercihi - Yeniden Tasarlandı */
.wedday-contact-preference {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.wedday-contact-preference::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EEAC32, #f4d03f);
}

.wedday-preference-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wedday-preference-icon {
    font-size: 20px;
    background: #EEAC32;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedday-preference-text {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
}

.wedday-radio-group {
    display: flex;
    gap: 25px;
}

.wedday-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.wedday-radio-label:hover {
    background-color: rgba(238, 172, 50, 0.1);
}

.wedday-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.wedday-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.wedday-radio-label input[type="radio"]:checked + .wedday-radio-custom {
    border-color: #EEAC32;
    background: #EEAC32;
}

.wedday-radio-label input[type="radio"]:checked + .wedday-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.wedday-radio-text {
    color: #2c3e50;
    font-weight: 600;
}

/* Fatura Bölümü - Yeniden Tasarlandı */
.wedday-billing-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.wedday-billing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EEAC32, #f4d03f);
}

.wedday-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.wedday-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.wedday-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.wedday-checkbox-label input[type="checkbox"]:checked + .wedday-checkbox-custom {
    border-color: #EEAC32;
    background: #EEAC32;
}

.wedday-checkbox-label input[type="checkbox"]:checked + .wedday-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.wedday-checkbox-text {
    color: #2c3e50;
    font-weight: 600;
}

.wedday-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.wedday-form-group {
    display: flex;
    flex-direction: column;
}

.wedday-form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
}

.wedday-form-group input,
.wedday-form-group textarea {
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.wedday-form-group input:focus,
.wedday-form-group textarea:focus {
    outline: none;
    border-color: #EEAC32;
    box-shadow: 0 0 0 3px rgba(238, 172, 50, 0.1);
}

.wedday-form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f8f9fa;
}

.wedday-back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wedday-back-button:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.wedday-back-icon {
    font-size: 16px;
}

.wedday-submit-button {
    background: linear-gradient(135deg, #EEAC32, #f4d03f);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(238, 172, 50, 0.3);
}

.wedday-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 172, 50, 0.4);
}

.wedday-submit-icon {
    font-size: 16px;
}

.wedday-back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wedday-back-button:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.wedday-submit-button {
    background: linear-gradient(135deg, #EEAC32, #FFB74D);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 172, 50, 0.3);
}

.wedday-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 172, 50, 0.4);
}

/* Yükleme ve Başarı Mesajları */
.wedday-loading {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 20px;
}

.wedday-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #EEAC32;
    border-radius: 50%;
    animation: wedday-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes wedday-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wedday-success {
    text-align: center;
    padding: 40px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    margin-top: 20px;
}

.wedday-success-icon {
    width: 60px;
    height: 60px;
    background: #EEAC32;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.wedday-success h3 {
    color: #155724;
    margin-bottom: 10px;
}

.wedday-success p {
    color: #155724;
    margin: 0;
}

/* Responsive Tasarım */
/* Seçilen Hizmetler Özeti - Gizli */
.wedday-selected-services-summary {
    display: none;
}

/* Contact Form Container - Gizli */
.wedday-contact-form-container {
    display: none !important;
}

@media (max-width: 768px) {
    .wedday-appointment-container {
        margin: 10px;
        padding: 15px;
    }
    
    .wedday-time-slots {
        grid-template-columns: 1fr;
    }
    
    .wedday-form-row {
        grid-template-columns: 1fr;
    }
    
    
    .wedday-form-actions {
        flex-direction: column;
    }
    
    .wedday-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .wedday-service-pricing {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* Çift Bilgileri Bölümü */
.wedday-couple-info-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.wedday-couple-info-section br {
    display: none;
}

.wedday-couple-info-section .wedday-form-group {
    margin-bottom: 20px;
}

.wedday-couple-info-section .wedday-form-group:last-child {
    margin-bottom: 0;
}

.wedday-couple-info-section label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.wedday-couple-info-section input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.wedday-couple-info-section input:focus {
    border-color: #FF8C00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.wedday-couple-info-section input::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* Contact Form Stilleri */
.wedday-contact-form-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wedday-contact-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wedday-contact-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.wedday-contact-form-header h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.wedday-close-button {
    background: #dc3545;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wedday-close-button:hover {
    background: #c82333;
    transform: scale(1.1);
}


/* Durum Göstergeleri */
.wedday-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.wedday-status.active {
    background: #FFF8E1;
    color: #E65100;
}

.wedday-status.inactive {
    background: #f8d7da;
    color: #721c24;
}

.wedday-status.pending {
    background: #fff3cd;
    color: #856404;
}

.wedday-status.confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.wedday-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.wedday-status.completed {
    background: #FFF8E1;
    color: #E65100;
}
