/*
Namespaced stylesheet: no global tag selectors.
Attach layout inside .vca-timetable to avoid conflicts with other CSS.
*/


.vca-timetable{
/* CSS variables scoped to widget only */
/* --bg: #0f1216; */
--bg:white;
--card: #151a21;
--muted: #9aa4b2;
--text: red;
--accent: #ff3b3b;
--grid-gap: .75rem;
--radius: 16px;
--shadow: 0 6px 18px rgba(0,0,0,.25);
--border: 1px solid rgba(255,255,255,.06);
--font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
color: var(--text);
line-height: 1.35;
}


.vca-timetable .vca-surface{
/* background: radial-gradient(1200px 900px at 20% -10%, #1a202a 0%, var(--bg) 40%), var(--bg); */
/* border-radius: 20px; */
padding: 24px 0 48px;
}


.vca-timetable, .vca-timetable *{ box-sizing: border-box; font-family: var(--font); }


.vca-timetable .vca-wrap{ max-width: 1100px; margin: 0 auto; padding: 0 16px; }


.vca-timetable .vca-header{ display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom: 18px; }
.vca-timetable .vca-title{ font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); margin:0; font-weight: 800;}


.vca-timetable .legend{ display:flex; flex-wrap:wrap; gap:.5rem 1rem; color: var(--muted); font-size:.9rem; }
.vca-timetable .pill{display:inline-flex; align-items:center; gap:.5rem;}
.vca-timetable .dot{width:.75rem; height:.75rem; border-radius:999px; background:var(--muted); box-shadow: inset 0 0 0 2px rgba(255,255,255,.06)}


/* Category colors */
.vca-timetable .bjj .dot, .vca-timetable .bjj .badge{ background:#3aa6ff; }
.vca-timetable .mma .dot, .vca-timetable .mma .badge{ background:#ff7a1a; }
.vca-timetable .kick .dot, .vca-timetable .kick .badge{ background:#24d17b; }
.vca-timetable .kids .dot, .vca-timetable .kids .badge{ background:#b08cff; }
.vca-timetable .str .dot, .vca-timetable .str .badge{ background:#ffd166; }
.vca-timetable .spar .dot, .vca-timetable .spar .badge{ background:#ff3b3b; }


.vca-timetable .badge{ display:inline-block; padding:.25rem .5rem; font-size:.7rem; border-radius:999px; color:#0a0c10; font-weight:700; }
.vca-timetable .time{ color: var(--muted); font-size: .9rem }
.vca-timetable .coach{ color: var(--muted); font-size: .82rem }


/* Layout */
.vca-timetable .week-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: var(--grid-gap); }
.vca-timetable .day-col{ display:flex; flex-direction:column; gap:var(--grid-gap); }
.vca-timetable .day-head{ text-align:center; font-weight:800; letter-spacing:.02em; padding:.75rem; }


.vca-timetable .cell{ background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)), var(--card); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 100px; padding:.9rem; display:flex; flex-direction:column; justify-content:space-between; }
.vca-timetable .title{ font-weight:700; font-size:1rem; color:white; }
.vca-timetable .meta{ display:flex; align-items:center; justify-content:space-between; margin-top:.35rem }


@media (max-width: 900px){
.vca-timetable .week-grid{ grid-template-columns:1fr; }
.vca-timetable .day-col{ background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)), var(--card); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding:.75rem; }
.vca-timetable .day-head{ text-align:left; }
.vca-timetable .cell{ min-height:80px; }
}


@media (prefers-reduced-motion: no-preference){
.vca-timetable .cell{ transition: transform .15s ease, box-shadow .15s ease }
.vca-timetable .cell:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.35) }
}