/* ===== MediCall BD Inspired Workspace & Professional SaaS Design System ===== */
:root {
    --cs-navy: #1E3A8A;
    --cs-navy-dark: #081828;
    --cs-blue: #247CFF;
    --cs-indigo: #0D6EFD;
    --cs-violet: #8B5CF6;
    --cs-emerald: #10B981;
    --cs-amber: #F59E0B;
    --cs-rose: #EF4444;
    --cs-bg: #F4F6FA;
    --cs-surface: #FFFFFF;
    --cs-border: #E5E7EB;
    --cs-text: #0F172A;
    --cs-muted: #64748B;
    --font-sans: 'Plus Jakarta Sans', 'Tiro Bangla', 'Noto Sans Bengali', 'Nirmala UI', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-sans);
    background: var(--cs-bg);
    color: var(--cs-text);
    -webkit-tap-highlight-color: transparent;
}

/* Smooth cross-page transitions */
@view-transition {
    navigation: auto;
}

/* ===== Universal Professional Inputs, Selects, Textareas & File Pickers (Zero Olive Focus) ===== */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.form-grid input:not([type="checkbox"]):not([type="radio"]),
.form-grid select,
.form-grid textarea,
.master-form input:not([type="checkbox"]):not([type="radio"]),
.master-form select,
.master-form textarea,
.search-form input,
.search-form select,
.demo-admin-filter input,
.demo-admin-filter select,
.checkout-form input:not([type="radio"]),
.checkout-form textarea {
    font-family: var(--font-sans) !important;
    font-size: 14px !important;
    font-weight: 500;
    color: #0F172A !important;
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    min-height: 44px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    outline: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out !important;
}

textarea,
.form-grid textarea,
.master-form textarea {
    min-height: 104px;
    line-height: 1.55;
}

input:not([type="checkbox"]):not([type="radio"]):hover,
select:hover,
textarea:hover {
    border-color: #94A3B8 !important;
}

input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
.login-input:focus-within {
    outline: none !important;
    border-color: #247CFF !important;
    box-shadow: 0 0 0 3.5px rgba(36, 124, 255, 0.16) !important;
    background: #FFFFFF !important;
}

/* Modern File Upload Input */
input[type="file"],
.form-grid input[type="file"],
.master-form input[type="file"],
.checkout-form input[type="file"] {
    padding: 7px 10px !important;
    border: 1.5px dashed #93C5FD !important;
    background: #F8FAFC !important;
    color: #475569 !important;
    border-radius: 10px !important;
    cursor: pointer;
}
input[type="file"]:hover {
    border-color: #247CFF !important;
    background: #EFF6FF !important;
}
input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 7px;
    background: #1E3A8A;
    color: #FFFFFF;
    padding: 7px 14px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
input[type="file"]::file-selector-button:hover {
    background: #247CFF;
}

.form-grid label,
.master-form label:not(.checkbox) {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px;
}

.premium-workspace {
    grid-template-columns: 260px minmax(0, 1fr);
    background: var(--cs-bg);
    font-size: 14px;
}

