.sidebar {
    box-sizing: border-box;
    width: 260px !important;
    flex: 0 0 260px !important;
    background: #0d1b5e;
    color: white;
    min-height: 100vh;
    padding: 20px;
    position: sticky;
    top: 0;
    align-self: start;
    transition: width 180ms ease, flex-basis 180ms ease, padding 180ms ease;
}

.sidebar {
    background: #0b1e5b !important;
}

.menu-link {
    width: 100%;
    border: 0 !important;
    background: transparent;
    color: #ffffff;
    font: inherit;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.menu-link:hover,
.menu-link.active {
    background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    color: #ffffff;
}

.sidebar * {
    box-sizing: border-box;
}

.logo {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: calc(22px * var(--font-scale));
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
    color: #0d1b5e;
    font-size: calc(28px * var(--font-scale));
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    border: 3px solid rgba(255, 255, 255, 0.28);
}

.logo-text {
    line-height: 1;
}

.sidebar-student {
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 10px 0 16px;
}

.student-photo {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #ffffff);
    color: #0d1b5e;
    font-size: calc(24px * var(--font-scale));
    font-weight: 900;
    border: 4px solid rgba(255, 255, 255, 0.26);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.student-photo::after {
    content: "Upload";
    position: absolute;
    inset: auto 0 0;
    padding: 3px 0;
    background: rgba(13, 27, 94, 0.72);
    color: white;
    font-size: calc(10px * var(--font-scale));
    font-weight: 800;
    text-align: center;
    opacity: 0;
    transition: opacity 180ms ease;
}

.student-photo:hover::after {
    opacity: 1;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-info {
    min-width: 0;
    width: 100%;
    text-align: center;
}

.student-info strong {
    display: block;
    color: white;
    font-size: calc(15px * var(--font-scale));
    line-height: 1.25;
    letter-spacing: 0;
}

.student-info span {
    display: inline-flex;
    justify-content: center;
    margin-top: 7px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.76);
    font-size: calc(11px * var(--font-scale));
    font-weight: 700;
}

.student-photo-input {
    display: none;
}

.menu {
    display: grid;
    gap: 6px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 11px;
    border-radius: 8px;
    margin: 0;
    color: white;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 750;
    transition: background 180ms ease, transform 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.menu-link:hover,
.menu-link.active {
    background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    box-shadow: inset 3px 0 0 rgba(255,255,255,0.8);
    color: #ffffff;
}

.menu-link:hover {
    transform: translateX(2px);
}

.menu-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.menu-icon i,
.menu-icon svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.4;
}

.menu-link.active .menu-icon,
.menu-link:hover .menu-icon {
    transform: scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.menu-icon.dashboard {
    background: #dbeafe;
    color: #1d4ed8;
}

.menu-icon.search {
    background: #e0f2fe;
    color: #0369a1;
}

.menu-icon.shortlisted {
    background: #ffe4e6;
    color: #be123c;
}

.menu-icon.applications {
    background: #d1fae5;
    color: #047857;
}

.menu-icon.tasks {
    background: #fef3c7;
    color: #b45309;
}

.menu-icon.documents {
    background: #ede9fe;
    color: #6d28d9;
}

.menu-icon.register {
    background: #dcfce7;
    color: #047857;
}

.menu-icon.login {
    background: #e0f2fe;
    color: #0369a1;
}

.menu-icon.account {
    background: #fce7f3;
    color: #be185d;
}

.menu-icon.messages {
    background: #cffafe;
    color: #0e7490;
}

.menu-icon.logout {
    background: #fee2e2;
    color: #b91c1c;
}

.sidebar-promo {
    margin-top: 22px;
    padding: 10px 6px 0;
    color: white;
    text-align: center;
}

.sidebar-promo-visual {
    position: relative;
    width: 108px;
    height: 82px;
    margin: 0 auto 12px;
}

.sidebar-promo-visual span {
    display: grid;
    place-items: center;
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #0d1b5e;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.sidebar-promo-visual i,
.sidebar-promo-visual svg {
    stroke-width: 2.4;
}

.promo-globe {
    inset: 7px auto auto 18px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dbeafe, #ffffff) !important;
    color: #2563eb;
}

.promo-globe i,
.promo-globe svg {
    width: 36px;
    height: 36px;
}

.promo-cap {
    right: 5px;
    top: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ffe4e6, #ffffff) !important;
    color: #e11d48;
}

.promo-cap i,
.promo-cap svg {
    width: 23px;
    height: 23px;
}

.promo-book {
    left: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ecfdf3, #ffffff) !important;
    color: #059669;
}

.promo-book i,
.promo-book svg {
    width: 22px;
    height: 22px;
}

.sidebar-promo strong {
    display: block;
    color: #ffffff;
    font-size: calc(14px * var(--font-scale));
    line-height: 1.25;
    font-weight: 900;
    text-wrap: balance;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.sidebar-promo p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: calc(11.5px * var(--font-scale));
    line-height: 1.45;
    font-weight: 650;
    text-wrap: balance;
}

.sidebar-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    top: 18px;
    right: -16px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: #ffffff;
    color: #0d1b5e;
    box-shadow: 0 10px 24px rgba(13, 27, 94, 0.22);
    cursor: pointer;
    z-index: 10;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.sidebar-toggle:hover {
    transform: translateX(1px);
    box-shadow: 0 14px 30px rgba(13, 27, 94, 0.28);
}

.sidebar-toggle i,
.sidebar-toggle svg {
    width: 18px;
    height: 18px;
}

.sidebar.collapsed {
    width: 86px !important;
    flex-basis: 86px !important;
    padding: 20px 12px;
}

.sidebar.collapsed .logo {
    margin-bottom: 24px;
}

.sidebar.collapsed .logo-icon {
    width: 52px;
    height: 52px;
    font-size: calc(23px * var(--font-scale));
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .student-info {
    display: none;
}

.sidebar.collapsed .sidebar-student {
    justify-content: center;
    padding: 10px 0;
}

.sidebar.collapsed .student-photo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: calc(15px * var(--font-scale));
}

.sidebar.collapsed .student-photo::after {
    content: "";
    display: none;
}

.sidebar.collapsed .menu {
    justify-items: center;
}

.sidebar.collapsed .menu-link {
    justify-content: center;
    width: 48px;
    min-height: 48px;
    padding: 10px;
    gap: 0;
    font-size: 0;
    overflow: visible;
}

.sidebar.collapsed .menu-link::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(-4px);
    padding: 7px 10px;
    border-radius: 999px;
    background: #172033;
    color: #ffffff;
    font-size: calc(12px * var(--font-scale));
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 30;
}

.sidebar.collapsed .menu-link:hover::after,
.sidebar.collapsed .menu-link:focus-visible::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.sidebar.collapsed .menu-link:hover {
    transform: none;
}

.sidebar.collapsed .menu-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: calc(15px * var(--font-scale));
}

.sidebar.collapsed .menu-icon i,
.sidebar.collapsed .menu-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg);
}

.sidebar.collapsed .sidebar-promo {
    display: none;
}

@media (max-width: 760px) {
    .sidebar {
        width: 100%;
        min-height: auto;
    }

    .menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 8px;
    }

    .menu-link {
        margin: 0;
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar.collapsed {
        width: 100% !important;
        flex-basis: auto !important;
        padding: 20px;
    }

    .sidebar.collapsed .logo-text,
    .sidebar.collapsed .student-info {
        display: block;
    }

    .sidebar.collapsed .sidebar-student {
        padding: 10px 0 16px;
    }

    .sidebar.collapsed .student-photo {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        font-size: calc(24px * var(--font-scale));
    }

    .sidebar.collapsed .menu {
        justify-items: stretch;
    }

    .sidebar.collapsed .menu-link {
        justify-content: flex-start;
        width: auto;
        min-height: 42px;
        padding: 10px 11px;
        gap: 10px;
        font-size: inherit;
    }

    .sidebar.collapsed .menu-link::after {
        display: none;
    }

    .sidebar.collapsed .sidebar-promo {
        display: block;
    }
}


.counsellor-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.counsellor-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
    margin-bottom: 10px;
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

.counsellor-widget.open .counsellor-actions {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.counsellor-widget.open-down {
    display: flex;
    flex-direction: column-reverse;
}

.counsellor-widget.open-down .counsellor-actions {
    margin-top: 10px;
    margin-bottom: 0;
    transform: translateY(-12px);
}

.counsellor-widget.open.open-down .counsellor-actions {
    transform: translateY(0);
}

.counsellor-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 178px;
    padding: 10px 12px;
    border-radius: 18px;
    color: #172033;
    background-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-decoration: none;
    font-size: calc(13px * var(--font-scale));
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.34);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.counsellor-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(20, 31, 56, 0.20);
}

.counsellor-action.call {
    color: #1d4ed8;
}

.counsellor-action.whatsapp {
    color: #047857;
}

.counsellor-action-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: rgba(39, 84, 197, 0.10);
}

.counsellor-action.whatsapp .counsellor-action-icon {
    background: rgba(16, 185, 129, 0.12);
}

.counsellor-action-text {
    display: grid;
    gap: 2px;
    margin-right: auto;
}

.counsellor-action-text span {
    color: #667085;
    font-size: calc(11px * var(--font-scale));
    font-weight: 800;
    text-transform: uppercase;
}

.counsellor-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 15px 0 10px;
    border: none;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.18);
    color: #172033;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-size: calc(14px * var(--font-scale));
    font-weight: 900;
    cursor: pointer;
    touch-action: none;
    user-select: none;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.counsellor-widget.dragging .counsellor-toggle {
    cursor: grabbing;
    transform: scale(0.98);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.24);
}

.counsellor-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.20);
}

.counsellor-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(39, 84, 197, 0.44);
    color: white;
    box-shadow: 0 10px 24px rgba(39, 84, 197, 0.30);
}

.counsellor-label {
    display: grid;
    gap: 1px;
    text-align: left;
}

.counsellor-label small {
    color: #667085;
    font-size: calc(11px * var(--font-scale));
    font-weight: 800;
}

.counsellor-label span {
    line-height: 1.1;
}

@media (max-width: 760px) {
    .counsellor-widget {
        right: 14px;
        bottom: 14px;
    }

    .counsellor-toggle {
        min-height: 50px;
        padding: 0 12px 0 8px;
    }

    .counsellor-action {
        min-width: 166px;
    }

    .counsellor-label small {
        display: none;
    }
}


:root {
    --font-scale: 1;
    --bg: #f5f7fb;
    --panel: #ffffff;
    --text: #172033;
    --muted: #667085;
    --line: #e6eaf2;
    --blue: #2563eb;
    --shadow: 0 18px 45px rgba(20, 31, 56, 0.08);
}

button.btn,
a.btn,
.btn {
    border: 0;
    font-family: inherit;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
}

.shortlist-details-btn,
.applications-card .view-link,
.tasks-card .view-link,
.tasks-card {
    cursor: pointer;
}

.applications-card,
.tasks-card {
    min-width: 0;
}

.applications-card .card-top,
.tasks-card .card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
}

.applications-card .title-with-icon,
.tasks-card .title-with-icon {
    min-width: 0;
    flex: 1 1 auto;
}

.applications-card h2,
.tasks-card h2 {
    white-space: nowrap;
}

.applications-card .top-link,
.tasks-card .top-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

@media (min-width: 1101px) {
    .applications-card,
    .counsellor-card,
    .tasks-card {
        grid-column: span 4;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: calc(16px * var(--font-scale));
    line-height: normal;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 30rem),
        linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

.shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
    min-height: 100vh;
    transition: grid-template-columns 180ms ease;
}

.shell.sidebar-collapsed {
    grid-template-columns: 0px minmax(0, 1fr);
}

.shell > .sidebar {
    grid-column: 1;
    grid-row: 1;
}

.shell > .sections-wrap {
    grid-column: 2;
    grid-row: 1;
}

.dashboard-main {
    flex: 1;
    min-width: 0;
    padding: 18px 24px;
}

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,244,255,0.88));
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: calc(32px * var(--font-scale));
    line-height: 1.15;
}

.subtitle {
    margin: 6px 0 0;
    max-width: 720px;
    color: var(--muted);
    font-weight: 400;
}

.journey-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    color: #2754c5;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.journey-box {
    margin-bottom: 12px;
    padding: 14px 16px 12px;
    border: 1px solid rgba(230, 234, 242, 0.92);
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow);
}

.journey-box h2 {
    margin: 0 0 10px;
    font-size: calc(17px * var(--font-scale));
}

.journey-timeline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

.journey-step {
    flex: 1;
    text-align: center;
    color: #667085;
    font-size: calc(12px * var(--font-scale));
    font-weight: 500;
    position: relative;
}

.journey-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 26px);
    width: calc(100% - 42px);
    height: 2px;
    border-radius: 999px;
    background: #e6eaf2;
    z-index: 0;
}

.journey-step.done:not(:last-child)::after {
    background: #34d399;
}

.journey-step.active:not(:last-child)::after {
    background: linear-gradient(90deg, #60a5fa, #e6eaf2);
}

.journey-step.missed:not(:last-child)::after {
    background: repeating-linear-gradient(90deg, #fca5a5 0 6px, transparent 6px 11px);
}

.journey-step span {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #eef2f7;
    font-size: calc(18px * var(--font-scale));
    box-shadow: inset 0 0 0 1px #e6eaf2;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.journey-step:hover span {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 31, 56, 0.12);
}

.journey-step.done {
    color: #047857;
}

.journey-step.done span {
    background: #d1fae5;
    color: #047857;
}

.journey-step.active {
    color: #1d4ed8;
}

.journey-step.active span {
    background: linear-gradient(45deg,#6a5af9,#3b82f6);
    color: white;
    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.24);
}

.journey-step.missed {
    color: #b42318;
}

.journey-step.missed span {
    background: #fee2e2;
    color: #b42318;
}

.journey-step.pending span {
    color: #667085;
}

.journey-step span svg {
    width: 18px;
    height: 18px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-card {
    grid-column: span 3;
    min-height: 200px;
    padding: 14px;
    border: 1px solid rgba(230, 234, 242, 0.92);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    border-color: #c7d5f4;
    box-shadow: 0 24px 58px rgba(20, 31, 56, 0.13);
}

.search-card {
    --title-bg: #dbeafe;
    --title-color: #1d4ed8;
    --title-border: #bfdbfe;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 218px;
    padding: 16px;
    border-color: rgba(226, 232, 240, 0.95);
    background:
        radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.13), transparent 96px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.9) 100%);
}

