﻿/* =====================================================================
   OASIS ATHLETICS — "Smart Light" Theme  v1.0
   Shared by every master page. Loaded AFTER bootstrap + site.css so it
   wins. Inspired by the Oasis Athletics mobile app: soft sky gradient,
   floating sport doodles, glass cards, colourful pastel tiles.
   ===================================================================== */

:root {
    --oa-navy: #0b4ea2;
    --oa-navy-2: #1f6fd1;
    --oa-navy-dark: #083a7a;
    --oa-gold: #b8963e;
    --oa-gold-soft: #f3e7c6;
    --oa-ink: #1d2433;
    --oa-muted: #6b7690;
    --oa-line: rgba(15, 40, 90, .08);
    --oa-glass: rgba(255, 255, 255, .72);
    --oa-glass-strong: rgba(255, 255, 255, .9);
    --oa-radius: 22px;
    --oa-radius-sm: 14px;
    --oa-shadow: 0 10px 30px rgba(31, 64, 128, .10);
    --oa-shadow-lg: 0 18px 45px rgba(31, 64, 128, .16);
    --oa-sidebar-w: 284px;
    /* pastel palette (tiles, chips, highlights) */
    --oa-pink-1: #ff9cb8;   --oa-pink-2: #f2709c;   --oa-pink-bg: #ffe8f0;
    --oa-lav-1: #b3a8f5;    --oa-lav-2: #8574e0;    --oa-lav-bg: #efebff;
    --oa-teal-1: #8fdcd0;   --oa-teal-2: #3fb5a5;   --oa-teal-bg: #e2f7f3;
    --oa-orange-1: #ffc98b; --oa-orange-2: #ff9a3c; --oa-orange-bg: #fff1e1;
    --oa-sky-1: #9fd0ff;    --oa-sky-2: #4c9bf5;    --oa-sky-bg: #e5f1ff;
    --oa-green-1: #a5e6b4;  --oa-green-2: #3dbb63;  --oa-green-bg: #e3f8e8;
    --oa-yellow-1: #ffe08a; --oa-yellow-2: #f5b82e; --oa-yellow-bg: #fff7dc;
    --oa-rose-1: #ffb1a8;   --oa-rose-2: #f0645a;   --oa-rose-bg: #ffe9e6;
}