/* ===== MediCall BD Clean White Sidebar with Deep Navy Active Pill ===== */
.premium-sidebar {
    background: #FFFFFF;
    color: #334155;
    padding: 18px 14px;
    border-right: 1px solid #E5E7EB;
    box-shadow: none;
    scrollbar-color: #CBD5E1 transparent;
    scrollbar-width: thin;
}
.premium-sidebar::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 999px;
}
.sidebar-brand-row {
    padding: 2px 6px 16px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 14px;
}
.premium-brand {
    color: #0F172A !important;
}
.premium-brand b {
    font-size: 15.5px;
    font-weight: 800;
    color: #1E3A8A;
    max-width: 174px;
    letter-spacing: -0.02em;
}
.premium-brand small {
    font-size: 11px;
    color: #64748B;
}
.premium-brand .brand-icon {
    background: linear-gradient(135deg, #1E3A8A, #247CFF);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.22);
}
.sidebar-close {
    color: #475569;
}
.school-chip {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 9px 11px;
    margin-bottom: 10px;
}
.school-avatar {
    background: #DBEAFE;
    color: #1E3A8A;
    font-weight: 800;
}
.school-chip b {
    font-size: 12.5px;
    color: #0F172A;
}
.school-chip small {
    font-size: 10.5px;
    color: #64748B;
}
.school-chip i {
    color: #10B981;
}
.sidebar-language {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 4px 0 12px;
    padding: 4px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
}
.sidebar-language button {
    border: 0;
    background: transparent;
    color: #475569;
    border-radius: 7px;
    padding: 6px 8px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}
.sidebar-language button.active {
    background: #1E3A8A;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
}
.sidebar-language button:hover:not(.active) {
    color: #0F172A;
    background: #E2E8F0;
}

.premium-nav .sidebar-submenu {
    overflow: hidden;
    display: grid;
    gap: 3px;
    padding: 2px 0 6px;
}
.premium-nav details > summary {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #94A3B8;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 10px 6px;
    transition: color 0.15s ease;
}
.premium-nav details > summary:hover {
    color: #475569;
}
.premium-nav details > summary::-webkit-details-marker {
    display: none;
}
.premium-nav summary i {
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    transform: rotate(-90deg);
    transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
}
.premium-nav details[open] > summary:not([aria-expanded="false"]) i,
.premium-nav summary[aria-expanded="true"] i {
    transform: rotate(0deg);
}

/* Guarantee EVERY sidebar menu item has the exact same font-size & alignment */
.premium-nav .nav-item,
.premium-nav .nav-item b {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.005em;
}
.premium-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #334155;
    transition: background 0.16s ease, color 0.16s ease;
}
.premium-nav .nav-icon {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    border-radius: 7px;
    background: transparent;
    color: #64748B;
    font-size: 14px !important;
    display: inline-grid;
    place-items: center;
    transition: all 0.16s ease;
}
.premium-nav .nav-item:hover {
    background: #F1F5F9;
    color: #0F172A;
    transform: none;
}
.premium-nav .nav-item:hover .nav-icon {
    color: #1E3A8A;
}
.premium-nav .nav-item.selected {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.22);
}
.premium-nav .nav-item.selected .nav-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF !important;
}
.premium-sidebar a:focus-visible,
.premium-sidebar summary:focus-visible,
.premium-sidebar button:focus-visible {
    outline: 2px solid #247CFF;
    outline-offset: 2px;
}
.nav-new {
    margin-left: auto;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
    background: #DCFCE7;
    color: #15803D;
    font-style: normal;
}
.sidebar-help {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
}
.sidebar-help > span {
    background: #DBEAFE;
    color: #1E3A8A;
    font-weight: 800;
}
.sidebar-help b { font-size: 12.5px; color: #0F172A; }
.sidebar-help small { font-size: 11px; color: #64748B; }

/* ===== Clean White MediCall Top Header ===== */
.premium-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    color: var(--cs-text);
    padding: 12px 28px;
    min-height: 64px;
    z-index: 35;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.premium-header .header-greeting small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--cs-muted);
}
.premium-header .header-greeting strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--cs-text);
    letter-spacing: -0.01em;
}
.premium-header .mobile-menu,
.premium-header .round-action {
    background: #FFFFFF;
    color: #475569;
    border: 1px solid #E2E8F0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    transition: all 0.16s ease;
}
.premium-header .mobile-menu:hover,
.premium-header .round-action:hover {
    background: #F8FAFC;
    color: #1E3A8A;
    border-color: #CBD5E1;
}
.header-search-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #64748B;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
}
.header-search-pill:hover {
    border-color: #93C5FD;
    background: #FFFFFF;
    color: var(--cs-text);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.header-search-pill .search-pill-icon {
    color: var(--cs-blue);
    font-size: 14px;
}
.header-search-pill kbd {
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    background: #E2E8F0;
    color: #475569;
}
.search-mobile-btn {
    display: none;
}
.premium-header .header-school {
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 4px 10px 4px 4px;
    transition: all 0.16s ease;
}
.premium-header .header-school > span {
    background: #DBEAFE;
    color: #1E3A8A;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 14px;
    font-weight: 800;
}
.premium-header .header-school:hover {
    border-color: #E2E8F0;
    background: #F8FAFC;
}
.premium-header .header-school b {
    color: var(--cs-text);
    font-size: 13px;
    font-weight: 700;
}
.premium-header .header-school small {
    color: var(--cs-muted);
    font-size: 11px;
}
.premium-header .text-button {
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 11px;
    border-radius: 9px;
    transition: background 0.15s ease, color 0.15s ease;
}
.premium-header .text-button:hover {
    background: #FEE2E2;
    color: var(--cs-rose);
}

/* ===== MediCall BD Dashboard Cards & Panels ===== */
.medicall-hero {
    margin-bottom: 22px;
}
.medicall-hero h1 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    letter-spacing: -0.02em;
    margin: 0 0 6px !important;
}
.medicall-hero p {
    font-size: 14px !important;
    color: #64748B !important;
    margin: 0;
}
.medicall-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px;
    margin-bottom: 24px;
}
.medicall-kpi-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.medicall-kpi-card:hover,
.medicall-kpi-card.is-highlighted {
    border-color: #1E3A8A;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
    transform: translateY(-2px);
}
.mc-kpi-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
}
.mc-navy { background: #1E3A8A; }
.mc-blue { background: #2563EB; }
.mc-amber { background: #F59E0B; }
.mc-violet { background: #8B5CF6; }
.mc-emerald { background: #10B981; }
.mc-crimson { background: #EF4444; }
.mc-kpi-body {
    flex: 1;
    min-width: 0;
}
.mc-kpi-body strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
}
.mc-kpi-body span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-kpi-arrow {
    font-style: normal;
    font-size: 18px;
    color: #1E3A8A;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.medicall-kpi-card:hover .mc-kpi-arrow,
.medicall-kpi-card.is-highlighted .mc-kpi-arrow {
    opacity: 1;
    transform: translateX(0);
}

.medicall-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.85fr;
    gap: 20px;
    margin-bottom: 22px;
}
.medicall-panel {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 14px !important;
    padding: 22px 24px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}
.mc-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.mc-panel-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
}
.mc-bolt {
    color: #F59E0B;
    font-size: 16px;
}
.mc-info-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
}
.mc-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.mc-action-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #FFFFFF;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.mc-action-item:hover {
    border-color: #93C5FD;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.07);
    transform: translateY(-1px);
}
.mc-act-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    font-style: normal;
    font-size: 16px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.mc-act-icon.blue { background: #EFF6FF; color: #2563EB; }
.mc-act-icon.cyan { background: #ECFEFF; color: #0891B2; }
.mc-act-icon.emerald { background: #ECFDF5; color: #10B981; }
.mc-act-icon.crimson { background: #FEF2F2; color: #EF4444; }
.mc-act-icon.violet { background: #F5F3FF; color: #7C3AED; }
.mc-act-icon.amber { background: #FFFBEB; color: #D97706; }
.mc-action-item b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}
.mc-action-item small {
    display: block;
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}
.mc-status-list {
    display: grid;
}
.mc-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: 13.5px;
}
.mc-status-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.mc-status-row span:first-child {
    color: #64748B;
    font-weight: 500;
}
.mc-status-row strong {
    color: #0F172A;
    font-weight: 700;
}
.mc-prod-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #10B981;
    color: #FFFFFF !important;
    font-size: 11.5px;
    font-weight: 700;
}

/* ===== Notification / Pulse Popover ===== */
.notif-dropdown-wrap {
    position: relative;
}
.notif-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
    padding: 12px;
    z-index: 60;
}
.notif-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 10px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 6px;
}
.notif-popover-head b {
    font-size: 13px;
    color: var(--cs-text);
}
.notif-popover-head .badge-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: #DBEAFE;
    color: var(--cs-navy);
}
.notif-popover-list {
    display: grid;
    gap: 4px;
}
.notif-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border-radius: 11px;
    transition: background 0.15s ease;
}
.notif-item:hover {
    background: #F8FAFC;
}
.notif-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
}
.notif-icon.emerald { background: #ECFDF5; color: #059669; }
.notif-icon.blue { background: #EFF6FF; color: #2563EB; }
.notif-icon.amber { background: #FFF7ED; color: #EA580C; }
.notif-icon.violet { background: #F5F3FF; color: #7C3AED; }
.notif-item b {
    display: block;
    font-size: 12.5px;
    color: var(--cs-text);
}
.notif-item small {
    display: block;
    font-size: 11px;
    color: var(--cs-muted);
    margin-top: 1px;
}

/* ===== Quick Command Palette Modal (Ctrl+K) ===== */
.cmd-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: start center;
    padding: 10vh 16px 24px;
    z-index: 90;
}
.cmd-modal-backdrop[hidden] {
    display: none !important;
}
.cmd-modal {
    width: min(560px, 100%);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.24);
    overflow: hidden;
}
.cmd-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #F1F5F9;
}
.cmd-search-icon {
    font-size: 18px;
    color: var(--cs-blue);
}
.cmd-modal-header input {
    flex: 1;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    font: inherit;
    font-size: 14px;
    color: var(--cs-text);
    background: transparent !important;
}
.cmd-close-btn {
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #64748B;
    border-radius: 7px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}
.cmd-modal-results {
    max-height: 340px;
    overflow-y: auto;
    padding: 8px;
    display: grid;
    gap: 3px;
}
.cmd-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 11px;
    color: var(--cs-text);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.14s ease;
}
.cmd-result-item:hover,
.cmd-result-item.is-active {
    background: #EFF6FF;
    color: var(--cs-blue);
}
.cmd-result-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cmd-result-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #F1F5F9;
    color: #334155;
    display: grid;
    place-items: center;
    font-size: 13px;
}
.cmd-result-item:hover .cmd-result-icon,
.cmd-result-item.is-active .cmd-result-icon {
    background: var(--cs-blue);
    color: #FFFFFF;
}
.cmd-result-group {
    font-size: 10.5px;
    font-weight: 700;
    color: #94A3B8;
}

