/* assets/css/style.css - Keiba Tech Design System */

:root {
    --bg-main: #090d16;
    --bg-card: rgba(15, 23, 42, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --accent-blue: #0284c7;
    --accent-sky: #38bdf8;
    --accent-purple: #6366f1;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.08) 0px, transparent 50%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 5%;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-sky), var(--accent-purple));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.brand-text span {
    color: var(--accent-sky);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-sky);
}

.btn-nav {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-sky);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--accent-sky);
    color: #090d16;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}

/* Hero Section */
.hero-header {
    text-align: center;
    margin-bottom: 40px;
}

.hero-header h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-sky) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto;
}

/* Calendar Card */
.calendar-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Month Navigation */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.month-display {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--accent-sky);
    color: #090d16;
    border-color: var(--accent-sky);
}

/* Legend */
.legend-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 12px 18px;
    background: rgba(2, 6, 23, 0.5);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-dot.available { background: var(--accent-emerald); box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); }
.legend-dot.corporate { background: var(--accent-amber); box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
.legend-dot.full { background: var(--accent-rose); }
.legend-dot.closed { background: rgba(255, 255, 255, 0.15); }

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.weekday-header {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--accent-sky);
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-day {
    min-height: 110px;
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
}

.calendar-day.available {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
    cursor: pointer;
}

.calendar-day.available:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
    border-color: var(--accent-emerald);
}

.calendar-day.corporate {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.4);
}

.calendar-day.full {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.3);
    opacity: 0.8;
}

.date-number {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.calendar-day.today .date-number {
    color: var(--accent-sky);
    display: inline-block;
    background: rgba(56, 189, 248, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.day-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    margin-top: 6px;
}

.day-badge.available {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.day-badge.corporate {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.day-badge.full {
    background: rgba(244, 63, 94, 0.2);
    color: #f87171;
}

.attendee-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #0f172a;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.modal-close:hover {
    color: #fff;
}

/* Forms & Controls */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-sky);
}

/* Native date/time pickers default to a light popup and a near-invisible
   dark-on-dark calendar/clock icon against this app's dark background.
   color-scheme tells the browser to render its own picker UI (icon +
   popup) in dark mode; the explicit invert is a fallback for engines
   that only fix the icon and not the rest. */
input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control {
    color-scheme: dark;
}
input[type="date"].form-control::-webkit-calendar-picker-indicator,
input[type="time"].form-control::-webkit-calendar-picker-indicator,
input[type="datetime-local"].form-control::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Pricing Display Box */
.price-display-box {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-title {
    font-size: 13px;
    color: var(--text-muted);
}

.price-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-sky);
}

