/* Tuvio brand styles: loaded on the AdminLTE panel, the portals and the auth pages. */
:root {
    --tv-navy: #1B2559;
    --tv-navy-2: #0F1B3D;
    --tv-primary: #2F6BFF;
    --tv-primary-2: #1F57E6;
    --tv-purple: #8B5CF6;
    --tv-grad: linear-gradient(90deg, #2F6BFF 0%, #8B5CF6 100%);
    --tv-grad-soft: linear-gradient(90deg, #5B8BFF 0%, #A78BFA 100%);
    --tv-ink: #1B2559;
    --tv-ink-2: #4A5578;
    --tv-muted: #8A93AD;
    --tv-line: #E9EDF7;
    --tv-line-2: #F1F4FA;
    --tv-bg: #F5F7FC;
    --tv-radius: 1rem;
    --tv-shadow: 0 1px 2px rgba(27, 37, 89, .04), 0 6px 20px rgba(27, 37, 89, .05);
    --bs-primary: #2F6BFF;
    --bs-primary-rgb: 47, 107, 255;
    --bs-link-color: #2F6BFF;
    --bs-link-color-rgb: 47, 107, 255;
    --bs-link-hover-color: #1F57E6;
    --bs-body-color: #1B2559;
}

body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--tv-ink); }
.tv-body, .tv-body .app-main { background: var(--tv-bg); }
a { color: var(--tv-primary); text-decoration: none; }
a:hover { color: var(--tv-primary-2); }
.min-w-0 { min-width: 0; }
.fw-800 { font-weight: 800; }