.search-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -42px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.search-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.search-main-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16);
}

.search-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #2754c5;
    font-size: calc(11px * var(--font-scale));
    font-weight: 850;
    white-space: nowrap;
}

.search-card-badge i,
.search-card-badge svg,
.search-card-btn i,
.search-card-btn svg {
    width: 14px;
    height: 14px;
}

.search-card h2,
.search-card p,
.search-card-btn {
    position: relative;
    z-index: 1;
}

.search-card h2 {
    margin: 0;
    font-size: calc(16px * var(--font-scale));
    white-space: nowrap;
}

.search-card p {
    margin-top: 12px;
    color: #475467;
    line-height: 1.45;
}

.search-card-btn {
    width: max-content;
    min-width: 0;
    padding: 0 14px;
    margin-top: auto;
    gap: 8px;
    border-radius: 14px;
}

.shortlist-card {
    --title-bg: #ffe4e6;
    --title-color: #be123c;
    --title-border: #fecdd3;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 218px;
    padding: 16px;
    border-color: rgba(254, 205, 211, 0.95);
    background:
        radial-gradient(circle at 88% 16%, rgba(244, 63, 94, 0.14), transparent 92px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 241, 242, 0.92) 100%);
}

.shortlist-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -42px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: rgba(190, 18, 60, 0.08);
    pointer-events: none;
}

.shortlist-card-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.shortlist-main-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(190, 18, 60, 0.18);
}

.shortlist-card h2,
.shortlist-count-panel,
.shortlist-details-btn {
    position: relative;
    z-index: 1;
}

.shortlist-card h2 {
    margin: 0;
    font-size: calc(16px * var(--font-scale));
    line-height: 1.25;
}

.shortlist-count-panel {
    display: grid;
    justify-items: center;
    gap: 4px;
    margin-top: 14px;
    padding: 16px 12px;
    border: 1px solid rgba(254, 205, 211, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.shortlist-count-panel .big-number {
    color: #be123c;
    font-size: calc(36px * var(--font-scale));
    line-height: 1;
}

.shortlist-count-panel span {
    color: #475467;
    font-size: calc(13px * var(--font-scale));
    font-weight: 800;
}

.shortlist-details-btn {
    width: 100%;
    margin-top: auto;
    gap: 8px;
    border-radius: 14px;
}

.shortlist-details-btn i,
.shortlist-details-btn svg {
    width: 14px;
    height: 14px;
}

.profile-card,
.applications-card,
.counsellor-card,
.tasks-card,
.documents-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(226, 232, 240, 0.95);
}

.profile-card {
    --title-bg: #e0e7ff;
    --title-color: #4338ca;
    --title-border: #c7d2fe;
    background:
        radial-gradient(circle at 88% 12%, rgba(99, 102, 241, 0.13), transparent 88px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 242, 255, 0.9) 100%);
}

.applications-card {
    --title-bg: #d1fae5;
    --title-color: #047857;
    --title-border: #a7f3d0;
    background:
        radial-gradient(circle at 90% 14%, rgba(16, 185, 129, 0.13), transparent 96px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 253, 245, 0.9) 100%);
}

.counsellor-card {
    --title-bg: #e0f2fe;
    --title-color: #0369a1;
    --title-border: #bae6fd;
    background:
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.13), transparent 98px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.9) 100%);
}

.tasks-card {
    --title-bg: #fef3c7;
    --title-color: #b45309;
    --title-border: #fde68a;
    background:
        radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.15), transparent 96px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 235, 0.9) 100%);
}

.documents-card {
    --title-bg: #ede9fe;
    --title-color: #6d28d9;
    --title-border: #ddd6fe;
    background:
        radial-gradient(circle at 88% 12%, rgba(124, 58, 237, 0.13), transparent 96px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 243, 255, 0.9) 100%);
}

.profile-card::after,
.applications-card::after,
.counsellor-card::after,
.tasks-card::after,
.documents-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -48px;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    pointer-events: none;
}

.profile-card::after { background: rgba(67, 56, 202, 0.07); }
.applications-card::after { background: rgba(4, 120, 87, 0.07); }
.counsellor-card::after { background: rgba(2, 132, 199, 0.07); }
.tasks-card::after { background: rgba(180, 83, 9, 0.08); }
.documents-card::after { background: rgba(109, 40, 217, 0.07); }

.profile-card > *,
.applications-card > *,
.counsellor-card > *,
.tasks-card > *,
.documents-card > * {
    position: relative;
    z-index: 1;
}

.wide-card {
    grid-column: span 4;
    min-height: 230px;
    display: flex;
    flex-direction: column;
}

.wide-card .application-list,
.wide-card .task-list,
.wide-card .document-list {
    flex: 1;
}

.counsellor-card .button-row {
    margin-top: auto;
}

.dashboard-card h2 {
    display: inline-block;
    margin: 9px 0 5px;
    padding: 5px 8px;
    border: 1px solid var(--title-border, #dbeafe);
    border-radius: 10px;
    background: var(--title-bg, #eef4ff);
    color: var(--title-color, #2754c5);
    font-size: calc(16px * var(--font-scale));
    line-height: 1.25;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.dashboard-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.35;
    font-weight: 500;
    font-size: calc(13px * var(--font-scale));
}

.card-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.card-icon.blue { background: #dbeafe; color: #1d4ed8; }
.card-icon.rose { background: #ffe4e6; color: #be123c; }
.card-icon.indigo { background: #e0e7ff; color: #4338ca; }
.card-icon.green { background: #d1fae5; color: #047857; }
.card-icon.amber { background: #fef3c7; color: #b45309; }
.card-icon.violet { background: #ede9fe; color: #6d28d9; }

.card-top,
.profile-card-head,
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-with-icon h2 {
    margin: 0;
}

.profile-card-head {
    display: block;
}

.profile-title {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.profile-title h2 {
    margin: 0;
    font-size: calc(12px * var(--font-scale));
    line-height: 1.22;
    white-space: nowrap;
}

.profile-subtitle {
    display: block;
    margin: 5px 0 0 48px;
    color: #667085;
    font-size: calc(11px * var(--font-scale));
    font-weight: 700;
}

.big-number {
    font-size: calc(34px * var(--font-scale));
    line-height: 1;
    color: #172033;
    font-weight: 750;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: 10px;
    padding: 0 12px;
    border: none;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary { background: #2563eb; box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22); }
.btn-light { background: #eef4ff; color: #2754c5; }
.btn-danger { background: #dc2626; box-shadow: 0 12px 24px rgba(220, 38, 38, 0.18); }
.btn-whatsapp { background: #059669; box-shadow: 0 12px 24px rgba(5, 150, 105, 0.18); }
.btn-complete { background: #2563eb; box-shadow: 0 12px 24px rgba(37, 99, 235, 0.20); }

.progress-circle {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    padding: 0;
    border: 1px solid #c7d2fe;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 55%, transparent 56%),
        conic-gradient(#4338ca calc(var(--progress) * 1%), #e0e7ff 0);
    color: #4338ca;
    box-shadow: 0 18px 36px rgba(67, 56, 202, 0.18);
}

.progress-circle span {
    font-size: calc(17px * var(--font-scale));
    font-weight: 900;
    color: #4338ca;
}

.profile-progress-row {
    display: grid;
    place-items: center;
    width: max-content;
    max-width: 100%;
    margin: 14px auto 8px;
}

.profile-card .btn {
    display: flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.profile-card .btn svg {
    width: 17px;
    height: 17px;
}

.profile-warning {
    margin-top: 0 !important;
    text-align: center;
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.profile-card p:not(.profile-warning) {
    text-align: center;
}

.profile-warning.complete {
    color: #2563eb !important;
}

.application-list,
.task-list,
.document-list {
    display: grid;
    gap: 7px;
    margin-top: 9px;
}

.application-item,
.task-item,
.document-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.74);
    color: #344054;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.application-item strong,
.document-item span {
    display: block;
    font-weight: 650;
    color: #172033;
}

.application-item span:not(.status) {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: calc(12px * var(--font-scale));
    font-weight: 500;
}

.status {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: calc(11px * var(--font-scale));
    font-weight: 700;
}

.application-status {
    display: grid;
    justify-items: end;
    gap: 4px;
    flex: 0 0 auto;
    text-align: right;
}

.application-status small {
    color: #667085;
    font-size: calc(11px * var(--font-scale));
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}

.status.submitted { background: #dbeafe; color: #1d4ed8; }
.status.offer { background: #d1fae5; color: #047857; }
.status.review { background: #fef3c7; color: #92400e; }
.status.visa { background: #ede9fe; color: #6d28d9; }

.view-link,
.mini-link {
    display: inline-flex;
    margin-top: 9px;
    color: #2563eb;
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}

.top-link {
    margin-top: 0;
    white-space: nowrap;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(219, 234, 254, 0.9);
}

.counsellor-profile {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
}

.connect-box {
    padding: 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.connect-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    color: #667085;
    line-height: 1.2;
    white-space: nowrap;
}

.connect-title > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.connect-title strong {
    color: #172033;
    font-size: calc(13px * var(--font-scale));
    font-weight: 800;
}

.connect-title small {
    color: #667085;
    font-size: calc(12px * var(--font-scale));
    font-weight: 650;
}

.counsellor-photo {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
    box-shadow: inset 0 0 0 3px white, 0 10px 24px rgba(37, 99, 235, 0.16);
}

p#profileProgressStatusgreen {
    margin-top: 0 !important;
    text-align: center;
    color: #4338ca !important;
    font-weight: 700 !important;
}

.counsellor-photo span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    font-size: calc(15px * var(--font-scale));
    font-weight: 800;
}

.counsellor-profile h2 {
    margin: 0 0 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #172033;
    box-shadow: none;
    font-weight: 800;
}

.counsellor-contact-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
}

.contact-action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    min-height: 44px;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: #344054;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, background 180ms ease;
}

.contact-action::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translate(-50%, 4px);
    opacity: 0;
    pointer-events: none;
    padding: 7px 10px;
    border-radius: 999px;
    background: #172033;
    color: white;
    font-size: calc(11px * var(--font-scale));
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 5;
}

.contact-action:hover::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.contact-action:hover {
    transform: translateY(-2px);
    border-color: #c7d5f4;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(20, 31, 56, 0.10);
}

.contact-action > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 11px;
}

.contact-action small {
    display: block;
    color: #667085;
    font-size: calc(10px * var(--font-scale));
    font-weight: 600;
}

.contact-action strong {
    display: block;
    margin-top: 1px;
    color: #172033;
    font-size: calc(12px * var(--font-scale));
    font-weight: 650;
}

.call-action > span {
    background: #dbeafe;
    color: #1d4ed8;
}

.whatsapp-action > span {
    background: #d1fae5;
    color: #047857;
}

.email-action > span {
    background: #ede9fe;
    color: #6d28d9;
}

.task-item {
    cursor: pointer;
    font-weight: 600;
}

.task-empty {
    padding: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: #667085;
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
    text-align: center;
}

.task-item span {
    display: flex;
    align-items: center;
    gap: 9px;
}

.task-item em {
    color: #667085;
    font-size: calc(12px * var(--font-scale));
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef2f7;
}

.task-item.requested-today {
    border-color: #fecaca;
    background: rgba(255, 247, 247, 0.82);
}

.task-item.requested-today em {
    color: #b91c1c;
    background: #fee2e2;
}

.task-item.requested-soon {
    border-color: #fed7aa;
    background: rgba(255, 250, 244, 0.82);
}

.task-item.requested-soon em {
    color: #c2410c;
    background: #ffedd5;
}

.task-item.requested-week {
    border-color: #bfdbfe;
    background: rgba(248, 251, 255, 0.82);
}

.task-item.requested-week em {
    color: #1d4ed8;
    background: #dbeafe;
}

.task-item.requested-later {
    border-color: #bbf7d0;
    background: rgba(247, 254, 249, 0.82);
}

.task-item.requested-later em {
    color: #047857;
    background: #d1fae5;
}

.document-item strong {
    color: #2754c5;
    font-size: calc(13px * var(--font-scale));
    white-space: nowrap;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-card,
    .counsellor-card,
    .tasks-card,
    .documents-card {
        grid-column: span 1;
    }

    .dashboard-hero {
        padding-right: 190px;
    }
}

@media (min-width: 1201px) and (max-height: 760px) {
    .dashboard-main {
        padding: 12px 18px;
    }

    .dashboard-hero {
        margin-bottom: 8px;
    }

    .journey-box {
        margin-bottom: 8px;
        padding: 10px 12px;
    }

    .journey-box h2 {
        margin-bottom: 6px;
        font-size: calc(15px * var(--font-scale));
    }

    .journey-step {
        font-size: calc(11px * var(--font-scale));
    }

    .journey-step span {
        width: 34px;
        height: 34px;
        margin-bottom: 4px;
        font-size: calc(15px * var(--font-scale));
    }

    .journey-step:not(:last-child)::after {
        top: 16px;
        left: calc(50% + 22px);
        width: calc(100% - 34px);
    }

    h1 {
        font-size: calc(24px * var(--font-scale));
    }

    .subtitle {
        font-size: calc(13px * var(--font-scale));
    }

    .dashboard-card {
        min-height: 176px;
        padding: 11px;
    }

    .dashboard-card h2 {
        font-size: calc(15px * var(--font-scale));
        margin: 7px 0 4px;
    }

    .dashboard-card p,
    .contact-line,
    .task-item,
    .document-item,
    .application-item {
        font-size: calc(12px * var(--font-scale));
    }

    .card-icon {
        width: 34px;
        height: 34px;
    }

    .progress-circle {
        min-width: 0;
        width: 70px;
        height: 70px;
        padding: 0;
    }

    .progress-circle span {
        font-size: calc(15px * var(--font-scale));
    }

    .application-list,
    .task-list,
    .document-list {
        gap: 5px;
        margin-top: 7px;
    }

    .application-item,
    .task-item,
    .document-item {
        padding: 6px 8px;
    }

    .btn {
        min-height: 32px;
        margin-top: 7px;
        font-size: calc(12px * var(--font-scale));
    }
}

@media (max-width: 760px) {
    .shell {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .dashboard-main {
        padding: 18px;
    }

    .dashboard-hero {
        display: block;
        padding: 18px;
    }

    .journey-pill {
        margin-top: 16px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card,
    .counsellor-card,
    .tasks-card,
    .documents-card {
        grid-column: span 1;
    }

    .journey-timeline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-step::after {
        display: none;
    }

    h1 {
        font-size: calc(27px * var(--font-scale));
    }

    .application-item,
    .task-item,
    .document-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .application-status {
        justify-items: start;
        text-align: left;
    }

    .connect-title,
    .connect-title > div {
        flex-wrap: wrap;
        white-space: normal;
    }
}


.page-section[data-section="search"] .shell {
    display: flex;
    min-height: 100vh;
}.page-section[data-section="search"] .content {
    flex: 1;
    min-width: 0;
    max-width: 1440px;
    padding: 28px;
}.page-section[data-section="search"] .page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px;
    padding-right: 210px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,244,255,0.88));
    box-shadow: var(--shadow);
}.page-section[data-section="search"] .eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}.page-section[data-section="search"] h1 {
    margin: 0;
    font-size: calc(32px * var(--font-scale));
    line-height: 1.15;
}.page-section[data-section="search"] .subtitle {
    margin: 9px 0 0;
    max-width: 720px;
    color: var(--muted);
    font-weight: 650;
}.page-section[data-section="search"] .summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--blue);
    font-weight: 900;
    white-space: nowrap;
    box-shadow: var(--shadow);
}.page-section[data-section="search"] .search-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}.page-section[data-section="search"] .filter-card, .page-section[data-section="search"] .results-card, .page-section[data-section="search"] .course-card {
    border: 1px solid rgba(230, 234, 242, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}.page-section[data-section="search"] .filter-card, .page-section[data-section="search"] .results-card {
    border-radius: 18px;
}.page-section[data-section="search"] .filter-card {
    position: sticky;
    top: 18px;
    padding: 18px;
}.page-section[data-section="search"] .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: calc(19px * var(--font-scale));
}.page-section[data-section="search"] .icon-box {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--blue);
}.page-section[data-section="search"] .field {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
}.page-section[data-section="search"] .field label {
    color: #344054;
    font-size: calc(13px * var(--font-scale));
    font-weight: 850;
}.page-section[data-section="search"] input, .page-section[data-section="search"] select {
    width: 100%;
    min-height: 37px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcff;
    color: var(--text);
    font: menu;
    padding: 0 12px;
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}.page-section[data-section="search"] input:focus, .page-section[data-section="search"] select:focus {
    border-color: #e16565;
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}.page-section[data-section="search"] .search-input {
    position: relative;
}.page-section[data-section="search"] .search-input i {
    position: absolute;
    left: 13px;
    top: 50%;
    color: #98a2b3;
    transform: translateY(-50%);
}.page-section[data-section="search"] .search-input input {
    padding-left: 42px;
}.page-section[data-section="search"] .filter-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 16px;
}.page-section[data-section="search"] .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 850;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}.page-section[data-section="search"] .btn:hover {
    transform: translateY(-1px);
}.page-section[data-section="search"] .btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}.page-section[data-section="search"] .btn-light {
    border: 1px solid var(--line);
    background: #ffffff;
    color: #344054;
}.page-section[data-section="search"] .results-card {
    padding: 18px;
}.page-section[data-section="search"] .results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}.page-section[data-section="search"] .results-head h2 {
    margin: 0;
    font-size: calc(21px * var(--font-scale));
}.page-section[data-section="search"] .results-meta {
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 750;
}.page-section[data-section="search"] .course-list {
    display: grid;
    gap: 12px;
}.page-section[data-section="search"] .course-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, background 180ms ease;
}.page-section[data-section="search"] .course-card:hover, .page-section[data-section="search"] .course-card.selected {
    transform: translateY(-2px);
    border-color: #b8c9f6;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(20, 31, 56, 0.12);
}.page-section[data-section="search"] .course-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}.page-section[data-section="search"] .course-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--blue);
}.page-section[data-section="search"] .course-card h3 {
    margin: 0;
    font-size: calc(18px * var(--font-scale));
}.page-section[data-section="search"] .course-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-weight: 600;
}.page-section[data-section="search"] .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 11px;
}.page-section[data-section="search"] .tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475467;
    font-size: calc(12px * var(--font-scale));
    font-weight: 800;
}.page-section[data-section="search"] .tag.country {
    background: #dbeafe;
    color: #1d4ed8;
}.page-section[data-section="search"] .tag.fee {
    background: #ecfdf3;
    color: #047857;
}.page-section[data-section="search"] .course-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
}.page-section[data-section="search"] .shortlist-btn {
    min-width: 132px;
    background: #fff1f2;
    color: var(--rose);
}.page-section[data-section="search"] .course-card.selected .shortlist-btn {
    background: var(--rose);
    color: white;
}.page-section[data-section="search"] .empty-state {
    display: none;
    padding: 36px;
    border: 1px dashed #cfd9f2;
    border-radius: 16px;
    color: var(--muted);
    text-align: center;
    font-weight: 750;
}.page-section[data-section="search"] .search-action-card {
    display: grid;
    align-content: start;
}.page-section[data-section="search"] .search-action-card .btn {
    width: 100%;
    min-height: 48px;
}.page-section[data-section="search"] .history-list {
    display: grid;
    gap: 12px;
}.page-section[data-section="search"] .history-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}.page-section[data-section="search"] .history-item:hover {
    transform: translateY(-2px);
    border-color: #b8c9f6;
    box-shadow: 0 16px 34px rgba(20, 31, 56, 0.10);
}.page-section[data-section="search"] .history-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--blue);
}.page-section[data-section="search"] .history-title {
    display: block;
    font-weight: 850;
}.page-section[data-section="search"] .history-meta {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 650;
}.page-section[data-section="search"] .history-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #047857;
    font-size: calc(12px * var(--font-scale));
    font-weight: 850;
    white-space: nowrap;
}


