/* linkandbook_saas/static/css/wizard_booking.css */

:root {
    --primary-color: #667eea; 
    --secondary-color: #764ba2;
    --text-dark: #1F2937;
    --bg-light: #F9FAFB;
}

body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: var(--text-dark);
    /* Add padding to bottom so content isn't hidden behind the new mobile bar */
    padding-bottom: 100px; 
}

/* Animations */
.step-container {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Selector Buttons (Service/Date) --- */
.selector-btn {
    min-height: 70px;
    min-width: 140px; /* Desktop width */
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 16px;
    background: white;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 1rem;
}

.selector-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.selector-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: scale(1.02);
}

/* Date Specifics */
.date-btn {
    flex-direction: column;
    height: 90px;
    line-height: 1.2;
}
.date-btn small { font-weight: 400; opacity: 0.8; font-size: 0.85rem; }

/* --- Resource Cards --- */
.resource-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.resource-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.resource-card.selected {
    border-color: var(--primary-color);
    background-color: #f0f4ff;
}

.resource-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* --- Time Slots (Unified & Clean) --- */
.slot-btn {
    width: 100px;
    height: 50px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    background: white;
    color: var(--text-dark);
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* REMOVED 'margin: 5px' -> Relies on flex gap in HTML */
}

/* 1. Available */
.slot-btn:hover:not(.disabled):not(.yours) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* 2. Selected */
.slot-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

/* 3. Waitlist */
.slot-btn.waitlist {
    border-color: #ffc107;
    color: #856404;
    background-color: #fff3cd;
}

/* 4. Yours */
.slot-btn.yours {
    background-color: #cfe2ff;
    color: #084298;
    border-color: #b6d4fe;
    cursor: not-allowed;
    opacity: 0.8;
}

/* 5. Disabled */
.slot-btn.disabled {
    background: #f3f4f6;
    color: #d1d5db;
    pointer-events: none;
    text-decoration: line-through;
    border-color: transparent;
}

/* --- Mobile Specifics --- */
@media (max-width: 768px) {
    .selector-btn {
        width: 100%; /* Full width on mobile */
        justify-content: flex-start; /* Left align text */
        padding-left: 1.5rem;
    }
    
    .date-btn {
        width: 70px; /* Keep dates small/square */
        justify-content: center;
        padding-left: 0;
    }
    
    /* Horizontal Scroll for Dates */
    #date-buttons {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
}
/* linkandbook_saas/static/css/wizard_booking.css */

/* ... (Keep previous styles) ... */

/* --- Updated Date Buttons for Weather --- */
.date-btn {
    flex-direction: column;
    height: 100px; /* Made slightly taller to fit weather */
    line-height: 1.2;
    padding: 0.5rem;
    justify-content: space-between; /* Space date top, weather bottom */
}

/* Container for Day/Date */
.date-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The Weather Badge */
.weather-badge {
    font-size: 0.75rem;
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 8px;
    color: #495057;
    margin-top: 4px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.date-btn.active .weather-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .date-btn {
        width: 85px; /* Slightly wider */
        padding-left: 0;
        justify-content: center;
    }
}
/* Time Slot Headers */
h6.text-uppercase {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 1px dashed #e9ecef;
    padding-bottom: 5px;
    margin-top: 1rem;
}

h6.text-uppercase i {
    color: var(--primary-color);
}