.student-course-entry { margin-top: 8px; }
.student-course-entry > .student-course-row { width: 100%; margin-top: 0; color: inherit; text-align: left; list-style: none; cursor: pointer; }
.student-course-entry > .student-course-row::-webkit-details-marker { display: none; }
.student-course-entry > .student-course-row:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.student-course-row .course-progress { display: block; }
.student-course-expand { margin-left: 2px; color: var(--muted); transition: transform .18s ease; }
.student-course-entry[open] .student-course-expand { transform: rotate(180deg); }
.student-course-details { padding: 14px 16px 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; background: #fbfcfb; }
.student-payment-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.student-payment-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-left: 2px solid var(--teal); background: #f1f8f6; }
.student-payment-stats > div:nth-child(2) { border-left-color: var(--gold); background: #fffaf0; }
.student-payment-stats > div:nth-child(3) { border-left-color: var(--coral); background: #fdf5f3; }
.student-payment-stats span, .student-course-details dt { color: var(--muted); font-size: .65rem; }
.student-payment-stats strong { color: var(--ink); font-size: .9rem; }
.student-course-detail-grid { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 18px; margin-top: 16px; }
.student-course-details h3 { margin: 0 0 9px; color: var(--ink); font-size: .72rem; font-weight: 800; }
.student-course-details dl { margin: 0; }
.student-course-details dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.student-course-details dd { margin: 0; color: var(--ink); font-size: .65rem; }
.student-payment-table { --bs-table-bg: transparent; font-size: .62rem; }
.student-payment-table th { color: var(--muted); font-size: .58rem; font-weight: 700; white-space: nowrap; }
.student-payment-empty { margin: 0; color: var(--muted); font-size: .65rem; }
.student-receipt-history { margin-top: 16px; }
@media (max-width: 720px) { .student-payment-stats { grid-template-columns: 1fr; }.student-course-detail-grid { grid-template-columns: 1fr; }.student-course-details { padding: 12px; } }
:root {
    --ink: #17242b;
    --muted: #6b777d;
    --paper: #f4f6f2;
    --line: #dce3df;
    --teal: #087f7b;
    --blue: #3267a8;
    --gold: #c48a2c;
    --coral: #c85a4a;
    --lavender: #7268a8;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

a {
    color: var(--teal);
    text-decoration: none !important;
}

a:hover {
    color: #075b58;
}

.navbar-brand {
    letter-spacing: .02em;
    color: var(--ink);
}

.navbar-brand small {
    letter-spacing: .12em;
}

.bg-quest {
    background: var(--teal);
}

.btn-quest {
    background: var(--teal) !important;
    color: #fff !important;
    border: 0 !important;
}

.btn-quest:hover {
    background: #075b58 !important;
    color: #fff !important;
}

.card,
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(23, 36, 43, .04);
}

.panel {
    padding: 24px;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-heading h2 {
    margin: 0;
    font-size: 1.1rem;
}

.eyebrow {
    color: var(--teal);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.status-pill,
.badge-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e4f2ef;
    color: #176a65;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.metric-card {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 8px 18px rgba(23, 36, 43, .08);
}

.metric-card:hover {
    color: #fff;
    transform: translateY(-2px);
    transition: transform .16s ease;
}

.metric-card span {
    font-size: .8rem;
    opacity: .85;
}

.metric-card strong {
    margin-top: auto;
    font-size: 1.8rem;
    line-height: 1.1;
}

.metric-card small {
    margin-top: 10px;
    opacity: .8;
}

.metric-card.teal {
    background: var(--teal);
}

.metric-card.blue {
    background: var(--blue);
}

.metric-card.gold {
    background: var(--gold);
}

.metric-card.coral {
    background: var(--coral);
}

.metric-card.ink {
    background: var(--ink);
}

.metric-card.lavender {
    background: var(--lavender);
}

.module-link {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
}

.module-link:hover {
    border-color: var(--teal);
    background: #f7fbfa;
    color: var(--ink);
}

.module-link span {
    grid-column: 1;
    color: var(--muted);
    font-size: .85rem;
}

.module-link b {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--teal);
}

.dark-panel {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.dark-panel .eyebrow {
    color: #7ed2c9;
}

.dark-panel p {
    color: #c1ccca;
    line-height: 1.7;
}

.role-dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 8px 0 34px;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--line);
}

.role-dashboard-heading .eyebrow,
.role-dashboard-section-heading .eyebrow {
    color: var(--teal);
}

.role-dashboard-heading h1 {
    margin-top: 8px;
}

.role-dashboard-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.role-dashboard-context {
    display: grid;
    grid-template-columns: auto;
    gap: 4px;
    min-width: 180px;
    padding: 12px 16px;
    border-left: 3px solid var(--gold);
    background: #fffaf0;
}

.role-dashboard-context span {
    margin-top: 5px;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .08em;
}

.role-dashboard-context span:first-child {
    margin-top: 0;
}

.role-dashboard-context strong {
    color: var(--ink);
    font-size: .84rem;
}

.role-dashboard-actions {
    max-width: 980px;
}

.role-dashboard-section-heading {
    margin-bottom: 14px;
}

.role-dashboard-section-heading h2 {
    margin: 5px 0 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.role-dashboard-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 12px;
}

.role-dashboard-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.role-dashboard-link:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
    background: #f7fbfa;
    color: var(--ink);
}

.role-dashboard-link-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 6px;
    background: #e4f2ef;
    color: var(--teal);
    font-size: 1.1rem;
}

.role-dashboard-link > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.role-dashboard-link strong {
    color: var(--ink);
    font-size: .85rem;
}

.role-dashboard-link small {
    color: var(--muted);
    font-size: .72rem;
}

.role-dashboard-link-arrow {
    color: var(--teal);
}

@media (max-width: 575.98px) {
    .role-dashboard-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .role-dashboard-context {
        min-width: 0;
    }
}