@media (max-width: 1000px) {.page-section[data-section="search"] .search-layout {
        grid-template-columns: 1fr;
    }.page-section[data-section="search"] .filter-card {
        position: static;
    }.page-section[data-section="search"] .page-head {
        padding-right: 180px;
    }
}



@media (max-width: 760px) {.page-section[data-section="search"] .shell {
        display: block;
    }.page-section[data-section="search"] .content {
        padding: 18px;
    }.page-section[data-section="search"] .page-head, .page-section[data-section="search"] .results-head {
        display: block;
        padding: 18px;
    }.page-section[data-section="search"] .results-head {
        padding: 0;
    }.page-section[data-section="search"] .summary-pill {
        margin-top: 14px;
    }.page-section[data-section="search"] .course-card, .page-section[data-section="search"] .history-item {
        grid-template-columns: 1fr;
    }.page-section[data-section="search"] .course-actions {
        justify-items: stretch;
    }.page-section[data-section="search"] h1 {
        font-size: calc(27px * var(--font-scale));
    }
}



.page-section[data-section="shortlisted"] .shell {
    display: flex;
    min-height: 100vh;
}.page-section[data-section="shortlisted"] .content {
    flex: 1;
    padding: 28px;
    max-width: 1220px;
}.page-section[data-section="shortlisted"] .page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px;
    padding-right: 210px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,244,255,0.88));
    box-shadow: var(--shadow);
}.page-section[data-section="shortlisted"] .eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}.page-section[data-section="shortlisted"] h1 {
    margin: 0;
    font-size: calc(32px * var(--font-scale));
    line-height: 1.15;
}.page-section[data-section="shortlisted"] .subtitle {
    margin: 9px 0 0;
    color: var(--muted);
    font-weight: 650;
}.page-section[data-section="shortlisted"] .summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border-radius: 999px;
    background: white;
    color: #be123c;
    font-weight: 900;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    white-space: nowrap;
}.page-section[data-section="shortlisted"] .layout-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.35fr);
    gap: 18px;
}.page-section[data-section="shortlisted"] .card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(230, 234, 242, 0.92);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 20px;
}.page-section[data-section="shortlisted"] .card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: calc(20px * var(--font-scale));
}.page-section[data-section="shortlisted"] .icon-box {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--blue);
}.page-section[data-section="shortlisted"] .preference-list {
    display: grid;
    gap: 12px;
}.page-section[data-section="shortlisted"] .preference-item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcff;
}.page-section[data-section="shortlisted"] .preference-item span {
    display: block;
    color: var(--muted);
    font-size: calc(12px * var(--font-scale));
    font-weight: 900;
    text-transform: uppercase;
}.page-section[data-section="shortlisted"] .preference-item strong {
    display: block;
    margin-top: 5px;
    font-size: calc(16px * var(--font-scale));
}.page-section[data-section="shortlisted"] .search-note {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 750;
    line-height: 1.5;
}.page-section[data-section="shortlisted"] .course-list {
    display: grid;
    gap: 12px;
    padding-left: 22px;
}.page-section[data-section="shortlisted"] .course-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
    cursor: pointer;
    position: relative;
}.page-section[data-section="shortlisted"] .course-card:focus-visible {
    outline: 4px solid rgba(37, 99, 235, 0.18);
    outline-offset: 3px;
}.page-section[data-section="shortlisted"] .course-card:hover, .page-section[data-section="shortlisted"] .course-card.selected {
    transform: translateY(-2px);
    border-color: #c7d5f4;
    box-shadow: 0 18px 38px rgba(20, 31, 56, 0.12);
}.page-section[data-section="shortlisted"] .course-card.selected {
    background: #f8fbff;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.14);
}.page-section[data-section="shortlisted"] .course-card.selected .course-number {
    background: linear-gradient(135deg, #047857, #10b981);
    box-shadow: 0 12px 24px rgba(4, 120, 87, 0.22);
}.page-section[data-section="shortlisted"] .course-card.selected .course-number::after {
    border-color: rgba(16, 185, 129, 0.28);
}.page-section[data-section="shortlisted"] .select-circle {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 2px solid #cfd9f2;
    border-radius: 50%;
    background: white;
    color: white;
    font-size: calc(14px * var(--font-scale));
    font-weight: 900;
    transition: background 180ms ease, border 180ms ease;
}.page-section[data-section="shortlisted"] .course-card.selected .select-circle {
    background: var(--blue);
    border-color: var(--blue);
}.page-section[data-section="shortlisted"] .course-card.selected .select-circle::before {
    content: "\2713";
}.page-section[data-section="shortlisted"] .selection-hint {
    margin: -4px 0 14px;
    color: var(--muted);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
}.page-section[data-section="shortlisted"] .course-card.selected .select-circle::before {
    content: "";
    width: 6px;
    height: 11px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg) translateY(-1px);
}.page-section[data-section="shortlisted"] .course-number {
    display: grid;
    place-items: center;
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #be123c, #f43f5e);
    color: #ffffff;
    font-size: calc(14px * var(--font-scale));
    font-weight: 900;
    border: 3px solid #ffffff;
    box-shadow: 0 12px 24px rgba(190, 18, 60, 0.22);
    z-index: 2;
}.page-section[data-section="shortlisted"] .course-number::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    border: 1px solid rgba(244, 63, 94, 0.22);
}.page-section[data-section="shortlisted"] .course-card h3 {
    margin: 0;
    font-size: calc(17px * var(--font-scale));
}.page-section[data-section="shortlisted"] .course-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-weight: 700;
}.page-section[data-section="shortlisted"] .country-badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: calc(12px * var(--font-scale));
    font-weight: 900;
}.page-section[data-section="shortlisted"] .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}.page-section[data-section="shortlisted"] .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease;
}.page-section[data-section="shortlisted"] .btn:hover {
    transform: translateY(-1px);
}.page-section[data-section="shortlisted"] .btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}.page-section[data-section="shortlisted"] .btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}.page-section[data-section="shortlisted"] .btn-light {
    background: #eef4ff;
    color: #2754c5;
}


@media (max-width: 1000px) {.page-section[data-section="shortlisted"] .layout-grid {
        grid-template-columns: 1fr;
    }.page-section[data-section="shortlisted"] .page-head {
        padding-right: 180px;
    }
}



@media (max-width: 760px) {.page-section[data-section="shortlisted"] .shell {
        display: block;
    }.page-section[data-section="shortlisted"] .content {
        padding: 18px;
    }.page-section[data-section="shortlisted"] .page-head {
        display: block;
        padding: 18px;
    }.page-section[data-section="shortlisted"] .summary-pill {
        margin-top: 14px;
    }.page-section[data-section="shortlisted"] .course-card {
        grid-template-columns: 1fr;
        padding-left: 18px;
    }.page-section[data-section="shortlisted"] .course-number {
        left: -14px;
        width: 30px;
        height: 30px;
        font-size: calc(13px * var(--font-scale));
    }
}