.price-tier-tag {
    font-size: 12px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

/* Responsive helpers — reused by admin/index.php and the tables admin.js
   renders into innerHTML (raw <table> markup can't carry its own
   media query, so it scrolls horizontally here instead of squashing
   the whole page layout on a phone). */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rg-2, .rg-3, .rg-1on1 {
    display: grid;
    gap: 12px;
}
.rg-2 { grid-template-columns: 1fr 1fr; }
.rg-3 { grid-template-columns: 1fr 1fr 1fr; }
.rg-1on1 { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }

/* Toast Notifications — main.js/admin.js append a plain <div class="toast">
   straight to <body> (no wrapping container element exists in the DOM),
   so the fixed positioning has to live on .toast itself. Capped max-width
   keeps it from ever overflowing a narrow viewport. */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    background: #0f172a;
    border: 1px solid var(--accent-sky);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    max-width: min(360px, calc(100vw - 60px));
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 4%;
    }
    .brand-text {
        font-size: 19px;
    }
    .nav-links {
        gap: 10px;
        justify-content: center;
        width: 100%;
    }
    .nav-link {
        font-size: 13px;
    }
    .btn-nav {
        padding: 7px 14px;
        font-size: 13px;
    }

    .container {
        padding: 20px 14px 40px 14px;
    }

    .hero-header h1 {
        font-size: 26px;
    }
    .hero-header p {
        font-size: 14px;
    }

    .calendar-wrapper {
        padding: 16px;
        border-radius: var(--radius-md);
    }
    .calendar-controls {
        margin-bottom: 16px;
    }
    .month-display {
        font-size: 18px;
    }
    .btn-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .legend-bar {
        gap: 10px 16px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .calendar-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 4px;
    }
    .calendar-day {
        min-height: 74px;
        padding: 5px 4px;
        border-radius: var(--radius-sm);
    }
    .weekday-header {
        font-size: 10px;
        padding: 6px 0;
        letter-spacing: 0;
    }
    .date-number {
        font-size: 13px;
    }
    .day-badge {
        font-size: 9px;
        padding: 2px 4px;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .attendee-count {
        font-size: 9px;
    }

    .modal-card {
        width: 94%;
        padding: 20px 16px;
        max-height: 92vh;
    }
    .modal-title {
        font-size: 17px;
    }

    .price-display-box {
        flex-wrap: wrap;
        gap: 10px;
    }
    .price-value {
        font-size: 20px;
    }

    .rg-2, .rg-3, .rg-1on1 {
        grid-template-columns: 1fr;
    }

    /* Admin data tables render as raw HTML into these containers — force
       readable min-widths so text doesn't get crushed, and let the
       .table-scroll wrapper handle horizontal overflow instead. */
    .table-scroll table {
        min-width: 640px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 4%;
    }
    .brand-logo {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .brand-text {
        font-size: 16px;
    }
    .nav-links {
        gap: 8px;
    }
    .btn-nav {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero-header h1 {
        font-size: 21px;
    }

    .calendar-grid {
        gap: 3px;
    }
    .calendar-day {
        min-height: 60px;
        padding: 4px 3px;
    }
    .date-number {
        font-size: 11px;
    }
    .day-badge {
        font-size: 8px;
        padding: 1px 3px;
        -webkit-line-clamp: 1;
    }
    .attendee-count {
        font-size: 8px;
    }

    .modal-card {
        width: 96%;
        padding: 16px 12px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }
    .btn-submit {
        padding: 12px;
        font-size: 14px;
    }

    .table-scroll table {
        min-width: 560px;
        font-size: 12px !important;
    }
    .table-scroll td, .table-scroll th {
        padding: 6px !important;
    }

    .toast {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        font-size: 13px;
        max-width: calc(100vw - 32px);
    }
}

/* ── Admin: public-calendar card, day chooser, event form extras (Phase 10) ── */
.pub-text { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.pub-text a { color: var(--accent-sky); }
.pub-text strong { color: #e2e8f0; }
.pub-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.pill-btn { background: rgba(255,255,255,0.06); border: 1px solid var(--border-glass); color: #e2e8f0; padding: 9px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .2s; }
.pill-btn:hover { border-color: var(--accent-sky); color: #fff; }
.switch-row { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #e2e8f0; cursor: pointer; user-select: none; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 40px; height: 23px; border-radius: 99px; background: rgba(148,163,184,0.35); position: relative; transition: background .2s; flex: 0 0 auto; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch-row input:checked + .switch { background: var(--accent-emerald); }
.switch-row input:checked + .switch::after { transform: translateX(17px); }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--accent-sky); outline-offset: 2px; }

.dc-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.dc-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass); border-left: 4px solid var(--c, #6366f1); border-radius: 10px; padding: 9px 12px; color: #fff; font-family: inherit; font-size: 14px; cursor: pointer; }
.dc-item:hover { background: rgba(255,255,255,0.1); }
.dc-item small { display: block; color: #94a3b8; font-size: 12px; }
.dc-actions { display: flex; flex-direction: column; gap: 8px; }
.dc-btn { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.35); border-radius: 12px; padding: 12px 14px; color: #fff; font-family: inherit; cursor: pointer; transition: all .2s; }
.dc-btn:hover { background: rgba(99,102,241,0.25); border-color: #818cf8; }
.dc-btn span { font-size: 22px; }
.dc-btn strong { display: block; font-size: 15px; }
.dc-btn small { color: #94a3b8; font-size: 12.5px; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; padding: 0; transition: transform .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.on { border-color: #fff; box-shadow: 0 0 0 2px var(--c); }
.swatch-custom { width: 44px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.skip-box { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.35); border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; color: #fde68a; }
.skip-box button { background: rgba(245,158,11,0.18); border: 1px solid #f59e0b; color: #fde68a; border-radius: 8px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit; margin: 4px 6px 0 0; }
.skip-box button:hover { background: rgba(245,158,11,0.3); }
textarea.form-control { resize: vertical; min-height: 76px; }

.vis-chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; letter-spacing: .3px; }
.vis-public { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.vis-busy { background: rgba(148,163,184,0.18); color: #cbd5e1; }
.vis-private { background: rgba(244,63,94,0.15); color: #fda4af; }
.ac-chip { display: block; width: 100%; text-align: left; margin-top: 3px; padding: 2px 6px; border: 0; border-radius: 4px; font-size: 10.5px; font-weight: 600; font-family: inherit; line-height: 1.35; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.ac-chip.cont { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -9px; }
.ac-chip.priv { outline: 1.5px dashed rgba(255,255,255,0.7); outline-offset: -2px; }
.ac-chip.coach { background: transparent; border: 1.5px dashed #10b981; color: #6ee7b7; }
.ac-chip.coach.booked { background: rgba(100,116,139,0.35); border-color: #64748b; color: #cbd5e1; }
.ac-more { margin-top: 3px; font-size: 10.5px; color: #94a3b8; }
@media (max-width: 640px) { .pub-row { flex-direction: column; align-items: stretch; } .pill-btn { text-align: center; } .ac-chip { font-size: 9.5px; padding: 1px 4px; } }

/* admin month grid: never let long chip text widen a column on phones */
.calendar-grid > * { min-width: 0; }
.ac-chip, .ac-more { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }

/* booking availability panel (admin) */
.ba-card { background: rgba(2,6,23,0.6); padding: 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 18px; }
.ba-title { font-size: 15px; font-weight: 700; color: #34d399; margin-bottom: 6px; }
.ba-text { color: #94a3b8; font-size: 13px; line-height: 1.55; margin: 0 0 14px; }
.ba-text strong { color: #e2e8f0; }
.ba-row { margin-bottom: 4px; }
.ba-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd5e1; cursor: pointer; min-height: 44px; margin: 22px 0 0; }
.ba-check input { width: 18px; height: 18px; accent-color: #10b981; }
.ba-days { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.ba-days label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; font-size: 13px; color: #cbd5e1; cursor: pointer; }
.ba-days input { accent-color: #10b981; }
.ba-save { padding: 10px 18px; background: linear-gradient(135deg, #10b981, #059669); border: 0; border-radius: 8px; color: #fff; font-weight: 700; cursor: pointer; font-size: 13px; }
.ba-save:disabled { opacity: .6; cursor: wait; }
.ba-save.ba-block { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.ba-sep { height: 1px; background: rgba(255,255,255,0.1); margin: 18px 0; }
.ba-blocks { margin-top: 14px; display: grid; gap: 8px; }
.ba-none { color: #64748b; font-size: 13px; font-style: italic; }
.ba-block-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid rgba(239,68,68,0.3); background: rgba(239,68,68,0.07); border-radius: 8px; font-size: 13px; color: #fecaca; }
.ba-block-row small { display: block; color: #94a3b8; margin-top: 2px; }
.ba-del { flex: none; padding: 6px 12px; background: rgba(16,185,129,0.15); border: 1px solid #10b981; border-radius: 6px; color: #34d399; font-weight: 700; font-size: 12px; cursor: pointer; }
.ba-legacy { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 10px 14px; margin-bottom: 12px; border-radius: 8px; border: 1px dashed rgba(148,163,184,0.4); font-size: 13px; color: #94a3b8; }
.ba-legacy button { padding: 6px 12px; background: rgba(239,68,68,0.15); border: 1px solid #ef4444; border-radius: 6px; color: #fca5a5; font-weight: 700; font-size: 12px; cursor: pointer; }
.ac-chip.blocked-chip { background: rgba(239,68,68,0.16); color: #fca5a5; border: 1px solid rgba(239,68,68,0.45); }
.calendar-day.blocked { border-color: rgba(239,68,68,0.35); }
@media (max-width: 640px) { .ba-check { margin-top: 0; } .ba-block-row { flex-direction: column; align-items: stretch; } }

.ba-title.ba-title-red { color: #fca5a5; }
