@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;600&display=swap');

:root {
    --breeze: #BB8F6A;
    --apple-grey: #F5F5F7;
    --glass-white: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
}

body {
    font-family: 'Alexandria', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #DDD0C7 100%);
    margin: 0;
    padding: 0;
    color: #1d1d1f;
    min-height: 100vh;
    overflow-y: auto; /* Ensures form is scrollable */
}

.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Time Grid Fixes */
.time-grid-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0,0,0,0.03);
    border-radius: 18px;
    min-height: 300px; /* Prevents collapsing into a line */
    border: 1px solid rgba(0,0,0,0.05);
}

.time-btn {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 15px 5px;
    border-radius: 14px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 600;
}

.time-btn:hover:not(.booked) {
    border-color: var(--breeze);
    background: #f0fdfa;
}

.time-btn.selected {
    background: var(--breeze) !important;
    color: white !important;
    border-color: var(--breeze);
    transform: scale(0.95);
    box-shadow: 0 4px 12px rgba(44, 213, 196, 0.3);
}

.time-btn.booked {
    background: #ebebeb;
    color: #999;
    cursor: not-allowed;
    border: none;
}

.btn-breeze {
    background: var(--breeze);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
}

/* Calendar Container Fix */
#calendar {
    min-height: 700px; /* Explicit height to prevent "white line" */
    background: white;
    padding: 20px;
    border-radius: 20px;
}