.page-section[data-section="applications"] .shell {
    display: flex;
    min-height: 100vh;
}.page-section[data-section="applications"] .content {
    flex: 1;
    padding: 28px;
    overflow: hidden;
    max-width: 1480px;
}.page-section[data-section="applications"] .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,244,255,0.88));
    box-shadow: var(--shadow);
}.page-section[data-section="applications"] .eyebrow {
    margin: 0 0 6px;
    color: var(--brand);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}.page-section[data-section="applications"] h1 {
    margin: 0;
    font-size: calc(32px * var(--font-scale));
    line-height: 1.15;
}.page-section[data-section="applications"] .summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}.page-section[data-section="applications"] .summary-card, .page-section[data-section="applications"] .table-card {
    background: var(--panel);
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}.page-section[data-section="applications"] .summary-card {
    padding: 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, background 180ms ease;
}.page-section[data-section="applications"] .summary-card::after {
    content: "";
    position: absolute;
    inset: auto -26px -34px auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(39, 84, 197, 0.08);
}.page-section[data-section="applications"] .summary-card:hover, .page-section[data-section="applications"] .summary-card.active {
    transform: translateY(-2px);
    border-color: #b8c9f6;
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: 0 18px 38px rgba(20, 31, 56, 0.12);
}.page-section[data-section="applications"] .summary-card span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}.page-section[data-section="applications"] .summary-card strong {
    display: block;
    margin-top: 10px;
    font-size: calc(28px * var(--font-scale));
    font-weight: 700;
}.page-section[data-section="applications"] .table-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}.page-section[data-section="applications"] .toolbar {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(128px, 140px) minmax(148px, 160px) minmax(148px, 160px) minmax(150px, 165px) 40px;
    gap: 8px;
    align-items: end;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    background: #f8fafc;
}.page-section[data-section="applications"] .toolbar > * {
    min-width: 0;
}.page-section[data-section="applications"] .field {
    position: relative;
}.page-section[data-section="applications"] .date-field {
    display: grid;
    gap: 5px;
    align-self: end;
}.page-section[data-section="applications"] .date-field span {
    color: var(--muted);
    font-size: calc(10px * var(--font-scale));
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}.page-section[data-section="applications"] .field i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
}.page-section[data-section="applications"] input, .page-section[data-section="applications"] select {
    width: 100%;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcff;
    color: var(--ink);
    font: inherit;
    font-weight: 400;
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}.page-section[data-section="applications"] input {
    padding: 0 14px;
}.page-section[data-section="applications"] select {
    padding: 0 14px;
}.page-section[data-section="applications"] input:focus, .page-section[data-section="applications"] select:focus {
    border-color: #9db5ff;
    background: white;
    box-shadow: 0 0 0 4px rgba(39,84,197,0.1);
}.page-section[data-section="applications"] .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 180ms ease, box-shadow 180ms ease;
    align-self: end;
}.page-section[data-section="applications"] .download-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}.page-section[data-section="applications"] .download-btn svg {
    color: white;
    stroke: currentColor;
}.page-section[data-section="applications"] .table-head, .page-section[data-section="applications"] .application-row {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) minmax(170px, 1.05fr) minmax(115px, 0.7fr) minmax(80px, 0.55fr) minmax(95px, 0.6fr) minmax(130px, 0.85fr) minmax(190px, 1.1fr);
    gap: 14px;
    align-items: center;
}.page-section[data-section="applications"] .table-head {
    padding: 12px 18px;
    margin-bottom: 10px;
    border: 1px solid #e9eef7;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5fb 100%);
    color: #475467;
    font-size: calc(11px * var(--font-scale));
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}.page-section[data-section="applications"] .table-head div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 24px;
}.page-section[data-section="applications"] .table-head div:nth-child(3), .page-section[data-section="applications"] .table-head div:nth-child(4), .page-section[data-section="applications"] .table-head div:nth-child(5), .page-section[data-section="applications"] .table-head div:nth-child(6) {
    justify-content: center;
    text-align: center;
}.page-section[data-section="applications"] .rows {
    display: grid;
    gap: 10px;
}.page-section[data-section="applications"] .application-row {
    min-height: 88px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, background 180ms ease;
}.page-section[data-section="applications"] .application-row:hover {
    transform: translateY(-2px);
    border-color: #b8c9f6;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(20, 31, 56, 0.10);
}.page-section[data-section="applications"] .application-row[hidden] {
    display: none;
}.page-section[data-section="applications"] .course-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}.page-section[data-section="applications"] .course-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-soft), #f4f7ff);
    color: var(--brand);
    box-shadow: inset 0 0 0 1px #dbe5ff;
}.page-section[data-section="applications"] .application-row > div {
    color: #344054;
    font-weight: 400;
    min-width: 0;
}.page-section[data-section="applications"] .application-row > div:nth-child(3), .page-section[data-section="applications"] .application-row > div:nth-child(4), .page-section[data-section="applications"] .application-row > div:nth-child(5), .page-section[data-section="applications"] .application-row > div:nth-child(6) {
    display: flex;
    justify-content: center;
    text-align: center;
}.page-section[data-section="applications"] .application-row > div:nth-child(7) {
    display: flex;
    justify-content: flex-start;
}.page-section[data-section="applications"] .primary {
    font-weight: 600;
    line-height: 1.25;
}.page-section[data-section="applications"] .secondary {
    margin-top: 4px;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 400;
}.page-section[data-section="applications"] .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: max-content;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
    white-space: nowrap;
}.page-section[data-section="applications"] .badge.submitted {
    color: #1d4ed8;
    background: #dbeafe;
}.page-section[data-section="applications"] .badge.under-review {
    color: #92400e;
    background: #fef3c7;
}.page-section[data-section="applications"] .badge.offer-received {
    color: #047857;
    background: #d1fae5;
}.page-section[data-section="applications"] .badge.rejected {
    color: #b91c1c;
    background: #fee2e2;
}.page-section[data-section="applications"] .badge.action-required {
    color: #c2410c;
    background: #ffedd5;
}.page-section[data-section="applications"] .badge.draft {
    color: #475467;
    background: #eef2f7;
}.page-section[data-section="applications"] .action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    max-width: 100%;
    padding: 9px 11px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: calc(13px * var(--font-scale));
    font-weight: 500;
    position: relative;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}.page-section[data-section="applications"] .action-pill:hover {
    transform: translateY(-1px);
    background: #ffedd5;
    box-shadow: 0 10px 22px rgba(194, 65, 12, 0.12);
}.page-section[data-section="applications"] .action-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}.page-section[data-section="applications"] .action-pill:hover::after {
    content: attr(data-full);
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    z-index: 5;
    width: min(320px, 70vw);
    padding: 12px;
    border-radius: 12px;
    background: #101828;
    color: white;
    box-shadow: 0 14px 28px rgba(16,24,40,0.18);
    white-space: normal;
    line-height: 1.45;
}.page-section[data-section="applications"] .pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    color: var(--muted);
    font-size: calc(14px * var(--font-scale));
}.page-section[data-section="applications"] .page-buttons {
    display: flex;
    gap: 8px;
}.page-section[data-section="applications"] .page-btn {
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    color: var(--ink);
    cursor: pointer;
    transition: background 180ms ease, border 180ms ease;
}.page-section[data-section="applications"] .page-btn:hover, .page-section[data-section="applications"] .page-btn.active {
    border-color: var(--brand);
    background: var(--brand);
    color: white;
}.page-section[data-section="applications"] .empty {
    display: none;
    padding: 36px;
    text-align: center;
    color: var(--muted);
}.page-section[data-section="applications"] .drawer-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(15,23,42,0.24);
    z-index: 20;
}.page-section[data-section="applications"] .drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 100%);
    height: 100vh;
    padding: 24px;
    background: white;
    box-shadow: -24px 0 50px rgba(15,23,42,0.14);
    transform: translateX(102%);
    transition: transform 220ms ease;
    z-index: 21;
    overflow-y: auto;
}.page-section[data-section="applications"] .drawer.open {
    transform: translateX(0);
}.page-section[data-section="applications"] .drawer-backdrop.open {
    display: block;
}.page-section[data-section="applications"] .drawer-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}.page-section[data-section="applications"] .icon-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    cursor: pointer;
}.page-section[data-section="applications"] .detail-list {
    display: grid;
    gap: 12px;
}.page-section[data-section="applications"] .detail-item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcff;
}.page-section[data-section="applications"] .detail-label {
    color: var(--muted);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
    text-transform: uppercase;
}.page-section[data-section="applications"] .detail-value {
    margin-top: 6px;
    font-weight: 500;
}


@media (max-width: 1100px) {.page-section[data-section="applications"] .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }.page-section[data-section="applications"] .toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }.page-section[data-section="applications"] .toolbar .field {
        grid-column: 1 / -1;
    }.page-section[data-section="applications"] .download-btn {
        width: 100%;
    }.page-section[data-section="applications"] .table-head {
        display: none;
    }.page-section[data-section="applications"] .application-row {
        grid-template-columns: 1fr 1fr;
    }
}



@media (max-width: 1280px) {.page-section[data-section="applications"] .toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }.page-section[data-section="applications"] .toolbar .field {
        grid-column: 1 / -1;
    }.page-section[data-section="applications"] .download-btn {
        width: 100%;
    }
}



@media (max-width: 760px) {.page-section[data-section="applications"] .shell {
        display: block;
    }.page-section[data-section="applications"] .content {
        padding: 18px;
    }.page-section[data-section="applications"] .topbar {
        align-items: flex-start;
        flex-direction: column;
    }.page-section[data-section="applications"] .summary-grid, .page-section[data-section="applications"] .toolbar, .page-section[data-section="applications"] .application-row {
        grid-template-columns: 1fr;
    }.page-section[data-section="applications"] .toolbar .field {
        grid-column: auto;
    }.page-section[data-section="applications"] .application-row > div:nth-child(3), .page-section[data-section="applications"] .application-row > div:nth-child(4), .page-section[data-section="applications"] .application-row > div:nth-child(5), .page-section[data-section="applications"] .application-row > div:nth-child(6), .page-section[data-section="applications"] .application-row > div:nth-child(7) {
        justify-content: flex-start;
        text-align: left;
    }.page-section[data-section="applications"] h1 {
        font-size: calc(27px * var(--font-scale));
    }.page-section[data-section="applications"] .pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}



.page-section[data-section="tasks"] .shell {
    display: flex;
    min-height: 100vh;
}.page-section[data-section="tasks"] .content {
    flex: 1;
    min-width: 0;
    padding: 28px;
    max-width: 1280px;
}.page-section[data-section="tasks"] .page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px;
    padding-right: 210px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,244,255,0.88));
    box-shadow: var(--shadow);
}.page-section[data-section="tasks"] .eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}.page-section[data-section="tasks"] h1 {
    margin: 0;
    font-size: calc(32px * var(--font-scale));
    line-height: 1.15;
}.page-section[data-section="tasks"] .subtitle {
    margin: 9px 0 0;
    color: var(--muted);
    font-weight: 650;
}.page-section[data-section="tasks"] .progress-card {
    width: 210px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow);
}.page-section[data-section="tasks"] .progress-card strong {
    display: block;
    margin-bottom: 9px;
    font-size: calc(14px * var(--font-scale));
}.page-section[data-section="tasks"] .progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef8;
}.page-section[data-section="tasks"] .progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), #60a5fa);
    transition: width 260ms ease;
}.page-section[data-section="tasks"] .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}.page-section[data-section="tasks"] .summary-card, .page-section[data-section="tasks"] .tasks-card {
    border: 1px solid rgba(230, 234, 242, 0.92);
    background: rgba(255,255,255,0.94);
    box-shadow: var(--shadow);
}.page-section[data-section="tasks"] .summary-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, background 180ms ease;
}.page-section[data-section="tasks"] .summary-card::after {
    content: "";
    position: absolute;
    inset: auto -26px -34px auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
}.page-section[data-section="tasks"] .summary-card:hover {
    transform: translateY(-2px);
    border-color: #b8c9f6;
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: 0 18px 38px rgba(20, 31, 56, 0.12);
}.page-section[data-section="tasks"] .task-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(20, 31, 56, 0.12);
}.page-section[data-section="tasks"] .summary-card span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}.page-section[data-section="tasks"] .summary-card strong {
    display: block;
    margin-top: 10px;
    font-size: calc(28px * var(--font-scale));
    font-weight: 700;
}.page-section[data-section="tasks"] .tasks-card {
    padding: 20px;
    border-radius: 20px;
}.page-section[data-section="tasks"] .card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}.page-section[data-section="tasks"] .title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}.page-section[data-section="tasks"] .icon-box {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fef3c7;
    color: var(--yellow);
}.page-section[data-section="tasks"] .card-head h2 {
    margin: 0;
    font-size: calc(21px * var(--font-scale));
}.page-section[data-section="tasks"] .task-list {
    display: grid;
    gap: 12px;
}.page-section[data-section="tasks"] .task-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 13px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}.page-section[data-section="tasks"] .task-row.completed {
    opacity: 0.72;
}.page-section[data-section="tasks"] .task-row.completed .task-title {
    text-decoration: line-through;
    color: var(--muted);
}.page-section[data-section="tasks"] .task-check {
    width: 20px;
    height: 20px;
    accent-color: var(--blue);
}.page-section[data-section="tasks"] .task-title {
    display: block;
    font-weight: 600;
}.page-section[data-section="tasks"] .task-note {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 400;
}.page-section[data-section="tasks"] .requested-badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
    white-space: nowrap;
}.page-section[data-section="tasks"] .requested-badge.today {
    background: #fee2e2;
    color: var(--red);
}.page-section[data-section="tasks"] .requested-badge.warning {
    background: #fef3c7;
    color: #92400e;
}.page-section[data-section="tasks"] .support-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef4ff, #ffffff);
    border: 1px solid #dbeafe;
}.page-section[data-section="tasks"] .support-strip p {
    margin: 0;
    color: var(--muted);
    font-weight: 500;
}.page-section[data-section="tasks"] .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: none;
    border-radius: 12px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}.page-section[data-section="tasks"] .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}


@media (max-width: 1100px) {.page-section[data-section="tasks"] .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }.page-section[data-section="tasks"] .page-head {
        padding-right: 180px;
    }
}



@media (max-width: 760px) {.page-section[data-section="tasks"] .shell {
        display: block;
    }.page-section[data-section="tasks"] .content {
        padding: 18px;
    }.page-section[data-section="tasks"] .page-head {
        display: block;
        padding: 18px;
    }.page-section[data-section="tasks"] .progress-card {
        width: 100%;
        margin-top: 14px;
    }.page-section[data-section="tasks"] .summary-grid {
        grid-template-columns: 1fr;
    }.page-section[data-section="tasks"] .task-row {
        grid-template-columns: auto 1fr;
    }.page-section[data-section="tasks"] .requested-badge {
        grid-column: 2;
        width: max-content;
    }.page-section[data-section="tasks"] .support-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}



.page-section[data-section="documents"] .shell {
    display: flex;
    min-height: 100vh;
}.page-section[data-section="documents"] .content {
    flex: 1;
    padding: 28px;
    max-width: 1280px;
}.page-section[data-section="documents"] .hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,244,255,0.88));
    box-shadow: var(--shadow);
}.page-section[data-section="documents"] .eyebrow {
    margin: 0 0 6px;
    color: var(--brand);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}.page-section[data-section="documents"] h1 {
    margin: 0;
    font-size: calc(32px * var(--font-scale));
    line-height: 1.15;
}.page-section[data-section="documents"] .subtitle {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 600;
}.page-section[data-section="documents"] .hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    padding: 14px;
    border-radius: 18px;
    background: white;
    color: #344054;
    font-size: calc(14px * var(--font-scale));
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(20, 31, 56, 0.08);
}.page-section[data-section="documents"] .hero-note i {
    color: #10b981;
}.page-section[data-section="documents"] .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}.page-section[data-section="documents"] .summary-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 20px;
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow);
}.page-section[data-section="documents"] .summary-card::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -34px;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: rgba(39, 84, 197, 0.08);
}.page-section[data-section="documents"] .summary-card span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}.page-section[data-section="documents"] .summary-card strong {
    display: block;
    margin-top: 10px;
    font-size: calc(30px * var(--font-scale));
}