/* ---------- Wordmark ---------- */
.tv-word { font-weight: 800; letter-spacing: -.045em; color: var(--tv-navy); line-height: 1; }
.tv-word > span { background: var(--tv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tv-grad-text { background: var(--tv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Sidebar ---------- */
.app-sidebar { background: #fff !important; border-right: 1px solid var(--tv-line); box-shadow: none !important; }
.app-sidebar .sidebar-brand { border-bottom: 0 !important; height: auto; min-height: 4.6rem; padding: 1rem 1.1rem .4rem; justify-content: flex-start; }
.app-sidebar .brand-link { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0 !important; }
.app-sidebar .brand-image { display: none; }
.app-sidebar .brand-text { font-size: 2.05rem; margin: 0 !important; }
.app-sidebar .brand-link::after { content: "TUITION CENTRE MANAGEMENT SYSTEM"; font-size: .5rem; letter-spacing: .2em; color: var(--tv-muted); font-weight: 600; margin-top: .2rem; white-space: nowrap; }
.sidebar-mini.sidebar-collapse .app-sidebar:not(:hover) .brand-link::after { display: none; }
.sidebar-mini.sidebar-collapse .app-sidebar:not(:hover) .brand-text { font-size: 1.1rem; }
.app-sidebar .sidebar-wrapper { display: flex; flex-direction: column; }
.sidebar-menu { padding: .5rem .8rem 1rem; }
.app-sidebar .sidebar-menu .nav-link { color: var(--tv-ink-2); border-radius: .7rem; padding: .66rem .9rem; margin-bottom: .2rem; font-weight: 500; font-size: .93rem; }
.app-sidebar .sidebar-menu .nav-link .nav-icon { color: var(--tv-ink-2); font-size: 1.1rem; }
.app-sidebar .sidebar-menu .nav-link:hover { background: #F0F4FF; color: var(--tv-navy); }
.app-sidebar .sidebar-menu .nav-link.active { background: var(--tv-grad-soft) !important; color: #fff !important; font-weight: 600; box-shadow: 0 6px 16px rgba(91, 108, 255, .3); }
.app-sidebar .sidebar-menu .nav-link.active .nav-icon { color: #fff; }
.app-sidebar .nav-header { color: var(--tv-muted) !important; font-size: .68rem; letter-spacing: .12em; font-weight: 700; padding-top: 1rem; }
.app-sidebar .nav-badge { font-size: .66rem; }
.app-sidebar .sidebar-menu .nav-link > p { display: inline-flex; align-items: center; flex: 1; min-width: 0; white-space: nowrap; }
.app-sidebar .sidebar-menu .nav-link .nav-badge { position: static !important; transform: none !important; margin: 0 0 0 auto !important; }
.tv-sidebar-foot { margin: auto .8rem 1rem; }
.tv-branch-card { display: flex; align-items: center; gap: .7rem; padding: .7rem .75rem; border-radius: .85rem; background: #F3F6FF; border: 1px solid #E4EAFB; color: var(--tv-navy); width: 100%; text-align: left; }
.tv-branch-card:hover { background: #EAF0FF; color: var(--tv-navy); }
.tv-branch-icon { width: 38px; height: 38px; border-radius: .6rem; display: grid; place-items: center; background: #fff; color: var(--tv-primary); font-size: 1.25rem; flex-shrink: 0; }
.tv-branch-card b { display: block; font-size: .82rem; line-height: 1.2; }
.tv-branch-card small { display: block; font-size: .72rem; color: var(--tv-muted); }
.tv-version { font-size: .7rem; color: var(--tv-muted); text-align: center; margin-top: .5rem; }
.sidebar-mini.sidebar-collapse .app-sidebar:not(:hover) .tv-sidebar-foot { display: none; }

/* ---------- Top bar ---------- */
.app-header.tv-topbar { background: var(--tv-bg) !important; border-bottom: 0; min-height: 4.4rem; }
.tv-search { position: relative; margin: auto 0 auto .5rem; }
.tv-search i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--tv-muted); }
.tv-search input { width: 420px; max-width: 46vw; background: #fff; border: 1px solid var(--tv-line); border-radius: .75rem; padding: .6rem 1rem .6rem 2.6rem; font-size: .9rem; color: var(--tv-ink); }
.tv-search input:focus { outline: 0; border-color: #B9CBFF; box-shadow: 0 0 0 .2rem rgba(47, 107, 255, .12); }
.tv-icon-btn { position: relative; font-size: 1.25rem; color: var(--tv-ink-2) !important; padding: .5rem .7rem !important; }
.tv-icon-btn .tv-dot { position: absolute; top: .2rem; right: .25rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 1rem; background: #EF4444; color: #fff; font-size: .62rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--tv-bg); }
.tv-branch-select { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--tv-line); background: #fff; border-radius: .7rem; padding: .45rem .8rem !important; font-size: .85rem; color: var(--tv-ink) !important; margin: auto .5rem; }
.tv-notif-menu { width: 360px; max-width: 92vw; padding: 0; border-radius: var(--tv-radius); overflow: hidden; border: 1px solid var(--tv-line); box-shadow: 0 16px 40px rgba(27, 37, 89, .12); }
.tv-notif-head { padding: .75rem 1rem; border-bottom: 1px solid var(--tv-line); display: flex; justify-content: space-between; align-items: center; }
.tv-notif-list { max-height: 380px; overflow-y: auto; }
.tv-notif { display: flex; gap: .7rem; padding: .7rem 1rem; border-bottom: 1px solid var(--tv-line-2); color: var(--tv-ink); }
.tv-notif:hover { background: #F7F9FF; color: var(--tv-ink); }
.tv-notif.unread { background: #F4F7FF; }
.tv-notif-icon { width: 34px; height: 34px; border-radius: .6rem; display: grid; place-items: center; flex-shrink: 0; }
.tv-notif small { color: var(--tv-muted); }
.tv-user-menu > .nav-link { display: flex; align-items: center; gap: .65rem; padding-left: 1rem !important; border-left: 1px solid var(--tv-line); margin-left: .4rem; }
.tv-um-avatar { width: 40px; height: 40px; object-fit: cover; display: inline-grid; place-items: center; background: var(--tv-grad); color: #fff; font-weight: 700; font-size: .85rem; }
.tv-um-avatar-lg { width: 52px; height: 52px; font-size: 1rem; }
.tv-um-name { font-weight: 600; font-size: .9rem; color: var(--tv-navy); line-height: 1.15; }
.tv-um-role { font-size: .76rem; color: var(--tv-muted); }
.tv-um-dropdown { min-width: 260px; border-radius: var(--tv-radius); border: 1px solid var(--tv-line); box-shadow: 0 16px 40px rgba(27, 37, 89, .12); padding: .4rem; }
.tv-um-header { display: flex; gap: .75rem; align-items: center; padding: .6rem .6rem .7rem; }
.tv-um-dropdown .dropdown-item { border-radius: .55rem; padding: .5rem .7rem; display: flex; gap: .6rem; align-items: center; font-size: .9rem; }
.app-header .user-menu .dropdown-toggle::after { border: 0; content: "\F282"; font-family: bootstrap-icons; vertical-align: middle; font-size: .75rem; color: var(--tv-muted); }

/* ---------- Content ---------- */
.app-content-header { padding-top: .6rem; padding-bottom: .4rem; }
.app-content-header h1 { font-weight: 700; letter-spacing: -.02em; font-size: 1.75rem; color: var(--tv-navy); }
.tv-subtitle { color: var(--tv-ink-2); margin-top: .2rem; }
.card { border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow); border-radius: var(--tv-radius); --bs-card-inner-border-radius: var(--tv-radius); }
.card-header { background: transparent; border-bottom: 0; padding: 1rem 1.2rem .4rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.card-header::after { display: none; }
.card-header .card-title, .card-title { font-weight: 700; font-size: 1.02rem; margin: 0; color: var(--tv-navy); float: none; }
.card-header .card-link { font-size: .82rem; font-weight: 500; }
.card-body { padding: 1rem 1.2rem; }
.card-footer { background: transparent; border-top: 1px solid var(--tv-line-2); }
.table { --bs-table-color: var(--tv-ink); margin-bottom: 0; }
.table > thead th { font-size: .78rem; color: var(--tv-ink-2); font-weight: 500; background: #F7F9FD; border-bottom: 0; white-space: nowrap; padding-top: .65rem; padding-bottom: .65rem; }
.table > thead th:first-child { border-top-left-radius: .6rem; border-bottom-left-radius: .6rem; }
.table > thead th:last-child { border-top-right-radius: .6rem; border-bottom-right-radius: .6rem; }
.table td, .table th { vertical-align: middle; border-color: var(--tv-line-2); }
.table > tbody > tr:last-child > * { border-bottom: 0; }
.table > tbody > tr:hover > * { background: #FAFBFF; }
.table td { font-size: .88rem; }
.table .actions, .table th.actions, .table td.actions { white-space: nowrap; width: 1%; text-align: right; }
tr[data-href] { cursor: pointer; }
.tv-more { width: 34px; height: 30px; border: 1px solid var(--tv-line); background: #fff; border-radius: .55rem; display: inline-grid; place-items: center; color: var(--tv-ink-2); padding: 0; }
.tv-more:hover { border-color: #B9CBFF; color: var(--tv-primary); }

/* ---------- Buttons & forms ---------- */
.btn { border-radius: .65rem; font-weight: 500; }
.btn-primary {
    --bs-btn-bg: var(--tv-primary); --bs-btn-border-color: var(--tv-primary);
    --bs-btn-hover-bg: var(--tv-primary-2); --bs-btn-hover-border-color: var(--tv-primary-2);
    --bs-btn-active-bg: #1A4BCC; --bs-btn-active-border-color: #1A4BCC;
    --bs-btn-disabled-bg: var(--tv-primary); --bs-btn-disabled-border-color: var(--tv-primary);
    font-weight: 600; box-shadow: 0 4px 12px rgba(47, 107, 255, .25);
}
.btn-grad { background: var(--tv-grad); color: #fff; border: 0; font-weight: 600; box-shadow: 0 6px 16px rgba(91, 108, 255, .3); }
.btn-grad:hover, .btn-grad:focus { color: #fff; filter: brightness(1.06); }
.btn-outline-primary { --bs-btn-color: var(--tv-primary); --bs-btn-border-color: #BFD0FF; --bs-btn-hover-bg: #EEF3FF; --bs-btn-hover-color: var(--tv-primary); --bs-btn-hover-border-color: var(--tv-primary); --bs-btn-active-bg: #E1EAFF; --bs-btn-active-color: var(--tv-primary); --bs-btn-active-border-color: var(--tv-primary); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--tv-line); --bs-btn-color: var(--tv-ink); --bs-btn-hover-bg: #F5F7FC; --bs-btn-hover-border-color: #D6DEF2; }
.btn-success { --bs-btn-bg: #1FAE5B; --bs-btn-border-color: #1FAE5B; --bs-btn-hover-bg: #179A4F; --bs-btn-hover-border-color: #179A4F; font-weight: 600; }
.btn-whatsapp { --bs-btn-color: #1FAE5B; --bs-btn-border-color: #B8E6CB; --bs-btn-bg: #fff; --bs-btn-hover-bg: #EAF8F0; --bs-btn-hover-color: #168A47; --bs-btn-hover-border-color: #1FAE5B; }
.form-control, .form-select { border-radius: .65rem; border-color: #E1E6F2; font-size: .9rem; }
.form-control:focus, .form-select:focus { border-color: #9DB7FF; box-shadow: 0 0 0 .2rem rgba(47, 107, 255, .12); }
.form-check-input:checked { background-color: var(--tv-primary); border-color: var(--tv-primary); }
.form-label { font-weight: 500; font-size: .86rem; color: var(--tv-ink-2); }
.input-group-text { background: #F7F9FD; border-color: #E1E6F2; color: var(--tv-muted); }
.page-link { color: var(--tv-ink-2); border-radius: .5rem !important; margin: 0 .15rem; border-color: var(--tv-line); }
.active > .page-link, .page-link.active { background-color: #EEF3FF; border-color: #BFD0FF; color: var(--tv-primary); font-weight: 600; }
.text-primary { color: var(--tv-primary) !important; }
.bg-primary { background-color: var(--tv-primary) !important; }
.progress { background: #EEF1F8; border-radius: 1rem; height: .45rem; }
.progress-bar { background: var(--tv-primary); border-radius: 1rem; }
.dropdown-menu { border-color: var(--tv-line); border-radius: .8rem; box-shadow: 0 12px 32px rgba(27, 37, 89, .1); }
.dropdown-item.active, .dropdown-item:active { background: #EEF3FF; color: var(--tv-primary); }
.alert { border-radius: .8rem; border: 0; }
.modal-content { border-radius: 1.1rem; border: 0; }

/* ---------- Tabs ---------- */
.tv-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--tv-line); overflow-x: auto; scrollbar-width: none; margin-bottom: 1rem; }
.tv-tabs::-webkit-scrollbar { display: none; }
.tv-tabs a, .tv-tabs button { padding: .6rem 1.1rem; color: var(--tv-ink-2); font-weight: 500; font-size: .9rem; border: 0; background: none; border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; border-radius: .55rem .55rem 0 0; }
.tv-tabs a:hover, .tv-tabs button:hover { color: var(--tv-primary); }
.tv-tabs a.active, .tv-tabs button.active { color: var(--tv-primary); border-bottom-color: var(--tv-primary); background: #EAF0FF; font-weight: 600; }
.tv-tabs .count { font-size: .72rem; background: #EEF1F8; color: var(--tv-ink-2); border-radius: 1rem; padding: .05rem .45rem; margin-left: .3rem; }
.tv-tabs a.active .count { background: var(--tv-primary); color: #fff; }
.nav-tabs .nav-link { color: var(--tv-ink-2); border: 0; border-bottom: 2px solid transparent; font-weight: 500; }
.nav-tabs .nav-link.active { color: var(--tv-primary); border-bottom-color: var(--tv-primary); background: transparent; font-weight: 600; }
.nav-tabs { border-bottom: 1px solid var(--tv-line); }
.tv-seg { display: inline-flex; background: #EEF1F8; border-radius: .65rem; padding: .2rem; }
.tv-seg a, .tv-seg button { border: 0; background: none; padding: .35rem .85rem; border-radius: .5rem; font-size: .84rem; color: var(--tv-ink-2); font-weight: 500; }
.tv-seg a.active, .tv-seg button.active { background: #fff; color: var(--tv-primary); box-shadow: 0 1px 3px rgba(27, 37, 89, .1); }

/* ---------- Pills, modes, avatars ---------- */
.tv-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 500; padding: .2rem .6rem; border-radius: .45rem; white-space: nowrap; line-height: 1.35; }
.tv-pill-gray { background: #F0F2F7; color: #5B6480; }
.tv-pill-yellow { background: #FFF5D6; color: #A26A00; }
.tv-pill-orange { background: #FFEEDD; color: #C2560B; }
.tv-pill-blue { background: #E6EEFF; color: #2457D6; }
.tv-pill-purple { background: #F0E9FF; color: #6D3FD9; }
.tv-pill-green { background: #E2F6EA; color: #178A4A; }
.tv-pill-red { background: #FFE6E6; color: #D02B2B; }
.tv-pill-teal { background: #DDF6F2; color: #0F7F72; }
.tv-pill-pink { background: #FDE7F3; color: #BE2C7A; }
.tv-pill-navy { background: #E3E7F4; color: #1B2559; }
.tv-mode { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 2rem; white-space: nowrap; border: 1px solid; }
.tv-mode-blue { color: #2457D6; border-color: #C9D8FF; background: #F3F7FF; }
.tv-mode-orange { color: #C2560B; border-color: #FFD3AE; background: #FFF6EE; }
.tv-mode-purple { color: #6D3FD9; border-color: #DCCDFF; background: #F8F4FF; }
.tv-mode-teal { color: #0F7F72; border-color: #B4E8E0; background: #F0FBF9; }
.tv-subject { display: inline-block; font-size: .72rem; padding: .12rem .45rem; border-radius: .35rem; margin: 0 .2rem .2rem 0; font-weight: 500; }
.tv-code { font-size: .74rem; color: var(--tv-muted); }
.tv-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: .8rem; color: #fff; background: var(--tv-grad); }
.tv-avatar-sm { width: 28px; height: 28px; font-size: .66rem; }
.tv-avatar-lg { width: 64px; height: 64px; font-size: 1.2rem; }
.tv-avatar-xl { width: 96px; height: 96px; font-size: 1.7rem; }
.tv-avatar-stack { display: inline-flex; }
.tv-avatar-stack > * { margin-left: -8px; border: 2px solid #fff; }
.tv-avatar-stack > :first-child { margin-left: 0; }
.tv-person { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.tv-person-name { font-weight: 600; color: var(--tv-navy); line-height: 1.2; font-size: .9rem; }
.tv-person-sub { font-size: .76rem; color: var(--tv-muted); }
a.tv-person:hover .tv-person-name { color: var(--tv-primary); }
.tv-muted { color: var(--tv-muted) !important; }
.tv-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; }
.tv-status-icon { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: .7rem; }

/* ---------- Stat cards ---------- */
.tv-stat { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--tv-radius); height: 100%; background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow); }
.tv-stat-icon { width: 54px; height: 54px; border-radius: .9rem; display: grid; place-items: center; font-size: 1.45rem; flex-shrink: 0; }
.tv-stat-value { font-size: 1.55rem; font-weight: 700; line-height: 1.1; color: var(--tv-navy); letter-spacing: -.01em; }
.tv-stat-label { color: var(--tv-ink-2); font-size: .85rem; }
.tv-stat-note { font-size: .76rem; margin-top: .15rem; color: var(--tv-muted); }
.tv-stat-note.up { color: #178A4A; } .tv-stat-note.down { color: #D02B2B; }
.tv-stat .progress { margin-top: .6rem; }
/* Narrow KPI cards (e.g. 4-up inside a 9-col area): shrink rather than wrap "RM 12,345" over two lines. */
.tv-stat { container-type: inline-size; }
.tv-stat-value { white-space: nowrap; }
@container (max-width: 250px) {
    .tv-stat-icon { width: 42px; height: 42px; font-size: 1.15rem; border-radius: .75rem; }
    .tv-stat-value { font-size: 1.3rem; }
}
@container (max-width: 150px) { .tv-stat-icon { display: none; } }
.tv-ic-blue { background: #EAF0FF; color: var(--tv-primary); }
.tv-ic-purple { background: #F1EBFF; color: var(--tv-purple); }
.tv-ic-green { background: #E3F7EB; color: #1FAE5B; }
.tv-ic-red { background: #FFECEC; color: #EF4444; }
.tv-ic-orange { background: #FFF1E3; color: #F97316; }
.tv-ic-yellow { background: #FFF6DA; color: #E3A008; }
.tv-ic-teal { background: #DFF7F3; color: #14B8A6; }
.tv-ic-gray { background: #F0F2F7; color: #5B6480; }
.tv-ic-pink { background: #FDE7F3; color: #EC4899; }

.tv-greeting { display: flex; align-items: center; gap: .8rem; }
.tv-greeting .sun { font-size: 2rem; color: #F5B400; }

/* ---------- Lists ---------- */
.tv-list { list-style: none; margin: 0; padding: 0; }
.tv-list > li { display: flex; align-items: center; gap: .8rem; padding: .7rem 1.2rem; border-bottom: 1px solid var(--tv-line-2); }
.tv-list > li:last-child { border-bottom: 0; }
.tv-list-icon { width: 38px; height: 38px; border-radius: .7rem; display: grid; place-items: center; flex-shrink: 0; font-size: 1.05rem; }
.tv-empty { text-align: center; padding: 2.5rem 1rem; color: var(--tv-muted); }
.tv-empty .bi { font-size: 2.4rem; color: #C9D3EC; display: block; margin-bottom: .5rem; }
.tv-facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; margin: 0; }
.tv-facts dt { font-weight: 500; color: var(--tv-muted); font-size: .85rem; }
.tv-facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; font-size: .9rem; }
.tv-section-title { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tv-muted); margin-bottom: .6rem; }
.tv-alert-card { background: #FFFAF0; border-color: #FBE6BE; }
.tv-alert-item { display: flex; gap: .75rem; align-items: center; padding: .7rem .8rem; background: #fff; border-radius: .8rem; margin-bottom: .55rem; }

/* Session row used on dashboard / today lists. */
.tv-session { display: flex; gap: .9rem; align-items: center; padding: .7rem .9rem; border: 1px solid var(--tv-line); border-left: 4px solid var(--c, var(--tv-primary)); border-radius: .75rem; margin-bottom: .55rem; background: #fff; color: var(--tv-ink); }
a.tv-session:hover { border-color: #C9D8FF; border-left-color: var(--c, var(--tv-primary)); color: var(--tv-ink); background: #FAFBFF; }
.tv-session.current { background: #F3F7FF; border-color: #C9D8FF; }
.tv-session-time { font-size: .8rem; color: var(--tv-ink-2); white-space: nowrap; min-width: 62px; line-height: 1.6; }
.tv-session-title { font-weight: 600; font-size: .92rem; }
.tv-session-meta { font-size: .78rem; color: var(--tv-muted); }

/* ---------- Timeline ---------- */
.tv-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tv-timeline::before { content: ""; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 2px; background: var(--tv-line); }
.tv-timeline > li { position: relative; padding: 0 0 1.1rem 3rem; }
.tv-timeline-icon { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--tv-line); font-size: .95rem; }
.tv-timeline-title { font-weight: 600; }
.tv-timeline-meta { font-size: .78rem; color: var(--tv-muted); }

/* ---------- Ring / bars ---------- */
.tv-ring { --p: 0; --c: #1FAE5B; --s: 64px; width: var(--s); height: var(--s); border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #EEF1F8 0); display: grid; place-items: center; flex-shrink: 0; }
.tv-ring > span { width: calc(var(--s) - 12px); height: calc(var(--s) - 12px); border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.tv-hbar { display: flex; align-items: center; gap: .75rem; padding: .35rem 0; font-size: .86rem; }
.tv-hbar .progress { flex: 1; height: .6rem; }
.tv-hbar-label { width: 30%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-hbar-val { width: 3.5rem; text-align: right; font-weight: 600; white-space: nowrap; }
.tv-week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; text-align: center; }
.tv-week-strip div { font-size: .74rem; color: var(--tv-muted); }
.tv-week-strip .d { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; margin: .3rem auto 0; color: #fff; font-size: .85rem; }

/* ---------- Timetable grid ---------- */
.tv-tt { display: grid; grid-template-columns: 64px repeat(var(--days, 7), minmax(120px, 1fr)); position: relative; overflow-x: auto; }
.tv-tt-head { text-align: center; padding: .5rem 0; font-size: .8rem; color: var(--tv-ink-2); border-bottom: 1px solid var(--tv-line); position: sticky; top: 0; background: #fff; z-index: 2; }
.tv-tt-head b { display: block; font-size: 1rem; color: var(--tv-navy); }
.tv-tt-head.today b { width: 30px; height: 30px; margin: 0 auto; border-radius: 50%; background: var(--tv-primary); color: #fff; display: grid; place-items: center; }
.tv-tt-time { font-size: .72rem; color: var(--tv-muted); text-align: right; padding-right: .5rem; height: var(--slot, 64px); transform: translateY(-.5em); }
.tv-tt-col { position: relative; border-left: 1px solid var(--tv-line-2); background-image: repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--slot, 64px) - 1px), var(--tv-line-2) calc(var(--slot, 64px) - 1px), var(--tv-line-2) var(--slot, 64px)); }
.tv-tt-block { position: absolute; left: 4px; right: 4px; border-radius: .6rem; padding: .35rem .5rem; font-size: .72rem; overflow: hidden; border-left: 3px solid var(--c); background: var(--bg); color: var(--tv-navy); line-height: 1.3; display: block; }
.tv-tt-block:hover { color: var(--tv-navy); filter: brightness(.97); z-index: 3; }
.tv-tt-block b { display: block; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-tt-block .m { color: var(--tv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-tt-block.conflict { outline: 2px solid #EF4444; }
.tv-tt-block.cancelled { opacity: .5; text-decoration: line-through; }
.tv-mini-cal { width: 100%; text-align: center; font-size: .8rem; }
.tv-mini-cal th { color: var(--tv-muted); font-weight: 500; padding: .3rem 0; }
.tv-mini-cal td { padding: .15rem 0; }
.tv-mini-cal td a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--tv-ink); }
.tv-mini-cal td.other a { color: #C3CAD9; }
.tv-mini-cal td.sel a { background: var(--tv-primary); color: #fff; }
.tv-mini-cal td.today a { border: 1px solid var(--tv-primary); }
.tv-att-cal td .d { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .8rem; }

/* ---------- Kanban (CRM) ---------- */
.tv-kanban { display: flex; gap: .9rem; overflow-x: auto; padding-bottom: .75rem; align-items: flex-start; }
.tv-kanban-col { flex: 0 0 270px; background: #EEF2FA; border-radius: var(--tv-radius); padding: .65rem; }
.tv-kanban-head { display: flex; align-items: center; justify-content: space-between; padding: .25rem .35rem .6rem; font-weight: 700; font-size: .9rem; }
.tv-kanban-head .count { background: #fff; border-radius: 1rem; padding: .05rem .55rem; font-size: .75rem; color: var(--tv-ink-2); }
.tv-kanban-col.drop-hover { background: #E1EAFF; }
.tv-kcard { background: #fff; border-radius: .75rem; padding: .7rem .75rem; margin-bottom: .55rem; border: 1px solid var(--tv-line); display: block; color: var(--tv-ink); }
.tv-kcard:hover { border-color: #B9CBFF; color: var(--tv-ink); }
.tv-kcard[draggable="true"] { cursor: grab; }
.tv-kcard.dragging { opacity: .5; }
.tv-kcard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; font-size: .75rem; color: var(--tv-muted); }

/* ---------- Profile header (Student 360, teacher) ---------- */
.tv-profile { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.tv-profile h2 { font-size: 1.6rem; font-weight: 700; margin: 0; color: var(--tv-navy); letter-spacing: -.01em; }
.tv-profile-meta { color: var(--tv-ink-2); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin-top: .3rem; }
.tv-mini-stat { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border: 1px solid var(--tv-line); border-radius: .9rem; background: #fff; min-width: 150px; }
.tv-mini-stat b { display: block; font-size: 1.15rem; line-height: 1.1; color: var(--tv-navy); }
.tv-mini-stat small { color: var(--tv-muted); font-size: .76rem; }

/* ---------- Invoice paper ---------- */
.tv-invoice { background: #fff; border: 1px solid var(--tv-line); border-radius: .9rem; padding: 1.5rem; }
.tv-invoice .tv-word { font-size: 2rem; }
.tv-wa-preview { background: #E7F8EC; border-radius: .8rem; padding: .9rem 1rem; font-size: .84rem; white-space: pre-line; border: 1px solid #C9EED5; }

/* ---------- Mobile portals (teacher / parent) ---------- */
.tv-portal-body { background: var(--tv-bg); }
.tv-portal { max-width: 560px; margin: 0 auto; padding: 1rem 1rem 6rem; }
.tv-portal-top { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0 1rem; }
.tv-portal-top .tv-word { font-size: 1.8rem; }
.tv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.tv-tile { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1rem .5rem; background: #fff; border: 1px solid var(--tv-line); border-radius: 1rem; color: var(--tv-ink); font-size: .8rem; font-weight: 500; position: relative; text-align: center; }
.tv-tile:hover { color: var(--tv-primary); border-color: #C9D8FF; }
.tv-tile i { font-size: 1.5rem; width: 46px; height: 46px; border-radius: .8rem; display: grid; place-items: center; }
.tv-tile .tv-dot-count { position: absolute; top: .5rem; right: .9rem; background: #EF4444; color: #fff; font-size: .65rem; border-radius: 1rem; padding: 0 .35rem; font-weight: 700; }
.tv-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--tv-line); display: flex; justify-content: space-around; padding: .45rem 0 calc(.45rem + env(safe-area-inset-bottom)); z-index: 1030; }
.tv-bottom-nav a { display: flex; flex-direction: column; align-items: center; font-size: .7rem; color: var(--tv-muted); gap: .1rem; min-width: 60px; }
.tv-bottom-nav a i { font-size: 1.25rem; }
.tv-bottom-nav a.active { color: var(--tv-primary); font-weight: 600; }
.tv-day-picker { display: flex; gap: .45rem; overflow-x: auto; }
.tv-day-picker a { flex: 0 0 52px; text-align: center; padding: .45rem 0; border-radius: .75rem; background: #fff; border: 1px solid var(--tv-line); color: var(--tv-ink-2); font-size: .72rem; }
.tv-day-picker a b { display: block; font-size: 1.15rem; color: var(--tv-navy); }
.tv-day-picker a.active { background: var(--tv-primary); border-color: var(--tv-primary); color: #fff; }
.tv-day-picker a.active b { color: #fff; }

/* ---------- Auth ---------- */
.tv-auth { min-height: 100vh; display: flex; position: relative; overflow: hidden; background: #EEF1FB; }
.tv-auth-photo { position: absolute; top: 0; bottom: 0; left: 0; width: 74%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, #000 82%, transparent 100%); }
.tv-auth-bg { position: absolute; inset: -5%; background-image: url('../images/login-bg.gif'), url('../images/login-bg.jpg'); background-size: 600px 400px, cover; background-repeat: repeat, no-repeat; background-position: 0 0, 60% 40%; animation: tv-drift 28s ease-in-out infinite alternate; filter: blur(1.5px) saturate(1.08); will-change: transform; }
.tv-auth-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 20, 52, .86) 0%, rgba(16, 28, 72, .62) 36%, rgba(25, 38, 95, .2) 66%, rgba(40, 50, 120, .04) 100%); }
.tv-auth-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 12% 88%, rgba(47, 107, 255, .3), transparent 42%), radial-gradient(circle at 60% 10%, rgba(139, 92, 246, .22), transparent 40%); animation: tv-glow 9s ease-in-out infinite alternate; }
@keyframes tv-drift { 0% { transform: scale(1.03) translate(0, 0); } 50% { transform: scale(1.09) translate(-1.6%, -1%); } 100% { transform: scale(1.05) translate(1.4%, .8%); } }
@keyframes tv-glow { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tv-auth-bg, .tv-auth-photo::after, .tv-auth-tile, .tv-auth-wave { animation: none !important; } }
.tv-auth-waves { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; pointer-events: none; z-index: 0; }
.tv-auth-wave { position: absolute; border-radius: 50%; filter: blur(.5px); animation: tv-wave 14s ease-in-out infinite alternate; }
.tv-auth-wave.w1 { width: 620px; height: 620px; right: -360px; top: -260px; background: linear-gradient(200deg, #7C5CFA 0%, #6F8BFF 55%, rgba(120, 150, 255, .2) 100%); opacity: .75; }
.tv-auth-wave.w2 { width: 560px; height: 560px; right: -330px; bottom: -280px; background: linear-gradient(20deg, #4F7BFF 0%, #9A7BFF 60%, rgba(160, 140, 255, .3) 100%); opacity: .55; animation-delay: -6s; }
.tv-auth-wave.w3 { width: 380px; height: 380px; right: -250px; top: 38%; background: linear-gradient(160deg, rgba(160, 175, 255, .7), rgba(200, 190, 255, .2)); opacity: .6; animation-delay: -3s; }
@keyframes tv-wave { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-18px, 14px) rotate(8deg); } }

.tv-auth-hero { position: relative; z-index: 2; flex: 0 0 54%; color: #fff; display: flex; flex-direction: column; padding: 8vh 4.5vw 6vh 6.8vw; min-height: 100vh; }
.tv-auth-logo .tv-word { font-size: clamp(3.4rem, 6.6vw, 6.4rem); color: #fff; letter-spacing: -.06em; }
.tv-auth-logo .tv-word > span { background: linear-gradient(90deg, #5B8BFF 0%, #B28CFF 100%); -webkit-background-clip: text; background-clip: text; }
.tv-auth-logo sup { font-size: .85rem; color: rgba(255, 255, 255, .8); top: -3.2em; margin-left: .3rem; font-weight: 500; }
.tv-auth-tagline { display: block; letter-spacing: .32em; font-size: clamp(.68rem, 1vw, .95rem); color: rgba(255, 255, 255, .92); margin-top: .9rem; font-weight: 500; }
.tv-auth-pitch { margin-top: 4.5vh; max-width: 560px; }
.tv-auth-pitch h2 { font-size: clamp(2rem, 3.7vh + 1.2vw, 4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.tv-auth-pitch h2 span { background: linear-gradient(90deg, #4FA3FF 0%, #B79BFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tv-auth-pitch p { font-size: clamp(1rem, 1.45vw, 1.4rem); color: #8FC2FF; margin-top: 1.1rem; }
.tv-auth-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); gap: 1.3rem .9rem; margin-top: 4vh; max-width: 560px; }
.tv-auth-tile { display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: clamp(.8rem, 1.1vw, 1.08rem); color: rgba(255, 255, 255, .95); text-align: center; }
.tv-auth-tile > span { width: clamp(54px, 4.6vw + 1vh, 82px); height: clamp(54px, 4.6vw + 1vh, 82px); border-radius: 1rem; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); animation: tv-float 6s ease-in-out infinite; }
.tv-auth-tile:nth-child(2n) > span { animation-delay: -3s; }
.tv-auth-tile:nth-child(3n) > span { animation-delay: -1.5s; }
.tv-auth-tile i { font-size: clamp(1.4rem, 2.1vw, 2rem); }
@keyframes tv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.tv-auth-foot { margin-top: auto; padding-top: 3vh; letter-spacing: .32em; font-size: clamp(.62rem, .9vw, .85rem); color: rgba(255, 255, 255, .85); }
.tv-auth-foot::before { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #4FA3FF, #8B5CF6); margin-bottom: 1.4rem; }

.tv-auth-panel { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: flex-start; padding: 5vh 3vw 5vh 0; }
.tv-auth-card { width: 100%; max-width: 600px; background: rgba(255, 255, 255, .97); border-radius: 1.75rem; padding: 2.6rem 4.4rem 2.4rem; box-shadow: 0 40px 90px rgba(15, 27, 61, .28); position: relative; }
.tv-auth-card .lang { position: absolute; top: 1.8rem; right: 1.9rem; }
.tv-auth-card .lang .form-select { font-size: .92rem; border-radius: .7rem; padding: .45rem 2.3rem .45rem 2.4rem; background-color: #fff; border-color: #E1E6F2; }
.tv-auth-card .lang i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--tv-navy); pointer-events: none; }
.tv-auth-welcome { font-size: 1.25rem; color: var(--tv-navy); margin: 3.2rem 0 .1rem; font-weight: 500; }
.tv-auth-card .tv-word { font-size: 4.4rem; letter-spacing: -.06em; display: block; color: #1B2559; }
.tv-auth-card .tv-word > span { background: linear-gradient(90deg, #3A7BFF 0%, #A07CFF 100%); -webkit-background-clip: text; background-clip: text; }
.tv-auth-card .tv-tagline { letter-spacing: .3em; font-size: .78rem; color: var(--tv-ink-2); margin-top: .35rem; }
.tv-auth-card h1.tv-auth-title { font-size: 1.6rem; font-weight: 700; color: var(--tv-navy); margin: 2.4rem 0 .3rem; }
.tv-auth-card .sub { color: var(--tv-muted); margin: 0 0 1.2rem; }
.tv-auth-card .form-label { font-size: 1rem; color: var(--tv-navy); margin-bottom: .45rem; }
.tv-input { position: relative; }
.tv-input > i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--tv-ink-2); font-size: 1.15rem; }
.tv-input .form-control { padding: .95rem 3rem .95rem 3.2rem; border-radius: .7rem; font-size: 1rem; border-color: #DDE3F0; }
.tv-input .form-control::placeholder { color: #8A93AD; }
.tv-input-action { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--tv-ink-2); padding: .25rem .5rem; font-size: 1.15rem; }
.tv-btn-lg { padding: .95rem; border-radius: .75rem; font-weight: 500; font-size: 1.15rem; }
.btn-grad.tv-btn-lg { background: linear-gradient(90deg, #2F6BFF 0%, #4C7BFF 55%, #8F7BFF 100%); box-shadow: 0 10px 24px rgba(47, 107, 255, .3); }
.tv-or { display: flex; align-items: center; gap: 1rem; color: var(--tv-ink-2); font-size: .92rem; margin: 1.5rem 0 1.1rem; }
.tv-or::before, .tv-or::after { content: ""; flex: 1; height: 1px; background: #E1E6F2; }
.tv-sso { display: flex; align-items: center; justify-content: center; gap: .7rem; border: 1px solid #E1E6F2; border-radius: .7rem; padding: .85rem .5rem; color: var(--tv-ink); font-weight: 500; background: #fff; width: 100%; font-size: .9rem; }
.tv-sso:hover { background: #F7F9FF; color: var(--tv-ink); border-color: #CFD8EE; }
.tv-ms-logo { display: grid; grid-template-columns: 10px 10px; gap: 2px; }
.tv-ms-logo span { width: 10px; height: 10px; }
.tv-auth-help { text-align: center; color: var(--tv-ink-2); margin-top: 2.6rem; font-size: .95rem; }
.tv-auth-help a { font-size: 1.05rem; }
.tv-demo { margin-top: 1.2rem; border-top: 1px dashed var(--tv-line); padding-top: .9rem; }
.tv-demo-title { font-size: .8rem; font-weight: 600; color: var(--tv-ink); text-align: center; }
.tv-demo-title i { color: #F5B400; }
.tv-demo-title span { font-weight: 400; color: var(--tv-muted); margin-left: .25rem; }
.tv-demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .6rem; }
.tv-demo-grid button { cursor: pointer; border: 1px solid var(--tv-line); background: #F7F9FF; border-radius: .6rem; padding: .4rem .3rem; font-size: .74rem; color: var(--tv-ink); line-height: 1.2; }
.tv-demo-grid button:hover { border-color: #9DB7FF; background: #EEF3FF; }
.tv-demo-grid button small { display: block; color: var(--tv-muted); font-size: .66rem; }
@media (max-width: 1399.98px) {
    .tv-auth-card { padding: 2.2rem 2.8rem 2rem; }
    .tv-auth-card .tv-word { font-size: 3.6rem; }
    .tv-auth-welcome { margin-top: 2.4rem; }
}
@media (max-width: 1199.98px) {
    .tv-auth-hero { flex-basis: 50%; padding-left: 4vw; }
    .tv-auth-card { padding: 2rem 2rem 1.8rem; }
}
@media (max-width: 991.98px) {
    .tv-auth { flex-direction: column; background: #F3F5FD; }
    .tv-auth-photo { width: 100%; height: 420px; bottom: auto; -webkit-mask-image: none; mask-image: none; }
    .tv-auth-hero { flex: none; min-height: 0; padding: 2rem 1.5rem 4rem; }
    .tv-auth-logo sup { top: -2.2em; }
    .tv-auth-tagline { letter-spacing: .2em; font-size: .62rem; }
    .tv-auth-card .lang { position: static; display: flex; justify-content: flex-end; }
    .tv-auth-card .lang > div { width: 170px; }
    .tv-auth-logo .tv-word { font-size: 3.4rem; }
    .tv-auth-pitch { margin-top: 1.2rem; }
    .tv-auth-pitch h2 { font-size: 1.8rem; }
    .tv-auth-pitch p { font-size: 1rem; margin-top: .7rem; }
    .tv-auth-tiles, .tv-auth-foot, .tv-auth-waves { display: none; }
    .tv-auth-panel { padding: 0 1rem 2rem; margin-top: -2.5rem; justify-content: center; }
    .tv-auth-card { padding: 1.8rem 1.4rem; border-radius: 1.3rem; }
    .tv-auth-welcome { margin-top: 1rem; }
    .tv-auth-card .tv-word { font-size: 3rem; }
    .tv-auth-card .tv-tagline { font-size: .62rem; letter-spacing: .22em; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .tv-search input { width: 220px; }
    .tv-um-text { display: none; }
}
@media (max-width: 767.98px) {
    .tv-search { display: none; }
    .app-content-header h1 { font-size: 1.4rem; }
    .table.tv-stack > thead { display: none; }
    .table.tv-stack, .table.tv-stack > tbody { display: block; width: 100%; }
    .table.tv-stack > tbody > tr { display: block; padding: .75rem 1rem; border-bottom: 1px solid var(--tv-line); }
    .table.tv-stack > tbody > tr:last-child { border-bottom: 0; }
    .table.tv-stack > tbody > tr > * { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0 .25rem 40%; border: 0; text-align: right; position: relative; width: auto !important; }
    .table.tv-stack > tbody > tr > *::before { content: attr(data-label); position: absolute; left: 0; color: var(--tv-muted); font-size: .78rem; text-align: left; font-weight: 500; }
    .table.tv-stack > tbody > tr > :first-child, .table.tv-stack > tbody > tr > [data-label=""], .table.tv-stack > tbody > tr > .tv-stack-full { padding-left: 0; text-align: left; justify-content: flex-start; }
    .table.tv-stack > tbody > tr > :first-child::before, .table.tv-stack > tbody > tr > [data-label=""]::before, .table.tv-stack > tbody > tr > .tv-stack-full::before { content: none; }
    .table.tv-stack > tbody > tr > .tv-stack-full { justify-content: center; }
    .table.tv-stack > tbody > tr > .actions { white-space: nowrap; padding-top: .5rem; justify-content: flex-end; }
    .tv-tabs a, .tv-tabs button { padding: .5rem .8rem; }
    .tv-profile h2 { font-size: 1.3rem; }
}
@media print {
    .app-sidebar, .app-header, .tv-tabs, .btn, .tv-bottom-nav, .app-footer { display: none !important; }
    .app-main { margin: 0 !important; }
    .card { box-shadow: none; }
}

/* ---------- AdminLTE navbar search (styled to the mockup) ---------- */
.app-header .navbar-search-field { position: relative; }
.app-header .navbar-search-field .form-control { width: 420px; max-width: 40vw; background: #fff; border: 1px solid var(--tv-line); border-radius: .75rem; padding: .6rem 1rem .6rem 2.6rem; font-size: .9rem; }
.app-header .navbar-search-submit { position: absolute; left: .55rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--tv-muted); }
.app-header .navbar-search-field .form-control:focus { border-color: #B9CBFF; box-shadow: 0 0 0 .2rem rgba(47, 107, 255, .12); }
@media (max-width: 991.98px) { .app-header .navbar-search-field .form-control { width: 220px; } }
