:root {
    --ink: #10233f;
    --dark: #071a31;
    --muted: #6b7b90;
    --muted2: #8795a7;
    --primary: #1769e0;
    --primary-dark: #1057c0;
    --purple: #6d5dfc;
    --green: #16a085;
    --orange: #ee8b35;
    --red: #d92d20;
    --line: #e5ebf2;
    --bg: #f5f8fc;
    --white: #ffffff;
    --shadow: 0 18px 55px rgba(16, 35, 63, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

a {
    color: var(--primary);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.nav {
    height: 76px;
    padding: 0 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 20px;
    font-weight: 850;
}

.brand-light {
    font-weight: 500;
}

.brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #1769e0, #6d5dfc);
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(23, 105, 224, .25);
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav nav a {
    text-decoration: none;
    color: #64748a;
    font-size: 14px;
    font-weight: 700;
}

.nav nav a:hover,
.nav nav a.active {
    color: var(--primary);
}

.nav .nav-admin {
    border: 1px solid #d9e2eb;
    border-radius: 9px;
    padding: 8px 13px;
    color: var(--ink);
}

main {
    min-height: calc(100vh - 150px);
}

footer {
    padding: 35px 8vw;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    background: var(--dark);
    color: #d9e5f1;
    font-size: 12px;
}

footer div {
    display: flex;
    gap: 20px;
}

footer span {
    color: #8395aa;
}

.flash {
    position: fixed;
    right: 25px;
    top: 92px;
    z-index: 100;
    max-width: 420px;
    padding: 13px 18px;
    color: #fff;
    background: #0b8f70;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    transition: .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(23, 105, 224, .20);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-ghost {
    color: var(--ink);
    background: #fff;
    border: 1px solid #d8e1eb;
}

.btn-light {
    color: var(--dark);
    background: #fff;
}

.btn-small {
    min-height: 38px;
    padding: 8px 12px;
}

.full {
    width: 100%;
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.auth-wrap {
    min-height: calc(100vh - 150px);
    display: grid;
    place-items: center;
    padding: 55px 20px;
}

.auth-card {
    width: min(580px, 100%);
    padding: 38px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: -1px;
}

.auth-card>p {
    color: var(--muted);
}

.admin-auth {
    max-width: 470px;
}

.admin-login-logo {
    margin-bottom: 25px;
}

.admin-login-logo .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 22px;
}

.login-note {
    margin-top: 22px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #6f7f93;
    background: #f5f8fc;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 11px;
}

.login-note strong {
    color: var(--ink);
}

form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

label {
    display: grid;
    gap: 6px;
    color: #46576c;
    font-size: 12px;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d8e1eb;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #dceaff;
    border-color: var(--primary);
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.error {
    margin-top: 15px;
    padding: 11px 13px;
    color: #a8271c;
    background: #fff1ef;
    border: 1px solid #ffd4cf;
    border-radius: 9px;
    font-size: 13px;
}


/* ================================================================
   ADMIN SIDEBAR
================================================================ */

.admin-shell {
    display: flex;
    min-height: calc(100vh - 76px);
}

.admin-sidebar {
    position: sticky;
    top: 76px;
    width: 245px;
    height: calc(100vh - 76px);
    flex: none;
    display: flex;
    flex-direction: column;
    background: #081b33;
    color: #fff;
    overflow: auto;
}

.admin-sidebar-brand {
    min-height: 84px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.admin-sidebar-brand .brand-mark {
    width: 35px;
    height: 35px;
    flex: none;
}

.admin-sidebar-brand>div {
    display: flex;
    flex-direction: column;
}

.admin-sidebar-brand strong {
    font-size: 15px;
}

.admin-sidebar-brand span:not(.brand-mark) {
    color: #8ea1b8;
    font-size: 10px;
}

.admin-menu-title {
    padding: 28px 20px 9px;
    color: #647992;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 11px;
}

.admin-menu-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    color: #9eb0c4;
    text-decoration: none;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}

.admin-menu-item span {
    width: 20px;
    text-align: center;
    font-size: 14px;
}

.admin-menu-item:hover,
.admin-menu-item.active {
    color: #fff;
    background: rgba(255, 255, 255, .09);
}

.admin-menu-item.active {
    box-shadow: inset 3px 0 0 #4c96ff;
}

.menu-count {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background: #d95147;
    font-size: 9px;
}

.admin-sidebar-bottom {
    margin-top: auto;
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.admin-sidebar-bottom a {
    padding: 8px 5px;
    color: #8fa2b9;
    text-decoration: none;
    font-size: 11px;
}

.admin-sidebar-bottom a:hover {
    color: #fff;
}


/* ================================================================
   ADMIN CONTENT
================================================================ */

.admin-content {
    min-width: 0;
    flex: 1;
    padding: 0 4.5vw 80px;
}

.admin-mobile-top {
    display: none;
}

.admin-page-section {
    scroll-margin-top: 95px;
    padding-top: 45px;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    padding-bottom: 30px;
}

.admin-page-header h1 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -1px;
}

.admin-page-header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.admin-header-actions {
    display: flex;
    gap: 10px;
    flex: none;
}


/* ================================================================
   ADMIN STATISTICS
================================================================ */

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.admin-stat-card {
    min-width: 0;
    padding: 21px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(16, 35, 63, .035);
}

.admin-stat-icon {
    width: 43px;
    height: 43px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 17px;
}

.admin-stat-icon.blue {
    color: #1769e0;
    background: #eaf2ff;
}

.admin-stat-icon.purple {
    color: #6d5dfc;
    background: #f0edff;
}

.admin-stat-icon.green {
    color: #0a916e;
    background: #e6f8f2;
}

.admin-stat-icon.orange {
    color: #d87824;
    background: #fff0df;
}

.admin-stat-card span {
    display: block;
    color: #7a899c;
    font-size: 10px;
    font-weight: 700;
}

.admin-stat-card strong {
    display: block;
    margin-top: 2px;
    color: var(--ink);
    font-size: 27px;
    line-height: 1.2;
}

.admin-stat-card small {
    display: block;
    margin-top: 5px;
    color: #93a0af;
    font-size: 9px;
}

.admin-stat-card .stat-warning {
    color: #d16c27;
}


/* ================================================================
   ADMIN PANELS
================================================================ */

.admin-overview-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}

.admin-panel {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(16, 35, 63, .025);
    overflow: hidden;
}

.admin-panel-heading {
    padding: 21px 23px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.admin-panel-heading h2 {
    margin: 0;
    font-size: 17px;
}

.admin-panel-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.summary-list {
    border-top: 1px solid var(--line);
}

.summary-list>div {
    padding: 14px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.summary-list>div:last-child {
    border-bottom: 0;
}

.summary-list span {
    color: var(--muted);
    font-size: 12px;
}

.summary-list strong {
    font-size: 15px;
}

.quick-actions {
    padding: 0 20px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.quick-actions a {
    min-height: 80px;
    padding: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #4e6076;
    background: #f7f9fc;
    border: 1px solid #edf1f5;
    border-radius: 10px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 750;
}

.quick-actions a:hover {
    color: var(--primary);
    border-color: #cfe0f8;
    background: #f2f7ff;
}

.quick-actions span {
    font-size: 18px;
}

.admin-section-title {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.admin-section-title h2 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -.5px;
}

.admin-section-title p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}


/* ================================================================
   ADMIN TABLES
================================================================ */

.admin-table-wrap {
    width: 100%;
    overflow: auto;
}

.admin-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 12px;
}

.admin-table th {
    padding: 12px 18px;
    text-align: left;
    color: #8190a2;
    background: #f9fbfd;
    border-bottom: 1px solid var(--line);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .8px;
    white-space: nowrap;
}

.admin-table td {
    padding: 13px 18px;
    border-bottom: 1px solid #edf1f5;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover {
    background: #fbfdff;
}

.table-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
}

.table-primary>div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.table-primary strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 270px;
}

.table-primary small {
    margin-top: 2px;
    color: #8b98a8;
    font-size: 9px;
}

.table-avatar {
    width: 35px;
    height: 35px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: 15px;
}

.school-avatar {
    background: #eaf2ff;
}

.student-avatar {
    background: #f0edff;
}

.video-mini-icon {
    width: 35px;
    height: 35px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--primary);
    background: #eaf2ff;
}

.table-location,
.table-contact {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.table-location strong {
    font-weight: 700;
}

.table-location small,
.table-contact small {
    color: #8a98a9;
    font-size: 9px;
}

.table-contact span {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-date {
    color: #748397;
    white-space: nowrap;
    font-size: 11px;
}


/* ================================================================
   STATUS
================================================================ */

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
    background: #f0f3f6;
    color: #67778b;
}

.status-pill i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8795a7;
}

.status-pill.pending {
    color: #bd6b1e;
    background: #fff4e6;
}

.status-pill.pending i {
    background: #e98a2c;
}

.status-pill.approved {
    color: #087a5e;
    background: #e8f8f2;
}

.status-pill.approved i {
    background: #10a47e;
}

.status-pill.rejected {
    color: #b42318;
    background: #fff0ef;
}

.status-pill.rejected i {
    background: #dc493d;
}


/* ================================================================
   TABLE ACTIONS
================================================================ */

.table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.table-actions a {
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.action-approve {
    color: #087a5e;
}

.action-reject {
    color: #c27624;
}

.action-delete {
    color: #c43d34 !important;
}

.school-tag,
.independent-tag {
    display: inline-block;
    max-width: 190px;
    padding: 5px 8px;
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1769e0;
    background: #edf4ff;
    font-size: 9px;
    font-weight: 750;
}

.independent-tag {
    color: #68788c;
    background: #f1f4f7;
}


/* ================================================================
   EMPTY STATES
================================================================ */

.admin-empty {
    padding: 55px 25px;
    text-align: center;
    color: var(--muted);
}

.admin-empty>div {
    font-size: 32px;
    margin-bottom: 8px;
}

.admin-empty h3 {
    margin: 0 0 4px;
    color: var(--ink);
    font-size: 16px;
}

.admin-empty p {
    margin: 0;
    font-size: 11px;
}


/* ================================================================
   VIDEO ADMINISTRATION
================================================================ */

.admin-video-grid {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
}

.admin-form {
    padding: 0 23px 23px;
}

.admin-form .btn {
    width: max-content;
}

.field-help {
    margin-top: 1px;
    color: #8997a7;
    font-size: 9px;
    font-weight: 500;
}

.library-stat {
    padding: 15px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
}

.library-stat span {
    color: var(--muted);
    font-size: 11px;
}

.library-stat strong {
    font-size: 22px;
}

.video-management-panel {
    margin-bottom: 0;
}


/* ================================================================
   GENERIC WEBSITE
================================================================ */

.hero {
    min-height: 610px;
    padding: 85px 8vw;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
    background:
        radial-gradient(circle at 85% 30%,
            #e8f2ff,
            transparent 35%),
        #f8fbff;
}

.hero h1 {
    margin: 0 0 24px;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -2.5px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 30px 0;
}

.trust {
    display: flex;
    gap: 22px;
    color: #708096;
    font-size: 12px;
}

.hero-card {
    padding: 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.mini-top {
    display: flex;
    justify-content: space-between;
    color: #8795a7;
    font-size: 10px;
    font-weight: 900;
}

.mock-screen {
    height: 310px;
    margin-top: 15px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(135deg, #0b1f3a, #1c477c);
    border-radius: 18px;
}

.mock-screen h3 {
    margin: 0;
    font-size: 30px;
}

.mock-screen p {
    margin: 3px 0;
    color: #c7d6e9;
    font-size: 14px;
}

.pulse {
    width: 58px;
    height: 58px;
    margin-bottom: auto;
    border-radius: 50%;
    background: #1769e0;
    box-shadow: 0 0 0 13px rgba(23, 105, 224, .15);
}

.mock-bars {
    display: flex;
    gap: 7px;
}

.mock-bars i {
    height: 5px;
    flex: 1;
    border-radius: 5px;
    background: #8cb7ee;
}

.hero-stat {
    padding: 20px 5px 2px;
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 4px 10px;
    align-items: center;
    color: #8290a0;
    font-size: 11px;
}

.hero-stat b {
    color: var(--ink);
    font-size: 20px;
}

.section {
    padding: 80px 8vw;
}

.section-head {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
}

.section h2,
.cta h2 {
    margin: 0;
    font-size: 35px;
    line-height: 1.15;
}

.section-head p {
    max-width: 450px;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
}

.feature.featured {
    color: #fff;
    background: var(--dark);
    border-color: var(--dark);
}

.feature p {
    color: var(--muted);
    font-size: 14px;
}

.feature.featured p {
    color: #b9c9dc;
}

.feature a {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.icon {
    font-size: 25px;
}

.cta {
    margin: 10px 8vw 80px;
    padding: 45px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: #fff;
    background: linear-gradient(120deg, #1769e0, #2f55c8);
    border-radius: 22px;
}

.cta .eyebrow {
    color: #bcd8ff;
}

.cta p {
    color: #d6e6ff;
}

.cta.slim {
    margin: 0 8vw 40px;
    padding: 30px 40px;
}

.page-hero {
    padding: 75px 20px 45px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: 48px;
}

.page-hero p {
    max-width: 650px;
    margin: auto;
    color: var(--muted);
}

.filters {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.filters a {
    padding: 8px 14px;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
}

.filters .selected {
    color: #fff;
    background: var(--primary);
}

.video-grid {
    padding: 20px 8vw 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.video-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.thumb {
    height: 190px;
    display: block;
    position: relative;
    background: linear-gradient(135deg, #132c4c, #2974b8);
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.thumb span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    color: var(--primary);
    background: #fff;
    border-radius: 50%;
    font-size: 18px;
}

.thumb small {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 3px 8px;
    color: #fff;
    background: #081a30cc;
    border-radius: 5px;
}

.video-body {
    padding: 20px;
}

.video-body label,
.watch-info label {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.video-body h3 {
    margin: 6px 0;
    font-size: 18px;
}

.video-body p {
    color: var(--muted);
    font-size: 13px;
}

.video-body a,
.watch-info a {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.watch {
    max-width: 1200px;
    margin: auto;
    padding: 60px 8vw 90px;
}

.player {
    overflow: hidden;
    background: #081a30;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.player video,
.player iframe {
    width: 100%;
    height: 600px;
    display: block;
    border: 0;
}

.watch-info {
    padding: 30px 5px;
}

.watch-info h1 {
    margin: 6px 0 12px;
    font-size: 38px;
}

.watch-info p {
    max-width: 800px;
    color: var(--muted);
}

.meta {
    display: flex;
    gap: 25px;
    color: #7b8999;
    font-size: 13px;
}

.dash-head {
    padding: 55px 8vw 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.dash-head h1 {
    margin: 0;
    font-size: 34px;
}

.dash-head p {
    margin: 4px 0;
    color: var(--muted);
}

.stats {
    padding: 30px 8vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats>div {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.stats b {
    display: block;
    font-size: 30px;
}

.stats span {
    color: var(--muted);
    font-size: 12px;
}

.panel {
    margin: 0 8vw 24px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.panel-head {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.panel h2 {
    margin: 0;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 13px 10px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

th {
    color: #7a8898;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

td a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 4px 9px;
    color: #1769e0;
    background: #eaf2ff;
    border-radius: 20px;
    font-size: 11px;
}

.empty {
    padding: 40px;
    color: var(--muted);
    text-align: center;
}

.form-page {
    padding: 60px 8vw;
}

.form-page .panel {
    max-width: 760px;
    margin: 0 auto;
}

.video-form {
    margin-bottom: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.muted {
    color: var(--muted);
}


/* ================================================================
   RESPONSIVE
================================================================ */

@media(max-width:1100px) {

    .admin-sidebar {
        width: 220px;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-overview-grid,
    .admin-video-grid {
        grid-template-columns: 1fr;
    }

}

@media(max-width:900px) {

    .nav {
        padding: 0 5vw;
    }

    .nav nav {
        gap: 10px;
    }

    .nav nav a:nth-child(2),
    .nav nav a:nth-child(3) {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 6vw;
    }

    .hero-card {
        display: none;
    }

    .feature-grid,
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .cta {
        margin-left: 6vw;
        margin-right: 6vw;
    }

    .section {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .video-grid {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-mobile-top {
        min-height: 65px;
        padding: 10px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #081b33;
        color: #fff;
    }

    .admin-mobile-top .admin-sidebar-brand {
        min-height: auto;
        padding: 0;
        border: 0;
    }

    .admin-content {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .admin-page-section {
        padding-top: 35px;
    }

}

@media(max-width:600px) {

    .nav {
        height: 65px;
    }

    .brand {
        font-size: 17px;
    }

    .nav-admin {
        display: none !important;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .trust {
        flex-direction: column;
        gap: 7px;
    }

    .feature-grid,
    .video-grid,
    .two {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
    }

    .cta {
        display: block;
        padding: 32px;
    }

    .cta .btn {
        margin-top: 20px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .player video,
    .player iframe {
        height: 300px;
    }

    .auth-card {
        padding: 25px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .dash-head {
        display: block;
    }

    footer {
        display: block;
    }

    footer div {
        display: block;
        margin-bottom: 10px;
    }

    .admin-page-header {
        display: block;
    }

    .admin-page-header h1 {
        font-size: 28px;
    }

    .admin-header-actions {
        margin-top: 18px;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-section-title h2 {
        font-size: 23px;
    }

    .admin-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

}