.page-section[data-section="documents"] .required-documents-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.page-section[data-section="documents"] .required-documents-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 18px;
    background: #ffffff;
    color: #344054;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-section[data-section="documents"] .required-documents-field:hover {
    transform: translateY(-1px);
    border-color: #c7d5f4;
    box-shadow: 0 18px 38px rgba(20, 31, 56, 0.12);
}

.page-section[data-section="documents"] .required-documents-field span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 900;
}

.page-section[data-section="documents"] .required-documents-field svg {
    width: 19px;
    height: 19px;
    color: #2754c5;
}

.page-section[data-section="documents"] .required-documents-field strong {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2754c5;
    font-size: calc(13px * var(--font-scale));
    white-space: nowrap;
}

.page-section[data-section="documents"] .required-documents-popup {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    place-items: center;
    padding: 20px;
}

.page-section[data-section="documents"] .required-documents-toggle:checked ~ .required-documents-popup {
    display: grid;
}

.page-section[data-section="documents"] .required-documents-backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.52);
    cursor: pointer;
}

.page-section[data-section="documents"] .required-documents-modal {
    position: relative;
    z-index: 1;
    width: min(100%, 1050px);
    max-height: min(82vh, 680px);
    overflow: auto;
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.page-section[data-section="documents"] .required-documents-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.page-section[data-section="documents"] .required-documents-head h3 {
    margin: 0;
    font-size: calc(21px * var(--font-scale));
}

.page-section[data-section="documents"] .required-documents-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    margin: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #344054;
    cursor: pointer;
}

.page-section[data-section="documents"] .required-documents-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-section[data-section="documents"] .required-documents-list li {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcff;
    color: #344054;
    font-size: calc(14px * var(--font-scale));
    font-weight: 800;
}

.page-section[data-section="documents"] .upload-card, .page-section[data-section="documents"] .documents-card {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 18px;
    box-shadow: var(--shadow);
}.page-section[data-section="documents"] .upload-card {
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}.page-section[data-section="documents"] .upload-grid {
    display: grid;
    grid-template-columns: minmax(190px, 0.9fr) minmax(260px, 1.2fr) 150px;
    gap: 16px;
    align-items: end;
}.page-section[data-section="documents"] .document-upload-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}.page-section[data-section="documents"] .document-upload-btn {
    width: 170px;
}.page-section[data-section="documents"] .field label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: calc(13px * var(--font-scale));
    font-weight: 600;
}.page-section[data-section="documents"] .field {
    min-width: 0;
}.page-section[data-section="documents"] input[type="text"], .page-section[data-section="documents"] input[type="file"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcff;
    color: var(--ink);
    font: inherit;
    padding: 10px 12px;
    outline: none;
}

.page-section[data-section="documents"] .document-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.page-section[data-section="documents"] .document-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    height: 46px;
    padding: 0 14px;
    border: 1px dashed #9db5ff;
    border-radius: 14px;
    background: #eef4ff;
    color: #2754c5;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border 180ms ease;
}

.page-section[data-section="documents"] .document-file-button:hover {
    transform: translateY(-1px);
    border-color: #2563eb;
    background: #e0eaff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
}

.page-section[data-section="documents"] .document-file-button svg {
    width: 18px;
    height: 18px;
}

.page-section[data-section="documents"] .document-file-meta {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-section[data-section="documents"] .btn.document-upload-btn {
    height: 46px;
    margin-top: 0;
    white-space: nowrap;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.page-section[data-section="documents"] input:focus {
    border-color: #9db5ff;
    background: white;
    box-shadow: 0 0 0 4px rgba(39,84,197,0.1);
}.page-section[data-section="documents"] .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: none;
    border-radius: 14px;
    background: var(--brand);
    color: white;
    font-weight: 600;
    padding: 0 18px;
    cursor: pointer;
    width: 100%;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.page-section[data-section="documents"] .btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.page-section[data-section="documents"] .btn.document-upload-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.page-section[data-section="documents"] .documents-card {
    overflow: hidden;
}

.page-section[data-section="documents"] .card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}.page-section[data-section="documents"] .card-header h2 {
    margin: 0;
    font-size: calc(18px * var(--font-scale));
}.page-section[data-section="documents"] .count-pill {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--brand);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
}.page-section[data-section="documents"] .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    margin-top: 8px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #047857;
    font-size: calc(12px * var(--font-scale));
    font-weight: 500;
}.page-section[data-section="documents"] .document-list {
    display: grid;
    gap: 10px;
    padding: 14px;
}.page-section[data-section="documents"] .document-row {
    display: grid;
    /*grid-template-columns: minmax(220px, 1fr) minmax(200px, 1.05fr) 105px 92px 118px 132px;*/
    grid-template-columns: minmax(220px, 1fr) minmax(200px, 1.05fr) 105px 92px 118px ;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}.page-section[data-section="documents"] .document-row:hover {
    transform: translateY(-2px);
    border-color: #b8c9f6;
    box-shadow: 0 16px 34px rgba(20, 31, 56, 0.10);
}.page-section[data-section="documents"] .doc-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}.page-section[data-section="documents"] .doc-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e9efff, #f4f7ff);
    color: var(--brand);
    box-shadow: inset 0 0 0 1px #dbe5ff;
}.page-section[data-section="documents"] .primary {
    font-weight: 600;
}.page-section[data-section="documents"] .secondary {
    margin-top: 4px;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}.page-section[data-section="documents"] .meta-label {
    color: var(--muted);
    font-size: calc(12px * var(--font-scale));
    font-weight: 600;
    text-transform: uppercase;
}.page-section[data-section="documents"] .meta-value {
    margin-top: 4px;
    font-weight: 500;
}.page-section[data-section="documents"] .file-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 9px 11px;
    border-radius: 12px;
    background: #f8fafc;
    color: #344054;
    font-weight: 500;
}.page-section[data-section="documents"] .file-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}.page-section[data-section="documents"] .doc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}.page-section[data-section="documents"] .action-btn {
    display: grid;
    place-items: center;
    position: relative;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #f8fafc;
    color: #172033;
    cursor: pointer;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease, background 180ms ease;
}

.page-section[data-section="documents"] .action-btn i, .page-section[data-section="documents"] .action-btn svg {
    width: 20px;
    height: 20px;
}

.page-section[data-section="documents"] .action-btn::after {
    content: attr(aria-label);
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    opacity: 0;
    pointer-events: none;
    padding: 6px 9px;
    border-radius: 999px;
    background: #172033;
    color: white;
    font-size: calc(11px * var(--font-scale));
    font-weight: 600;
    white-space: nowrap;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.page-section[data-section="documents"] .action-btn:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.page-section[data-section="documents"] .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(20, 31, 56, 0.12);
}

.page-section[data-section="documents"] .action-btn.view {
    background: #eef4ff;
    color: #2754c5;
    border-color: #dbe5ff;
}

.page-section[data-section="documents"] .action-btn.download {
    background: #ecfdf3;
    color: #047857;
    border-color: #c9f5dc;
}

.page-section[data-section="documents"] .action-btn.download i,
.page-section[data-section="documents"] .action-btn.download svg {
    color: #047857;
}

.page-section[data-section="documents"] .action-text {
    display: none;
}

.page-section[data-section="documents"] .modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.30);
    backdrop-filter: blur(4px);
    z-index: 1200;
}.page-section[data-section="documents"] .modal-backdrop.open {
    display: flex;
}.page-section[data-section="documents"] .doc-modal {
    width: min(520px, 100%);
    border-radius: 26px;
    background: white;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
    overflow: hidden;
}.page-section[data-section="documents"] .doc-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}.page-section[data-section="documents"] .doc-modal-head h3 {
    margin: 0;
}.page-section[data-section="documents"] .doc-modal-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-weight: 500;
}.page-section[data-section="documents"] .close-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    cursor: pointer;
}.page-section[data-section="documents"] .doc-preview {
    display: grid;
    place-items: center;
    min-height: 220px;
    margin: 20px;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    background:
        radial-gradient(circle at top, rgba(37, 99, 235, 0.14), transparent 12rem),
        #f8fbff;
    color: var(--muted);
    text-align: center;
    font-weight: 500;
}.page-section[data-section="documents"] .doc-preview i, .page-section[data-section="documents"] .doc-preview svg {
    width: 46px;
    height: 46px;
    color: #2754c5;
}.page-section[data-section="documents"] .empty {
    display: none;
    padding: 34px;
    text-align: center;
    color: var(--muted);
    font-weight: 500;
}


@media (max-width: 900px) {.page-section[data-section="documents"] .hero, .page-section[data-section="documents"] .document-row {
        grid-template-columns: 1fr;
    }.page-section[data-section="documents"] .document-upload-btn {
        margin-top: 0;
    }.page-section[data-section="documents"] .doc-actions {
        justify-content: flex-start;
    }.page-section[data-section="documents"] .summary-grid {
        grid-template-columns: 1fr 1fr;
    }
}



@media (max-width: 760px) {.page-section[data-section="documents"] .shell {
        display: block;
    }.page-section[data-section="documents"] .content {
        padding: 18px;
    }.page-section[data-section="documents"] .upload-grid, .page-section[data-section="documents"] .summary-grid, .page-section[data-section="documents"] .document-row {
        grid-template-columns: 1fr;
    }.page-section[data-section="documents"] .required-documents-field {
        align-items: flex-start;
        flex-direction: column;
    }.page-section[data-section="documents"] .required-documents-list {
        grid-template-columns: 1fr;
    }.page-section[data-section="documents"] h1 {
        font-size: calc(27px * var(--font-scale));
    }
}



.page-section[data-section="profile"] .shell {
    display: flex;
    min-height: 100vh;
}.page-section[data-section="profile"] .content {
    flex: 1;
    padding: 28px;
}.page-section[data-section="profile"] .profile-wrap {
    max-width: 900px;
    margin: 0 auto;
}.page-section[data-section="profile"] .page-head {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,244,255,0.88));
    box-shadow: var(--shadow);
}.page-section[data-section="profile"] .eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: calc(13px * var(--font-scale));
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}.page-section[data-section="profile"] h1 {
    margin: 0;
    font-size: calc(32px * var(--font-scale));
    line-height: 1.15;
}.page-section[data-section="profile"] .subtitle {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 600;
}.page-section[data-section="profile"] .form-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}.page-section[data-section="profile"] .progress-area {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}.page-section[data-section="profile"] .progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}.page-section[data-section="profile"] .step-count {
    color: var(--blue);
    font-weight: 900;
}.page-section[data-section="profile"] .progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9eef8;
}.page-section[data-section="profile"] .progress-fill {
    height: 100%;
    width: 16.66%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), #60a5fa);
    transition: width 260ms ease;
}.page-section[data-section="profile"] .step-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 16px;
}.page-section[data-section="profile"] .step-tab {
    display: grid;
    place-items: center;
    min-height: 38px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: calc(12px * var(--font-scale));
    font-weight: 900;
    text-align: center;
}.page-section[data-section="profile"] .step-tab.active {
    background: var(--blue-soft);
    color: var(--blue);
    box-shadow: inset 0 0 0 1px #bfdbfe;
}.page-section[data-section="profile"] .form-body {
    padding: 24px;
}.page-section[data-section="profile"] .step {
    display: none;
    animation: fadeIn 220ms ease;
}.page-section[data-section="profile"] .step.active {
    display: block;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-section[data-section="profile"] .step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}.page-section[data-section="profile"] .step-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: var(--blue-soft);
    color: var(--blue);
}.page-section[data-section="profile"] .step-title h2 {
    margin: 0;
    font-size: calc(22px * var(--font-scale));
}.page-section[data-section="profile"] .step-title p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: calc(14px * var(--font-scale));
    font-weight: 600;
}.page-section[data-section="profile"] .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}.page-section[data-section="profile"] .field {
    display: grid;
    gap: 7px;
}.page-section[data-section="profile"] .field.full {
    grid-column: 1 / -1;
}.page-section[data-section="profile"] label {
    color: #344054;
    font-size: calc(13px * var(--font-scale));
    font-weight: 850;
}.page-section[data-section="profile"] input, .page-section[data-section="profile"] select, .page-section[data-section="profile"] textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcff;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}.page-section[data-section="profile"] input, .page-section[data-section="profile"] select {
    min-height: 46px;
    padding: 0 13px;
}.page-section[data-section="profile"] textarea {
    min-height: 150px;
    padding: 13px;
    resize: vertical;
}.page-section[data-section="profile"] input:focus, .page-section[data-section="profile"] select:focus, .page-section[data-section="profile"] textarea:focus {
    border-color: #93c5fd;
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}.page-section[data-section="profile"] input:disabled {
    color: #64748b;
    background: #f1f5f9;
}.page-section[data-section="profile"] .choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}.page-section[data-section="profile"] .choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    cursor: pointer;
    font-weight: 800;
}.page-section[data-section="profile"] .choice input {
    width: auto;
    min-height: auto;
}.page-section[data-section="profile"] .checkbox-list {
    display: grid;
    gap: 12px;
}.page-section[data-section="profile"] .attachment-box {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding: 14px;
    border: 1px dashed #bfdbfe;
    border-radius: 18px;
    background: #f8fbff;
}.page-section[data-section="profile"] .attachment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #172033;
    font-weight: 900;
}.page-section[data-section="profile"] .attachment-head i, .page-section[data-section="profile"] .attachment-head svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}.page-section[data-section="profile"] .attachment-box input[type="file"] {
    padding: 10px 12px;
}.page-section[data-section="profile"] .attachment-list {
    display: grid;
    gap: 6px;
    color: #475467;
    font-size: calc(12px * var(--font-scale));
    font-weight: 700;
}.page-section[data-section="profile"] .attachment-list span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2754c5;
}.page-section[data-section="profile"] .check-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcff;
    font-weight: 750;
}.page-section[data-section="profile"] .check-card input {
    width: auto;
    min-height: auto;
    margin-top: 3px;
}.page-section[data-section="profile"] .error {
    display: none;
    color: var(--error);
    font-size: calc(12px * var(--font-scale));
    font-weight: 750;
}.page-section[data-section="profile"] .field.invalid input, .page-section[data-section="profile"] .field.invalid select, .page-section[data-section="profile"] .field.invalid textarea {
    border-color: #fca5a5;
}.page-section[data-section="profile"] .field.invalid .error {
    display: block;
}.page-section[data-section="profile"] .step-error {
    display: none;
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: #fef2f2;
    color: var(--error);
    font-weight: 800;
}.page-section[data-section="profile"] .summary-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--line);
}.page-section[data-section="profile"] .summary-box h3 {
    margin: 0 0 10px;
}.page-section[data-section="profile"] .summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    color: #475467;
    font-size: calc(14px * var(--font-scale));
    font-weight: 700;
}.page-section[data-section="profile"] .nav-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 24px;
    border-top: 1px solid var(--line);
}.page-section[data-section="profile"] .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}.page-section[data-section="profile"] .btn-primary {
    background: var(--blue);
    color: white;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}.page-section[data-section="profile"] .btn-secondary {
    background: #eef2f7;
    color: #344054;
}.page-section[data-section="profile"] .btn:hover:not(:disabled) {
    transform: translateY(-1px);
}.page-section[data-section="profile"] .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}.page-section[data-section="profile"] .success-message {
    display: none;
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: #ecfdf3;
    color: var(--success);
    font-weight: 900;
}.page-section[data-section="profile"] .hidden {
    display: none !important;
}

