/* Appointment Booking Plugin Styles */

.appointment-booking {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.appointment-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.appointment-header h3 {
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.appointment-header p {
    color: var(--accent-grey);
    font-size: 1rem;
}

.appointment-step {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appointment-step h4 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Date Picker */
.date-picker-container {
    margin-bottom: 2rem;
}

.available-dates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.date-option {
    padding: 1rem;
    border: 2px solid var(--accent-light-grey);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.date-option:hover {
    border-color: var(--metallic-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 77, 0.2);
}

.date-option.selected {
    border-color: var(--metallic-gold);
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-purple));
    color: white;
}

.date-option.selected .date-day,
.date-option.selected .date-number,
.date-option.selected .date-month {
    color: white;
}

.date-day {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-grey);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.date-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.date-month {
    font-size: 0.85rem;
    color: var(--accent-grey);
    margin-bottom: 0.5rem;
}

.date-slots {
    font-size: 0.75rem;
    color: var(--metallic-gold);
    font-weight: 600;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.time-slot {
    padding: 1rem;
    border: 2px solid var(--accent-light-grey);
    border-radius: 8px;
    background: white;
    color: var(--primary-navy);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: var(--metallic-gold);
    background: var(--secondary-ivory);
    transform: translateY(-2px);
}

.time-slot.selected {
    border-color: var(--metallic-gold);
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-purple));
    color: white;
}

/* Appointment Summary */
.appointment-summary {
    background: var(--secondary-ivory);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--metallic-gold);
}

.summary-item {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item strong {
    color: var(--primary-navy);
}

/* Appointment Form */
.appointment-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--accent-light-grey);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--metallic-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-back {
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid var(--accent-light-grey);
    border-radius: 8px;
    color: var(--primary-navy);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: var(--primary-navy);
    background: var(--secondary-ivory);
}

.btn-primary {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-purple));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 28, 45, 0.3);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
}

.success-message h4 {
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-message > p {
    color: var(--accent-grey);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.confirmation-details {
    background: var(--secondary-ivory);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: left;
    border-left: 4px solid var(--metallic-gold);
}

.confirmation-details p {
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
}

.confirmation-details p:last-child {
    margin-bottom: 0;
}

.confirmation-details code {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--primary-purple);
}

.no-slots {
    text-align: center;
    padding: 2rem;
    color: var(--accent-grey);
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .appointment-booking {
        padding: 1.5rem;
    }
    
    .available-dates {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.75rem;
    }
    
    .date-option {
        padding: 0.75rem;
    }
    
    .date-number {
        font-size: 1.5rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .time-slot {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary {
        max-width: 100%;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .available-dates {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}
