/* ================= BASE ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, Arial;
    background: #0a0a0a;
    color: white;
}

/* ================= PAGE ================= */

.availability-page {
    min-height: 670px;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* TITLE */
h1 {
    font-size: 26px;
    margin-bottom: 4px;
}

.sub {
    font-size: 13px;
    color: #777;
    margin-bottom: 50px;
}

/* ================= TIMELINE ================= */

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
}

/* LINE */
.timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.15);
    transform: translateY(-50%);
}

/* DAY */
.day {
    position: relative;
    text-align: center;
    flex: 1;
}

/* DATE */
.day small {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

/* DOT */
.day::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto;
    border-radius: 50%;
    background: #888;
    position: relative;
    z-index: 2;
}

/* DAY NAME */
.day span {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #aaa;
}

/* STATUS COLORS */
.day.available::after {
    background: #2ecc71;
}

.day.booked::after {
    background: #ff4d4d;
}

/* TODAY HIGHLIGHT */
.day.current::after {
    border: 2px solid white;
    background: transparent;
}

/* ================= LEGEND ================= */

.timeline-legend {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #aaa;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.available {
    background: #2ecc71;
}

.legend-dot.booked {
    background: #ff4d4d;
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {
    .day small {
        font-size: 10px;
    }

    .day span {
        font-size: 11px;
    }
}