.table thead th {
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}

.table tbody td {
    font-size: .9rem;
}

.empty-state {
    padding: 48px 12px;
    text-align: center;
    color: var(--muted);
}

footer {
    margin-top: 48px;
}

/* Authenticated application sidebar */
.app-topbar {
    position: fixed;
    z-index: 30;
    top: 0;
    right: 0;
    left: 0;
    height: 68px;
    box-shadow: 0 5px 18px rgba(23, 36, 43, .12);
}

.app-topbar .container {
    height: 100%;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 32px;
    padding-left: 32px;
}

.topbar-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 10px;
    color: var(--ink);
}

.topbar-profile:hover {
    background: #fff7d2;
    color: var(--ink);
}

.topbar-profile i {
    color: #d3a600;
    font-size: 1.45rem;
}

.sidebar-toggle {
    display: none;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    padding: 8px;
    border: none;
    border-radius: 10px;
    background: none;
}

.sidebar-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 3px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}

.sidebar-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.sidebar-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.app-sidebar {
    position: fixed;
    z-index: 20;
    top: 68px;
    bottom: 0;
    left: 0;
    width: 252px;
    display: flex;
    flex-direction: column;
    padding: 24px 14px 18px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #52656a transparent;
    scrollbar-width: thin;
    background: #17242b;
    border-right: 1px solid #26353b;
    box-shadow: 12px 0 30px rgba(23, 36, 43, .16);
}

.app-sidebar::-webkit-scrollbar {
    width: 6px;
}

.app-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.app-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #52656a;
}

.app-sidebar::-webkit-scrollbar-thumb:hover {
    background: #ffca18;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px 32px;
    color: #fff;
    letter-spacing: .08em;
}

.sidebar-brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #ffca18;
    color: var(--ink);
    font-size: .72rem;
    font-weight: 950;
}

.sidebar-brand strong {
    display: block;
    font-size: .78rem;
    line-height: 1;
}

.sidebar-brand small {
    display: block;
    margin-top: 5px;
    color: #93a3a6;
    font-size: .48rem;
    letter-spacing: .16em;
}

.sidebar-label {
    padding: 0 12px 10px;
    color: #829397;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #a9b6b8;
    font-size: .88rem;
    font-weight: 700;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.sidebar-nav a.active {
    border-color: rgba(255, 202, 24, .24);
    background: #ffca18;
    color: var(--ink);
    box-shadow: 0 7px 16px rgba(0, 0, 0, .16);
}

.sidebar-nav a i {
    width: 20px;
    color: #7f9698;
    font-size: 1rem;
    text-align: center;
}

.sidebar-nav a.active i {
    color: var(--ink);
}

.sidebar-footer {
    margin-top: auto;
    padding: 16px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #a9b6b8;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1.6;
}

.sidebar-footer a {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-radius: 9px;
    color: #a9b6b8 !important;
    text-align: left;
}

.sidebar-footer a:hover {
    background: rgba(255, 255, 255, .06);
    color: #ffca18 !important;
}

.app-content {
    min-height: calc(100vh - 68px);
    margin-left: 252px;
    padding-top: 68px;
}

/* Dashboard page */
.dashboard-page {
    min-height: calc(100vh - 110px);
    /* padding: 28px clamp(14px, 4vw, 54px) 48px; */
    position: relative;
    overflow: hidden;
    /* background-color: #ffda3d; */
    /* background-image: radial-gradient(rgba(255, 255, 255, .82) 2px, transparent 2px), radial-gradient(rgba(255, 255, 255, .34) 1px, transparent 1px); */
    background-position: 20px 22px, 0 0;
    background-size: 28px 28px, 54px 54px;
}

.dashboard-page::before,
.dashboard-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .17);
    pointer-events: none;
}

.dashboard-page::before {
    width: 340px;
    height: 340px;
    left: -170px;
    bottom: -180px;
}

.dashboard-page::after {
    width: 360px;
    height: 360px;
    right: -170px;
    top: -210px;
}

.dashboard-shell {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    /* border-radius: 28px; */
    background: rgba(255, 255, 255, .94);
    /* box-shadow: 0 24px 60px rgba(117, 83, 0, .16); */
}

.dashboard-shell>.container-fluid {
    padding-left: clamp(18px, 3vw, 42px);
    padding-right: clamp(18px, 3vw, 42px);
}

.dashboard-shell h1 {
    letter-spacing: -.04em;
}

.module-page {
    min-height: calc(100vh - 82px);
}

/* Person dashboard */
.person-dashboard {
    background: #f6f7fb;
}

.person-dashboard .dashboard-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    background: transparent;
}

.person-dashboard .dashboard-shell > .container-fluid {
    max-width: none;
}

.person-dashboard-heading,
.person-breadcrumb,
.person-heading-actions,
.person-panel-heading,
.person-payout-legend,
.person-contact-actions,
.person-activity,
.person-task {
    display: flex;
    align-items: center;
}

.person-dashboard-heading {
    justify-content: space-between;
    margin-bottom: 20px;
}