.access-section .page-head {
    margin-bottom: 18px;
}

.login-register-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 18px;
    align-items: stretch;
    width: 100%;
    max-width: 1120px;
    margin: 0;
}

.login-register-copy,
.student-login-form {
    border: 1px solid rgba(230, 234, 242, 0.94);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.login-register-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 460px;
    padding: 28px;
    background:
        radial-gradient(circle at 84% 18%, rgba(8, 145, 178, 0.14), transparent 150px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 255, 0.92));
}

.login-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: calc(12px * var(--font-scale));
    font-weight: 900;
}

.login-register-copy h2 {
    margin: 0;
    max-width: 420px;
    font-size: calc(30px * var(--font-scale));
    line-height: 1.15;
}

.login-register-copy p {
    margin: 10px 0 0;
    max-width: 440px;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.55;
}

.login-trust-list {
    display: grid;
    gap: 10px;
}

.login-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(230, 234, 242, 0.92);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #344054;
    font-size: calc(13px * var(--font-scale));
    font-weight: 850;
}

.login-trust-list svg {
    width: 17px;
    height: 17px;
    color: var(--blue);
    stroke-width: 2.4;
}

.student-login-form {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: 24px;
}

.form-title-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 6px;
}

.form-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 16px;
    background: #dbeafe;
    color: var(--blue);
}

.form-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.4;
}

.form-title-row h2 {
    margin: 0;
    font-size: calc(21px * var(--font-scale));
}

.form-title-row p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 650;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #344054;
    font-size: calc(13px * var(--font-scale));
    font-weight: 850;
}

.login-field em {
    color: var(--muted);
    font-size: calc(11px * var(--font-scale));
    font-style: normal;
    font-weight: 800;
}

.login-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcff;
    color: var(--text);
    font: inherit;
    font-size: calc(14px * var(--font-scale));
    font-weight: 700;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-field input:focus {
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.otp-flow {
    display: grid;
    gap: 14px;
}

.otp-flow summary,
.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.otp-flow summary {
    list-style: none;
    width: 100%;
    padding: 0 18px;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.otp-flow summary::-webkit-details-marker {
    display: none;
}

.otp-flow summary:hover,
.login-submit:hover {
    transform: translateY(-1px);
}

.otp-flow[open] summary {
    background: #eef2f7;
    color: #344054;
    box-shadow: none;
}

.otp-panel-regiter {
    display: none;
    gap: 14px;
    padding: 14px;
    border: 1px dashed #bfdbfe;
    border-radius: 18px;
    background: #f8fbff;
}

.otp-flow[open] .otp-panel-regiter {
    display: grid;
}

.otp-panel-login {
    display: none;
    gap: 14px;
    padding: 14px;
    border: 1px dashed #bfdbfe;
    border-radius: 18px;
    background: #f8fbff;
}

.otp-flow[open] .otp-panel-login {
    display: grid;
}

.otp-panel {
    display: none;
    gap: 14px;
    padding: 14px;
    border: 1px dashed #bfdbfe;
    border-radius: 18px;
    background: #f8fbff;
}

.otp-flow[open] .otp-panel {
    display: grid;
}

.otp-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #ecfdf3;
    color: #047857;
    font-size: calc(13px * var(--font-scale));
    font-weight: 850;
}

.otp-status svg {
    width: 17px;
    height: 17px;
}


.otp-flow summary,
.login-submit-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-submit-send {

    width: 100%;
    padding: 0 18px;
    background: #047857;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(4, 120, 87, 0.22);
}

.login-submit-send svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}


.login-submit {
    display: none;
    width: 100%;
    padding: 0 18px;
    background: #047857;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(4, 120, 87, 0.22);
}

.otp-flow:has(.otp-input:valid) .login-submit {
    display: inline-flex;
}

.login-submit svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