/* ===== Universal Feature Grids, Stat Cards, Tabs & Buttons ===== */
.premium-workspace .button {
    background: #1E3A8A;
    border: 1px solid #1E3A8A;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.18);
    font-size: 13.5px;
    font-weight: 600;
    color: #FFFFFF;
}
.premium-workspace .button:hover {
    background: #247CFF;
    border-color: #247CFF;
}
.premium-workspace .button.secondary {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
    box-shadow: none;
}
.premium-workspace .button.secondary:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.stats-grid,
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.stat-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-left: 4px solid #1E3A8A;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 6px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stat-card:nth-child(2) { border-left-color: #10B981; }
.stat-card:nth-child(3) { border-left-color: #8B5CF6; }
.stat-card:nth-child(4) { border-left-color: #F59E0B; }
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}
.stat-card span {
    font-size: 12px;
    font-weight: 600;
    color: var(--cs-muted);
}
.stat-card strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--cs-text);
    letter-spacing: -0.02em;
}

.academic-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.academic-tabs .nav-item {
    border: 0;
    border-radius: 9px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    transition: all 0.16s ease;
}
.academic-tabs .nav-item:hover {
    background: #F1F5F9;
    color: var(--cs-text);
    transform: none;
}
.academic-tabs .nav-item.selected {
    background: #1E3A8A;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
}

/* Native Mobile Bottom Navigation Bar (hidden on desktop) */
.mobile-bottom-nav {
    display: none;
}

body.has-open-drawer {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .medicall-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .medicall-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) and (min-width: 961px) {
    .premium-workspace { grid-template-columns: 240px minmax(0, 1fr); }
    .header-search-pill kbd { display: none; }
}

/* Unified Tablet & Mobile Off-Canvas Sidebar Drawer (fixes blur overlay & breakpoint gap) */
@media (max-width: 960px) {
    .workspace,
    .premium-workspace {
        display: block !important;
        grid-template-columns: 1fr !important;
        min-height: 100dvh;
    }

    .sidebar,
    .premium-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 288px !important;
        max-width: calc(100vw - 44px) !important;
        height: 100dvh !important;
        padding: 16px 14px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
        background: #FFFFFF !important;
        color: #334155 !important;
        border-right: 1px solid #E2E8F0 !important;
        border-bottom: 0 !important;
        transform: translateX(-105%) !important;
        transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease !important;
        z-index: 200 !important;
        box-shadow: none !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        opacity: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .premium-workspace.sidebar-open .premium-sidebar {
        transform: translateX(0) !important;
        left: 0 !important;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28) !important;
    }

    .mobile-overlay {
        display: none !important;
        pointer-events: none !important;
    }

    .premium-workspace.sidebar-open .mobile-overlay {
        display: block !important;
        pointer-events: auto !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, 0.48) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        z-index: 150 !important;
    }

    .premium-sidebar .sidebar-brand-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 2px 4px 14px !important;
        margin: 0 0 12px !important;
        border-bottom: 1px solid #F1F5F9 !important;
    }

    .premium-sidebar .brand,
    .premium-sidebar .premium-brand {
        margin: 0 !important;
    }

    .premium-sidebar nav,
    .premium-sidebar .premium-nav {
        display: block !important;
    }

    .premium-sidebar .sidebar-help {
        display: flex !important;
    }

    .sidebar-close {
        display: inline-grid !important;
        place-items: center !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px !important;
        background: #F1F5F9 !important;
        border: 1px solid #E2E8F0 !important;
        color: #0F172A !important;
        font-size: 20px !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
    }

    .mobile-menu {
        display: inline-grid !important;
        place-items: center !important;
        flex-shrink: 0 !important;
    }

    .header-search-pill {
        display: none !important;
    }

    .search-mobile-btn,
    .header-actions .round-action:first-child {
        display: inline-grid !important;
        place-items: center !important;
    }
}

