/* FFD Reserve Schedule — custom styles */
body {
    font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    letter-spacing: 0.5px;
}

/* Schedule table */
.schedule-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
    vertical-align: middle;
    height: 70px;
    position: relative;
}

.schedule-table td.booked,
.schedule-table td.available {
    cursor: pointer;
    transition: all 0.15s ease;
}

.schedule-table td.available:hover {
    background-color: #d1e7dd !important;
    transform: scale(1.02);
}

.schedule-table td.booked {
    cursor: default;
}

.schedule-table .stretched-link::after {
    z-index: 1;
}

/* Legend */
.legend-box {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
}

/* Form */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .schedule-table {
        font-size: 0.75rem;
    }

    .schedule-table th,
    .schedule-table td {
        height: 55px;
        padding: 4px;
    }
}