@media (max-width: 991.98px) {
    .login-register-panel {
        grid-template-columns: 1fr;
    }

    .login-register-copy {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .login-register-copy,
    .student-login-form {
        padding: 18px;
        border-radius: 18px;
    }

    .form-title-row {
        align-items: flex-start;
    }
}


@media (max-width: 900px) {.page-section[data-section="profile"] .step-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}



@media (max-width: 760px) {.page-section[data-section="profile"] .shell {
        display: block;
    }.page-section[data-section="profile"] .content {
        padding: 18px;
    }.page-section[data-section="profile"] .grid, .page-section[data-section="profile"] .summary-grid {
        grid-template-columns: 1fr;
    }.page-section[data-section="profile"] h1 {
        font-size: calc(27px * var(--font-scale));
    }.page-section[data-section="profile"] .nav-actions {
        flex-direction: column-reverse;
    }.page-section[data-section="profile"] .btn {
        width: 100%;
    }
}



.page-section { display: none; }
.page-section.active { display: block; }
.page-section:target { display: block; }
#register-panel:target ~ .page-section.active,
#login-panel:target ~ .page-section.active {
    display: none;
}
.shell:has(#register-panel:target) .menu-link.active:not(.register-link),
.shell:has(#register-panel.active) .menu-link.active:not(.register-link),
.shell:has(#login-panel:target) .menu-link.active:not(.login-link),
.shell:has(#login-panel.active) .menu-link.active:not(.login-link) {
    background: transparent;
    box-shadow: none;
}
.shell:has(#register-panel:target) .menu-link.active:not(.register-link) .menu-icon,
.shell:has(#register-panel.active) .menu-link.active:not(.register-link) .menu-icon,
.shell:has(#login-panel:target) .menu-link.active:not(.login-link) .menu-icon,
.shell:has(#login-panel.active) .menu-link.active:not(.login-link) .menu-icon {
    transform: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}
.shell:has(#register-panel:target) .register-link,
.shell:has(#register-panel.active) .register-link,
.shell:has(#login-panel:target) .login-link,
.shell:has(#login-panel.active) .login-link {
    background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    box-shadow: inset 3px 0 0 rgba(255,255,255,0.8);
    color: #ffffff;
}
.shell:has(#register-panel:target) .register-link .menu-icon,
.shell:has(#register-panel.active) .register-link .menu-icon,
.shell:has(#login-panel:target) .login-link .menu-icon,
.shell:has(#login-panel.active) .login-link .menu-icon {
    transform: scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}
.sections-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.sidebar.collapsed + .sections-wrap {
    width: 100%;
}

.sections-wrap > .page-section.active {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.sections-wrap > .dashboard-main.page-section.active,
.sections-wrap > .page-section.content.active {
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.account-menu {
    position: fixed;
    top: 16px;
    right: 22px;
    z-index: 900;
}

.account-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 7px 12px 7px 7px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.88));
    color: #172033;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.account-menu-toggle:hover,
.account-menu.open .account-menu-toggle {
    transform: translateY(-1px);
    border-color: #c7d5f4;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
}

.account-avatar {
    display: grid;
    place-items: center;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0) 34%),
        linear-gradient(135deg, #0d1b5e 0%, #2563eb 54%, #06b6d4 100%);
    color: #ffffff;
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.34),
        0 12px 26px rgba(37, 99, 235, 0.30),
        0 0 0 5px rgba(37, 99, 235, 0.10);
}

.account-avatar::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 11px;
    height: 11px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.38);
}

.account-avatar svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.45;
    filter: drop-shadow(0 2px 5px rgba(13, 27, 94, 0.24));
}

.account-summary {
    display: flex;
    align-items: center;
    min-width: 0;
    text-align: left;
}

.account-name {
    max-width: 128px;
    overflow: hidden;
    color: #172033;
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-toggle svg {
    width: 16px;
    height: 16px;
    color: #667085;
    transition: transform 180ms ease;
}

.account-menu.open .account-menu-toggle > svg {
    transform: rotate(180deg);
}

.account-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: 230px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.70), rgba(248,251,255,0.54));
    box-shadow: 0 28px 74px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.account-menu.open .account-menu-panel {
    display: grid;
    gap: 10px;
}

.account-panel-actions {
    display: grid;
    gap: 8px;
}

.account-menu-panel button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    color: #172033;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.52), 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.account-menu-panel button:hover {
    transform: translateX(2px) translateY(-1px);
    background: rgba(238, 244, 255, 0.82);
    color: #2754c5;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 14px 28px rgba(37, 99, 235, 0.10);
}

.account-menu-panel button > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: #2754c5;
    box-shadow: inset 0 0 0 1px #dbe5ff;
}

.account-menu-panel button:nth-child(2) > span {
    background: #cffafe;
    color: #0e7490;
    box-shadow: inset 0 0 0 1px #a5f3fc;
}

.account-menu-panel button:nth-child(3) > span {
    background: #fee2e2;
    color: #b91c1c;
    box-shadow: inset 0 0 0 1px #fecaca;
}

.account-menu-panel svg {
    width: 17px;
    height: 17px;
}

.account-menu-panel button strong {
    display: block;
}

.account-menu-panel button strong {
    color: inherit;
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    line-height: 1.2;
}

.account-message-option {
    position: relative;
}

.account-message-badge {
    display: none;
    place-items: center;
    min-width: 20px;
    height: 20px;
    margin-left: auto;
    padding: 0 6px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: calc(11px * var(--font-scale));
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.30);
}

.account-message-badge.visible {
    display: grid;
}

.page-section.content {
    flex: 1;
    min-width: 0;
    padding: 28px;
}

.page-section[data-section="search"].content {
    /*max-width: 1440px;*/
}

.page-section[data-section="shortlisted"].content {
    max-width: 1220px;
}

.page-section[data-section="applications"].content {
    max-width: 1480px;
    overflow: hidden;
}

.page-section[data-section="tasks"].content,
.page-section[data-section="documents"].content {
    max-width: 1280px;
}

.page-section[data-section="profile"].content {
    max-width: none;
}

.page-section[data-section="messages"].content {
    max-width: 1320px;
}

.access-section.content {
    max-width: 1280px;
}

.message-data-row {
    display: none;
}

.messages-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.message-list,
.message-panel,
.logout-card {
    border: 1px solid rgba(230, 234, 242, 0.92);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.message-list {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.message-item {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcff;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: transform 180ms ease, border 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.message-item:hover,
.message-item.active {
    transform: translateY(-2px);
    border-color: #b8c9f6;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(20, 31, 56, 0.10);
}

.message-item strong {
    font-size: calc(14px * var(--font-scale));
}

.message-item span {
    color: var(--muted);
    font-size: calc(12px * var(--font-scale));
    font-weight: 650;
}

.message-panel {
    min-height: 520px;
    padding: 20px;
}

.message-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.message-panel h2 {
    margin: 6px 0 0;
    font-size: calc(22px * var(--font-scale));
}

.message-status,
.message-date,
.attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    font-weight: 800;
}

.message-status {
    padding: 6px 10px;
    background: #cffafe;
    color: #0e7490;
    font-size: calc(12px * var(--font-scale));
}

.message-date {
    padding: 6px 10px;
    background: #eef2f7;
    color: #667085;
    font-size: calc(12px * var(--font-scale));
    white-space: nowrap;
}

.message-body {
    margin: 18px 0;
    color: #344054;
    font-weight: 600;
    line-height: 1.6;
}

.message-attachments,
.reply-thread {
    display: grid;
    gap: 8px;
}

.attachment-chip {
    padding: 8px 10px;
    background: #eef4ff;
    color: #2754c5;
    font-size: calc(12px * var(--font-scale));
}

.reply-box {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
}

.reply-box label {
    color: #344054;
    font-size: calc(13px * var(--font-scale));
    font-weight: 850;
}

.reply-box textarea {
    width: 100%;
    min-height: 110px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font: inherit;
    resize: vertical;
}

.reply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.reply-actions input {
    max-width: 320px;
}

.reply-item {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.reply-item strong {
    display: block;
    margin-bottom: 4px;
}

.reply-item p {
    margin: 0;
    color: #475467;
    line-height: 1.45;
}

.logout-card {
    display: grid;
    justify-items: center;
    max-width: 560px;
    margin: 60px auto 0;
    padding: 34px;
    text-align: center;
}

.logout-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: #fee2e2;
    color: #b91c1c;
}

.logout-icon svg {
    width: 32px;
    height: 32px;
}

.logout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

@media (max-width: 760px) {
    .sections-wrap > .dashboard-main.page-section.active,
    .sections-wrap > .page-section.content.active {
        padding: 18px;
    }

    .sections-wrap,
    .sidebar.collapsed + .sections-wrap {
        width: 100%;
    }

    .account-menu {
        top: 14px;
        right: 14px;
    }

    .account-name {
        /*display: none;*/
        max-width: 128px;
    }

    .messages-layout {
        grid-template-columns: 1fr;
    }

    .message-panel-head,
    .reply-actions,
    .logout-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .reply-actions input,
    .logout-actions .btn {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .shell,
    .shell.sidebar-collapsed {
        grid-template-columns: 1fr;
    }

    .shell > .sidebar,
    .shell > .sections-wrap {
        grid-column: 1;
    }

    .shell > .sidebar {
        grid-row: 1;
        width: 100% !important;
        flex-basis: auto !important;
        min-height: auto;
        position: relative;
        top: auto;
        align-self: stretch;
        z-index: 1;
    }

    .shell > .sections-wrap {
        grid-row: 2;
        position: relative;
    }

    .account-menu {
        position: absolute;
        top: 14px;
        right: 14px;
    }

    .sidebar,
    .sidebar.collapsed {
        width: 100% !important;
        flex-basis: auto !important;
        padding: 20px;
        position: relative;
        top: auto;
        align-self: stretch;
    }

    .sidebar.collapsed .logo-text,
    .sidebar.collapsed .student-info {
        display: block;
    }

    .sidebar.collapsed .sidebar-student {
        padding: 10px 0 16px;
    }

    .sidebar.collapsed .student-photo {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        font-size: calc(24px * var(--font-scale));
    }

    .sidebar.collapsed .student-photo::after {
        content: "Upload";
        display: block;
    }

    .sidebar.collapsed .menu {
        justify-items: stretch;
    }

    .sidebar.collapsed .menu-link {
        justify-content: flex-start;
        width: auto;
        min-height: 42px;
        padding: 10px 11px;
        gap: 10px;
        font-size: inherit;
    }

    .sidebar.collapsed .menu-link::after,
    .sidebar-toggle {
        display: none;
    }

    .dashboard-hero,
    .page-section[data-section="tasks"] .page-head {
        padding-right: 22px;
    }
}

@media (min-width: 761px) and (max-width: 991.98px) {
    .menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    :root {
        --font-scale: 0.97;
    }
}

@media (max-width: 760px) {
    :root {
        --font-scale: 0.94;
    }
}

@media (max-width: 420px) {
    :root {
        --font-scale: 0.9;
    }
}

.search-courses-page {
    --search-blue: #2563eb;
    --search-cyan: #0891b2;
    --search-ink: #172033;
    --search-muted: #667085;
    --search-line: #e6eaf2;
}

.search-courses-page .search-hero-panel {
    gap: 22px;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid rgba(230, 234, 242, 0.92);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 18%, rgba(8, 145, 178, 0.16), transparent 140px),
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238,244,255,0.92));
    box-shadow: var(--shadow);
}

.search-courses-page .search-hero-copy h1 {
    margin-top: 0;
}

.course-finder-panel,
.university-strip-panel,
.program-results-panel,
.search-history-panel {
    border: 1px solid rgba(230, 234, 242, 0.94);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.course-finder-panel {
    margin-bottom: 16px;
    padding: 18px;
}

.course-finder-form {
    margin: 0;
    position: relative;
}

.course-finder-form .row > [class*="col"] {
    min-width: 0;
}

.course-finder-form label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #475467;
    font-size: calc(12px * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.course-finder-form label svg {
    width: 17px;
    height: 17px;
    color: var(--search-blue);
    stroke-width: 2.4;
}

.course-finder-form select,
.course-finder-form textarea,
.multi-select-toggle,
.program-results-head select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--search-line);
    border-radius: 15px;
    background: #fbfcff;
    color: var(--search-ink);
    font: inherit;
    font-size: calc(14px * var(--font-scale));
    font-weight: 750;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.course-finder-form select,
.program-results-head select {
    padding: 0 14px;
}

.course-finder-form textarea {
    min-height: 96px;
    padding: 13px 14px;
    resize: vertical;
    line-height: 1.45;
}

.course-finder-form select:focus,
.course-finder-form textarea:focus,
.filter-open-control:checked ~ .multi-select-toggle,
.program-results-head select:focus {
    border-color: #93b5ff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.filter-open-none,
.filter-open-control {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.course-finder-form .filter-close-layer {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: none;
    margin: 0;
    cursor: default;
}

.course-finder-form:has(.filter-open-control:checked) .filter-close-layer {
    display: block;
}

.multi-select {
    position: relative;
    z-index: 40;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.multi-select:has(.filter-open-control:checked) {
    z-index: 120;
}

.course-finder-form .multi-select-toggle {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 14px;
    overflow: hidden;
    color: var(--search-ink);
    font-size: calc(14px * var(--font-scale));
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    cursor: pointer;
}

.course-finder-form .multi-select-toggle > span {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.course-finder-form .multi-select-toggle svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--search-blue);
    transition: transform 180ms ease;
}

.filter-open-control:checked ~ .multi-select-toggle svg {
    transform: rotate(180deg);
}

.selected-values {
    display: none;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.selected-value {
    display: none;
    white-space: nowrap;
}

.selected-value::after {
    content: ", ";
}

.multi-select:has(.multi-select-option input:checked) .multi-select-placeholder {
    display: none;
}

.multi-select:has(.multi-select-option input:checked) .selected-values {
    display: block;
}

.multi-select:has(input[value="USA"]:checked) .selected-country-usa,
.multi-select:has(input[value="UK"]:checked) .selected-country-uk,
.multi-select:has(input[value="Canada"]:checked) .selected-country-canada,
.multi-select:has(input[value="Australia"]:checked) .selected-country-australia,
.multi-select:has(input[value="Ireland"]:checked) .selected-country-ireland,
.multi-select:has(input[value="New Zealand"]:checked) .selected-country-nz,
.multi-select:has(input[value="Post Graduation"]:checked) .selected-level-pg,
.multi-select:has(input[value="Under Graduation"]:checked) .selected-level-ug,
.multi-select:has(input[value="Diploma"]:checked) .selected-level-diploma,
.multi-select:has(input[value="Foundation"]:checked) .selected-level-foundation,
.multi-select:has(input[value="Certificate"]:checked) .selected-level-certificate,
.multi-select:has(input[value="PhD"]:checked) .selected-level-phd,
.multi-select:has(input[value="Humanities"]:checked) .selected-discipline-humanities,
.multi-select:has(input[value="Business"]:checked) .selected-discipline-business,
.multi-select:has(input[value="Engineering"]:checked) .selected-discipline-engineering,
.multi-select:has(input[value="Computer Science"]:checked) .selected-discipline-cs,
.multi-select:has(input[value="Health Sciences"]:checked) .selected-discipline-health,
.multi-select:has(input[value="Law"]:checked) .selected-discipline-law,
.multi-select:has(input[value="English"]:checked) .selected-sub-english,
.multi-select:has(input[value="History"]:checked) .selected-sub-history,
.multi-select:has(input[value="Management"]:checked) .selected-sub-management,
.multi-select:has(input[value="Marketing"]:checked) .selected-sub-marketing,
.multi-select:has(input[value="Data Science"]:checked) .selected-sub-data,
.multi-select:has(input[value="Mechanical"]:checked) .selected-sub-mechanical,
.multi-select:has(input[value="Sep-2026"]:checked) .selected-intake-sep,
.multi-select:has(input[value="Jan-2027"]:checked) .selected-intake-jan,
.multi-select:has(input[value="May-2027"]:checked) .selected-intake-may,
.multi-select:has(input[value="Sep-2027"]:checked) .selected-intake-sep27,
.multi-select:has(input[value="Jan-2028"]:checked) .selected-intake-jan28,
.multi-select:has(input[value="May-2028"]:checked) .selected-intake-may28 {
    display: inline;
}

.multi-select-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    padding: 8px;
    border: 1px solid var(--search-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
    z-index: 130;
}

.filter-open-control:checked ~ .multi-select-panel {
    display: grid;
    gap: 4px;
}

.multi-select-search {
    width: 100%;
    min-height: 38px;
    margin: 0 0 6px;
    padding: 0 10px;
    border: 1px solid var(--search-line);
    border-radius: 10px;
    background: #fbfcff;
    color: var(--search-ink);
    font: inherit;
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
    outline: none;
}

.multi-select-search:focus {
    border-color: #93b5ff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.multi-select-options {
    display: grid;
    gap: 4px;
    max-height: 200px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 3px;
}

.multi-select-options::-webkit-scrollbar {
    width: 8px;
}

.multi-select-options::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c7d5f4;
}

.course-finder-form .multi-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    margin: 0;
    padding: 8px 9px;
    border-radius: 10px;
    color: #344054;
    font-size: calc(14px * var(--font-scale));
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.course-finder-form .multi-select-option[hidden] {
    display: none;
}

.course-finder-form .multi-select-option:hover {
    background: #f3f7ff;
}

.course-finder-form .multi-select-option input {
    width: 16px;
    height: 16px;
    min-height: 0;
    flex: 0 0 16px;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    box-shadow: none;
    accent-color: var(--search-blue);
    cursor: pointer;
}

.multi-select-empty {
    padding: 10px 9px;
    color: var(--search-muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 700;
}

.multi-select-empty[hidden] {
    display: none;
}

.explore-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--search-blue), var(--search-cyan));
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.explore-now-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.30);
}

.explore-now-btn svg {
    width: 17px;
    height: 17px;
}

.explore-action {
    position: relative;
    z-index: 10;
    max-width: 340px;
}

.course-discovery-grid {
    /*display: grid;*/
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.university-strip-panel,
.search-history-panel {
    padding: 16px;
}

.panel-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.panel-title-row span {
    display: block;
    color: var(--search-blue);
    font-size: calc(11px * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.panel-title-row strong {
    display: block;
    margin-top: 3px;
    color: var(--search-ink);
    font-size: calc(17px * var(--font-scale));
}

.university-strip {
    display: grid;
    gap: 10px;
}

.university-chip {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 66px;
    border: 1px solid var(--search-line);
    border-radius: 18px;
    background: #fbfcff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.university-chip:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
}

.university-chip span {
    position: absolute;
    top: -8px;
    right: 9px;
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--search-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.university-chip img {
    max-width: 118px;
    max-height: 42px;
    object-fit: contain;
}

.program-results-panel {
    padding: 18px;
}

.program-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.course-tabs {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--search-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.course-tabs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 24px;
    border-radius: 12px;
    color: var(--search-muted);
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
}

.course-tabs .active {
    background: var(--search-blue);
    color: #ffffff;
}

.program-results-head p {
    margin: 9px 0 0;
    color: var(--search-muted);
    font-size: calc(12px * var(--font-scale));
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.program-results-head select {
    width: 190px;
    flex: 0 0 190px;
}

.program-card {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 14px;
    padding: 20px;
    border: 1px solid rgba(230, 234, 242, 0.96);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(20, 31, 56, 0.07);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.program-card:hover {
    transform: translateY(-2px);
    border-color: #c7d5f4;
    box-shadow: 0 24px 58px rgba(20, 31, 56, 0.12);
}

.program-index {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    /*width: 30px;*/
    /*height: 30px;*/
    border-radius: 50%;
    /*background: #f1f5f9;*/
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.program-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 40px;
}

.program-logo {
    display: grid;
    place-items: center;
    width: 138px;
    min-height: 58px;
    flex: 0 0 138px;
    border: 1px solid var(--search-line);
    border-radius: 16px;
    background: #fbfcff;
}

.program-logo img {
    max-width: 120px;
    max-height: 42px;
    object-fit: contain;
}

.program-card-head strong {
    display: block;
    color: #344054;
    font-size: calc(14px * var(--font-scale));
    font-weight: 850;
}

.program-card-head span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-top: 7px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--search-blue);
    font-size: calc(12px * var(--font-scale));
    font-weight: 900;
}

.program-card h2 {
    margin: 0;
    color: var(--search-ink);
    font-size: calc(22px * var(--font-scale));
    font-weight: 900;
}

.program-facts > div {
    min-width: 0;
}

.program-facts span {
    display: block;
    margin-bottom: 8px;
    color: var(--search-muted);
    font-size: calc(10px * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.program-facts strong {
    display: block;
    color: var(--search-ink);
    font-size: calc(13px * var(--font-scale));
    font-weight: 900;
    text-transform: uppercase;
}

.search-history-panel {
    grid-column: 1 / -1;
}

.search-history-panel .results-meta {
    margin-bottom: 12px;
}

@media (max-width: 1199.98px) {
    .search-courses-page .search-hero-panel {
        padding-right: 24px;
    }

    .course-discovery-grid {
        grid-template-columns: 1fr;
    }

    .university-strip {
        display: flex;
        overflow-x: auto;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .university-chip {
        min-width: 150px;
    }
}

@media (max-width: 760px) {
    .search-courses-page .search-hero-panel,
    .course-finder-panel,
    .program-results-panel,
    .university-strip-panel,
    .search-history-panel {
        border-radius: 18px;
    }

    .program-results-head,
    .program-card-head {
        flex-direction: column;
        align-items: stretch;
    }

    .course-tabs {
        display: flex;
        width: 100%;
    }

    .course-tabs span {
        flex: 1 1 0;
        padding: 0 10px;
    }

    .program-results-head select {
        width: 100%;
        flex-basis: auto;
    }

    .program-logo {
        width: 100%;
        flex-basis: auto;
    }
}

.mt-10{
    margin-top: 10px;
}



  /* Education */
  .page-section[data-section="profile"] .education-step {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .education-toolbar {
      display: flex;
      justify-content: flex-end;
  }
  .page-section[data-section="profile"] #profile-educationList {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .education-add-btn {
      min-width: 160px;
      min-height: 68px;
      border: 0;
      border-radius: 12px;
      background: linear-gradient(135deg, #4f46e5, #4338ca);
      color: #ffffff;
      font-size: calc(18px * var(--font-scale));
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 18px 34px rgba(79, 70, 229, 0.22);
  }
  .page-section[data-section="profile"] .education-card {
      position: relative;
      padding: 28px;
      border: 1px solid rgba(229, 231, 235, 0.95);
      border-radius: 18px;
      background: #ffffff;
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  }
  .page-section[data-section="profile"] .education-delete-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border: 0;
      background: transparent;
      color: #dc2626;
      cursor: pointer;
  }
  .page-section[data-section="profile"] .education-delete-btn i,
  .page-section[data-section="profile"] .education-delete-btn svg {
      width: 20px;
      height: 20px;
  }
  .page-section[data-section="profile"] .education-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px 18px;
  }

  /* English */
  .page-section[data-section="profile"] .english-step {
      display: grid;
      gap: 22px;
  }
  .page-section[data-section="profile"] .english-top-grid {
      grid-template-columns: 1.35fr 0.85fr 0.95fr;
      gap: 28px 18px;
  }
  .page-section[data-section="profile"] .english-top-grid .field:nth-child(4),
  .page-section[data-section="profile"] .english-top-grid .field:nth-child(5) {
      grid-column: span 1;
  }
  .page-section[data-section="profile"] .english-results {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .english-toolbar {
      display: flex;
      justify-content: flex-end;
  }
  .page-section[data-section="profile"] #profile-englishList {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .english-add-btn {
      min-width: 148px;
      min-height: 68px;
      border: 1px solid #c7d2fe;
      border-radius: 0;
      background: #ffffff;
      color: #3b82f6;
      font-size: calc(18px * var(--font-scale));
      font-weight: 850;
      cursor: pointer;
  }
  .page-section[data-section="profile"] .english-card {
      position: relative;
      padding: 28px 24px 24px;
      border: 1px solid rgba(229, 231, 235, 0.95);
      border-radius: 16px;
      background: #ffffff;
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  }
  .page-section[data-section="profile"] .english-delete-btn {
      position: absolute;
      top: 10px;
      right: 18px;
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border: 0;
      background: transparent;
      color: #dc2626;
      cursor: pointer;
  }
  .page-section[data-section="profile"] .english-delete-btn i,
  .page-section[data-section="profile"] .english-delete-btn svg {
      width: 20px;
      height: 20px;
  }
  .page-section[data-section="profile"] .english-card-grid {
      grid-template-columns: 1fr 1.15fr 1fr;
      gap: 28px 18px;
  }
  .page-section[data-section="profile"] .english-card-grid .field:nth-child(4),
  .page-section[data-section="profile"] .english-card-grid .field:nth-child(5) {
      grid-column: span 1;
  }

  /* Immigration */
  .page-section[data-section="profile"] .immigration-step {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .immigration-grid {
      grid-template-columns: 1.1fr 0.9fr;
      gap: 18px 28px;
  }
  .page-section[data-section="profile"] .immigration-grid .field:nth-child(3),
  .page-section[data-section="profile"] .immigration-grid-bottom .field {
      grid-column: 1 / 2;
  }
  .page-section[data-section="profile"] .immigration-docs-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 20px 0;
      border-top: 1px solid rgba(226, 232, 240, 0.95);
      border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  }
  .page-section[data-section="profile"] .immigration-docs-label {
      color: #2563eb;
      font-size: calc(18px * var(--font-scale));
      font-weight: 900;
      text-transform: uppercase;
  }
  .page-section[data-section="profile"] .immigration-add-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 160px;
      min-height: 64px;
      border: 1px solid #93c5fd;
      background: #ffffff;
      color: #60a5fa;
      font-size: calc(18px * var(--font-scale));
      font-weight: 800;
      cursor: pointer;
      text-transform: uppercase;
  }
  .page-section[data-section="profile"] .immigration-copy-list {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .immigration-copy-card {
      position: relative;
      padding: 28px 24px 24px;
      border: 1px solid rgba(229, 231, 235, 0.95);
      border-radius: 16px;
      background: #ffffff;
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
      margin-bottom: 10px;
  }
  .page-section[data-section="profile"] .immigration-copy-delete-btn {
      position: absolute;
      top: 18px;
      right: 18px;
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border: 0;
      background: transparent;
      color: #dc2626;
      cursor: pointer;
  }
  .page-section[data-section="profile"] .immigration-copy-delete-btn i,
  .page-section[data-section="profile"] .immigration-copy-delete-btn svg {
      width: 20px;
      height: 20px;
  }
  .page-section[data-section="profile"] .immigration-copy-grid {
      grid-template-columns: 0.95fr 1.3fr;
      gap: 18px 28px;
  }

  /* Work */
  .page-section[data-section="profile"] .work-step {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .work-toolbar {
      display: flex;
      justify-content: flex-end;
  }
  .page-section[data-section="profile"] .work-add-btn {
      min-width: 160px;
      min-height: 64px;
      border: 1px solid #93c5fd;
      background: #ffffff;
      color: #60a5fa;
      font-size: calc(18px * var(--font-scale));
      font-weight: 800;
      cursor: pointer;
      text-transform: uppercase;
  }
  .page-section[data-section="profile"] .work-top-grid {
      grid-template-columns: 1.1fr 0.9fr;
  }
  .page-section[data-section="profile"] #profile-workList {
      display: grid;
      gap: 18px;
  }
  .page-section[data-section="profile"] .work-card {
      position: relative;
      padding: 28px 24px 24px;
      border: 1px solid rgba(229, 231, 235, 0.95);
      border-radius: 16px;
      background: #ffffff;
      box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
      margin-bottom: 10px;
      top: 10px;
  }
  .page-section[data-section="profile"] .work-delete-btn {
      position: absolute;
      top: 5px;
      right: 18px;
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border: 0;
      background: transparent;
      color: #dc2626;
      cursor: pointer;
  }
  .page-section[data-section="profile"] .work-delete-btn i,
  .page-section[data-section="profile"] .work-delete-btn svg {
      width: 20px;
      height: 20px;
  }
  .page-section[data-section="profile"] .work-card-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px 18px;
  }

  /* Declaration */
  .page-section[data-section="profile"] .declaration-box {
      display: grid;
      gap: 10px;
      margin-bottom: 18px;
      padding: 20px;
      border: 1px solid rgba(229, 231, 235, 0.95);
      border-radius: 18px;
      background: #fbfcff;
  }
  .page-section[data-section="profile"] .declaration-box p {
      margin: 0;
      color: #344054;
      line-height: 1.65;
      font-size: calc(14px * var(--font-scale));
  }
  .page-section[data-section="profile"] .check-card {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fbfcff;
      font-weight: 750;
  }
  .page-section[data-section="profile"] .check-card input {
      width: auto;
      min-height: auto;
      margin-top: 3px;
  }
  .page-section[data-section="profile"] .error {
      display: none;
      color: var(--error);
      font-size: calc(12px * var(--font-scale));
      font-weight: 750;
  }
  .page-section[data-section="profile"] .field.invalid input,
  .page-section[data-section="profile"] .field.invalid select,
  .page-section[data-section="profile"] .field.invalid textarea {
      border-color: #fca5a5;
  }
  .page-section[data-section="profile"] .field.invalid .error {
      display: block;
  }
  .page-section[data-section="profile"] .step-error {
      display: none;
      margin-top: 14px;
      padding: 12px;
      border-radius: 14px;
      background: #fef2f2;
      color: var(--error);
      font-weight: 800;
  }
  .page-section[data-section="profile"] .summary-box {
      margin-top: 18px;
      padding: 16px;
      border-radius: 18px;
      background: #f8fafc;
      border: 1px solid var(--line);
  }
  .page-section[data-section="profile"] .summary-box h3 {
      margin: 0 0 10px;
  }
  .page-section[data-section="profile"] .summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      color: #475467;
      font-size: calc(14px * var(--font-scale));
      font-weight: 700;
  }
  .page-section[data-section="profile"] .nav-actions {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 20px 24px 24px;
      border-top: 1px solid var(--line);
  }
  .page-section[data-section="profile"] .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 46px;
      padding: 0 18px;
      border: none;
      border-radius: 14px;
      font-weight: 900;
      cursor: pointer;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
  }
  .page-section[data-section="profile"] .btn-primary {
      background: var(--blue);
      color: white;
      box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  }
  .page-section[data-section="profile"] .btn-secondary {
      background: #eef2f7;
      color: #344054;
  }
  .page-section[data-section="profile"] .btn:hover:not(:disabled) {
      transform: translateY(-1px);
  }
  .page-section[data-section="profile"] .btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
  }
  .page-section[data-section="profile"] .success-message {
      display: none;
      margin-top: 16px;
      padding: 14px;
      border-radius: 16px;
      background: #ecfdf3;
      color: var(--success);
      font-weight: 900;
  }
  .page-section[data-section="profile"] .hidden {
      display: none !important;
  }

  @media (max-width: 900px) {
      .page-section[data-section="profile"] .step-tabs {
          grid-template-columns: repeat(3, 1fr);
      }
  }

  @media (max-width: 760px) {
      .page-section[data-section="profile"] .shell {
          display: block;
      }
      .page-section[data-section="profile"] .content {
          padding: 18px;
      }
      .page-section[data-section="profile"] .grid,
      .page-section[data-section="profile"] .summary-grid,
      .page-section[data-section="profile"] .education-grid,
      .page-section[data-section="profile"] .english-top-grid,
      .page-section[data-section="profile"] .english-card-grid,
      .page-section[data-section="profile"] .work-card-grid,
      .page-section[data-section="profile"] .work-top-grid {
          grid-template-columns: 1fr;
      }
      .page-section[data-section="profile"] h1 {
          font-size: calc(27px * var(--font-scale));
      }
      .page-section[data-section="profile"] .nav-actions {
          flex-direction: column-reverse;
      }
      .page-section[data-section="profile"] .btn {
          width: 100%;
      }
      .page-section[data-section="profile"] .education-toolbar {
          justify-content: stretch;
      }
      .page-section[data-section="profile"] .education-add-btn {
          width: 100%;
      }
      .page-section[data-section="profile"] .english-toolbar {
          justify-content: stretch;
      }
      .page-section[data-section="profile"] .english-add-btn {
          width: 100%;
      }
      .page-section[data-section="profile"] .work-toolbar {
          justify-content: stretch;
      }
      .page-section[data-section="profile"] .work-add-btn {
          width: 100%;
      }
  }



.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px !important;
    padding: 0 18px;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
    min-width: 46px !important;
    font-size:calc(13px * var(--font-scale)) !important;
        margin-bottom: 20px;
}


/*Search Dropdown list*/

.custom-dropdown{
    position:relative;
    /*width:280px;*/
    /*margin-right: 10px;*/
}
 
.dropdown-btn{
    width: 100%;
    height: 37px;
    border: 2px solid #e6eaf2;
    border-radius: 15px;
    background: #fbfcff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    color: var(--text);
    font: menu;
}
 
.dropdown-menu{
    display:none;
    position:absolute;
    top:55px;
    left:0;
    width:100%;
    background:#fff;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.1);
    padding:10px;
    z-index:99;
}
 
.dropdown-menu.show{
    display:block;
}
 
#searchInput{
    width:100%;
    padding:10px;
    border:1px solid #7da0ff;
    border-radius:10px;
    margin-bottom:10px;
}
 
.optionList{
    list-style:none;
    margin:0;
    padding:0;
    max-height:220px;
    overflow-y:auto;
}
 
.optionList li{
    padding:12px;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-radius:8px;
    font: menu;

}
 
.optionList li:hover{
    background:#f5f7ff;
}
 
.tick{
    display:none;
    color:#2d6cdf;
    font-weight:bold;
}
 
li.selected .tick{
    display:block;
}


/* ================================
   Top Hero Banner
================================ */

.course-hero {
    width: 100%;
    min-height: 290px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 45px 55px;
    border: 1px solid rgba(205, 215, 240, 0.75);
    border-radius: 27px;
    box-shadow:0 18px 45px rgba(68, 86, 135, 0.08);
    margin-bottom: 1%;
    background-image: url('https://edcas-u-content.s3.ap-south-1.amazonaws.com/user_image/4528022077_290_new.jpeg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.hero-map {
    position: absolute;
    inset: 0 auto 0 0;

    width: 48%;
    opacity: 0.30;

    background-size: 12px 12px;
    mask-image:
        linear-gradient(
            90deg,
            #000 15%,
            transparent 100%
        );
}

.hero-content {
    width: 62%;
    max-width: 720px;
    margin-left: 22%;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(32px, 3vw, 53px);
    line-height: 1.13;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.gradient-text {
    background:
        linear-gradient(
            90deg,
            #0569db,
            #7138e8
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sparkle {
    font-size: 30px;
}

.hero-content p {
    margin-top: 17px;

    color: #20263d;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.5;
}

.hero-buildings {
    position: absolute;
    right: 25px;
    bottom: 0;

    width: 43%;
    height: 95%;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    z-index: 1;
}

.hero-buildings img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: right bottom;
}


/* ================================
   Statistics Section
================================ */

.statistics-card {
    width: 100%;
    min-height: 105px;

    margin-top: 18px;
    padding: 18px 55px;

    display: grid;
    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e5e9f2;
    border-radius: 20px;

    box-shadow:
        0 14px 35px rgba(42, 57, 98, 0.08);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stat-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 28px;
    font-weight: 700;
}

.purple-icon {
    background: #eee7ff;
    color: #6932f2;
}

.blue-icon {
    background: #e6f0ff;
    color: #0965eb;
}

.green-icon {
    background: #e3f8eb;
    color: #18a84c;
}

.orange-icon {
    background: #fff0de;
    color: #ff8b12;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-content strong {
    color: #10152d;
    font-size: 25px;
    line-height: 1.1;
}

.stat-content span {
    margin-top: 5px;

    color: #4a5878;
    font-size: 13px;
}

.stat-divider {
    width: 1px;
    height: 58px;
    background: #e4e8f0;
}


/* ================================
   Tablet Responsive
================================ */

@media (max-width: 1100px) {

    .course-finder-page {
        width: min(94%, 1000px);
    }

    .course-hero {
        min-height: 255px;
        padding: 35px;
    }

    .hero-content {
        width: 65%;
        margin-left: 5%;
    }

    .hero-buildings {
        width: 45%;
    }

    .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .statistics-card {
        padding: 25px;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-divider {
        display: none;
    }

}


/* ================================
   Mobile Responsive
================================ */

@media (max-width: 700px) {

    .course-finder-page {
        width: calc(100% - 24px);
        padding-top: 70px;
    }

    .top-login-wrapper {
        top: 14px;
        right: 0;
    }

    .course-hero {
        min-height: 320px;
        padding: 30px 22px;
        align-items: flex-start;
    }

    .hero-map {
        width: 100%;
    }

    .hero-content {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .hero-buildings {
        width: 90%;
        height: 47%;
        right: 5%;
    }

    .search-card {
        padding: 20px 16px;
    }

    .search-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

        padding: 0 0 18px;
    }

    .brand-logo {
        width: auto;
        justify-content: flex-start;
    }

    .brand-logo img {
        width: 100px;
    }

    .search-heading h2 {
        font-size: 25px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .explore-button {
        width: 100%;
        min-width: 0;
    }

    .statistics-card {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }

    .stat-item {
        justify-content: flex-start;
        padding: 5px 20px;
    }
    .course-hero{
        min-height: 150px !important;    
    }
    


}