@media (max-width: 768px) {
    .premium-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        min-height: 58px !important;
        gap: 10px !important;
    }
    .header-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-width: 0 !important;
        flex: 1 !important;
    }
    .header-left > .header-greeting {
        display: block !important;
        min-width: 0 !important;
    }
    .premium-header .header-greeting small {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    .premium-header .header-greeting strong {
        font-size: 13.5px !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        max-width: 155px !important;
    }
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .premium-header .header-school div,
    .premium-header .header-school i,
    .premium-header .header-actions .text-button {
        display: none !important;
    }
    .premium-header .header-school {
        padding: 2px !important;
        border-radius: 50% !important;
    }
    .workspace-main,
    .premium-workspace .workspace-main {
        padding: 16px 14px calc(88px + env(safe-area-inset-bottom, 0px)) !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .page-footer {
        padding: 12px 14px calc(86px + env(safe-area-inset-bottom, 0px)) !important;
        font-size: 11px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .medicall-hero h1 {
        font-size: 21px !important;
    }
    .medicall-hero p {
        font-size: 13px !important;
    }
    .medicall-kpis {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 18px !important;
    }
    .medicall-kpi-card {
        padding: 16px 18px !important;
    }
    .mc-kpi-arrow {
        opacity: 1 !important;
        transform: none !important;
    }
    .mc-actions-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .medicall-panel,
    .premium-workspace .card {
        padding: 16px !important;
        border-radius: 14px !important;
    }
    .premium-workspace .table-card {
        padding: 0 !important;
    }
    /* Preserve clean horizontal scrolling tables on mobile instead of broken stacked blocks */
    .table-card .table-scroll,
    .table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .table-card table {
        display: table !important;
        width: 100% !important;
        white-space: nowrap !important;
    }
    .table-card thead {
        position: static !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        clip: auto !important;
        display: table-header-group !important;
    }
    .table-card tbody {
        display: table-row-group !important;
        width: auto !important;
    }
    .table-card tr {
        display: table-row !important;
        width: auto !important;
        padding: 0 !important;
        border-bottom: 0 !important;
    }
    .table-card th,
    .table-card td {
        display: table-cell !important;
        width: auto !important;
        white-space: nowrap !important;
        padding: 12px 14px !important;
        border-top: 1px solid #EEF0F6 !important;
        font-size: 13px !important;
    }
    .table-card th {
        border-top: 0 !important;
        font-size: 11px !important;
    }
    .table-card .pagination {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 12px 14px !important;
        border-top: 1px solid #EEF0F6 !important;
    }
    .page-heading,
    .premium-workspace .page-heading {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-bottom: 18px !important;
    }
    .page-heading h1,
    .premium-workspace .page-heading h1 {
        font-size: 21px !important;
    }
    .page-heading .button,
    .premium-workspace .page-heading .button {
        width: 100% !important;
        justify-content: center !important;
    }
    .search-form,
    .toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .search-form > *,
    .toolbar > *,
    .search-form select,
    .search-form input,
    .search-form .button {
        width: 100% !important;
        max-width: none !important;
    }
    .form-grid,
    .permission-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .span-2 {
        grid-column: auto !important;
    }
    .form-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .form-actions .button {
        width: 100% !important;
        justify-content: center !important;
    }
    .academic-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .academic-tabs::-webkit-scrollbar {
        display: none;
    }
    .stats-grid,
    .overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .stat-card {
        padding: 13px 14px;
    }
    .stat-card strong {
        font-size: 20px;
    }
    .notif-popover {
        position: fixed;
        top: 64px;
        left: 12px;
        right: 12px;
        width: auto;
    }

    /* Professional App-Style Fixed Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 110;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    }
    .mobile-tab {
        position: relative;
        border: 0;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 4px 4px;
        border-radius: 12px;
        color: #64748B;
        font-family: inherit;
        text-decoration: none;
        cursor: pointer;
        transition: color 0.16s ease, transform 0.12s ease;
    }
    .mobile-tab:active {
        transform: scale(0.94);
    }
    .mobile-tab-icon {
        font-size: 18px;
        line-height: 1;
        height: 22px;
        display: grid;
        place-items: center;
    }
    .mobile-tab-label {
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: -0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .mobile-tab.active {
        color: var(--cs-blue);
    }
    .mobile-tab.active:not(.mobile-tab-center)::before {
        content: "";
        position: absolute;
        top: -6px;
        width: 24px;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: linear-gradient(90deg, var(--cs-blue), var(--cs-indigo));
    }
    .mobile-tab-center {
        padding-top: 0;
    }
    .mobile-tab-fab {
        width: 42px;
        height: 42px;
        margin-top: -18px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--cs-blue), var(--cs-indigo));
        color: #FFFFFF;
        font-size: 18px;
        font-weight: 800;
        display: grid;
        place-items: center;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.38);
        border: 3px solid #FFFFFF;
        transition: transform 0.16s ease, box-shadow 0.16s ease;
    }
    .mobile-tab-center.active .mobile-tab-fab {
        background: linear-gradient(135deg, var(--cs-emerald), #0D9488);
        box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
    }
}

@media (max-width: 420px) {
    .stats-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 2026 video-inspired dashboard refresh ===== */
.dash-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:24px}.dash-hero .eyebrow{margin-bottom:7px}.dash-hero h1{font-size:28px;margin:0 0 5px;color:#25294d}.dash-hero p{margin:0;color:#8d92a7;font-size:13px}.dash-session{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e8eaf1;border-radius:12px;padding:10px 14px;box-shadow:0 8px 20px #30355b08}.dash-session>i{width:9px;height:9px;background:#25b687;border-radius:50%;box-shadow:0 0 0 5px #25b68715}.dash-session small,.dash-session b{display:block}.dash-session small{font-size:9px;color:#9a9fb0;letter-spacing:1px}.dash-session b{font-size:12px;color:#454a68;margin-top:2px}.dash-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.dash-kpi{position:relative;overflow:hidden;min-height:132px;border-radius:17px;padding:18px;color:#fff;box-shadow:0 14px 32px #31376518}.dash-kpi:after{content:"";position:absolute;width:115px;height:115px;border:22px solid #ffffff0c;border-radius:50%;right:-45px;bottom:-55px}.kpi-blue{background:linear-gradient(135deg,#2563EB,#4F46E5)}.kpi-violet{background:linear-gradient(135deg,#7C3AED,#9333EA)}.kpi-green{background:linear-gradient(135deg,#059669,#0D9488)}.kpi-orange{background:linear-gradient(135deg,#EA580C,#E11D48)}.kpi-top,.kpi-foot{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.kpi-top span{font-size:10.5px;font-weight:700;letter-spacing:.06em;opacity:.92}.kpi-top i{font-style:normal;width:30px;height:30px;border-radius:9px;background:#ffffff22;display:grid;place-items:center}.dash-kpi>strong{display:block;font-size:31px;line-height:1;margin:16px 0 10px;position:relative;z-index:1}.kpi-foot small{font-size:11px;opacity:.85}.kpi-foot b{font-size:10px;background:#ffffff22;border-radius:20px;padding:4px 8px}.dash-grid-main{display:grid;grid-template-columns:1.55fr .7fr;gap:18px;margin-bottom:18px}.dash-grid-secondary{display:grid;grid-template-columns:1.3fr .7fr;gap:18px;margin-bottom:18px}.dash-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.dash-card-head .eyebrow{font-size:10px;margin:0 0 4px}.dash-card-head h2{font-size:16px;margin:0;color:#1E293B}.dash-card-head>a{font-size:11.5px;color:#2563EB;font-weight:800}.dash-card-head>small{font-size:11px;color:#64748B}.dash-filter{font-size:11px;color:#475569;background:#F8FAFC;border:1px solid #E2E8F0;padding:6px 10px;border-radius:8px}.attendance-chart{height:215px;position:relative;padding:8px 5px 0}.chart-lines{position:absolute;inset:10px 0 32px;display:flex;flex-direction:column;justify-content:space-between}.chart-lines i{border-top:1px dashed #e9ebf2}.chart-bars{position:absolute;inset:10px 0 0;display:grid;grid-template-columns:repeat(7,1fr);gap:10px;align-items:end}.chart-day{height:100%;display:grid;grid-template-rows:1fr 24px;gap:5px;text-align:center}.bar-track{height:100%;display:flex;align-items:flex-end;justify-content:center}.bar-track>i{position:relative;width:min(28px,55%);height:var(--value);min-height:3px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#4F46E5,#2563EB);box-shadow:0 7px 15px #5e67e526}.bar-track>i span{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:700;color:#475569;font-style:normal;opacity:0;transition:.2s}.bar-track>i:hover span{opacity:1}.chart-day>small{font-size:11px;font-weight:600;color:#64748B}.dash-today-list>div{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #f0f1f6}.dash-today-list>div:last-child{border:0}.dash-today-list>div>i{font-style:normal;width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.dash-today-list span{flex:1}.dash-today-list b,.dash-today-list small{display:block}.dash-today-list b{font-size:13px;color:#1E293B}.dash-today-list small{font-size:11px;color:#64748B;margin-top:2px}.dash-today-list strong{font-size:12px;color:#334155}.action-grid-v2{grid-template-columns:repeat(3,1fr)}.action-grid-v2>a{position:relative}.action-grid-v2 em{margin-left:auto;font-style:normal;color:#94A3B8;font-size:17px}.upcoming-list>a{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #f0f1f6}.upcoming-list>a:last-child{border:0}.class-time{width:44px;height:44px;border-radius:10px;background:#EEF2FF;color:#4F46E5;display:grid;place-content:center;text-align:center;font-size:11px;font-weight:800}.class-time small{display:block;font-size:9px}.upcoming-list>a>span:nth-child(2){flex:1}.upcoming-list b,.upcoming-list small{display:block}.upcoming-list b{font-size:12.5px;color:#1E293B}.upcoming-list small{font-size:11px;color:#64748B;margin-top:3px}.upcoming-list>a>i{font-style:normal;color:#94A3B8}.mini-empty{text-align:center;padding:22px 10px;color:#64748B}.mini-empty>span{width:40px;height:40px;margin:auto auto 9px;border-radius:12px;background:#EEF2FF;color:#4F46E5;display:grid;place-items:center}.mini-empty b,.mini-empty small{display:block}.mini-empty b{font-size:13px;color:#334155}.mini-empty small{font-size:11px;margin-top:3px}.dash-security{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#0B1220,#1E3A8A);color:#fff;border-radius:15px;padding:17px 20px}.dash-security>div{display:flex;align-items:center;gap:12px}.dash-security>div>i{font-style:normal;width:36px;height:36px;border-radius:10px;background:#ffffff16;display:grid;place-items:center;color:#34D399}.dash-security small,.dash-security b{display:block}.dash-security small{font-size:10px;color:#93C5FD;letter-spacing:1px}.dash-security b{font-size:13px;margin-top:2px}.dash-security>a{font-size:12px;color:#E0E7FF;font-weight:800}
@media(max-width:1100px){.dash-kpis{grid-template-columns:1fr 1fr}.dash-grid-main,.dash-grid-secondary{grid-template-columns:1fr}.action-grid-v2{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.dash-hero{align-items:flex-start;flex-direction:column;gap:12px}.dash-hero h1{font-size:22px}.dash-session{width:100%}.dash-kpis{grid-template-columns:1fr 1fr;gap:10px}.dash-kpi{min-height:116px;padding:15px}.dash-kpi>strong{font-size:24px}.action-grid-v2{grid-template-columns:1fr 1fr}.dash-security{align-items:flex-start;flex-direction:column}.attendance-chart{height:190px}}
@media(max-width:410px){.dash-kpis{grid-template-columns:1fr}.action-grid-v2{grid-template-columns:1fr}}

.admin-video-shell .academic-tabs{background:#fff;border:1px solid #e8eaf2;border-radius:12px;padding:6px;gap:4px;box-shadow:0 8px 24px #282e5708}.admin-video-shell .academic-tabs .nav-item{border:0;border-radius:8px;padding:9px 12px;font-size:12.5px;color:#626781}.admin-video-shell .academic-tabs .nav-item.selected{background:#2563EB;color:#fff}.admin-video-shell .card{border-radius:14px;border-color:#e9ebf2;box-shadow:0 10px 28px #30365b0b}.admin-video-shell .page-heading h1{font-size:23px;color:#0F172A}.admin-video-shell .search-form{background:#fff;border:1px solid #e9ebf2;border-radius:12px;padding:12px 14px}.admin-video-shell table thead{background:#f8f9fc}.admin-video-shell table th{color:#6e738b}.admin-video-shell .button{background:#2563EB;border-radius:8px;box-shadow:0 7px 16px #2563eb25}.admin-video-shell .button.secondary{background:#f0f2f8;color:#444a68;box-shadow:none}

/* ===== Subscription workspace ===== */
.subscription-current{display:flex;align-items:center;gap:18px;margin:0 0 18px;padding:18px 22px;border:1px solid #dfe5ff;border-radius:16px;background:linear-gradient(112deg,#eef1ff,#fbfbff 58%,#f4f0ff);box-shadow:0 12px 30px rgba(73,83,177,.07)}
.subscription-current:before{content:"✓";display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#6258e6,#4e83f7);box-shadow:0 8px 18px #5c67e630;color:#fff;font-weight:900}
.subscription-current>div:first-child{display:grid;gap:2px}.subscription-current span{font-size:9px;letter-spacing:1.2px;font-weight:800;color:#7773a2}.subscription-current strong{color:#2d3157;font-size:18px;line-height:1.25}.subscription-current small{color:#848aa1;font-size:11px}.subscription-current-price{margin-left:auto;text-align:right;color:#4c56c5;font-weight:850;font-size:21px;white-space:nowrap}.subscription-note{display:flex;align-items:center;gap:10px;margin:0 0 22px;padding:12px 15px;border:1px solid #f0dfaa;border-radius:11px;background:#fff9e9;color:#7b6730;font-size:12px}.subscription-note:before{content:"◷";font-size:17px;color:#cc9426}.subscription-note strong{color:#554d34}.subscription-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}.subscription-plan{display:flex;flex-direction:column;position:relative;min-height:455px;padding:24px;border:1px solid #e8eaf3;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(41,46,91,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.subscription-plan:hover{transform:translateY(-5px);border-color:#ccc9fa;box-shadow:0 22px 45px rgba(68,73,154,.14)}.subscription-plan:nth-child(2){border:2px solid #7460e7;background:linear-gradient(160deg,#fff 0,#fbfaff 100%);box-shadow:0 20px 42px rgba(89,76,201,.16)}.subscription-plan:nth-child(2):before{content:"MOST POPULAR";position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:5px 11px;border-radius:20px;background:linear-gradient(135deg,#705ce8,#4780f4);color:#fff;font-size:8px;font-weight:900;letter-spacing:1px;white-space:nowrap}.subscription-plan.is-current{border-color:#6fc8ae;background:linear-gradient(160deg,#fff,#f5fffb)}.plan-top{display:flex;align-items:center;justify-content:space-between;min-height:32px}.plan-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eeedff;color:#6a5bdd;font-size:14px}.subscription-plan:nth-child(2) .plan-icon{background:#ebe8ff;color:#5947d5}.subscription-plan:nth-child(3) .plan-icon{background:#e5f7f3;color:#119a7e}.plan-pill{padding:5px 8px;border-radius:20px;background:#e9faf4;color:#168467;font-size:9px;font-weight:800}.subscription-plan h2{margin:18px 0 8px;color:#2d3154;font-size:21px}.plan-price{display:flex;align-items:baseline;gap:4px;margin-top:14px;color:#2d3154;font-size:30px;font-weight:850;letter-spacing:-1px}.plan-price small{color:#959aad;font-size:11px;font-weight:600;letter-spacing:0}.plan-year{margin:9px 0 17px;padding:9px 10px;border-radius:8px;background:#f7f8fc;color:#848aa1;font-size:10px}.plan-year:before{content:"Annual plan · ";color:#626987;font-weight:800}.subscription-plan ul{list-style:none;display:grid;gap:11px;margin:0;padding:0;border-top:1px solid #edf0f5;padding-top:18px;color:#626981;font-size:11px}.subscription-plan li{display:flex;align-items:flex-start;gap:8px}.subscription-plan li:before{content:"✓";display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px;border-radius:50%;background:#e7f8f2;color:#159275;font-size:9px;font-weight:900}.plan-buy{display:flex;align-items:center;justify-content:center;gap:10px;min-height:43px;margin-top:auto;padding:11px;border:1px solid #dfe3ee;border-radius:10px;background:#fff;color:#555c79;font-size:11px;font-weight:800}.plan-buy:after{content:"→";font-size:15px;line-height:1}.plan-buy:hover{border-color:#665ae2;background:#665ae2;color:#fff;box-shadow:0 9px 18px #655be62e}.subscription-plan:nth-child(2) .plan-buy{border-color:#665ae2;background:linear-gradient(135deg,#6657e7,#4680f6);color:#fff;box-shadow:0 9px 18px #655be62e}.subscription-plan.is-current .plan-buy{border-color:#64bba1;color:#147a62;background:#f6fffb}.subscription-success{background:#ebfaf4;color:#217d63;border-color:#bfe8d8}

.checkout-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(430px,1.25fr);gap:20px;align-items:start}.checkout-summary{position:sticky;top:80px;overflow:hidden;background:linear-gradient(145deg,#34326c,#22244f)!important;border:0!important;color:#fff;box-shadow:0 18px 42px rgba(38,40,89,.2)!important}.checkout-summary:after{content:"";position:absolute;width:220px;height:220px;right:-100px;bottom:-110px;border:30px solid #ffffff0b;border-radius:50%}.checkout-summary .eyebrow{color:#aea9ed}.checkout-summary h2{position:relative;z-index:1;margin:0 0 13px;color:#fff;font-size:23px}.checkout-summary p{position:relative;z-index:1;margin:18px 0 0;color:#c8cae1;font-size:12px;line-height:1.7}.checkout-price{position:relative;z-index:1;color:#fff;font-size:31px;font-weight:850;letter-spacing:-1px}.checkout-price small{margin-left:5px;color:#b9bce1;font-size:11px;font-weight:600;letter-spacing:0}.checkout-form{padding:27px!important}.checkout-form form{display:grid;gap:9px}.checkout-form label{display:block;margin-top:10px;color:#555b76;font-size:11px;font-weight:800}.checkout-form input:not([type=radio]),.checkout-form textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #e0e4ef;border-radius:9px;background:#fbfcff;color:#303552;font:inherit;font-size:13px}.checkout-form textarea{resize:vertical}.checkout-form input:focus,.checkout-form textarea:focus{outline:3px solid #7669e622;border-color:#7465e8}.checkout-form input[type=file]{padding:9px;background:#f7f8fc;font-size:11px}.checkout-form .muted{margin-top:-4px;font-size:10px}.cycle-options,.payment-options{display:grid;gap:8px}.cycle-options{grid-template-columns:repeat(2,minmax(0,1fr))}.cycle-options label,.payment-options label{display:flex;align-items:center;gap:8px;margin:0!important;padding:11px;border:1px solid #e3e6f0;border-radius:9px;background:#fbfcff;color:#616780;font-size:11px;font-weight:700;cursor:pointer}.cycle-options label:has(input:checked),.payment-options label:has(input:checked){border-color:#7868e8;background:#f3f1ff;color:#5445c9;box-shadow:inset 0 0 0 1px #7868e833}.cycle-options input,.payment-options input{accent-color:#695be4}.payment-options{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-options strong{font-size:11px}.checkout-form .button{margin-top:13px;min-height:48px}.subscription-table-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 23px;border-bottom:1px solid #edf0f6}.subscription-table-title h2{margin:0;color:#353957;font-size:16px}.subscription-table-title>span{padding:5px 9px;border-radius:20px;background:#f0efff;color:#685bd1;font-size:10px;font-weight:800}.history-status{display:inline-flex;padding:5px 9px;border-radius:20px;font-size:9px;font-weight:800}.status-pending{background:#fff4d8;color:#a2761e}.status-approved,.status-active{background:#e7f8f1;color:#198367}.status-rejected,.status-cancelled{background:#fff0f2;color:#d35470}.subscription-active-history{margin-top:18px}.subscription-active-history .subscription-table-title{border-bottom:1px solid #edf0f6}
@media(max-width:1100px){.subscription-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-plan:nth-child(2){transform:none}.checkout-grid{grid-template-columns:1fr}.checkout-summary{position:relative;top:auto}}
@media(max-width:650px){.subscription-current{align-items:flex-start;padding:15px}.subscription-current-price{margin-left:0;text-align:left;font-size:17px}.subscription-current{flex-wrap:wrap}.subscription-current-price{width:100%}.subscription-grid{grid-template-columns:1fr;gap:14px}.subscription-plan{min-height:0;padding:20px}.subscription-plan:nth-child(2){margin-top:8px}.checkout-form{padding:19px!important}.cycle-options,.payment-options{grid-template-columns:1fr}.subscription-table-title{padding:17px}.subscription-table-title h2{font-size:15px}.subscription-active-history{margin-top:14px}}

/* ===== School360 Design System (school360.com.bd & school360.com.bd/iir) ===== */
.landing.s360-landing {
    --primary-color: #247CFF;
    --border-color: #EAEAEA;
    --s360-dark: #081828;
    --s360-black: #000000;
    --s360-muted: #888888;
    --s360-magenta: #C40189;
    --s360-crimson: #DC3545;
    --s360-blue: #0D6EFD;
    --s360-red: #FF0000;
    --s360-cyan: #0DCAF0;
    --s360-yellow-1: #F9E438;
    --s360-yellow-2: #FFE739;
    --s360-border-mid: #767676;
    --s360-border-input: #CED4DA;
    --s360-border-soft: #EEEEEE;
    --s360-white: #FFFFFF;
    --s360-shadow-sm: rgba(0, 0, 0, 0.075) 0px 2px 4px 0px;
    --s360-shadow-md: rgb(128, 128, 128) 0px 0px 5px 0px;
    --s360-shadow-lg: rgba(0, 0, 0, 0.075) 0px 7px 30px 0px;
    --s360-font: 'Tiro Bangla', 'Plus Jakarta Sans', 'Times New Roman', sans-serif;
    font-family: var(--s360-font);
    background: var(--s360-white);
    color: var(--s360-black);
    font-size: 15px;
    line-height: 24px;
}

.s360-landing .landing-nav {
    height: 70px;
    background: var(--s360-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--s360-shadow-sm);
    padding: 0 24px;
    width: 100%;
    max-width: 100%;
}
.s360-landing .landing-brand {
    color: var(--s360-dark);
    font-size: 20px;
    font-weight: 900;
    gap: 10px;
}
.s360-landing .landing-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--primary-color);
    color: var(--s360-white);
    font-family: var(--s360-font);
    font-size: 20px;
    font-weight: 900;
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .landing-brand > span:last-child > span {
    color: var(--primary-color);
    font-weight: 700;
    margin-left: 2px;
}
.s360-landing .landing-links a {
    color: var(--s360-black);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.s360-landing .landing-links a:hover,
.s360-landing .landing-login:hover {
    color: var(--primary-color);
}
.s360-landing .landing-cta {
    background: var(--primary-color);
    color: var(--s360-white);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    min-height: 45px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--s360-shadow-sm);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.s360-landing .landing-cta:hover {
    background: var(--s360-blue);
    border-color: var(--s360-blue);
    box-shadow: var(--s360-shadow-lg);
    transform: translateY(-2px);
}
.s360-landing .landing-cta:focus-visible,
.s360-landing .landing-ghost:focus-visible,
.s360-landing a:focus-visible,
.s360-landing button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.s360-landing .landing-cta.small {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}
.s360-landing .landing-ghost {
    border: 1px solid var(--s360-border-input);
    background: var(--s360-white);
    color: var(--s360-dark);
    border-radius: 5px;
    min-height: 45px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .landing-ghost b {
    background: var(--s360-magenta);
    color: var(--s360-white);
    width: 26px;
    height: 26px;
    border-radius: 100%;
}
.s360-landing .landing-ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Banner (School360 dark-navy & vibrant accent character) */
.s360-hero-wrap {
    background: var(--s360-dark);
    color: var(--s360-white);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary-color);
}
.s360-landing .hero-v2 {
    padding-top: 60px;
    padding-bottom: 70px;
    min-height: auto;
    gap: 40px;
}
.s360-landing .landing-pill {
    background: rgba(36, 124, 255, 0.16);
    border: 1px solid var(--primary-color);
    color: var(--s360-yellow-1);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 20px;
}
.s360-landing .landing-pill i {
    background: var(--s360-yellow-2);
    box-shadow: none;
}
.s360-landing .hero-v2 .hero-copy h1 {
    color: var(--s360-white);
    font-size: 40px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 20px;
}
.s360-landing .hero-v2 .hero-copy h1 span {
    background: none;
    -webkit-background-clip: initial;
    color: var(--s360-yellow-1);
    font-weight: 900;
}
.s360-landing .hero-copy > p {
    color: var(--s360-border-soft);
    font-size: 15px;
    line-height: 27px;
    margin-bottom: 26px;
}
.s360-landing .hero-trust {
    margin-top: 25px;
    gap: 16px;
    color: var(--s360-white);
    font-size: 13px;
    font-weight: 500;
}
.s360-landing .hero-trust span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    padding: 6px 12px;
}
.s360-landing .hero-trust span::first-letter {
    color: var(--s360-yellow-2);
}

/* Hero Preview Window */
.s360-landing .product-window {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--s360-shadow-lg);
    transform: none;
    padding: 6px;
    background: var(--s360-white);
    color: var(--s360-black);
}
.s360-landing .mock-side {
    background: var(--s360-dark);
}
.s360-landing .mock-logo {
    background: var(--primary-color);
    color: var(--s360-white);
    border-radius: 4px;
    font-family: var(--s360-font);
}
.s360-landing .mock-side b {
    background: var(--s360-yellow-1);
}
.s360-landing .mock-cards article {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .mock-cards article > span {
    background: var(--primary-color);
    color: var(--s360-white);
    border-radius: 4px;
}
.s360-landing .mock-cards article:nth-child(2) > span {
    background: var(--s360-magenta);
}
.s360-landing .mock-cards article:nth-child(3) > span {
    background: var(--s360-blue);
}
.s360-landing .bars i {
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}
.s360-landing .float-card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--s360-shadow-lg);
    color: var(--s360-black);
    animation: s360Pulse 5s ease-in-out 1s infinite alternate;
}
.s360-landing .float-card > span {
    background: var(--primary-color);
    color: var(--s360-white);
    border-radius: 4px;
}
@keyframes s360Pulse {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-6px) scale(1.02); }
}

/* Role Proof Strip */
.s360-landing .proof-strip {
    background: var(--s360-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .proof-strip p {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
}
.s360-landing .proof-strip div span {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--s360-white);
    color: var(--s360-dark);
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--s360-shadow-sm);
}

/* Section Headings */
.s360-landing .landing-section {
    padding-top: 70px;
    padding-bottom: 70px;
}
.s360-landing .section-kicker {
    display: inline-block;
    background: rgba(36, 124, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.s360-landing .section-head h2,
.s360-landing .ref-heading h2 {
    color: var(--s360-dark);
    font-size: 24px;
    line-height: 35px;
    font-weight: 900;
    letter-spacing: 0;
}
@media (min-width: 900px) {
    .s360-landing .section-head h2,
    .s360-landing .ref-heading h2 {
        font-size: 32px;
        line-height: 40px;
    }
}
.s360-landing .section-head > p,
.s360-landing .ref-heading p {
    color: var(--s360-muted);
    font-size: 15px;
    line-height: 24px;
}

/* Feature Cards (School360 6-Card Core Grid + Complete 12-Module Inventory) */
.s360-landing .feature-grid-v2 {
    gap: 20px;
}
.s360-landing .feature-card {
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 6px;
    padding: 25px;
    background: var(--s360-white);
    box-shadow: var(--s360-shadow-sm);
    min-height: 250px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, transform 0.3s ease-out;
}
.s360-landing .feature-card:nth-child(6n+2) { border-top-color: var(--s360-magenta); }
.s360-landing .feature-card:nth-child(6n+3) { border-top-color: var(--s360-blue); }
.s360-landing .feature-card:nth-child(6n+4) { border-top-color: var(--s360-crimson); }
.s360-landing .feature-card:nth-child(6n+5) { border-top-color: var(--s360-cyan); }
.s360-landing .feature-card:nth-child(6n) { border-top-color: var(--s360-dark); }
.s360-landing .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--s360-shadow-lg);
}
.s360-landing .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: var(--primary-color);
    color: var(--s360-white);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 16px;
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .feature-card:nth-child(6n+2) .feature-icon { background: var(--s360-magenta); }
.s360-landing .feature-card:nth-child(6n+3) .feature-icon { background: var(--s360-blue); }
.s360-landing .feature-card:nth-child(6n+4) .feature-icon { background: var(--s360-crimson); }
.s360-landing .feature-card:nth-child(6n+5) .feature-icon { background: var(--s360-cyan); color: var(--s360-dark); }
.s360-landing .feature-card:nth-child(6n) .feature-icon { background: var(--s360-dark); }
.s360-landing .feature-card > small {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 6px;
}
.s360-landing .feature-card h3 {
    color: var(--s360-black);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 10px;
}
.s360-landing .feature-card p {
    color: var(--s360-muted);
    font-size: 14px;
    line-height: 22.5px;
    margin-bottom: 16px;
}
.s360-landing .feature-card a {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

/* Dark Section (#081828) */
.s360-landing .module-showcase,
.s360-landing .feature-dark-reference,
.s360-landing .dashboard-showcase {
    background: var(--s360-dark);
    color: var(--s360-white);
    padding: 70px 0;
}
.s360-landing .dark-head h2,
.s360-landing .dark-ref-heading h2,
.s360-landing .dashboard-heading h2 {
    background: none;
    -webkit-background-clip: initial;
    color: var(--s360-white);
    font-weight: 900;
}
.s360-landing .dark-head .section-kicker {
    background: var(--s360-magenta);
    border-color: var(--s360-magenta);
    color: var(--s360-white);
}
.s360-landing .module-bento article,
.s360-landing .dark-feature-card,
.s360-landing .panel-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .module-bento article > span {
    color: var(--s360-yellow-1);
    font-size: 13px;
    font-weight: 900;
}
.s360-landing .dark-feature-card h3,
.s360-landing .panel-card h3 {
    color: var(--s360-yellow-1) !important;
    font-size: 18px;
    font-weight: 700;
}

/* Smart Features & Why Choose Us */
.s360-landing .ref-feature-card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px;
    box-shadow: var(--s360-shadow-sm);
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}
.s360-landing .ref-feature-card:hover {
    box-shadow: var(--s360-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}
.s360-landing .ref-feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 100%;
    background: rgba(36, 124, 255, 0.1);
    color: var(--primary-color);
    display: grid;
    place-items: center;
    font-size: 22px;
}
.s360-landing .why-school {
    background: var(--s360-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 70px 0;
}
.s360-landing .why-visual {
    background: var(--s360-dark);
    border: 4px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: var(--s360-shadow-lg);
}
.s360-landing .why-button {
    background: var(--primary-color);
    color: var(--s360-white);
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .why-button:hover {
    background: var(--s360-blue);
}

/* Pricing Cards (School360 Tokens) */
.s360-landing .pricing-section {
    background: var(--s360-white);
    padding: 70px 0;
}
.s360-landing .price-card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px;
    background: var(--s360-white);
    box-shadow: var(--s360-shadow-sm);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.s360-landing .price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--s360-shadow-lg);
}
.s360-landing .price-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--s360-shadow-lg);
}
.s360-landing .popular {
    background: var(--s360-magenta);
    color: var(--s360-white);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 10px;
}
.s360-landing .price-label {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 900;
}
.s360-landing .price b {
    color: var(--s360-dark);
    font-size: 28px;
    font-weight: 900;
}
.s360-landing .price-button {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    background: var(--s360-white);
    font-size: 14px;
    font-weight: 700;
}
.s360-landing .price-button.solid,
.s360-landing .price-button:hover {
    background: var(--primary-color);
    color: var(--s360-white);
}

/* Demo Section & Footer */
.s360-landing .demo-v2 {
    background: var(--s360-dark);
    padding: 70px 0;
    border-top: 4px solid var(--s360-magenta);
}
.s360-landing .demo-form {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    background: var(--s360-white);
    box-shadow: var(--s360-shadow-lg);
}
.s360-landing .demo-fields input,
.s360-landing .demo-fields textarea {
    border: 1px solid var(--s360-border-input) !important;
    border-radius: 4px !important;
    background: var(--s360-white) !important;
    color: var(--s360-black) !important;
    padding: 10px 12px !important;
}
.s360-landing .demo-submit {
    background: var(--primary-color);
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--s360-white);
    box-shadow: var(--s360-shadow-sm);
}
.s360-landing .demo-submit:hover {
    background: var(--s360-blue);
}
.s360-landing .landing-footer {
    background: var(--s360-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--s360-white);
    padding: 45px 0 25px;
}
.s360-landing .light-brand .landing-brand-mark {
    background: var(--primary-color);
    color: var(--s360-white);
}

