/* 1. BASE SYSTEM STYLES */
body { 
    font-family: 'Inter', sans-serif; 
    background: #f0f4f8; 
    margin: 0; 
    padding: 20px; 
    color: #1a202c;
    overflow-x: hidden;
}

.container { 
    max-width: 900px !important;
    width: 100%;
    margin: 0 auto;
    background: #ffffff; 
    padding: 20px; 
    border-radius: 20px; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* TITLE */
.main-title {
    font-size: 1.5rem !important;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* 2. HEADER */
.filter-navigation { 
    display: flex !important; 
    flex-direction: row !important; 
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 12px !important; 
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.nav-item { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 6px !important;
}

.nav-item label { 
    font-size: 1rem !important; 
    font-weight: 900; 
    color: #4a5568; 
    text-transform: uppercase;
}

/* 3. DROPDOWNS */
select { 
    height: 45px !important;
    min-width: 140px !important;
    padding: 0 10px !important; 
    font-size: 1.1rem !important; 
    font-weight: 800 !important;
    border: 2px solid #cbd5e0 !important;
    border-radius: 8px !important;
    background-color: white !important;
    cursor: pointer;
    color: #1a202c;
}

/* 4. DATE INPUT */
input[type="date"] {
    height: 45px !important; 
    min-width: 150px !important;
    padding: 0 8px !important;
    
    font-size: 1.1rem !important; 
    font-weight: 900 !important;
    
    border: 2px solid #cbd5e0 !important;
    border-radius: 8px !important;
    background-color: white !important;
    
    display: inline-flex !important;
    align-items: center !important;
    line-height: 45px !important; 
}

/* DATE TEXT */
input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
}

/* CALENDAR ICON */
input[type="date"]::-webkit-calendar-picker-indicator {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
}

/* 5. CALENDAR GRID*/
.calendar-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
}

/* DAY COLUMN */
.day-column { 
    background: #ffffff; 
    border: 2px solid #edf2f7; 
    border-radius: 12px; 
    overflow: hidden;
    min-height: 320px;
}

/* HEADER */
.day-header { 
    background: #1a202c; 
    color: white; 
    padding: 10px 4px; 
    text-align: center; 
}

.d-name { 
    font-size: 0.85rem; 
    font-weight: 900; 
    text-transform: uppercase; 
}

.d-date { 
    font-size: 0.7rem; 
    font-weight: 700; 
    opacity: 0.7; 
    margin-top: 2px; 
}

/* 6. SLOTS */
.slot-container {
    padding: 6px;
}

.slot { 
    margin: 5px 0; 
    padding: 8px 4px; 
    text-align: center; 
    border-radius: 6px; 
    font-size: 0.8rem; 
    font-weight: 900; 
    border: 2px solid transparent;
}

.available { 
    background: #ffffff; 
    color: #3182ce; 
    border-color: #bee3f8; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.unavailable { 
    background: #f7fafc; 
    color: #cbd5e0; 
    border-color: #edf2f7;
    text-decoration: line-through;
}

.slot-empty {
    text-align: center;
    padding: 15px 0;
    color: #cbd5e0;
    font-size: 0.85rem;
    font-weight: 800;
}

.footer-text {
    text-align: center;
    font-size: 0.65rem;
    color: #718096; 
    margin-top: 20px;
    font-weight: 500;
    font-style: italic;
}