/* ---------- Base ---------- */
html { background: linear-gradient(180deg, #f1f5fc 0%, #e4ecf8 45%, #cddbf0 100%) fixed; min-height: 100%; }
html body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--oa-ink);
    background: linear-gradient(180deg, #f1f5fc 0%, #e4ecf8 45%, #cddbf0 100%) fixed !important;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 {
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--oa-ink);
}
a { color: var(--oa-navy-2); }
a:hover { color: var(--oa-navy); }
::selection { background: #cfe2ff; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c3d1ea; border-radius: 20px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Floating sport doodles (background) ---------- */
.oa-doodles {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.oa-doodles span {
    position: absolute; font-size: 54px; opacity: .13; filter: saturate(.6) blur(.3px);
    animation: oa-float 14s ease-in-out infinite;
}
.oa-doodles span:nth-child(1) { top: 9%;  left: 72%; animation-delay: 0s; }
.oa-doodles span:nth-child(2) { top: 18%; left: 88%; font-size: 64px; animation-delay: -3s; }
.oa-doodles span:nth-child(3) { top: 38%; left: 6%;  animation-delay: -6s; }
.oa-doodles span:nth-child(4) { top: 46%; left: 34%; font-size: 70px; animation-delay: -2s; }
.oa-doodles span:nth-child(5) { top: 60%; left: 82%; animation-delay: -8s; }
.oa-doodles span:nth-child(6) { top: 74%; left: 52%; font-size: 62px; animation-delay: -5s; }
.oa-doodles span:nth-child(7) { top: 86%; left: 14%; animation-delay: -10s; }
.oa-doodles span:nth-child(8) { top: 28%; left: 55%; font-size: 46px; animation-delay: -7s; }
@keyframes oa-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
}

/* ---------- Layout shell ---------- */
.oa-shell { position: relative; z-index: 1; }

.oa-topbar {
    position: sticky; top: 0; z-index: 1030;
    display: flex; align-items: center; gap: 14px;
    padding: 12px 22px;
    margin-left: var(--oa-sidebar-w);
    background: rgba(241, 245, 252, .72);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, .6);
}
.oa-burger {
    width: 44px; height: 44px; border-radius: 14px; border: 0;
    background: var(--oa-glass-strong); box-shadow: var(--oa-shadow);
    display: none; align-items: center; justify-content: center;
    font-size: 22px; color: var(--oa-ink); cursor: pointer;
}
.oa-page-head { min-width: 0; }
.oa-page-head .oa-hello { font-size: .82rem; color: var(--oa-muted); margin: 0; }
.oa-page-head .oa-page-title {
    font-size: 1.35rem; font-weight: 700; margin: 0; color: var(--oa-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.oa-top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.oa-icon-btn {
    position: relative; width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--oa-glass-strong); box-shadow: 0 4px 14px rgba(31, 64, 128, .10);
    font-size: 19px; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.oa-icon-btn:hover { transform: translateY(-2px); box-shadow: var(--oa-shadow); }
.oa-icon-btn.c-sky { color: var(--oa-sky-2); }
.oa-icon-btn.c-green { color: var(--oa-green-2); }
.oa-icon-btn.c-rose { color: var(--oa-rose-2); }
.oa-icon-btn.c-orange { color: var(--oa-orange-2); }
.oa-icon-btn .oa-tip {
    position: absolute; top: 50px; left: 50%; transform: translateX(-50%) translateY(4px);
    background: var(--oa-ink); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 8px;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s;
}
.oa-icon-btn:hover .oa-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.oa-logout {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem;
    background: var(--oa-rose-bg); color: #c2412f; border: 1px solid #ffd2cc; transition: .2s;
}
.oa-logout:hover { background: #ffd9d3; color: #a92f1f; }

/* ---------- Text size (parents) ---------- */
html { font-size: 16.5px; }
html.oa-fs-sm { font-size: 15px; }
html.oa-fs-md { font-size: 16.5px; }
html.oa-fs-lg { font-size: 18.5px; }
html.oa-fs-xl { font-size: 20.5px; }
html body .oa-main .table td, html body .oa-main .table th { font-size: .9rem !important; }
html body .oa-main label, html body .oa-main .form-control, html body .oa-main .form-select { font-size: 1rem; }
.oa-icon-btn.c-lav { color: #8574e0; }
.oa-fs-ico { font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.oa-fs-wrap { position: relative; }
.oa-fs-menu {
    position: absolute; right: 0; top: 54px; z-index: 1050; width: 200px; padding: 8px; border-radius: 18px;
    background: #fff; box-shadow: var(--oa-shadow-lg); display: none;
}
.oa-fs-menu.show { display: block; animation: oa-enter .2s ease both; }
.oa-fs-wrap:has(.oa-fs-menu.show) .oa-tip { display: none; }
.oa-fs-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oa-muted); padding: 6px 10px; }
.oa-fs-menu button {
    display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; padding: 9px 10px;
    border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--oa-ink); text-align: left;
}
.oa-fs-menu button span { width: 26px; text-align: center; font-weight: 700; color: var(--oa-navy); }
.oa-fs-menu button:hover { background: #f1f5fc; }
.oa-fs-menu button.is-on { background: #e7f0ff; color: var(--oa-navy); font-weight: 600; }

/* language switch (FR / EN flags) */
.oa-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(31,64,128,.10); }
.oa-lang button {
    display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; border-radius: 999px;
    padding: 6px 10px; font-size: 12px; font-weight: 700; color: #5f6b80; cursor: pointer; transition: .2s;
}
.oa-lang button svg { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); display: block; }
.oa-lang button:hover { background: #f1f5fc; }
.oa-lang button.is-on { background: #0b4ea2; color: #fff; }
@media (max-width: 575.98px) { .oa-lang button span { display: none; } .oa-lang button { padding: 7px 8px; } }

/* unread badge (messages) */
.oa-badge, .oa-badge-js {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: #ff4d4f; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
    box-shadow: 0 0 0 2px #fff; font-style: normal; pointer-events: none;
}
.oa-badge:empty { display: none; }
.oa-tile .oa-badge-js { top: 10px; right: 10px; }
.oa-chip { position: relative; }
.oa-hl .oa-badge-js { top: 16px; right: auto; left: 18px; height: 24px; line-height: 24px; min-width: 24px; font-size: 12px; }
.oa-bottomnav a { position: relative; }
.oa-bottomnav .oa-badge-js { top: 2px; right: 6px; }

/* ---------- Sidebar / drawer ---------- */
.oa-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: var(--oa-sidebar-w); z-index: 1040;
    display: flex; flex-direction: column;
    background: rgba(246, 249, 255, .82);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 8px 0 30px rgba(31, 64, 128, .06);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.oa-side-head {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--oa-navy-2) 0%, var(--oa-navy) 55%, var(--oa-navy-dark) 100%);
    color: #fff; padding: 22px 20px 24px; border-bottom-right-radius: 34px;
}
.oa-side-head::after {
    content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px;
    border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.oa-side-head .oa-logo {
    width: 62px; height: 62px; border-radius: 50%; background: #fff; padding: 7px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18); object-fit: contain; flex-shrink: 0;
}
.oa-side-head .oa-hi { font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin: 0; color: #fff; }
.oa-side-head .oa-welcome { font-size: .85rem; opacity: .9; margin: 2px 0 0; color: #fff; }
.oa-side-head .oa-user {
    margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: .85rem;
    max-width: 100%;
}
.oa-side-head .oa-user b { color: #ffe39a; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-side-head .oa-user i {
    width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--oa-navy);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.oa-side-close {
    position: absolute; top: 14px; right: 14px; z-index: 2; display: none;
    width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 18px;
}
.oa-side-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 18px 16px 10px; }
.oa-side-label {
    font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--oa-muted); margin: 6px 6px 10px;
}
.oa-side-main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.oa-side-main a {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px;
    border-radius: 16px; background: #fff; color: var(--oa-ink); text-decoration: none; font-weight: 600; font-size: .92rem;
    box-shadow: 0 3px 10px rgba(31, 64, 128, .06); transition: .2s;
}
.oa-side-main a i { color: var(--oa-navy); font-size: 1.1rem; }
.oa-side-main a:hover, .oa-side-main a.is-active { background: var(--oa-navy); color: #fff; }
.oa-side-main a:hover i, .oa-side-main a.is-active i { color: #fff; }

/* colourful tile grid (like the app drawer) */
.oa-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oa-tile {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
    min-height: 112px; padding: 14px; border-radius: 22px; background: #fff;
    border: 1.5px solid var(--oa-sky-bg); text-decoration: none !important; color: var(--oa-ink) !important;
    box-shadow: 0 4px 14px rgba(31, 64, 128, .06); transition: transform .2s, box-shadow .2s, border-color .2s;
    overflow: hidden;
}
.oa-tile:hover { transform: translateY(-3px); box-shadow: var(--oa-shadow); }
.oa-tile .oa-bubble {
    width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; line-height: 1; background: var(--oa-sky-bg); color: var(--oa-sky-2);
}
.oa-tile .oa-bubble i { font-size: 22px; margin: 0 !important; }
.oa-tile .oa-tile-name { font-weight: 600; font-size: clamp(12.5px, .82rem, 14.5px); line-height: 1.22; word-break: normal; overflow-wrap: break-word; hyphens: auto; }
.oa-tile.is-active { border-color: var(--oa-navy-2); box-shadow: 0 0 0 3px rgba(31, 111, 209, .15); }

/* auto colours — nth tile */
.oa-tiles .oa-tile:nth-child(8n+1) { border-color: #d9e9ff; } .oa-tiles .oa-tile:nth-child(8n+1) .oa-bubble { background: linear-gradient(135deg, #e5f1ff, #cfe4ff); color: var(--oa-sky-2); }
.oa-tiles .oa-tile:nth-child(8n+2) { border-color: #d4f2dc; } .oa-tiles .oa-tile:nth-child(8n+2) .oa-bubble { background: linear-gradient(135deg, #e3f8e8, #c9f0d3); color: var(--oa-green-2); }
.oa-tiles .oa-tile:nth-child(8n+3) { border-color: #cdeee8; } .oa-tiles .oa-tile:nth-child(8n+3) .oa-bubble { background: linear-gradient(135deg, #e2f7f3, #c3ede5); color: var(--oa-teal-2); }
.oa-tiles .oa-tile:nth-child(8n+4) { border-color: #ffe0c2; } .oa-tiles .oa-tile:nth-child(8n+4) .oa-bubble { background: linear-gradient(135deg, #fff1e1, #ffdcb5); color: var(--oa-orange-2); }
.oa-tiles .oa-tile:nth-child(8n+5) { border-color: #ffeeb8; } .oa-tiles .oa-tile:nth-child(8n+5) .oa-bubble { background: linear-gradient(135deg, #fff7dc, #ffeaa8); color: var(--oa-yellow-2); }
.oa-tiles .oa-tile:nth-child(8n+6) { border-color: #e6defc; } .oa-tiles .oa-tile:nth-child(8n+6) .oa-bubble { background: linear-gradient(135deg, #efebff, #ddd5ff); color: var(--oa-lav-2); }
.oa-tiles .oa-tile:nth-child(8n+7) { border-color: #ffd6e3; } .oa-tiles .oa-tile:nth-child(8n+7) .oa-bubble { background: linear-gradient(135deg, #ffe8f0, #ffd0df); color: var(--oa-pink-2); }
.oa-tiles .oa-tile:nth-child(8n+8) { border-color: #ffd5cf; } .oa-tiles .oa-tile:nth-child(8n+8) .oa-bubble { background: linear-gradient(135deg, #ffe9e6, #ffcdc6); color: var(--oa-rose-2); }

/* ---------- Header extras: logo + welcome chip ---------- */
.oa-top-logo { display: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 5px; box-shadow: 0 4px 14px rgba(31,64,128,.10); flex-shrink: 0; }
.oa-top-logo img { width: 100%; height: 100%; object-fit: contain; }
body.oa-side-collapsed .oa-top-logo, html.oa-pre-collapsed .oa-top-logo { display: inline-block; }
.oa-welcome-chip { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(31,64,128,.08); }
.oa-initials { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--oa-navy-2), var(--oa-navy)); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.oa-wc-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.oa-wc-text small { font-size: 10.5px; color: var(--oa-muted); font-weight: 500; }
.oa-wc-text b { font-size: 13px; font-weight: 600; color: var(--oa-ink); max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1199.98px) { .oa-welcome-chip .oa-wc-text { display: none; } .oa-welcome-chip { padding: 4px; } }
@media (max-width: 991.98px) { .oa-top-logo { display: inline-block; width: 40px; height: 40px; } .oa-welcome-chip { display: none; } }

/* ---------- Footer: full width of the page, after the side menu ---------- */
.oa-footer {
    position: relative; z-index: 1; margin-left: var(--oa-sidebar-w); padding: 22px 32px 18px;
    background: rgba(255,255,255,.82); border-top: 1px solid rgba(255,255,255,.95); box-shadow: 0 -6px 24px rgba(31,64,128,.05);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: .82rem; color: var(--oa-muted);
    transition: margin-left .35s cubic-bezier(.2, .8, .2, 1);
}
.oa-main:has(+ .oa-footer) { min-height: calc(100vh - 70px - 150px); padding-bottom: 28px; }
@media (min-width: 992px) {
    body.oa-side-collapsed .oa-footer, html.oa-pre-collapsed .oa-footer { margin-left: var(--oa-mini-w); }
}
.oa-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--oa-line); }
.oa-f-brand { display: inline-flex; align-items: center; gap: 12px; }
.oa-f-brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 5px; box-shadow: 0 4px 12px rgba(31,64,128,.10); object-fit: contain; }
.oa-f-brand b { display: block; color: var(--oa-ink); font-size: .95rem; }
.oa-f-brand small { color: var(--oa-muted); }
.oa-f-mails { display: flex; flex-wrap: wrap; gap: 10px; }
.oa-f-mails a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: #fff; color: var(--oa-ink) !important; text-decoration: none; box-shadow: 0 3px 10px rgba(31,64,128,.05); transition: transform .2s; }
.oa-f-mails a:hover { transform: translateY(-2px); }
.oa-f-mails i { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: var(--oa-sky-bg); color: var(--oa-sky-2); font-size: 16px; }
.oa-f-mails a:nth-child(2) i { background: var(--oa-green-bg); color: var(--oa-green-2); }
.oa-f-mails span { display: flex; flex-direction: column; font-weight: 600; font-size: .82rem; line-height: 1.2; }
.oa-f-mails small { font-weight: 500; font-size: .7rem; color: var(--oa-muted); }
.oa-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }

.oa-tile .oa-tile-name.is-long { font-size: 11.5px; letter-spacing: -.01em; }
.oa-f-social { display: inline-flex; align-items: center; gap: 8px; }
.oa-so { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .78rem; color: #fff !important; transition: transform .2s; }
.oa-so:hover { transform: translateY(-2px); }
.oa-so-ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.oa-so-fb { background: #1877f2; }
.oa-backtop {
    position: fixed; right: 22px; bottom: 22px; z-index: 1020; width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: #fff; color: var(--oa-navy); box-shadow: 0 8px 20px rgba(31,64,128,.18); font-size: 18px;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.oa-backtop.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 991.98px) { .oa-backtop { right: 16px; bottom: 92px; } .oa-footer { margin-left: 0; padding: 18px 16px 100px; } .oa-main:has(+ .oa-footer) { padding-bottom: 20px; } }

/* =====================================================================
   COLOURED HEADER + SMART MENU + FOOTER  (v6)
   ===================================================================== */
:root { --oa-rainbow: linear-gradient(90deg, #3dbb63, #f5b82e, #ff9a3c, #f0645a, #8574e0, #4c9bf5); }

/* ---- header ---- */
html body .oa-topbar {
    background:
        radial-gradient(circle at 92% -40%, rgba(255,255,255,.18) 0, rgba(255,255,255,0) 38%),
        radial-gradient(circle at 55% 140%, rgba(255,255,255,.12) 0, rgba(255,255,255,0) 34%),
        linear-gradient(90deg, #2a7fe0 0%, #1560c4 40%, #0b4ea2 75%, #083a7a 100%);
    border-bottom: 0; box-shadow: 0 10px 26px rgba(11,78,162,.22);
    -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff;
}
html body .oa-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--oa-rainbow); opacity: .9; }
.oa-topbar .oa-page-head .oa-hello { color: rgba(255,255,255,.82); }
.oa-topbar .oa-page-head .oa-page-title { color: #fff; }
.oa-topbar .oa-burger, .oa-topbar .oa-icon-btn {
    background: rgba(255,255,255,.16); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.oa-topbar .oa-burger:hover, .oa-topbar .oa-icon-btn:hover { background: rgba(255,255,255,.28); }
.oa-topbar .oa-icon-btn .oa-badge { box-shadow: 0 0 0 2px #1560c4; }
.oa-topbar .oa-lang { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.oa-topbar .oa-lang button { color: rgba(255,255,255,.9); }
.oa-topbar .oa-lang button:hover { background: rgba(255,255,255,.18); }
.oa-topbar .oa-lang button.is-on { background: #fff; color: var(--oa-navy); }
.oa-topbar .oa-welcome-chip, .oa-topbar .oa-staff-user { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.oa-topbar .oa-wc-text small { color: rgba(255,255,255,.75); }
.oa-topbar .oa-wc-text b, .oa-topbar .oa-staff-user b { color: #fff; }
.oa-topbar .oa-initials { background: #fff; color: var(--oa-navy); }
.oa-topbar .oa-logout { background: #fff; border-color: #fff; color: #c2412f; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.oa-topbar .oa-logout:hover { background: #ffe9e6; }
.oa-topbar .oa-top-logo { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }

/* ---- left menu ---- */
html body .oa-sidebar { background: linear-gradient(180deg, #f6f9ff 0%, #eef3fd 55%, #e8eefb 100%); }
.oa-side-head .oa-logo, .oa-staff .oa-side-head .oa-avatar {
    border: 3px solid transparent; padding: 4px;
    background: linear-gradient(#fff, #fff) padding-box, conic-gradient(#3dbb63, #f5b82e, #f0645a, #8574e0, #4c9bf5, #3dbb63) border-box;
}
.oa-side-head { box-shadow: 0 10px 24px rgba(11,78,162,.25); }
.oa-side-head::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--oa-rainbow); opacity: .9; }
.oa-side-label { display: flex; align-items: center; gap: 8px; }
.oa-side-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #d5dff0, transparent); }
.oa-side-main a { border: 1px solid #e3ebf7; }
.oa-tiles .oa-tile { box-shadow: 0 4px 14px rgba(31,64,128,.06), inset 0 -3px 0 rgba(31,64,128,.03); }
.oa-tiles .oa-tile:hover .oa-bubble { transform: scale(1.08) rotate(-4deg); }
.oa-tile .oa-bubble { transition: transform .25s; }
.oa-side-foot { background: rgba(255,255,255,.5); }

/* ---- footer ---- */
html body .oa-footer {
    background:
        radial-gradient(circle at 8% 0%, rgba(255,255,255,.10) 0, rgba(255,255,255,0) 30%),
        linear-gradient(120deg, #0b2e5c 0%, #0b4ea2 60%, #1560c4 100%);
    color: rgba(255,255,255,.78); border-top: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
html body .oa-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--oa-rainbow); }
.oa-footer .oa-footer-top { border-bottom-color: rgba(255,255,255,.14); }
.oa-footer .oa-f-brand b { color: #fff; }
.oa-footer .oa-f-brand small { color: rgba(255,255,255,.7); }
.oa-footer .oa-f-brand img {
    border: 3px solid transparent; padding: 3px;
    background: linear-gradient(#fff, #fff) padding-box, conic-gradient(#3dbb63, #f5b82e, #f0645a, #8574e0, #4c9bf5, #3dbb63) border-box;
}
.oa-footer .oa-f-mails a { background: rgba(255,255,255,.10); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.oa-footer .oa-f-mails a:hover { background: rgba(255,255,255,.18); }
.oa-footer .oa-f-mails small { color: rgba(255,255,255,.7); }
.oa-footer .oa-f-mails i { background: rgba(255,255,255,.16); color: #9fd0ff; }
.oa-footer .oa-f-mails a:nth-child(2) i { background: rgba(255,255,255,.16); color: #a5e6b4; }
.oa-footer .oa-f-copy { color: rgba(255,255,255,.75); }

@media (min-width: 992px) { .oa-footer .oa-footer-bottom { padding-right: 64px; } }
@media (max-width: 991.98px) {
    .oa-topbar .oa-page-head .oa-hello { display: none; }
    .oa-topbar .oa-page-head .oa-page-title { font-size: 1.05rem; }
    .oa-topbar { gap: 8px; }
    .oa-topbar .oa-top-actions { gap: 6px; }
}
@media (max-width: 420px) { .oa-topbar .oa-fs-wrap { display: none; } }

/* slim parent header: welcome + language only */
.oa-topbar-slim { min-height: 64px; justify-content: flex-end; }
.oa-topbar-slim .oa-welcome-chip { display: inline-flex !important; padding: 4px 16px 4px 4px; }
.oa-topbar-slim .oa-wc-text { display: flex !important; }
.oa-topbar-slim .oa-wc-text b { max-width: 260px; font-size: 14px; }
.oa-topbar-slim .oa-initials { width: 38px; height: 38px; }
@media (max-width: 991.98px) { .oa-topbar-slim .oa-wc-text b { max-width: 150px; } }

/* menu header without logo: when the menu is collapsed show a small wave */
@media (min-width: 992px) {

}

/* ---- parent: menu head + header = one continuous band (same height, colour and line) ---- */
:root { --oa-band-h: 64px; }
html body .oa-topbar.oa-topbar-slim { height: var(--oa-band-h); min-height: var(--oa-band-h); padding-top: 0; padding-bottom: 0; box-shadow: 0 8px 20px rgba(11,78,162,.16); }
.oa-sidebar:not(.oa-staff) .oa-side-head {
    height: var(--oa-band-h); padding: 0 16px; border-radius: 0; display: flex; align-items: center; gap: 10px;
    background:
        radial-gradient(circle at 10% -60%, rgba(255,255,255,.18) 0, rgba(255,255,255,0) 45%),
        linear-gradient(90deg, #083a7a 0%, #0b4ea2 40%, #1560c4 75%, #2a7fe0 100%);
    box-shadow: none;
}
.oa-sidebar:not(.oa-staff) .oa-side-head::after { display: none; }
.oa-sidebar:not(.oa-staff) .oa-side-head::before { height: 3px; }
.oa-sidebar:not(.oa-staff) .oa-side-head > .d-flex { flex-shrink: 0; gap: 0 !important; }
.oa-sidebar:not(.oa-staff) .oa-side-head .oa-hi { font-size: 1.05rem; line-height: 1; white-space: nowrap; }
.oa-sidebar:not(.oa-staff) .oa-side-head .oa-welcome { display: none; }
.oa-sidebar:not(.oa-staff) .oa-side-head .oa-user { margin-top: 0; padding: 4px 12px 4px 4px; min-width: 0; max-width: 150px; font-size: .8rem; }
.oa-sidebar:not(.oa-staff) .oa-side-head .oa-user i { width: 24px; height: 24px; font-size: 12px; }
.oa-sidebar:not(.oa-staff) .oa-side-close { top: 50%; transform: translateY(-50%); right: 12px; }
html body .oa-sidebar:not(.oa-staff) { border-right: 0; }
.oa-sidebar:not(.oa-staff) .oa-side-body, .oa-sidebar:not(.oa-staff) .oa-side-foot { box-shadow: inset -1px 0 0 rgba(11,78,162,.08); }
.oa-sidebar:not(.oa-staff) .oa-side-body { padding-top: 16px; }
.oa-sidebar .oa-side-toggle { top: calc(var(--oa-band-h) / 2 - 15px); }
@media (min-width: 992px) {
    .oa-side-collapsed .oa-sidebar:not(.oa-staff) .oa-side-head, .oa-pre-collapsed .oa-sidebar:not(.oa-staff) .oa-side-head { padding: 0; justify-content: center; }

}
@media (max-width: 991.98px) {
    .oa-sidebar:not(.oa-staff) .oa-side-head { padding-right: 56px; }
}

/* parent header: logout next to the language switch (also on phones) */
.oa-topbar-slim .oa-top-actions .oa-logout { display: inline-flex !important; padding: 8px 16px; }
@media (max-width: 575.98px) { .oa-topbar-slim .oa-logout span { display: none; } .oa-topbar-slim .oa-logout { padding: 9px 11px !important; } }
.oa-sidebar:not(.oa-staff) .oa-side-foot { padding: 10px 16px 14px; }

/* parent header: full father name on the left */
.oa-topbar-slim { justify-content: space-between !important; }
.oa-parent-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #fff; }
.oa-parent-name i { font-size: 1.35rem; opacity: .9; flex-shrink: 0; }
.oa-parent-name b { font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: normal; }
.oa-pn-text { line-height: 1.25; }
.oa-pn-welcome { font-weight: 400; font-size: .95rem; color: rgba(255,255,255,.85); }
@media (max-width: 575.98px) { .oa-pn-welcome { font-size: .78rem; } }
@media (max-width: 575.98px) { .oa-parent-name b { font-size: .82rem; } .oa-parent-name i { font-size: 1.1rem; } }

/* logo in the menu head (replaces "Hello!") */
.oa-head-logo { display: inline-flex; }
.oa-sidebar:not(.oa-staff) .oa-side-head .oa-logo { width: 46px; height: 46px; padding: 3px; }
.oa-side-collapsed .oa-sidebar:not(.oa-staff) .oa-side-head > .d-flex > .oa-head-logo,
.oa-pre-collapsed .oa-sidebar:not(.oa-staff) .oa-side-head > .d-flex > .oa-head-logo { display: inline-flex !important; }
.oa-side-collapsed .oa-sidebar:not(.oa-staff) .oa-side-head .oa-logo,
.oa-pre-collapsed .oa-sidebar:not(.oa-staff) .oa-side-head .oa-logo { width: 46px; height: 46px; }

/* app-menu colours (same as the Parent portal / mobile app) */
.oa-tiles .oa-tile.k-blue   { border-color: #d9e9ff; } .oa-tiles .oa-tile.k-blue   .oa-bubble { background: linear-gradient(135deg, #e5f1ff, #cfe4ff); color: #1f6fd1; }
.oa-tiles .oa-tile.k-green  { border-color: #d4f2dc; } .oa-tiles .oa-tile.k-green  .oa-bubble { background: linear-gradient(135deg, #e3f8e8, #c9f0d3); color: #2e9d55; }
.oa-tiles .oa-tile.k-teal   { border-color: #cdeee8; } .oa-tiles .oa-tile.k-teal   .oa-bubble { background: linear-gradient(135deg, #e2f7f3, #c3ede5); color: #12897a; }
.oa-tiles .oa-tile.k-orange { border-color: #ffe0c2; } .oa-tiles .oa-tile.k-orange .oa-bubble { background: linear-gradient(135deg, #fff1e1, #ffdcb5); color: #f07a1a; }
.oa-tiles .oa-tile.k-yellow { border-color: #ffeeb8; } .oa-tiles .oa-tile.k-yellow .oa-bubble { background: linear-gradient(135deg, #fff7dc, #ffeaa8); color: #e5a100; }
.oa-tiles .oa-tile.k-purple { border-color: #ecdcfb; } .oa-tiles .oa-tile.k-purple .oa-bubble { background: linear-gradient(135deg, #f5ebff, #e7d5fb); color: #8e3fc9; }
.oa-tiles .oa-tile.k-indigo { border-color: #dfe1fb; } .oa-tiles .oa-tile.k-indigo .oa-bubble { background: linear-gradient(135deg, #eceeff, #dadcfb); color: #4b55c9; }
.oa-tiles .oa-tile.k-slate  { border-color: #e2e6ee; } .oa-tiles .oa-tile.k-slate  .oa-bubble { background: linear-gradient(135deg, #f1f3f7, #e2e6ee); color: #4f5b72; }
.oa-tiles .oa-tile.k-sky    { border-color: #d9e9ff; } .oa-tiles .oa-tile.k-sky    .oa-bubble { background: linear-gradient(135deg, #e5f6ff, #cfeaff); color: #1a8fd1; }
.oa-tile .oa-ext { position: absolute; top: 12px; right: 12px; font-size: 11px; color: #a4afc3; }
.oa-side-collapsed .oa-tile .oa-ext, .oa-pre-collapsed .oa-tile .oa-ext { display: none; }

.oa-side-foot { padding: 12px 16px 18px; border-top: 1px solid var(--oa-line); }
.oa-side-foot .oa-logout { width: 100%; justify-content: space-between; border-radius: 18px; padding: 14px 18px; }
.oa-version { text-align: center; color: var(--oa-muted); font-size: .75rem; margin-top: 10px; }

.oa-overlay {
    position: fixed; inset: 0; z-index: 1035; background: rgba(20, 30, 55, .35);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: .3s;
}

/* ---------- Main ---------- */
.oa-main {
    position: relative; z-index: 1;
    margin-left: var(--oa-sidebar-w);
    padding: 18px 26px 40px;
    min-height: calc(100vh - 70px);
    animation: oa-enter .5s ease both;
}
@keyframes oa-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* quick links chips row (cloned from sidebar by JS) */
.oa-chips {
    display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px;
    scroll-snap-type: x proximity; scrollbar-width: none;
}
.oa-chips::-webkit-scrollbar { display: none; }
.oa-chips:empty { display: none; }
.oa-chip {
    flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px 9px 9px; border-radius: 999px; background: #fff; color: var(--oa-ink) !important;
    font-weight: 600; font-size: .86rem; text-decoration: none !important; white-space: nowrap;
    box-shadow: 0 3px 10px rgba(31, 64, 128, .07); border: 1.5px solid transparent; transition: .2s;
}
.oa-chip .oa-chip-ico {
    width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; background: var(--oa-sky-bg);
}
.oa-chip .oa-chip-ico i { margin: 0 !important; }
.oa-chip:hover { transform: translateY(-2px); box-shadow: var(--oa-shadow); }
.oa-chip.is-active { background: var(--oa-navy); color: #fff !important; }
.oa-chips .oa-chip:nth-child(8n+1) .oa-chip-ico { background: var(--oa-sky-bg); color: var(--oa-sky-2); }
.oa-chips .oa-chip:nth-child(8n+2) .oa-chip-ico { background: var(--oa-green-bg); color: var(--oa-green-2); }
.oa-chips .oa-chip:nth-child(8n+3) .oa-chip-ico { background: var(--oa-teal-bg); color: var(--oa-teal-2); }
.oa-chips .oa-chip:nth-child(8n+4) .oa-chip-ico { background: var(--oa-orange-bg); color: var(--oa-orange-2); }
.oa-chips .oa-chip:nth-child(8n+5) .oa-chip-ico { background: var(--oa-yellow-bg); color: var(--oa-yellow-2); }
.oa-chips .oa-chip:nth-child(8n+6) .oa-chip-ico { background: var(--oa-lav-bg); color: var(--oa-lav-2); }
.oa-chips .oa-chip:nth-child(8n+7) .oa-chip-ico { background: var(--oa-pink-bg); color: var(--oa-pink-2); }
.oa-chips .oa-chip:nth-child(8n+8) .oa-chip-ico { background: var(--oa-rose-bg); color: var(--oa-rose-2); }
.oa-chip.is-active .oa-chip-ico { background: rgba(255, 255, 255, .2) !important; color: #fff !important; }

/* section title — "★ Highlights" style */
.oa-section-title {
    display: flex; align-items: center; gap: 12px; font-size: 1.45rem !important; font-weight: 700 !important;
    margin: 26px 0 14px; color: var(--oa-ink);
}
.oa-section-title .oa-badge-ico {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--oa-navy); color: #fff; font-size: 17px; box-shadow: 0 6px 14px rgba(11, 78, 162, .3);
}

/* Highlights carousel */
.oa-highlights {
    display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.oa-highlights::-webkit-scrollbar { display: none; }
.oa-hl {
    position: relative; flex: 0 0 300px; height: 168px; scroll-snap-align: start; overflow: hidden;
    border-radius: 28px; padding: 22px; color: #fff !important; text-decoration: none !important;
    display: flex; flex-direction: column; justify-content: flex-end;
    box-shadow: 0 14px 30px rgba(31, 64, 128, .16); transition: transform .25s;
}
.oa-hl:hover { transform: translateY(-4px) scale(1.01); }
.oa-hl::before {
    content: ""; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 170px; border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}
.oa-hl .oa-hl-ico { position: absolute; right: 26px; top: 20px; font-size: 54px; opacity: .35; line-height: 1; }
.oa-hl .oa-hl-ico i { font-size: 54px; margin: 0 !important; }
.oa-hl .oa-hl-tag {
    align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(255, 255, 255, .25); padding: 4px 12px; border-radius: 8px; margin-bottom: 8px;
}
.oa-hl .oa-hl-name { font-size: 1.35rem; font-weight: 600; line-height: 1.15; position: relative; z-index: 1; }
.oa-hl .oa-hl-go {
    position: absolute; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}
.oa-highlights .oa-hl:nth-child(6n+1) { background: linear-gradient(135deg, #ff9cb8, #f06f9b); } .oa-highlights .oa-hl:nth-child(6n+1) .oa-hl-go { color: #f06f9b; }
.oa-highlights .oa-hl:nth-child(6n+2) { background: linear-gradient(135deg, #8fdcd0, #3fb5a5); } .oa-highlights .oa-hl:nth-child(6n+2) .oa-hl-go { color: #3fb5a5; }
.oa-highlights .oa-hl:nth-child(6n+3) { background: linear-gradient(135deg, #b3a8f5, #8574e0); } .oa-highlights .oa-hl:nth-child(6n+3) .oa-hl-go { color: #8574e0; }
.oa-highlights .oa-hl:nth-child(6n+4) { background: linear-gradient(135deg, #ffc98b, #ff9a3c); } .oa-highlights .oa-hl:nth-child(6n+4) .oa-hl-go { color: #ff9a3c; }
.oa-highlights .oa-hl:nth-child(6n+5) { background: linear-gradient(135deg, #9fd0ff, #4c9bf5); } .oa-highlights .oa-hl:nth-child(6n+5) .oa-hl-go { color: #4c9bf5; }
.oa-highlights .oa-hl:nth-child(6n+6) { background: linear-gradient(135deg, #a5e6b4, #3dbb63); } .oa-highlights .oa-hl:nth-child(6n+6) .oa-hl-go { color: #3dbb63; }

/* Glass panel / hero */
.oa-glass {
    background: var(--oa-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .8); border-radius: 28px; box-shadow: var(--oa-shadow);
}

/* Mobile bottom nav */
.oa-bottomnav {
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 1030; display: none;
    justify-content: space-around; align-items: center; padding: 10px;
    background: rgba(250, 252, 255, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 30px rgba(31, 64, 128, .18);
}
.oa-bottomnav a, .oa-bottomnav button {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0;
    background: transparent; color: #5b6478; font-size: 22px; text-decoration: none; cursor: pointer;
}
.oa-bottomnav .oa-bn-label { display: none; font-size: .95rem; font-weight: 600; }
.oa-bottomnav .is-active { background: #e6e3fb; color: #4a3fb0; }
.oa-bottomnav .is-active .oa-bn-label { display: inline; }

/* ---------- Chatbot ---------- */
#chatbot-button { right: 22px !important; bottom: 22px !important; }
#chatbot-button .btn {
    width: 60px !important; height: 60px !important; border: 0;
    background: linear-gradient(135deg, var(--oa-navy-2), var(--oa-navy)) !important;
    box-shadow: 0 12px 24px rgba(11, 78, 162, .35); animation: oa-pulse 3s infinite;
}
@keyframes oa-pulse { 0%, 100% { box-shadow: 0 12px 24px rgba(11, 78, 162, .35), 0 0 0 0 rgba(31, 111, 209, .35); } 50% { box-shadow: 0 12px 24px rgba(11, 78, 162, .35), 0 0 0 12px rgba(31, 111, 209, 0); } }
#chatbot-box { border-radius: 24px !important; overflow: hidden; border: 0 !important; width: 330px !important; box-shadow: var(--oa-shadow-lg) !important; }
#chatbot-box .card-header { background: linear-gradient(135deg, var(--oa-navy-2), var(--oa-navy)) !important; border: 0; padding: 14px 18px; font-weight: 600; }
#chatbot-box .card-body { background: #f6f9ff !important; }
.oa-msg { max-width: 85%; padding: 8px 12px; border-radius: 16px; margin: 6px 0; font-size: .86rem; line-height: 1.35; }
.oa-msg.me { margin-left: auto; background: var(--oa-navy); color: #fff; border-bottom-right-radius: 4px; }
.oa-msg.bot { background: #fff; color: var(--oa-ink); border-bottom-left-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); }
.oa-msg.bot a { font-weight: 600; }

/* =====================================================================
   GLOBAL COMPONENT OVERRIDES (apply to every existing page content)
   ===================================================================== */

/* containers become soft glass panels */
html body .oa-main .container,
html body .oa-main .container-fluid {
    background: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 28px; box-shadow: 0 6px 24px rgba(31, 64, 128, .06);
    padding: 22px; margin-bottom: 20px;
}
html body .oa-main .container .container,
html body .oa-main .container-fluid .container,
html body .oa-main .container .container-fluid,
html body .oa-main .oa-flat { background: transparent; border: 0; box-shadow: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* cards */
html body .card {
    border: 1px solid rgba(255, 255, 255, .85) !important; border-radius: var(--oa-radius) !important;
    box-shadow: 0 6px 22px rgba(31, 64, 128, .07); overflow: hidden; background: #fff !important;
    transition: box-shadow .25s, transform .25s;
}
html body .card:hover { box-shadow: 0 12px 30px rgba(31, 64, 128, .11); }
html body .card-header {
    background: linear-gradient(135deg, #f4f8ff, #e9f1ff) !important; color: var(--oa-navy) !important;
    border-bottom: 1px solid var(--oa-line) !important; font-weight: 600; padding: 14px 18px !important; font-size: .98rem !important;
}
html body .card-header.bg-primary, html body .card-header.bg-info { background: linear-gradient(135deg, #e5f1ff, #d3e6ff) !important; color: var(--oa-navy) !important; }
html body .card-header.bg-success { background: linear-gradient(135deg, #e3f8e8, #cdf1d6) !important; color: #23824a !important; }
html body .card-header.bg-warning { background: linear-gradient(135deg, #fff7dc, #ffecb0) !important; color: #9a6a00 !important; }
html body .card-header.bg-danger { background: linear-gradient(135deg, #ffe9e6, #ffd3cd) !important; color: #b8372b !important; }
html body .card-header.bg-dark, html body .card-header.bg-secondary { background: linear-gradient(135deg, #efebff, #e0d9ff) !important; color: #4a3fb0 !important; }
html body .card-header.text-white { color: var(--oa-navy) !important; }
html body .card-body { background: transparent !important; }

/* buttons */
html body .btn { border-radius: 999px; font-weight: 600; padding-left: 1.1rem; padding-right: 1.1rem; transition: all .2s ease; }
html body .btn:hover { transform: translateY(-1px); }
html body .btn-primary, html body .btn-custom {
    background: linear-gradient(135deg, var(--oa-navy-2), var(--oa-navy)) !important; border: 0 !important; color: #fff !important;
    box-shadow: 0 8px 18px rgba(11, 78, 162, .25);
}
html body .btn-primary:hover, html body .btn-custom:hover { box-shadow: 0 10px 22px rgba(11, 78, 162, .35); }
html body .btn-success { background: linear-gradient(135deg, #5fcf86, #34b062) !important; border: 0 !important; box-shadow: 0 8px 18px rgba(52, 176, 98, .25); }
html body .btn-danger { background: linear-gradient(135deg, #ff8a80, #f0574b) !important; border: 0 !important; box-shadow: 0 8px 18px rgba(240, 87, 75, .25); }
html body .btn-warning { background: linear-gradient(135deg, #ffd27a, #ffb23e) !important; border: 0 !important; color: #5a3b00 !important; }
html body .btn-info { background: linear-gradient(135deg, #8fd8f5, #4dbbe6) !important; border: 0 !important; color: #fff !important; }
html body .btn-secondary { background: #eef2f9 !important; border: 0 !important; color: var(--oa-ink) !important; }
html body .btn-outline-primary { border: 1.5px solid #bcd6fb !important; color: var(--oa-navy-2) !important; background: #fff !important; }
html body .btn-outline-primary:hover { background: #e5f1ff !important; }
html body .btn-outline-success { border: 1.5px solid #bfe9cc !important; color: #2f9c56 !important; background: #fff !important; }
html body .btn-outline-success:hover { background: var(--oa-green-bg) !important; }
html body .btn-outline-danger { border: 1.5px solid #ffc9c2 !important; color: #d6493d !important; background: #fff !important; }
html body .btn-outline-danger:hover { background: var(--oa-rose-bg) !important; }
html body .btn-outline-warning { border: 1.5px solid #ffe0a8 !important; color: #c27c00 !important; background: #fff !important; }
html body .btn-outline-warning:hover { background: var(--oa-yellow-bg) !important; }
html body .btn-outline-info { border: 1.5px solid #bfe7f7 !important; color: #2a9cc6 !important; background: #fff !important; }
html body .btn-outline-info:hover { background: #e3f6fd !important; }
html body .btn-outline-secondary { border: 1.5px solid #dcd6fb !important; color: #6a5cd0 !important; background: #fff !important; }
html body .btn-outline-secondary:hover { background: var(--oa-lav-bg) !important; }

/* forms */
html body .form-control, html body .form-select,
html body .oa-main input[type="text"], html body .oa-main input[type="password"], html body .oa-main input[type="email"],
html body .oa-main input[type="number"], html body .oa-main input[type="date"], html body .oa-main input[type="tel"],
html body .oa-main select, html body .oa-main textarea {
    border-radius: var(--oa-radius-sm) !important; border: 1.5px solid #dde6f3 !important;
    background: #fbfdff !important; color: var(--oa-ink) !important; font-weight: 500 !important;
    padding: .6rem .9rem; box-shadow: none !important; transition: border-color .2s, box-shadow .2s, background .2s;
    max-width: 100%;
}
html body .form-select, html body .oa-main select { padding-right: 2.2rem; }
html body .form-control:focus, html body .form-select:focus,
html body .oa-main input:focus, html body .oa-main select:focus, html body .oa-main textarea:focus {
    border-color: #8db8f2 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(31, 111, 209, .12) !important; outline: none;
}
html body .form-label, html body label.form-label.fw-bold { color: #46516a !important; font-weight: 600; font-size: .88rem; }
html body input[type="radio"], html body input[type="checkbox"] { accent-color: var(--oa-navy-2); width: 1.05em; height: 1.05em; vertical-align: middle; }
html body .oa-main input[type="radio"] + label, html body .oa-main input[type="checkbox"] + label { margin: 0 14px 0 6px; vertical-align: middle; cursor: pointer; }
html body .oa-main input[type="file"].form-control { padding: .45rem; }
html body .oa-main [style*="width:1004px"], html body .oa-main [style*="width: 1004px"], html body .oa-main table[style*="width:500px"] { width: 100% !important; }

/* tables / GridViews */
html body .table {
    --bs-table-bg: transparent; border-collapse: separate !important; border-spacing: 0;
    background: #fff !important; border-radius: 18px !important; overflow: hidden;
    box-shadow: 0 4px 18px rgba(31, 64, 128, .06); border: 1px solid #e8eef8 !important; margin-bottom: 1rem;
}
html body .table > :not(caption) > * > * { border-color: #eef2f8 !important; padding: .75rem .9rem; vertical-align: middle; }
html body .table th, html body .table thead th, html body .table tr th,
html body .table .table-success, html body .table .bg-primary, html body .table .bg-dark, html body .table thead.table-dark th {
    background: linear-gradient(180deg, #f2f7ff, #e7f0ff) !important; color: var(--oa-navy) !important;
    font-weight: 600 !important; font-size: .8rem !important; text-transform: uppercase; letter-spacing: .04em;
    border-bottom: 1px solid #dbe6f7 !important;
}
html body .table th a { color: var(--oa-navy) !important; text-decoration: none; }
html body .table td { font-size: .88rem !important; color: #2c3446; background: transparent !important; }
html body .table tbody tr { transition: background .15s; }
html body .table > tbody > tr:nth-child(even) > td { background: #fafcff !important; }
html body .table-hover > tbody > tr:hover > td, html body .table > tbody > tr:hover > td { background: #f0f6ff !important; }
html body .table .table-info td, html body .table tr.table-info > td, html body .table tr.table-light > td { background: inherit !important; }
html body .table-responsive { border-radius: 18px; }
/* GridView pager */
html body .table tr.pager td, html body .table .pagination-ys td { background: #fff !important; }
html body .table td > table td > a, html body .table td > table td > span {
    display: inline-block; min-width: 32px; padding: 4px 8px; border-radius: 10px; text-align: center; text-decoration: none;
}
html body .table td > table td > span { background: var(--oa-navy); color: #fff; }

/* accordion */
html body .accordion { --bs-accordion-border-width: 0; display: flex; flex-direction: column; gap: 14px; }
html body .accordion-item {
    border: 1px solid rgba(255, 255, 255, .85) !important; border-radius: var(--oa-radius) !important; overflow: hidden;
    background: #fff !important; box-shadow: 0 6px 22px rgba(31, 64, 128, .07);
}
html body .accordion-button, html body .accordion-button.custom-accordion-btn {
    background: #fff !important; color: var(--oa-ink) !important; font-weight: 600 !important; font-size: 1.02rem !important;
    padding: 16px 20px !important; border-radius: 0 !important; box-shadow: none !important; gap: 4px;
}
html body .accordion-button:not(.collapsed) { background: linear-gradient(135deg, #f4f8ff, #eaf2ff) !important; color: var(--oa-navy) !important; }
html body .accordion-button:focus { box-shadow: none !important; }
html body .accordion-button > i:first-child, html body .accordion-button .oa-acc-ico {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--oa-sky-bg); color: var(--oa-sky-2) !important; font-size: 17px; margin-right: 12px !important; flex-shrink: 0;
}
html body .accordion-body { background: #fff !important; box-shadow: none !important; border-radius: 0 !important; padding: 20px !important; }

/* alerts & badges */
html body .alert { border: 0; border-radius: 18px; box-shadow: 0 4px 14px rgba(31, 64, 128, .06); }
html body .alert-info, html body .alert-primary { background: var(--oa-sky-bg); color: #1d5ea8; }
html body .alert-success { background: var(--oa-green-bg); color: #23824a; }
html body .alert-warning { background: var(--oa-yellow-bg); color: #8a5d00; }
html body .alert-danger { background: var(--oa-rose-bg); color: #b8372b; }
html body .badge { border-radius: 999px; font-weight: 600; padding: .4em .75em; }

/* modals, dropdowns, list groups */
html body .modal-content { border: 0; border-radius: 26px; box-shadow: var(--oa-shadow-lg); overflow: hidden; }
html body .modal-header { background: linear-gradient(135deg, #f4f8ff, #e9f1ff); border-bottom: 1px solid var(--oa-line); }
html body .dropdown-menu { border: 0; border-radius: 16px; box-shadow: var(--oa-shadow); padding: 8px; }
html body .dropdown-item { border-radius: 10px; }
html body .list-group-item { border-color: #eef2f8; }
html body .list-group { border-radius: 18px; overflow: hidden; }
html body .nav-tabs { border-bottom: 0; gap: 6px; }
html body .nav-tabs .nav-link { border: 0 !important; border-radius: 999px !important; background: #fff; color: var(--oa-ink) !important; }
html body .nav-tabs .nav-link.active { background: var(--oa-navy) !important; color: #fff !important; }
html body .nav-pills { gap: 8px; margin-bottom: 1rem; }
html body .oa-main .nav-pills .nav-link {
    font-size: .92rem; min-width: 0; padding: 8px 18px; background: #fff; color: var(--oa-ink) !important; border: 0;
    box-shadow: 0 3px 10px rgba(31, 64, 128, .06);
}
html body .oa-main .nav-pills .nav-link.active, html body .oa-main .nav-pills .nav-link:hover { background: var(--oa-navy); color: #fff !important; }

/* images */
html body .oa-main .img-thumbnail { border: 3px solid #fff; box-shadow: 0 6px 18px rgba(31, 64, 128, .12); }

/* utility colours used across pages – soften */
html body .oa-main .bg-light { background: #f6f9ff !important; }
html body .oa-main .text-primary { color: var(--oa-navy-2) !important; }
html body .oa-main .shadow-lg { box-shadow: var(--oa-shadow-lg) !important; }

/* reveal on scroll */
.oa-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.oa-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Generic filter bar (oasis-theme.js) ---------- */
.oa-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.oa-fb-search {
    flex: 1 1 260px; min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 8px; padding: 2px 6px 2px 16px; border-radius: 999px;
    background: #eaf1fb; transition: background .2s, box-shadow .2s;
}
.oa-fb-search:focus-within { background: #fff; box-shadow: 0 2px 10px rgba(31, 64, 128, .16); }
.oa-fb-search i { color: #5f6b80; }
html body .oa-fb-search input.oa-fb-input, html body .oa-main .oa-fb-search input.oa-fb-input {
    flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 10px 6px !important; min-width: 0; outline: none;
}
.oa-fb-chip { display: inline-flex; align-items: center; height: 38px; border-radius: 10px; border: 1px solid #c7d2e2; background: #fff; padding: 0 4px 0 8px; }
.oa-fb-chip.on { background: #d3e3fd; border-color: #d3e3fd; }
html body .oa-fb-chip select.oa-fb-select, html body .oa-main .oa-fb-chip select.oa-fb-select {
    border: 0 !important; background-color: transparent !important; box-shadow: none !important; height: 36px; padding: 0 22px 0 4px !important;
    font-size: .86rem; font-weight: 500 !important; color: #2c3446 !important; max-width: 220px; cursor: pointer;
}
.oa-fb-clear { font-size: .86rem; font-weight: 600; color: #1f6fd1; text-decoration: none; padding: 6px 10px; border-radius: 10px; }
.oa-fb-clear:hover { background: #eef5ff; }
.oa-fb-count { margin-left: auto; font-size: .82rem; color: #6b7690; }
@media (max-width: 575.98px) { .oa-fb-search { flex-basis: 100%; } .oa-fb-chip { flex: 1 1 44%; } html body .oa-fb-chip select.oa-fb-select { max-width: none; width: 100%; } }
.oa-fb-empty { padding: 40px 16px; text-align: center; color: #6b7690; }
html body .table > tbody > tr.oa-row-unread > td { font-weight: 600; color: #1d2433; }
html body .table > tbody > tr.oa-row-unread > td:first-child { box-shadow: inset 4px 0 0 #1f6fd1; }

/* =====================================================================
   STAFF MASTERS (Admin / Coach / Teacher / Coordinator) — same palette
   ===================================================================== */
html body .navbar:not(.oa-keep) {
    background: linear-gradient(120deg, var(--oa-navy-2), var(--oa-navy) 60%, var(--oa-navy-dark)) !important;
    border-bottom: 0 !important; box-shadow: 0 8px 24px rgba(11, 78, 162, .18) !important;
    border-bottom-left-radius: 22px; border-bottom-right-radius: 22px;
}
html body .navbar .navbar-brand { color: #fff !important; font-weight: 600; }
html body .sidebar:not(.oa-sidebar) {
    background: rgba(246, 249, 255, .9) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-right: 1px solid rgba(255, 255, 255, .8); box-shadow: 8px 0 30px rgba(31, 64, 128, .06) !important; color: var(--oa-ink) !important;
}
html body .sidebar:not(.oa-sidebar) h4, html body .sidebar:not(.oa-sidebar) h5, html body .sidebar:not(.oa-sidebar) .text-white {
    color: var(--oa-navy) !important; text-shadow: none !important;
}
html body .sidebar:not(.oa-sidebar) .nav-link, html body .sidebar:not(.oa-sidebar) a {
    color: #3a4560 !important; border-left: 0 !important; border-radius: 14px !important; font-weight: 500;
    padding: 10px 14px; margin-bottom: 4px; transition: .2s; text-decoration: none;
}
html body .sidebar:not(.oa-sidebar) .nav-link i, html body .sidebar:not(.oa-sidebar) a i { color: var(--oa-navy-2); }
html body .sidebar:not(.oa-sidebar) .nav-link:hover, html body .sidebar:not(.oa-sidebar) .nav-link.active,
html body .sidebar:not(.oa-sidebar) a:hover, html body .sidebar:not(.oa-sidebar) a.is-active {
    background: #e7f0ff !important; color: var(--oa-navy) !important; transform: translateX(3px);
}
html body .main-content { position: relative; z-index: 1; }
html body .main-content .container, html body .main-content > .container-fluid {
    background: rgba(255, 255, 255, .6); border-radius: 28px; border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 6px 24px rgba(31, 64, 128, .06);
}
html body .top-tabs { background: rgba(255, 255, 255, .7) !important; border-radius: 24px !important; box-shadow: 0 6px 20px rgba(31, 64, 128, .06) !important; }
html body .dashboard-tile { border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 22px rgba(31, 64, 128, .08) !important; }

/* ---------- Desktop: collapse the side menu to a slim icon bar ---------- */
.oa-side-toggle {
    position: absolute; top: 96px; right: -15px; z-index: 5; width: 30px; height: 30px; border-radius: 50%;
    border: 0; background: #fff; color: var(--oa-navy); box-shadow: 0 4px 14px rgba(31,64,128,.22);
    display: none; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: transform .3s, background .2s;
}
.oa-side-toggle:hover { background: var(--oa-navy); color: #fff; }
@media (min-width: 992px) {
    :root { --oa-mini-w: 88px; }
    .oa-side-toggle { display: inline-flex; }
    .oa-burger { display: inline-flex; }
    .oa-sidebar { overflow: visible; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
    .oa-topbar, .oa-main { transition: margin-left .35s cubic-bezier(.2, .8, .2, 1); }

    body.oa-side-collapsed .oa-sidebar, html.oa-pre-collapsed .oa-sidebar { width: var(--oa-mini-w); }
    body.oa-side-collapsed .oa-topbar, html.oa-pre-collapsed .oa-topbar,
    body.oa-side-collapsed .oa-main, html.oa-pre-collapsed .oa-main { margin-left: var(--oa-mini-w); }
    body.oa-side-collapsed .oa-side-toggle, html.oa-pre-collapsed .oa-side-toggle { transform: rotate(180deg); }

    /* header: logo / photo only */
    .oa-side-collapsed .oa-side-head, .oa-pre-collapsed .oa-side-head { padding: 18px 12px; border-bottom-right-radius: 24px; }
    .oa-side-collapsed .oa-side-head > .d-flex, .oa-pre-collapsed .oa-side-head > .d-flex { justify-content: center; }
    .oa-side-collapsed .oa-side-head .oa-logo, .oa-pre-collapsed .oa-side-head .oa-logo,
    .oa-side-collapsed .oa-side-head .oa-avatar, .oa-pre-collapsed .oa-side-head .oa-avatar { width: 50px; height: 50px; }
    .oa-side-collapsed .oa-hi, .oa-pre-collapsed .oa-hi,
    .oa-side-collapsed .oa-welcome, .oa-pre-collapsed .oa-welcome,
    .oa-side-collapsed .oa-user, .oa-pre-collapsed .oa-user,
    .oa-side-collapsed .oa-role, .oa-pre-collapsed .oa-role,
    .oa-side-collapsed .oa-side-head > .d-flex > div, .oa-pre-collapsed .oa-side-head > .d-flex > div,
    .oa-side-collapsed .oa-side-label, .oa-pre-collapsed .oa-side-label,
    .oa-side-collapsed .oa-version, .oa-pre-collapsed .oa-version,
    .oa-side-collapsed .oa-menu-search, .oa-pre-collapsed .oa-menu-search,
    .oa-side-collapsed .oa-nav-empty, .oa-pre-collapsed .oa-nav-empty { display: none !important; }
    .oa-side-collapsed .oa-side-body, .oa-pre-collapsed .oa-side-body { padding: 14px 10px; overflow-x: hidden; }

    /* parent: Home / Calendar + tiles become round icons */
    .oa-side-collapsed .oa-side-main, .oa-pre-collapsed .oa-side-main { grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
    .oa-side-collapsed .oa-side-main a, .oa-pre-collapsed .oa-side-main a { font-size: 0; padding: 12px 0; gap: 0; }
    .oa-side-collapsed .oa-side-main a i, .oa-pre-collapsed .oa-side-main a i { font-size: 1.25rem; }
    .oa-side-collapsed .oa-tiles, .oa-pre-collapsed .oa-tiles { grid-template-columns: 1fr; gap: 8px; }
    .oa-side-collapsed .oa-tile, .oa-pre-collapsed .oa-tile { min-height: 0; padding: 7px; align-items: center; border-radius: 18px; }
    .oa-side-collapsed .oa-tile .oa-tile-name, .oa-pre-collapsed .oa-tile .oa-tile-name { display: none; }
    .oa-side-collapsed .oa-tile .oa-bubble, .oa-pre-collapsed .oa-tile .oa-bubble { width: 44px; height: 44px; font-size: 20px; }
    .oa-side-collapsed .oa-tile .oa-badge-js, .oa-pre-collapsed .oa-tile .oa-badge-js { top: 2px; right: 2px; }

    /* staff: menu links become icons */
    .oa-side-collapsed .oa-nav .oa-label, .oa-pre-collapsed .oa-nav .oa-label,
    .oa-side-collapsed .oa-nav .oa-caret, .oa-pre-collapsed .oa-nav .oa-caret,
    .oa-side-collapsed .oa-nav .collapse, .oa-pre-collapsed .oa-nav .collapse { display: none !important; }
    html body .oa-side-collapsed .oa-sidebar .oa-nav a.nav-link, html.oa-pre-collapsed body .oa-sidebar .oa-nav a.nav-link { justify-content: center; padding: 8px 0 !important; }
    html body .oa-side-collapsed .oa-sidebar .oa-nav a.nav-link:hover, html.oa-pre-collapsed body .oa-sidebar .oa-nav a.nav-link:hover { transform: none; }
    .oa-side-collapsed .oa-ni, .oa-pre-collapsed .oa-ni { width: 42px; height: 42px; font-size: 18px; }

    /* logout: icon only */
    .oa-side-collapsed .oa-side-foot, .oa-pre-collapsed .oa-side-foot { padding: 10px; }
    .oa-side-collapsed .oa-side-foot .oa-logout, .oa-pre-collapsed .oa-side-foot .oa-logout { justify-content: center; padding: 12px 0; font-size: 0; }
    .oa-side-collapsed .oa-side-foot .oa-logout i, .oa-pre-collapsed .oa-side-foot .oa-logout i { font-size: 1.15rem; margin: 0 !important; }
    .oa-side-collapsed .oa-side-foot .oa-logout > i.bi-chevron-right, .oa-pre-collapsed .oa-side-foot .oa-logout > i.bi-chevron-right { display: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
    :root { --oa-sidebar-w: 0px; }
    .oa-sidebar { width: 320px; max-width: 88vw; transform: translateX(-105%); border-top-right-radius: 30px; border-bottom-right-radius: 30px; overflow: hidden; }
    .oa-side-close { display: inline-flex; align-items: center; justify-content: center; }
    body.oa-drawer-open .oa-sidebar { transform: none; }
    body.oa-drawer-open .oa-overlay { opacity: 1; visibility: visible; }
    body.oa-drawer-open { overflow: hidden; }
    .oa-burger { display: inline-flex; }
    .oa-topbar { padding: 10px 14px; }
    .oa-main { padding: 12px 14px 120px; }
    .oa-bottomnav { display: flex; }
    .oa-top-actions .oa-icon-btn.oa-hide-sm, .oa-top-actions .oa-logout { display: none; }
    #chatbot-button { bottom: 96px !important; }
    #chatbot-box { bottom: 166px !important; right: 12px !important; width: calc(100vw - 24px) !important; max-width: 360px; }
    .oa-hl { flex-basis: 78vw; height: 150px; }
    html body .oa-main .container, html body .oa-main .container-fluid { padding: 14px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
    .oa-sidebar, .oa-topbar, .oa-bottomnav, .oa-doodles, .oa-chips, #chatbot-button, #chatbot-box { display: none !important; }
    .oa-main { margin: 0 !important; padding: 0 !important; }
    .oa-reveal { opacity: 1 !important; transform: none !important; }
    html body { background: #fff !important; }
}