.person-breadcrumb { gap: 10px; color: #a0a5b4; font-size: .78rem; }
.person-breadcrumb a { color: #747b8f; font-weight: 700; }
.person-breadcrumb i { color: #7567db; }
.person-heading-actions { gap: 10px; }
.person-icon-button { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #9499a9; }
.person-icon-button:hover { background: #f0efff; color: #7567db; }
.person-edit-button { border: 0; border-radius: 8px; background: #7567db; color: #fff; font-size: .78rem; font-weight: 800; }
.person-edit-button:hover { background: #5e50c7; color: #fff; }
.person-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
.person-identity { padding: 22px 18px; border: 0; border-radius: 5px; box-shadow: 0 2px 10px rgba(43, 46, 73, .04); text-align: center; }
.person-photo-wrap { position: relative; width: 154px; margin: 0 auto 14px; }
.person-photo { display: block; width: 154px; height: 154px; border-radius: 5px; object-fit: cover; background: linear-gradient(135deg, #eeeafe, #f7f7fb); }
.person-photo-placeholder { display: grid; place-items: center; color: #8d82e6; font-size: 4rem; }
.person-online-dot { position: absolute; right: -3px; bottom: 7px; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: #36ba91; }
.person-identity h1 { margin: 0; font-size: 1.04rem; font-weight: 850; }
.person-role { margin: 5px 0 8px; color: #8c91a1; font-size: .72rem; }
.person-status { display: inline-flex; align-items: center; gap: 5px; color: #31a67e; font-size: .68rem; font-weight: 800; }
.person-status i { font-size: .42rem; }
.person-facts { margin-top: 20px; padding-top: 17px; border-top: 1px solid #eeeef3; text-align: left; }
.person-facts > div { display: flex; gap: 10px; margin: 13px 0; color: #a0a4b2; font-size: .7rem; }
.person-facts i { width: 16px; padding-top: 2px; color: #8075dc; text-align: center; }
.person-facts span { display: flex; flex-direction: column; gap: 3px; }
.person-facts strong { color: #353848; font-size: .72rem; font-weight: 750; overflow-wrap: anywhere; }
.person-contact-actions { gap: 7px; margin-top: 18px; }
.person-contact-actions a { flex: 1; padding: 9px 4px; border: 1px solid #e8e8f0; border-radius: 5px; color: #575d71; font-size: .7rem; font-weight: 750; }
.person-contact-actions a:hover { border-color: #7567db; color: #7567db; }
.person-documents { margin-top: 20px; padding-top: 17px; border-top: 1px solid #eeeef3; text-align: left; }
.person-documents h2 { margin: 0 0 13px; font-size: .78rem; }
.person-documents > div { display: flex; align-items: center; gap: 8px; margin: 11px 0; font-size: .66rem; }
.person-documents > div > i { color: #f06d4f; font-size: 1rem; }
.person-documents span { display: flex; flex: 1; flex-direction: column; font-weight: 750; }
.person-documents small, .person-documents time { color: #a1a5b2; font-size: .58rem; font-weight: 500; }
.person-main { display: flex; min-width: 0; flex-direction: column; gap: 18px; }
.person-panel { padding: 16px 18px; border: 0; border-radius: 5px; box-shadow: 0 2px 10px rgba(43, 46, 73, .04); }
.person-panel-heading { justify-content: space-between; margin-bottom: 15px; }
.person-panel-heading h2 { margin: 0; color: #292c3c; font-size: .92rem; font-weight: 800; }
.person-eyebrow { display: block; margin-bottom: 4px; color: #9a9cac; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.person-payout { padding: 2px 8px 17px; }
.person-payout span, .person-stat-grid span { color: #888d9d; font-size: .68rem; }
.person-payout strong { display: block; margin: 5px 0 8px; color: #1f2230; font-size: 1.55rem; }
.person-payout-legend { gap: 22px; margin-bottom: 13px; }
.person-payout-legend span { display: flex; align-items: center; gap: 5px; }
.person-payout-legend b { color: #282b39; }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; }
.legend-dot.purple { background: #8173e3; }.legend-dot.orange { background: #f27350; }
.person-progress { display: flex; height: 8px; gap: 3px; }
.person-progress span { flex: 4; background: #8375e6; }.person-progress b { flex: 1; background: #f37350; }
.person-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.person-stat-grid > div { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #f0f0f4; }
.person-stat-grid i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 4px; font-size: .95rem; }.orange-icon { color: #f27350; background: #fff0e9; }.purple-icon { color: #8375e3; background: #efedff; }.teal-icon { color: #23b39f; background: #e6faf7; }
.person-stat-grid span { display: flex; flex-direction: column; gap: 3px; }.person-stat-grid strong { color: #2d3040; font-size: .82rem; }.person-stat-grid small { color: #7567db; font-size: .58rem; font-weight: 700; }
.person-two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.person-map { position: relative; height: 128px; overflow: hidden; border-radius: 4px; background: #f0f1f5; }
.person-map-grid { position: absolute; inset: 0; opacity: .7; background-image: linear-gradient(28deg, transparent 46%, #d3d5df 47%, #fff 49%, transparent 51%), linear-gradient(112deg, transparent 45%, #dadce5 46%, #fff 48%, transparent 50%); background-size: 74px 58px, 90px 74px; }
.map-pin { position: absolute; color: #7567db; font-size: 1.4rem; }.pin-one { top: 25px; left: 32%; }.pin-two { top: 68px; left: 59%; color: #f27652; }.pin-three { top: 45px; left: 76%; color: #2bb49e; }
.person-map-label { position: absolute; bottom: 10px; left: 12px; display: flex; flex-direction: column; padding: 7px 10px; border-radius: 4px; background: rgba(255,255,255,.92); font-size: .66rem; }.person-map-label span { color: #9498a7; font-size: .58rem; }
.person-location-list { margin: 10px 0 0; padding-left: 19px; color: #555a6b; font-size: .68rem; }.person-location-list li { display: flex; justify-content: space-between; padding: 4px 0; }.person-location-list b { color: #2eaf93; font-size: .6rem; }
.person-kpi-score strong { display: block; color: #202331; font-size: 1.4rem; }.person-kpi-score span { color: #989caa; font-size: .62rem; }
.person-chart { position: relative; height: 89px; margin-top: -8px; overflow: hidden; background: repeating-linear-gradient(to bottom, transparent 0, transparent 28px, #f0f0f5 29px); }.chart-line { position: absolute; top: 36px; left: 0; width: 100%; height: 44px; border-top: 2px solid #8375e3; clip-path: polygon(0 65%, 10% 65%, 18% 100%, 27% 40%, 39% 75%, 52% 18%, 65% 50%, 75% 22%, 87% 74%, 100% 32%); background: #8375e3; }.chart-label { position: absolute; top: 3px; right: 11%; padding: 4px 7px; border: 1px solid #eeedf5; border-radius: 3px; background: #fff; color: #a0a3b1; font-size: .58rem; }.chart-label b { color: #363946; }.person-months { display: flex; justify-content: space-between; color: #a3a6b3; font-size: .52rem; }
.person-task, .person-activity { gap: 10px; min-height: 49px; border-top: 1px solid #f0f0f4; font-size: .7rem; }.person-task > i, .person-activity > i { color: #8375e3; }.person-task span, .person-activity span { display: flex; flex: 1; flex-direction: column; gap: 3px; }.person-task small { color: #999daa; font-size: .58rem; }.person-task b, .person-activity b { padding: 4px 6px; border-radius: 3px; font-size: .55rem; }.task-blue { color: #4b76c6; background: #edf3ff; }.task-purple { color: #8172d9; background: #f0edff; }.task-green, .activity-good { color: #2ca889; background: #e7f8f3; }.person-activity small { margin-left: auto; color: #565b6b; font-size: .61rem; }.activity-early { color: #2ca889; background: #e7f8f3; }.activity-late { color: #dc8e3e; background: #fff2df; }

@media (max-width: 900px) { .person-layout { grid-template-columns: 210px minmax(0, 1fr); } .person-stat-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .person-dashboard-heading { align-items: flex-start; flex-direction: column; }.person-layout, .person-two-column { grid-template-columns: 1fr; }.person-identity { text-align: left; }.person-photo-wrap { margin-left: 0; }.person-facts { max-width: 420px; }.person-contact-actions { max-width: 420px; }.person-documents { max-width: 420px; } }

/* Student learning dashboard */
.student-dashboard { background: #f4f6fc; }
.student-dashboard .dashboard-shell { width: 100%; max-width: none; margin: 0; background: transparent; }
.student-dashboard .dashboard-shell > .container-fluid { max-width: none; }
.student-dashboard-heading, .student-breadcrumb, .student-heading-actions, .student-panel-heading, .student-score-row, .student-course-row, .student-quick-actions { display: flex; align-items: center; }
.student-dashboard-heading { justify-content: space-between; margin-bottom: 18px; }
.student-breadcrumb { gap: 8px; color: #a0a5b6; font-size: .65rem; }.student-breadcrumb a { color: #252938; font-size: .95rem; font-weight: 800; }.student-breadcrumb a i { margin-right: 5px; color: #596273; }.student-breadcrumb strong { color: #d17ac5; font-weight: 700; }.student-breadcrumb b { color: #777d8d; font-weight: 500; }
.student-heading-actions { gap: 8px; }.student-search { display: flex; align-items: center; gap: 8px; width: 190px; padding: 10px 13px; border-radius: 8px; background: #fff; color: #a3a7b3; font-size: .63rem; box-shadow: 0 2px 8px rgba(43,46,73,.03); }.student-search i { color: #303442; }.student-icon-button, .student-avatar-button { display: grid; width: 31px; height: 31px; padding: 0; place-items: center; border: 0; border-radius: 8px; background: #fff; color: #73798a; }.student-avatar-button { color: #db77bd; font-size: 1.5rem; }
.student-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 18px; }.student-identity, .student-panel { border: 0; border-radius: 7px; background: #fff; box-shadow: 0 2px 10px rgba(43,46,73,.035); }.student-identity { position: relative; overflow: hidden; padding: 0 17px 16px; text-align: center; }.student-cover { height: 95px; margin: 0 -17px; overflow: hidden; background: #f5a7d9; }.student-cover-shape { width: 150%; height: 130%; margin: -30px 0 0 -20px; border-radius: 50%; background: repeating-radial-gradient(ellipse at 10% 60%, rgba(255,255,255,.22) 0 12px, transparent 13px 30px); transform: rotate(-8deg); }.student-photo-wrap { position: relative; width: 68px; margin: -30px auto 8px; }.student-photo { display: block; width: 68px; height: 68px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; background: #ffd66e; }.student-photo-placeholder { display: grid; place-items: center; color: #e889c5; font-size: 2rem; }.student-identity h1 { margin: 0; color: #252836; font-size: .9rem; font-weight: 850; }.student-subtitle { margin: 3px 0 7px; color: #999dac; font-size: .62rem; }.student-badges { display: flex; justify-content: center; gap: 5px; }.student-badges span, .student-badges b { padding: 3px 7px; border-radius: 4px; font-size: .54rem; font-weight: 700; }.student-badges span { color: #72798a; background: #f3f4f8; }.student-badges b { color: #43a284; background: #e6f7f0; }
.student-quick-actions { gap: 7px; margin-top: 17px; }.student-quick-actions a { display: grid; min-width: 32px; height: 25px; padding: 0 8px; place-items: center; border-radius: 5px; background: #f7f8fc; color: #596273; font-size: .68rem; }.student-quick-actions .student-chat { flex: 1; display: flex; gap: 5px; background: #cbdafe; color: #394c87; font-size: .62rem; font-weight: 800; }.student-detail-block { margin-top: 17px; padding-top: 15px; border-top: 1px solid #edeef3; text-align: left; }.student-detail-block h2 { margin: 0 0 11px; color: #303342; font-size: .74rem; }.student-detail-block > div { display: flex; gap: 9px; margin: 10px 0; color: #e39aca; font-size: .75rem; }.student-detail-block span { display: flex; flex-direction: column; gap: 2px; color: #a0a4b2; font-size: .55rem; }.student-detail-block strong { color: #4e5362; font-size: .61rem; font-weight: 650; }.student-edit-link { display: block; margin-top: 17px; padding: 8px; border-radius: 6px; background: #f7f9ff; color: #596273; font-size: .63rem; font-weight: 750; }
.student-main { display: flex; min-width: 0; flex-direction: column; gap: 14px; }.student-overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }.student-panel { padding: 14px 16px; }.student-panel-heading { justify-content: space-between; gap: 7px; margin-bottom: 11px; }.student-panel-heading h2 { margin: 0; color: #292d3a; font-size: .8rem; font-weight: 850; }.student-filter { margin-left: auto; border: 0; background: transparent; color: #747a89; font-size: .55rem; }.student-filter i { margin-left: 4px; }.student-learning-total strong { color: #252836; font-size: 1rem; }.student-learning-total small { color: #8f94a2; font-size: .62rem; font-weight: 500; }.student-bar-chart { display: flex; align-items: end; justify-content: space-around; height: 109px; margin: 7px 3px 0; padding: 0 7px; border-bottom: 1px solid #eceef4; background: repeating-linear-gradient(to bottom, transparent 0 26px, #f0f1f5 27px); }.student-bar-chart span { position: relative; width: 20px; height: var(--b); border-radius: 5px 5px 0 0; background: linear-gradient(to top, #ffd15e 0 44%, #c5d7fa 45%); }.student-bar-chart span::after { position: absolute; right: 0; bottom: 0; left: 0; height: var(--a); border-radius: 5px 5px 0 0; background: #f39ad0; content: ''; }.student-chart-days { display: flex; justify-content: space-around; color: #969baa; font-size: .51rem; }.student-learning-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }.student-learning-cards > div { display: flex; gap: 7px; padding: 8px; border-radius: 6px; background: #fafbfe; }.student-learning-cards strong { color: #333747; font-size: .8rem; }.student-learning-cards span { color: #777d8d; font-size: .48rem; line-height: 1.35; }
.student-score-row { gap: 24px; }.student-donut { display: grid; width: 95px; height: 55px; place-content: end center; border-radius: 95px 95px 0 0; background: conic-gradient(from 270deg, #f09dd1 0 80%, #f0f1f5 80%); text-align: center; }.student-donut::after { position: absolute; width: 65px; height: 36px; border-radius: 65px 65px 0 0; background: #fff; content: ''; }.student-donut strong, .student-donut small { position: relative; z-index: 1; }.student-donut strong { font-size: 1rem; }.student-donut small { color: #999daa; font-size: .45rem; }.student-legend { display: flex; flex: 1; flex-direction: column; gap: 8px; }.student-legend span { color: #777d8d; font-size: .58rem; }.student-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; }.student-legend b { float: right; color: #545a6b; }.pink { background: #ef9ed0; }.yellow { background: #ffd15e; }.blue { background: #bfd2f6; }.student-mini-chart { height: 74px; margin-top: 10px; border-bottom: 1px solid #eceef4; background: repeating-linear-gradient(to bottom, transparent 0 23px, #f0f1f5 24px); }.student-mini-line { width: 100%; height: 100%; background: #f7d8ed; clip-path: polygon(0 70%, 11% 62%, 21% 74%, 32% 35%, 43% 20%, 53% 52%, 64% 36%, 75% 45%, 86% 28%, 100% 34%, 100% 100%, 0 100%); border-top: 2px solid #e784c4; }.student-success { margin: 9px -16px -14px; padding: 11px 16px; border-radius: 0 0 7px 7px; background: #fff0c4; color: #5c5543; font-size: .57rem; line-height: 1.4; }
.student-courses { padding-bottom: 10px; }.student-course-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }.student-course-tools > div { width: 145px; padding: 7px 8px; border: 1px solid #eceef3; border-radius: 5px; color: #a1a5b0; font-size: .52rem; }.student-course-tools button { border: 0; background: transparent; color: #6f7584; font-size: .53rem; }.student-course-tools .student-view-all { padding: 6px 9px; border-radius: 4px; background: #cbdafe; color: #42558e; font-weight: 750; }.student-course-row { gap: 12px; min-height: 50px; margin-top: 8px; padding: 7px 9px; border: 1px solid #e9eaf0; border-radius: 9px; }.course-icon { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 6px; font-size: 1.1rem; }.pink-course { color: #e583bf; background: #ffe5f5; }.blue-course { color: #7f9be0; background: #e9efff; }.yellow-course { color: #e6b33f; background: #fff2c9; }.orange-course { color: #ed9366; background: #ffebe2; }.student-course-row > span { display: flex; min-width: 150px; flex-direction: column; gap: 3px; }.student-course-row > span strong { color: #353946; font-size: .62rem; }.student-course-row > span small { color: #d283bb; font-size: .5rem; }.student-course-row em { min-width: 85px; color: #596071; font-size: .56rem; font-style: normal; }.course-progress { position: relative; width: 35px; height: 35px; flex: 0 0 35px; border-radius: 50%; background: conic-gradient(#ef9bcf var(--progress), #f0f1f5 0); }.course-progress::after { position: absolute; inset: 5px; border-radius: 50%; background: #fff; content: ''; }.course-progress b { position: relative; z-index: 1; display: block; padding-top: 13px; color: #747a89; font-size: .43rem; text-align: center; }.student-course-row label { padding: 4px 7px; border-radius: 4px; font-size: .49rem; font-weight: 750; }.ongoing { color: #8a722d; background: #fff0bf; }.completed { color: #b55b9d; background: #ffe4f3; }.course-score { margin-left: auto; color: #414655; font-size: .67rem; }.course-score small { color: #9da1ae; font-size: .5rem; font-weight: 500; }.certificate { display: flex !important; min-width: 68px !important; color: #8c91a0 !important; font-size: .48rem !important; }.certificate b { color: #5e6474; font-weight: 650; }
@media (max-width: 1000px) { .student-layout { grid-template-columns: 215px minmax(0, 1fr); }.student-course-row > span { min-width: 110px; }.student-course-row em { display: none; }.certificate { display: none !important; } }
@media (max-width: 720px) { .student-dashboard-heading { align-items: flex-start; flex-direction: column; }.student-heading-actions { width: 100%; }.student-search { flex: 1; }.student-layout, .student-overview-grid { grid-template-columns: 1fr; }.student-identity { text-align: left; }.student-cover { height: 75px; }.student-photo-wrap { margin-left: 0; }.student-badges, .student-quick-actions { justify-content: flex-start; }.student-detail-block { max-width: 420px; }.student-course-tools > div { display: none; }.student-course-row { flex-wrap: wrap; }.student-course-row > span { flex: 1; }.student-course-row label { margin-left: 47px; }.course-score { margin-left: auto; } }

/* Keep the profile dashboard aligned with the ERP palette. */
.person-dashboard { background: var(--paper); color: var(--ink); }
.person-breadcrumb a, .person-breadcrumb i, .person-icon-button:hover, .person-facts i, .person-contact-actions a:hover { color: var(--teal); }
.person-icon-button:hover { background: #e4f2ef; }
.person-edit-button { background: var(--teal); }
.person-edit-button:hover { background: #075b58; }
.person-photo, .person-photo-placeholder { background: linear-gradient(135deg, #e4f2ef, var(--paper)); }
.person-photo-placeholder { color: var(--teal); }
.person-online-dot, .person-status { color: var(--teal); }
.person-online-dot { background: var(--teal); }
.person-panel, .person-identity { border-color: var(--line); }
.person-eyebrow { color: var(--teal); }
.legend-dot.purple, .person-progress span, .chart-line { background-color: var(--teal); }
.legend-dot.orange, .person-progress b { background-color: var(--gold); }
.orange-icon { color: var(--coral); background: #fbe9e5; }
.purple-icon { color: var(--teal); background: #e4f2ef; }
.teal-icon { color: var(--blue); background: #e8eef8; }
.person-stat-grid small, .person-map-label strong { color: var(--teal); }
.map-pin { color: var(--teal); }.pin-two { color: var(--coral); }.pin-three { color: var(--blue); }
.person-location-list b, .task-green, .activity-good { color: var(--teal); background: #e4f2ef; }
.task-blue { color: var(--blue); background: #e8eef8; }
.task-purple { color: var(--teal); background: #e4f2ef; }
.activity-early { color: var(--teal); background: #e4f2ef; }
.activity-late { color: var(--gold); background: #fff4d8; }

/* Keep the student dashboard aligned with the ERP palette. */
.student-dashboard { background: var(--paper); color: var(--ink); }
.student-breadcrumb a, .student-breadcrumb a i, .student-breadcrumb strong { color: var(--teal); }
.student-cover { background: var(--teal); }
.student-cover-shape { background: repeating-radial-gradient(ellipse at 10% 60%, rgba(255,255,255,.2) 0 12px, transparent 13px 30px); }
.student-photo { background: #fff4d8; }
.student-photo-placeholder { color: var(--teal); }
.student-badges b { color: var(--teal); background: #e4f2ef; }
.student-quick-actions a { color: var(--teal); }
.student-quick-actions .student-chat, .student-course-tools .student-view-all { background: var(--teal); color: #fff; }
.student-detail-block > div { color: var(--teal); }
.student-edit-link { background: #e4f2ef; color: var(--teal); }
.student-learning-cards > div { background: #f7fbfa; }
.student-bar-chart span { background: linear-gradient(to top, var(--gold) 0 44%, #c7d6e9 45%); }
.student-bar-chart span::after { background: var(--teal); }
.student-donut { background: conic-gradient(from 270deg, var(--teal) 0 80%, #eef1ef 80%); }
.student-legend .pink { background: var(--teal); }.student-legend .yellow { background: var(--gold); }.student-legend .blue { background: var(--blue); }
.student-mini-line { background: #d9eeeb; border-top-color: var(--teal); }
.student-success { background: #fff4d8; }
.pink-course { color: var(--teal); background: #e4f2ef; }.blue-course { color: var(--blue); background: #e8eef8; }.yellow-course { color: var(--gold); background: #fff4d8; }.orange-course { color: var(--coral); background: #fbe9e5; }
.student-course-row > span small { color: var(--teal); }
.course-progress { background: conic-gradient(var(--teal) var(--progress), #eef1ef 0); }
.completed { color: var(--teal); background: #e4f2ef; }.ongoing { color: #8a681d; background: #fff4d8; }
.student-dashboard .student-identity { padding-top: 22px; }
.student-dashboard .student-photo-wrap { width: 154px; margin: 0 auto 14px; }
.student-dashboard .student-photo { width: 154px; height: 154px; border: 0; border-radius: 8px; }
.student-dashboard .student-photo-placeholder { display: grid; place-items: center; font-size: 4rem; }
.student-empty-state { padding: 28px 8px; color: var(--muted); font-size: .8rem; text-align: center; }

.module-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid #eff1ed;
}

.module-search {
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    border-color: #f1e8bf;
    background: #fffdf6;
}

.module-search .form-control {
    min-height: 44px;
    border-color: #e9e5d6;
    border-radius: 10px;
}

.module-search .form-control:focus {
    border-color: #dfb500;
    box-shadow: 0 0 0 3px rgba(255, 202, 24, .2);
}

.module-search .btn {
    min-height: 44px;
    border-radius: 10px;
    white-space: nowrap;
}

.module-add-button {
    min-height: 42px;
    border-radius: 10px;
    white-space: nowrap;
}

.create-form {
    max-width: 1040px;
    margin: 0 auto;
    border-radius: 20px;
    border-color: #edf0ed;
    box-shadow: 0 10px 26px rgba(23, 36, 43, .05);
}

.form-section-title {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1e8bf;
    color: #9b7900;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.create-form label {
    display: block;
    /* color: var(--muted);
    font-size: .76rem;
    font-weight: 800; */
}

.remedial-language-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.create-form .remedial-language-heading {
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 400;
    line-height: inherit;
}

.create-form .remedial-language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    cursor: pointer;
}

.create-form .remedial-language-checkbox {
    display: inline-block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
}

.payment-summary {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    min-height: 96px;
    border: 1px solid #dce9df;
    border-left: 4px solid #43b049;
    border-radius: 12px;
    background: linear-gradient(105deg, #f3faf4 0%, #fffdf4 100%);
    box-shadow: 0 8px 20px rgba(23, 36, 43, .05);
}

.payment-summary-primary,
.payment-summary-secondary {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 20px;
}

.payment-summary-secondary {
    border-left: 1px solid #dce9df;
}

.payment-summary-label {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.payment-summary-primary strong {
    color: var(--ink);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.15;
}

.payment-summary-secondary strong {
    color: #278334;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 575.98px) {
    .payment-summary {
        grid-template-columns: 1fr;
    }

    .payment-summary-secondary {
        border-top: 1px solid #dce9df;
        border-left: 0;
    }
}

.create-form input,
.create-form select,
.create-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 11px 13px;
    border: 1px solid #e2e8e4;
    border-radius: 10px;
    outline: none;
    background: #fbfcfb;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 500;
}

.create-form textarea {
    resize: vertical;
}

.create-form input:focus,
.create-form select:focus,
.create-form textarea:focus {
    border-color: #dfb500;
    box-shadow: 0 0 0 3px rgba(255, 202, 24, .2);
}

.create-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #edf0ed;
}

.create-form-actions .btn {
    min-height: 42px;
    border-radius: 10px;
}

.module-table-panel {
    overflow: hidden;
    border-radius: 20px;
    border-color: #edf0ed;
    box-shadow: 0 10px 26px rgba(23, 36, 43, .05);
}

.module-table-panel .panel-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid #eff1ef;
}

.module-table-panel .panel-heading h2 {
    margin-top: 4px;
    font-size: 1.25rem;
}

.module-table thead th {
    padding: 14px 16px;
    background: #fff9de;
    color: #9b7900;
    border-bottom: 1px solid #f1e8bf;
}

.module-table tbody td {
    padding: 16px;
    color: var(--ink);
    border-color: #f0f1ed;
}

.module-table tbody tr:hover {
    background: #fffdf5;
}

.module-table .badge-status {
    background: #fff1b5;
    color: #8c6b00;
}

.profile-card {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    border-color: #e8ece8;
    box-shadow: 0 14px 34px rgba(23, 36, 43, .07);
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: -24px -24px 24px;
    padding: 26px 24px;
    background: #17242b;
    border-bottom: 0;
}

.profile-avatar {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 50%;
    background: #ffca18;
    color: var(--ink);
    font-size: 1.8rem;
    box-shadow: 0 0 0 5px rgba(255, 202, 24, .16);
}

.profile-hero h2 {
    margin: 5px 0 2px;
    font-size: 1.5rem;
    color: #fff;
}

.profile-hero .eyebrow {
    color: #ffca18;
}

.profile-hero p {
    margin: 0;
    color: #a9b6b8;
}

.profile-detail {
    min-height: 70px;
    padding: 15px 4px;
    border-bottom: 1px solid #edf0ed;
}

.profile-detail > span:first-child {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.profile-detail strong {
    color: var(--ink);
    font-size: .95rem;
}

.profile-page .module-heading {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.profile-page .module-heading h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
}

.dashboard-status {
    background: #fff4bf;
    color: #9a7600;
}

.dashboard-metrics .metric-card {
    min-height: 138px;
    border: 1px solid rgba(23, 36, 43, .08);
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(23, 36, 43, .06);
}

.dashboard-metrics .metric-card.teal,
.dashboard-metrics .metric-card.blue,
.dashboard-metrics .metric-card.gold,
.dashboard-metrics .metric-card.coral,
.dashboard-metrics .metric-card.ink,
.dashboard-metrics .metric-card.lavender {
    background: #fff;
    color: var(--ink);
}

.dashboard-metrics .metric-card span,
.dashboard-metrics .metric-card small {
    color: var(--muted);
    opacity: 1;
}

.dashboard-metrics .metric-card strong {
    color: var(--ink);
    font-size: 1.65rem;
}

.dashboard-metrics .metric-card::before {
    content: '';
    width: 34px;
    height: 5px;
    border-radius: 99px;
    background: #ffca18;
}

.dashboard-metrics .metric-card.teal::before {
    background: var(--teal);
}

.dashboard-metrics .metric-card.blue::before {
    background: #6e9bd4;
}

.dashboard-metrics .metric-card.gold::before {
    background: #ffca18;
}

.dashboard-metrics .metric-card.coral::before {
    background: #e88269;
}

.dashboard-metrics .metric-card.ink::before {
    background: var(--ink);
}

.dashboard-metrics .metric-card.lavender::before {
    background: #8e83c0;
}

.dashboard-metrics .metric-card:hover {
    border-color: #e2b600;
    box-shadow: 0 14px 26px rgba(117, 83, 0, .12);
}

.dashboard-metrics .metric-card small span {
    color: #c08e00;
    font-size: 1rem;
}

.dashboard-lower-grid .panel {
    border-radius: 20px;
    border-color: #edf0ed;
    box-shadow: 0 10px 26px rgba(23, 36, 43, .05);
}

.dashboard-lower-grid .panel-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid #eff1ef;
}

.dashboard-lower-grid .module-link {
    min-height: 94px;
    padding: 18px;
    border-radius: 14px;
    background: #fffdf6;
    border-color: #f1e8bf;
}

.dashboard-lower-grid .module-link:hover {
    background: #fff8d8;
    border-color: #e7bf2d;
}

.dashboard-lower-grid .module-link b {
    color: #c69500;
    font-size: 1.35rem;
}

.dashboard-lower-grid .dark-panel {
    background: var(--ink);
    border-color: var(--ink);
}

.dashboard-lower-grid .dark-panel .btn-light {
    border-radius: 10px;
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 575px) {
    .app-topbar {
        height: 60px;
    }

    .app-topbar .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .sidebar-toggle {
        display: block;
    }

    .app-sidebar {
        top: 60px;
        bottom: 0;
        width: min(280px, 86vw);
        padding: 24px 16px;
        max-height: calc(100vh - 60px);
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 12px 0 28px rgba(23, 36, 43, .18);
    }

    .app-sidebar.is-open {
        transform: translateX(0);
    }

    .sidebar-label,
    .sidebar-footer {
        display: block;
    }

    .sidebar-nav {
        flex-direction: column;
        overflow: visible;
    }

    .sidebar-nav a {
        min-height: 44px;
        padding: 0 14px;
        font-size: .88rem;
    }

    .app-content {
        margin-left: 0;
        padding-top: 60px;
    }

    .dashboard-shell {
        border-radius: 20px;
    }

    .dashboard-shell>.container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .module-search {
        flex-wrap: wrap;
    }

    .module-search .form-control {
        flex: 1 1 100%;
    }

    .module-add-button {
        width: 100%;
    }

    .create-form-actions {
        flex-direction: column-reverse;
    }

    .create-form-actions .btn {
        width: 100%;
    }
}

/* Login page */
.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 42px 5vw;
    overflow: hidden;
    position: relative;
    background-color: #ffda3d;
    background-image: radial-gradient(rgba(255, 255, 255, .9) 2px, transparent 2px), radial-gradient(rgba(255, 255, 255, .42) 1px, transparent 1px);
    background-position: 20px 22px, 0 0;
    background-size: 28px 28px, 54px 54px;
}

.login-page::before,
.login-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    pointer-events: none;
}

.login-page::before {
    width: 420px;
    height: 420px;
    left: -190px;
    bottom: -210px;
}

.login-page::after {
    width: 420px;
    height: 420px;
    right: -170px;
    top: -230px;
}

.login-shell {
    width: min(1120px, 100%);
    min-height: 620px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(440px, 1.18fr);
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(117, 83, 0, .2);
}

.login-brand {
    position: absolute;
    z-index: 3;
    top: 38px;
    left: 48px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
}

.login-brand span {
    color: #e5af00;
}

.login-brand small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: .5rem;
    letter-spacing: .2em;
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 116px 60px 30px;
    background: #fff;
}

.login-kicker {
    color: #d7a900;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.login-form-panel h1 {
    margin: 12px 0 8px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -.03em;
}

.login-lead {
    max-width: 330px;
    margin: 0 0 30px;
    color: var(--muted);
    line-height: 1.65;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: .78rem;
    font-weight: 800;
}

.login-field input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #e4e7e5;
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    background: #fbfcfb;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.login-field input:focus {
    border-color: #e0b100;
    box-shadow: 0 0 0 4px rgba(255, 214, 49, .2);
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    margin-top: 10px;
    padding: 0 18px 0 22px;
    border: 0;
    border-radius: 12px;
    background: #ffca18;
    color: #202633;
    font-weight: 900;
    cursor: pointer;
    transition: background .16s ease, transform .16s ease;
}

.login-submit:hover {
    background: #efb500;
    transform: translateY(-1px);
}

.login-submit span {
    font-size: 1.35rem;
    line-height: 1;
}

.login-visual-panel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    padding: 46px 58px 28px;
    background: #fffdf7;
}

.login-visual-panel::before {
    content: '';
    position: absolute;
    width: 530px;
    height: 380px;
    left: -130px;
    top: 100px;
    border-radius: 48% 52% 45% 55%;
    background: #f8f8f6;
    transform: rotate(-9deg);
}

.login-language {
    position: relative;
    z-index: 1;
    text-align: right;
    color: var(--muted);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.login-language span {
    color: #d7a900;
}

.login-visual-copy {
    position: relative;
    z-index: 1;
    max-width: 450px;
    margin: 76px 0 0;
}

.login-visual-copy h2 {
    margin: 12px 0 10px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.login-visual-copy h2 strong {
    color: #e8b600;
}

.login-visual-copy p {
    max-width: 360px;
    color: var(--muted);
    line-height: 1.6;
}

.login-illustration {
    position: absolute;
    z-index: 2;
    right: 25px;
    bottom: 0;
    width: min(60%, 450px);
    max-height: 55%;
    object-fit: contain;
    object-position: bottom right;
    mix-blend-mode: multiply;
}

.login-dot-cluster {
    position: absolute;
    z-index: 1;
    width: 70px;
    height: 70px;
    opacity: .9;
    background-image: radial-gradient(#e9b900 2px, transparent 2px);
    background-size: 18px 18px;
}

.login-dot-cluster-top {
    top: 105px;
    right: 28px;
}

.login-dot-cluster-bottom {
    bottom: 30px;
    left: 28px;
}

@media (max-width: 800px) {
    .login-page {
        padding: 20px 14px;
    }

    .login-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 22px;
    }

    .login-brand {
        top: 28px;
        left: 30px;
    }

    .login-form-panel {
        padding: 120px 30px 38px;
    }

    .login-visual-panel {
        min-height: 430px;
        padding: 30px;
    }

    .login-visual-copy {
        margin-top: 54px;
    }

    .login-illustration {
        width: 55%;
        max-height: 55%;
        right: 8px;
    }

    .login-dot-cluster-bottom {
        display: none;
    }
}

@media (max-width: 460px) {
    .login-visual-panel {
        min-height: 360px;
    }

    .login-visual-copy h2 {
        font-size: 2rem;
    }

    .login-illustration {
        width: 58%;
    }
}
