/* ===== SCHEDULING INTERFACE STYLES ===== */

.scheduling-interface {
    margin-top: 20px;
}

.service-area-info {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #4caf50;
}

.service-area-info h3 {
    color: #4caf50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-area-info p {
    color: #a0b9d1;
    margin: 8px 0;
    font-size: 1rem;
}

.schedule-error {
    background: #2d1f1f;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #ff9800;
    text-align: center;
}

.schedule-error h3 {
    color: #ff9800;
    margin-bottom: 15px;
}

.schedule-error p {
    color: #ffb74d;
    margin: 10px 0;
    line-height: 1.6;
}

.scheduling-steps h3 {
    color: #e0e0e0;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.date-selection,
.time-selection {
    margin-bottom: 30px;
}

.date-selection h4,
.time-selection h4 {
    color: #4fc3f7;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Date Options */
.date-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.date-btn {
    background: #16213e;
    border: 2px solid #1a4d7a;
    border-radius: 12px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #e0e0e0;
}

.date-btn:hover:not(.disabled) {
    border-color: #4fc3f7;
    background: #0f3460;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
}

.date-btn.selected {
    border-color: #4fc3f7;
    background: linear-gradient(135deg, #4fc3f7 0%, #2196f3 100%);
    color: white;
}

.date-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.date-day {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: inherit;
}

.date-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: inherit;
}

.date-month {
    font-size: 0.9rem;
    color: inherit;
}

.date-slots {
    font-size: 0.75rem;
    margin-top: 5px;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    color: inherit;
}

.date-btn.selected .date-slots {
    background: rgba(255, 255, 255, 0.2);
}

/* Time Options */
.time-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.time-btn {
    background: #16213e;
    border: 2px solid #1a4d7a;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: #e0e0e0;
}

.time-btn:hover {
    border-color: #4fc3f7;
    background: #0f3460;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.3);
}

.time-btn.selected {
    border-color: #4fc3f7;
    background: linear-gradient(135deg, #4fc3f7 0%, #2196f3 100%);
    color: white;
}

.time-start {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.time-range {
    font-size: 0.85rem;
    opacity: 0.7;
}

.time-end {
    font-size: 1.1rem;
    font-weight: 600;
}

.no-dates,
.no-slots {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 1rem;
}

/* Schedule Confirmation */
.schedule-confirmation {
    background: #0f3460;
    border: 2px solid #4fc3f7;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.schedule-confirmation h4 {
    color: #4fc3f7;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.confirmation-details {
    background: #16213e;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #1a4d7a;
}

.confirmation-details p {
    color: #e0e0e0;
    margin: 12px 0;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirmation-details strong {
    color: #4fc3f7;
    font-weight: 600;
}

.confirmation-details span {
    color: #e0e0e0;
    font-weight: 600;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirmation-actions .btn {
    min-width: 180px;
}

/* Step Description */
.step-description {
    text-align: center;
    color: #a0b9d1;
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .date-options {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }

    .date-btn {
        padding: 12px 8px;
    }

    .date-number {
        font-size: 1.5rem;
    }

    .time-options {
        grid-template-columns: 1fr;
    }

    .service-area-info {
        padding: 15px;
    }

    .schedule-confirmation {
        padding: 20px;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .date-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .scheduling-steps h3 {
        font-size: 1.2rem;
    }

    .date-selection h4,
    .time-selection h4 {
        font-size: 1.1rem;
    }
}
