* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

body {
    overflow-x: hidden;
    background: #f5f8fc;
    color: #1f2a37;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background: #071325;
    color: #e9f3ff;
}

body.dark-mode .navbar,
body.dark-mode .site-footer,
body.dark-mode .admin-sidebar,
body.dark-mode .student-sidebar {
    background: #031020;
}

body.dark-mode .info-card,
body.dark-mode .dashboard-panel-card,
body.dark-mode .dashboard-card,
body.dark-mode .admin-main,
body.dark-mode .student-dashboard-shell {
    background: #0d1b2d;
    color: #e9f3ff;
}

body.dark-mode .stat-card,
body.dark-mode .course-item,
body.dark-mode .notification-item {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

img {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    max-width: 100%;
    height: auto;
    display: block;
}

img:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    filter: brightness(1.05);
}

img, picture, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.announcement-bar {
    background: #0077ff;
    color: white;
    width: 100%;
    overflow: hidden;
    height: 45px;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.announcement-text {
    white-space: nowrap;
    display: inline-block;
    animation: moveText 18s linear infinite;
}

.announcement-text span {
    padding-left: 100%;
    font-size: 16px;
}

@keyframes moveText {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: #041c44;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar.sticky {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 90px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.logo p {
    font-size: 14px;
    color: #6cb7ff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav ul li {
    list-style: none;
}

nav a {
    text-decoration: none;
    color: white;
    transition: color 0.2s ease;
    padding: 10px 0;
}

nav a:hover {
    color: #74c0ff;
}

.nav-item-dropdown {
    display: flex;
    align-items: center;
    position: relative;
}

.navbar > ul {
    align-items: center;
}

.nav-dropdown-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-size: inherit;
    font: inherit;
    font-weight: 400;
    gap: 0;
    letter-spacing: normal;
    margin: 0;
    min-height: 0;
    min-width: 0;
    overflow: visible;
    padding: 10px 0;
    position: static;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
    background: transparent;
    box-shadow: none;
    color: #74c0ff;
    transform: none;
}

nav ul .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: -18px;
    z-index: 20;
    min-width: 230px;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: #041c44;
    border: 1px solid rgba(116, 192, 255, 0.35);
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
    display: flex;
}

nav ul .nav-dropdown-menu a {
    display: block;
    width: 100%;
    padding: 11px 13px;
    border-radius: 9px;
    white-space: nowrap;
}

nav ul .nav-dropdown-menu a:hover,
nav ul .nav-dropdown-menu a:focus-visible {
    background: rgba(116, 192, 255, 0.14);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn, .btn-outline, .icon-btn, button, input[type="button"], input[type="submit"], input[type="reset"] {
    padding: 14px 22px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 5px;
    min-height: 50px;
    min-width: 120px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 8px 20px rgba(47, 128, 255, 0.16);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
}

.btn:hover, .btn-outline:hover,
.btn:focus-visible, .btn-outline:focus-visible {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 24px rgba(47, 128, 255, 0.22);
}

.btn:active, .btn-outline:active {
    transform: scale(0.97);
}

.btn {
    background: linear-gradient(135deg, #2f80ff, #1d70e8);
    color: white;
}

.btn-outline {
    background: transparent;
    border-color: #2f80ff;
    color: #2f80ff;
}

.btn:disabled, .btn-outline:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn:focus-visible, .btn-outline:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(47, 128, 255, 0.35);
    outline-offset: 2px;
}

.btn-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.whatsapp-chat-button {
    position: fixed;
    inset-inline-end: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 54px;
    max-width: calc(100vw - 28px);
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: #20b85a;
    color: #062b17;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-chat-button:hover {
    background: #29ca67;
    color: #062b17;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.whatsapp-chat-button:focus-visible {
    outline: 3px solid #0b326c;
    outline-offset: 3px;
}

.whatsapp-chat-button svg {
    display: block;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-chat-button {
        transition: none;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 8%;
    background: linear-gradient(135deg, #002766, #014ca1);
    color: white;
}

.left {
    width: 50%;
}

.left h4 {
    letter-spacing: 3px;
    color: #b9ddff;
}

.left h1 {
    font-size: 70px;
    margin: 10px 0;
}

.left h2 {
    color: #74c0ff;
    margin-bottom: 20px;
}

.left p {
    font-size: 19px;
    margin-bottom: 28px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.right {
    width: 45%;
    text-align: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-single {
    display: block;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 560px;
}

.hero-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    border: 4px solid rgba(255, 255, 255, 0.25);
}

.info-section {
    padding: clamp(2.4rem, 5vw, 4.2rem) clamp(1rem, 3vw, 2rem);
    background: white;
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.page-section {
    padding: clamp(2.4rem, 5vw, 4.2rem) clamp(1rem, 3vw, 2rem);
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.info-section.alt,
.page-section.alt {
    background: linear-gradient(135deg, #eef6ff, #f9fbff);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 35px;
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #2f80ff;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 32px;
    color: #003c82;
    margin-bottom: 10px;
}

.section-heading p {
    color: #5a6778;
    font-size: 17px;
}

.info-grid, .courses-grid, .services-grid {
    display: grid;
    gap: 20px;
}

.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    position: relative;
    z-index: 1;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card .course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
}

/* Placeholder for services when images are not yet provided */
.image-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f1f6fb, #e9f3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #24415e;
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border: 1px dashed #d1deeb;
}
.image-placeholder.has-image {
    border: none;
    background-size: cover;
    background-position: center;
}

/* Responsive navbar: collapse links into a menu on small screens */
@media (max-width: 820px) {
    .navbar { padding: 12px 4%; }
    nav ul { display: none; }
    .nav-actions { display: none; }
    .navbar .mobile-toggle { display: inline-flex; }
}
.navbar .mobile-toggle { display: none; align-items: center; gap: 8px; }
.navbar .mobile-toggle button { background: transparent; border: 0; color: white; font-size: 20px; min-height: 46px; min-width: 46px; }

/* mobile open state for collapsed nav */
@media (max-width: 820px) {
    .navbar ul.open {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: #041c44;
        padding: 16px 4%;
    }
    .navbar ul.open a { color: white; }
    .navbar .mobile-toggle.open button { transform: rotate(90deg); }
    .nav-actions.open {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 16px 4%;
        background: #041c44;
        border-radius: 0 0 18px 18px;
    }
    .navbar ul.open .nav-item-dropdown {
        width: 100%;
    }
    .navbar ul.open .nav-dropdown-toggle {
        width: 100%;
        text-align: left;
    }
    .navbar ul.open .nav-dropdown-menu {
        position: static;
        min-width: 0;
        margin-top: 4px;
        padding: 4px 0 4px 16px;
        border: 0;
        border-left: 2px solid rgba(116, 192, 255, 0.45);
        border-radius: 0;
        box-shadow: none;
    }
    .navbar ul.open .nav-item-dropdown.open .nav-dropdown-menu {
        display: flex;
    }
    .nav-actions.open a, .nav-actions.open button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 820px) {
    .navbar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 4%;
    }
    .navbar .logo {
        width: 100%;
        justify-content: space-between;
    }
    .navbar ul {
        display: none;
        width: 100%;
    }
    .navbar ul.open {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        background: #041c44;
        padding: 16px 4%;
        border-radius: 0 0 18px 18px;
    }
    .nav-actions {
        display: none;
    }
    .navbar .mobile-toggle {
        display: inline-flex;
        margin-left: auto;
    }
    header {
        flex-direction: column;
        align-items: stretch;
        padding: 40px 4%;
        text-align: center;
    }
    .left, .right {
        width: 100%;
    }
    .hero-gallery {
        grid-template-columns: 1fr;
    }
    .hero-gallery img {
        height: 220px;
    }
    .hero-actions {
        justify-content: center;
    }
    .info-section,
    .page-section {
        width: min(100%, calc(100% - 1rem));
        padding: 2rem 1rem;
    }
    .courses-grid,
    .services-grid,
    .info-grid,
    .contact-grid,
    .dashboard-grid,
    .stat-grid,
    .payment-shell {
        grid-template-columns: 1fr;
    }
    .contact-card,
    .course-card,
    .info-card,
    .service-card,
    .auth-card,
    .auth-panel {
        width: 100%;
    }
    .auth-shell {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 1rem;
    }
    .auth-card,
    .auth-panel {
        padding: 22px;
    }
    .auth-links {
        flex-direction: column;
        align-items: stretch;
    }
    .auth-links a {
        width: 100%;
        text-align: center;
    }
    .dashboard-search {
        min-width: auto;
        width: 100%;
    }
    .admin-dashboard-shell,
    .student-dashboard-shell {
        grid-template-columns: 1fr;
    }
}

.info-card, .course-card, .service-card, .contact-card, .contact-form {
    background: white;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e7eef8;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.course-card img.course-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-card h3,
.course-card p {
    padding: 0 24px;
}

.course-card h3 {
    padding-top: 16px;
}

.course-card p {
    padding-bottom: 12px;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto 24px;
    max-width: 900px;
}

.catalog-toolbar input,
.catalog-toolbar select {
    flex: 1 1 220px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #cad5e2;
    font: inherit;
}

.course-meta {
    list-style: none;
    padding: 0 24px 12px;
    display: grid;
    gap: 6px;
    color: #4b5563;
}

.course-details {
    padding: 0 24px 12px;
    color: #4b5563;
}

.course-details h4 {
    color: #003c82;
    margin: 10px 0 4px;
}

.course-card .btn {
    margin: 0 24px 24px;
    text-align: center;
}

.info-card:hover, .course-card:hover, .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.info-card h3, .course-card h3, .service-card h3, .contact-card h3 {
    color: #003c82;
    margin-bottom: 8px;
}

.info-card p, .course-card p, .service-card p {
    color: #4b5563;
}

.highlight-box {
    background: linear-gradient(135deg, #003c82, #2f80ff);
    color: white;
    padding: 28px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.highlight-box h3 {
    color: white;
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.contact-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    color: #4b5563;
}

.contact-card a {
    color: #2f80ff;
    text-decoration: none;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 16px;
}

.social-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef6ff;
    font-weight: 700;
}

.map-box {
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.map-box iframe {
    width: 100%;
    height: 260px;
    border: 0;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    color: #083b75;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

footer {
    text-align: center;
    padding: 24px 8%;
    background: #041c44;
    color: white;
}

.site-footer {
    padding: 40px clamp(1rem, 3vw, 2rem) 24px;
    background: #041c44;
    color: white;
    width: 100%;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    text-align: left;
    margin-bottom: 20px;
}

.footer-links h3 {
    margin-bottom: 10px;
    color: #74c0ff;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #74c0ff;
}

.footer-copy {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

.enrollment-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.enrollment-form {
    display: grid;
    gap: 14px;
    padding: 28px;
}

.enrollment-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.enrollment-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    color: #083b75;
}

.enrollment-form input,
.enrollment-form select,
.enrollment-form textarea {
    border: 1px solid #cad5e2;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    width: 100%;
    background: #fff;
}

.enrollment-form textarea {
    min-height: 110px;
    resize: vertical;
}

.form-status {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 700;
    display: none;
}

.form-status.error {
    display: block;
    background: #ffe4e6;
    color: #a61b2a;
}

.form-status.success {
    display: block;
    background: #e8f8ee;
    color: #116b3f;
}

.enrollment-highlight {
    background: linear-gradient(135deg, #003c82, #2f80ff);
    color: white;
}

.enrollment-highlight h3,
.enrollment-highlight ul {
    color: white;
}

.enrollment-highlight ul {
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.payment-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.payment-summary {
    max-width: 100%;
    text-align: left;
}

.payment-summary .btn {
    margin-top: 16px;
}

.payment-breakdown {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 16px 0;
    color: #4b5563;
}

.payment-form-card {
    text-align: left;
}

.payment-verification-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

.payment-method-card {
    border-radius: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f6faff 0%, #eef6ff 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.payment-method-card-bank {
    background: linear-gradient(135deg, #fef8ea 0%, #fff3db 100%);
    border-color: #f6d49a;
}

.payment-method-card-mobile {
    background: linear-gradient(135deg, #f2f9f4 0%, #e8f7ec 100%);
    border-color: #b7e3c1;
}

.payment-method-title {
    font-weight: 700;
    color: #0f5bd1;
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.payment-method-card p {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #334155;
}

.logo.candy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #db3bbf, #8b5cf6 55%, #2f80ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 24px;
    align-items: center;
    justify-items: center;
    padding: 32px clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, #eef6ff, #f7fbff);
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.auth-shell.single-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.auth-shell.single-card .auth-panel {
    width: min(100%, 760px);
    margin-bottom: 18px;
}

.auth-shell.single-card .auth-card {
    max-width: 520px;
    width: min(100%, 520px);
}

.auth-panel,
.auth-card {
    overflow: hidden;
}

.auth-overlay {
    width: 100%;
}

.auth-panel {
    background: linear-gradient(135deg, #003c82, #2f80ff);
    color: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.auth-pill {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
}

.auth-panel h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.auth-panel p {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.auth-panel ul {
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
}

.auth-panel li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.auth-panel li::before {
    content: "✓";
    color: #b8e0ff;
    font-weight: 700;
}

.auth-card {
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 30px;
}

.auth-card h1,
.auth-card h2 {
    color: #003c82;
    margin-bottom: 10px;
}

.auth-card p {
    color: #4b5563;
    margin-bottom: 18px;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-form .full {
    grid-column: 1 / -1;
}

.auth-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    color: #083b75;
}

.auth-form input,
.auth-form select {
    border: 1px solid #cad5e2;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    width: 100%;
    background: #fff;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-weight: 700;
}

.auth-links a {
    color: #2f80ff;
    text-decoration: none;
}

.message {
    display: none;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 700;
}

.message.error {
    display: block;
    background: #ffe4e6;
    color: #a61b2a;
}

.message.success {
    display: block;
    background: #e8f8ee;
    color: #116b3f;
}

.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    width: min(1100px, 100%);
}

.admin-dashboard-shell,
.student-dashboard-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar,
.student-sidebar {
    background: linear-gradient(180deg, #041c44, #0b2d63);
    color: white;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-brand img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-item,
.icon-btn {
    border: 0;
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.admin-nav-item.active,
.admin-nav-item:hover,
.icon-btn:hover {
    background: #2f80ff;
    transform: translateX(2px);
}

.admin-main {
    padding: 24px;
    background: linear-gradient(180deg, #f7faff, #eef5ff);
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.admin-topbar h1 {
    font-size: 1.5rem;
    color: #003c82;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 12px;
    border-radius: 999px;
    min-width: min(320px, 42vw);
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
}

.dashboard-search input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
}

.dashboard-breadcrumb {
    margin-bottom: 16px;
    color: #4b6a90;
    font-weight: 700;
}

.dashboard-panel {
    display: none;
    animation: fadeIn 0.25s ease;
}

.dashboard-panel.active {
    display: block;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.dashboard-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.secondary-grid {
    margin-top: 16px;
}

.dashboard-panel-card,
.info-card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    text-align: left;
}

.dashboard-panel-card h3,
.info-card h3 {
    color: #003c82;
    margin-bottom: 10px;
}

.dashboard-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.stat-card {
    background: linear-gradient(135deg, #eef6ff, #f9fbff);
    border: 1px solid #dbe7f7;
    border-radius: 14px;
    padding: 16px;
    text-align: left;
}

.stat-card h3 {
    color: #003c82;
    margin-bottom: 6px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table th,
.admin-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e7eef8;
    text-align: left;
    font-size: 0.95rem;
    white-space: nowrap;
}

.admin-table thead,
.admin-table tbody,
.admin-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.small-btn {
    padding: 8px 10px;
    min-height: auto;
    margin: 0;
    font-size: 0.9rem;
}

.admin-form label,
.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #24415e;
}

.admin-form input,
.admin-form textarea,
.auth-form input,
.auth-form textarea,
.catalog-toolbar input,
.catalog-toolbar select,
.auth-form select,
.admin-form select {
    border: 1px solid #d1deeb;
    border-radius: 10px;
    padding: 12px 14px;
    background: white;
    font: inherit;
    font-size: 1rem;
    min-height: 48px;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.notification-item,
.course-item {
    border: 1px solid #e7eef8;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    background: #f9fbff;
}

.notification-item.read {
    opacity: 0.75;
}

.notification-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-pill {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f80ff, #1d70e8);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.student-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f80ff, #00b894);
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 16px;
}

.student-hero {
    display: flex;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.filter-row label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #24415e;
}

.filter-row select {
    border: 1px solid #d1deeb;
    border-radius: 10px;
    padding: 10px 12px;
    background: white;
    min-width: 180px;
}

.user-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dashboard-user-summary {
    margin-bottom: 12px;
    color: #4b6a90;
    font-weight: 600;
}

.learning-shell {
    padding: 32px clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, #eef6ff, #f7fbff);
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.learning-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.learning-card,
.learning-side-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.learning-card h3,
.learning-side-card h3 {
    color: #003c82;
    margin-bottom: 12px;
}

.course-item {
    border: 1px solid #e5edf7;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-course-item {
    background: #f9fbff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f2ff;
    color: #1f5db3;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 8px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e7eef8;
    margin-top: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2f80ff, #00b894);
    border-radius: inherit;
}

.resource-list {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: #4b5563;
}

.material-upload-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.material-upload-item {
    align-items: center;
}

.material-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f2ff;
    color: #1f5db3;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .admin-dashboard-shell,
    .student-dashboard-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar,
    .student-sidebar {
        border-bottom: 1px solid rgba(255,255,255,0.16);
    }

    .dashboard-grid,
    .dashboard-grid.two-col,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 12px;
    }

    nav ul {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    header,
    .contact-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .left,
    .right {
        width: 100%;
    }

    .left h1 {
        font-size: 2.6rem;
    }

    .hero-gallery {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .announcement-bar {
        height: 58px;
    }

    .announcement-text span {
        font-size: 13px;
    }

    .navbar,
    header,
    .info-section,
    .page-section,
    .contact-section,
    footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .navbar {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .logo {
        width: 100%;
        margin-bottom: 8px;
    }

    .logo img {
        width: 64px;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .btn,
    .btn-outline,
    .icon-btn,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"] {
        width: 100%;
        text-align: center;
        margin: 6px 0;
        padding: 14px 18px;
        min-height: 52px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .left h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .left h2 {
        font-size: 1.2rem;
    }

    .left p {
        font-size: 1rem;
    }

    .hero-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-gallery img {
        height: 180px;
    }

    .enrollment-form .form-grid {
        grid-template-columns: 1fr;
    }

    .enrollment-form {
        padding: 18px;
    }

    .auth-card {
        padding: 22px;
    }

    .payment-shell,
    .dashboard-grid,
    .learning-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 1.6rem;
    }

    .section-heading p {
        font-size: 0.98rem;
    }

    .info-card,
    .course-card,
    .service-card,
    .contact-card,
    .contact-form {
        padding: 18px;
    }

    .course-card img.course-image {
        height: 180px;
    }

    .catalog-toolbar {
        flex-direction: column;
    }

    .dashboard-actions {
        justify-content: stretch;
        width: 100%;
    }

    .dashboard-actions .btn,
    .dashboard-actions .btn-outline {
        width: 100%;
    }

    .admin-table {
        overflow-x: auto;
    }

    .admin-table th,
    .admin-table td {
        white-space: nowrap;
    }

    .student-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .student-avatar {
        margin-right: 0;
        margin-bottom: 18px;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-search {
        min-width: 100%;
    }
}

.navbar a.active {
    color: #74c0ff;
    font-weight: 700;
}

.app-icon{

display:flex;

justify-content:center;

align-items:center;

margin-bottom:20px;

}

.app-icon svg{

width:70px;

height:70px;

}

.features{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:30px;

padding:0 8% 80px;

text-align:center;

}

.features i{

font-size:55px;

color:#0059ff;

margin-bottom:20px;

}

.cta{

background:#003d88;

color:white;

text-align:center;

padding:70px;

}

.cta h2{

font-size:40px;

margin-bottom:20px;

}

footer{

background:#041c44;

color:white;

text-align:center;

padding:30px;

}

/* Corenexa Systems brand layer */
:root {
    --brand-navy: #082653;
    --brand-blue: #0b63ce;
    --brand-blue-bright: #1684ed;
    --brand-green: #16a34a;
    --brand-lime: #67d319;
    --brand-ink: #12315f;
    --brand-muted: #5c6f88;
    --brand-surface: #f4f8fd;
    --brand-border: #dbe7f5;
}

body {
    background:
        radial-gradient(circle at 8% 10%, rgba(22, 132, 237, 0.08), transparent 28rem),
        radial-gradient(circle at 92% 34%, rgba(103, 211, 25, 0.07), transparent 24rem),
        var(--brand-surface);
    color: var(--brand-ink);
}

body::before {
    background-image: none;
    background:
        linear-gradient(135deg, rgba(11, 99, 206, 0.025) 25%, transparent 25%) 0 0 / 28px 28px,
        linear-gradient(315deg, rgba(22, 163, 74, 0.02) 25%, transparent 25%) 0 0 / 28px 28px;
    opacity: 0.8;
}

.announcement-bar {
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue), var(--brand-green));
}

.navbar {
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-ink);
    border-bottom: 1px solid var(--brand-border);
    box-shadow: 0 10px 28px rgba(8, 38, 83, 0.08);
    backdrop-filter: blur(14px);
}

.logo {
    color: var(--brand-navy);
}

.logo img {
    width: 150px;
    height: auto;
    padding: 6px;
    border-radius: 12px;
    background: #ffffff;
    object-fit: contain;
    filter: none;
    box-shadow: 0 8px 22px rgba(8, 38, 83, 0.1);
}

.logo img:hover {
    transform: none;
    box-shadow: 0 10px 26px rgba(8, 38, 83, 0.14);
    filter: none;
}

.logo h2 {
    font-size: 0;
    color: var(--brand-navy);
}

.logo h2::after {
    content: "CORENEXA";
    font-size: 1.45rem;
    letter-spacing: 0.02em;
}

.logo p {
    font-size: 0;
    color: var(--brand-green);
}

.logo p::after {
    content: "Smart Solutions for a Better Tomorrow";
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}

nav a,
.nav-dropdown-toggle {
    color: var(--brand-ink);
}

nav a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.navbar a.active {
    color: var(--brand-blue);
}

nav ul .nav-dropdown-menu {
    background: #ffffff;
    border-color: rgba(11, 99, 206, 0.22);
    box-shadow: 0 18px 38px rgba(8, 38, 83, 0.16);
}

nav ul .nav-dropdown-menu a:hover,
nav ul .nav-dropdown-menu a:focus-visible {
    background: #eef6ff;
    color: var(--brand-blue);
}

.navbar .mobile-toggle button {
    color: var(--brand-navy);
}

.btn {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 99, 206, 0.2);
}

.btn-outline {
    background: #ffffff;
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    box-shadow: 0 8px 20px rgba(11, 99, 206, 0.08);
}

.btn:hover,
.btn-outline:hover,
.btn:focus-visible,
.btn-outline:focus-visible {
    box-shadow: 0 14px 28px rgba(11, 99, 206, 0.2);
}

header {
    background: linear-gradient(135deg, #06275c 0%, #0b63ce 68%, #138d61 100%);
}

.left h4 {
    color: #aee6ff;
}

.left h2 {
    color: #b8f276;
}

.info-section,
.page-section {
    background: rgba(255, 255, 255, 0.96);
}

.info-section.alt,
.page-section.alt {
    background: linear-gradient(135deg, #edf7ff, #f5fff2);
}

.eyebrow {
    color: var(--brand-green);
}

.section-heading h2,
.info-card h3,
.course-card h3,
.service-card h3,
.contact-card h3 {
    color: var(--brand-navy);
}

.section-heading p,
.info-card p,
.course-card p,
.service-card p {
    color: var(--brand-muted);
}

.info-card,
.course-card,
.service-card,
.contact-card,
.contact-form,
.dashboard-panel-card {
    border-color: var(--brand-border);
    box-shadow: 0 12px 28px rgba(8, 38, 83, 0.08);
}

.info-card:hover,
.course-card:hover,
.service-card:hover {
    box-shadow: 0 18px 34px rgba(8, 38, 83, 0.13);
}

.highlight-box {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue) 65%, var(--brand-green));
}

.site-footer,
footer {
    background: var(--brand-navy);
}

.footer-links h3 {
    color: #9ee85c;
}

.footer-links a:hover {
    color: #9ee85c;
}

.auth-shell {
    background:
        radial-gradient(circle at 15% 15%, rgba(22, 132, 237, 0.12), transparent 22rem),
        linear-gradient(135deg, #eef7ff, #f4fff2);
}

.auth-panel {
    background: linear-gradient(145deg, var(--brand-navy), var(--brand-blue) 62%, var(--brand-green));
}

.auth-card {
    border: 1px solid var(--brand-border);
    box-shadow: 0 18px 44px rgba(8, 38, 83, 0.12);
}

.auth-card h1,
.auth-card h2,
.auth-form label {
    color: var(--brand-navy);
}

.admin-dashboard-shell,
.student-dashboard-shell {
    background: var(--brand-surface);
}

.admin-sidebar,
.student-sidebar {
    background: #ffffff;
    border-right: 1px solid var(--brand-border);
    box-shadow: 8px 0 26px rgba(8, 38, 83, 0.06);
}

.admin-sidebar-brand h3,
.admin-sidebar-brand p {
    color: var(--brand-navy);
}

.admin-sidebar-brand p {
    color: var(--brand-green);
}

.admin-sidebar-brand img {
    width: 150px;
    height: auto;
    padding: 6px;
    background: #ffffff;
    border-radius: 12px;
}

.admin-nav-item {
    color: var(--brand-ink);
}

.admin-nav-item.active,
.admin-nav-item:hover {
    background: #eaf5ff;
    color: var(--brand-blue);
    border-left-color: var(--brand-green);
}

.admin-main {
    background: var(--brand-surface);
}

.admin-topbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: var(--brand-border);
}

.admin-topbar h1 {
    color: var(--brand-navy);
}

.profile-pill,
.student-avatar {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
}

.payment-method-title {
    color: var(--brand-blue);
}

.cta {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue) 68%, var(--brand-green));
}

body.dark-mode {
    background: #07172f;
    color: #e9f3ff;
}

body.dark-mode .navbar,
body.dark-mode .site-footer,
body.dark-mode .admin-sidebar,
body.dark-mode .student-sidebar {
    background: #071b38;
    color: #e9f3ff;
    border-color: rgba(174, 230, 255, 0.14);
}

body.dark-mode nav a,
body.dark-mode .nav-dropdown-toggle,
body.dark-mode .logo,
body.dark-mode .logo h2 {
    color: #e9f3ff;
}

body.dark-mode nav ul .nav-dropdown-menu {
    background: #0b2548;
}

body.dark-mode .admin-main {
    background: #07172f;
}

@media (max-width: 820px) {
    .logo img,
    .admin-sidebar-brand img {
        width: 130px;
    }
}

@media (max-width: 600px) {
    .logo img,
    .admin-sidebar-brand img {
        width: 118px;
    }

    .logo h2::after {
        font-size: 1.2rem;
    }

    .logo p::after {
        font-size: 0.62rem;
    }
}

/* --------------------------------------------------------------------------
   Corenexa super-user operations workspace
   Layout paradigm: anchored operations rail + dense editorial work surface.
   Mood: calm authority — ink blue, sea-glass green, and restrained signal amber.
   -------------------------------------------------------------------------- */
.super-user-dashboard-page {
    --ops-ink: #0b263b;
    --ops-ink-soft: #23465b;
    --ops-blue: #0d5d91;
    --ops-blue-bright: #197cb1;
    --ops-green: #2d9b73;
    --ops-green-pale: #e8f4ef;
    --ops-mist: #edf5f6;
    --ops-paper: #fbfdfc;
    --ops-line: #d7e5e7;
    --ops-muted: #607784;
    --ops-amber: #a56d22;
    --ops-danger: #a94b4b;
    background:
        radial-gradient(circle at 84% 12%, rgba(45, 155, 115, 0.12), transparent 28rem),
        linear-gradient(135deg, #e9f2f3 0%, #f6faf9 56%, #e8f2f5 100%);
    color: var(--ops-ink);
    font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

.super-user-dashboard-page::before {
    background-image: radial-gradient(rgba(11, 38, 59, 0.16) 0.55px, transparent 0.55px);
    background-size: 13px 13px;
    opacity: 0.08;
}

.super-user-dashboard-page .announcement-bar {
    height: 34px;
    background: var(--ops-ink);
    color: #d9efea;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.super-user-dashboard-page .announcement-text {
    animation-duration: 34s;
}

.super-user-dashboard-page .announcement-text span {
    font-size: inherit;
    padding-left: 100%;
}

.super-dashboard-shell {
    width: min(1540px, calc(100% - 2rem));
    padding: clamp(1rem, 3vw, 2.4rem) 0 3rem;
    background: transparent;
}

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

.super-dashboard-sidebar {
    position: sticky;
    top: 52px;
    min-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
    padding: 21px 15px;
    border-radius: 22px;
    background: linear-gradient(165deg, #0b263b 0%, #103b52 74%, #0e4b55 100%);
    color: #eef8f6;
    box-shadow: 0 18px 42px rgba(11, 38, 59, 0.18);
    overflow: hidden;
}

.super-dashboard-sidebar::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    bottom: 120px;
    border: 1px solid rgba(164, 226, 207, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.super-brand-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 5px 20px;
    border-bottom: 1px solid rgba(217, 239, 234, 0.16);
}

.super-brand-lockup img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    padding: 4px;
    box-shadow: none;
}

.super-brand-lockup img:hover {
    transform: none;
    box-shadow: none;
    filter: none;
}

.super-brand-lockup strong,
.super-brand-lockup span {
    display: block;
}

.super-brand-lockup strong {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.super-brand-lockup span {
    margin-top: 2px;
    color: #a8c8ca;
    font-size: 0.67rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.super-sidebar-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 5px 24px;
    color: #bde6d6;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #55c68d;
    box-shadow: 0 0 0 4px rgba(85, 198, 141, 0.13);
}

.super-nav-label {
    margin: 0 5px 8px;
    color: #87aeb6;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.super-dashboard-nav {
    display: grid;
    gap: 4px;
}

.super-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 9px;
    border-left: 2px solid transparent;
    border-radius: 8px;
    color: #c9dddf;
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.super-nav-link:hover,
.super-nav-link:focus-visible,
.super-nav-link.active {
    transform: translateX(2px);
    background: rgba(168, 226, 207, 0.11);
    border-left-color: #67c59e;
    color: #f5fffb;
}

.nav-index {
    color: #75aeae;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
}

.super-sidebar-footer {
    display: grid;
    gap: 3px;
    margin: auto 5px 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(217, 239, 234, 0.16);
}

.super-sidebar-footer-label {
    color: #87aeb6;
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.super-sidebar-footer-value {
    color: #e7f6f0;
    font-size: 0.76rem;
    font-weight: 700;
}

.super-dashboard-card {
    width: 100%;
    max-width: none;
    padding: clamp(1.2rem, 2.5vw, 2.5rem);
    border: 1px solid rgba(215, 229, 231, 0.96);
    border-radius: 24px;
    background: rgba(251, 253, 252, 0.93);
    box-shadow: 0 18px 55px rgba(13, 54, 76, 0.11);
    text-align: left;
    backdrop-filter: blur(9px);
}

.super-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 3px 0 23px;
    border-bottom: 1px solid var(--ops-line);
}

.super-heading-copy {
    max-width: 710px;
}

.super-dashboard-header .eyebrow,
.super-dashboard-section-heading .eyebrow {
    margin-bottom: 7px;
    color: var(--ops-green);
    font-size: 0.68rem;
    letter-spacing: 0.17em;
}

.super-dashboard-header .eyebrow span {
    color: #9db3b8;
}

.super-dashboard-header h1 {
    margin: 0 0 10px;
    color: var(--ops-ink);
    font-size: clamp(1.9rem, 3.4vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.super-dashboard-header p:not(.eyebrow) {
    max-width: 670px;
    color: var(--ops-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.super-dashboard-header-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
    min-width: 205px;
}

.super-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 35px;
    padding: 8px 11px;
    border: 1px solid #c6e7d7;
    border-radius: 999px;
    background: var(--ops-green-pale);
    color: #247150;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.super-dashboard-header-actions .btn-outline {
    min-height: 35px;
    padding: 7px 14px;
    border-width: 1px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.super-command-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 17px 0 20px;
    border: 1px solid var(--ops-line);
    border-radius: 11px;
    background: #f2f8f7;
}

.super-command-strip > div {
    display: grid;
    gap: 2px;
    padding: 11px 14px;
    border-right: 1px solid var(--ops-line);
}

.super-command-strip > div:last-child {
    border-right: 0;
}

.command-kicker,
.panel-kicker {
    color: #709099;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.super-command-strip strong {
    color: var(--ops-ink-soft);
    font-size: 0.78rem;
}

.super-dashboard-card .stat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 30px;
}

.super-dashboard-card .stat-card {
    position: relative;
    min-height: 105px;
    justify-content: space-between;
    padding: 14px 14px 12px;
    border: 1px solid var(--ops-line);
    border-radius: 12px;
    background: #f7fbfa;
    box-shadow: none;
    overflow: hidden;
}

.super-dashboard-card .stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ops-blue-bright);
}

.super-dashboard-card .stat-card:nth-child(3n)::before {
    background: var(--ops-green);
}

.super-dashboard-card .stat-card h3 {
    margin: 5px 0 8px;
    color: var(--ops-ink);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: clamp(1.05rem, 1.8vw, 1.42rem);
    letter-spacing: -0.04em;
}

.super-dashboard-card .stat-card p {
    color: var(--ops-muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.3;
}

.super-dashboard-section-heading {
    scroll-margin-top: 58px;
    margin: 31px 0 13px;
    padding-top: 4px;
}

.super-dashboard-section-heading h2 {
    margin: 0 0 3px;
    color: var(--ops-ink);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    letter-spacing: -0.025em;
}

.section-note {
    color: var(--ops-muted);
    font-size: 0.82rem;
}

.super-overview-grid {
    align-items: stretch;
    gap: 12px;
    margin-top: 12px;
}

.super-dashboard-card .dashboard-panel-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--ops-line);
    border-radius: 15px;
    background: var(--ops-paper);
    box-shadow: 0 5px 16px rgba(20, 73, 82, 0.045);
}

.super-dashboard-card .dashboard-panel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgba(20, 73, 82, 0.08);
}

.panel-heading-row,
.section-intro-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.panel-heading-row {
    margin-bottom: 14px;
}

.super-dashboard-card .dashboard-panel-card h3 {
    min-height: 0;
    margin: 3px 0 0;
    color: var(--ops-ink);
    font-size: 1rem;
    letter-spacing: -0.015em;
}

.panel-mark {
    color: #a6babe;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 700;
}

.super-dashboard-card .course-item {
    margin-bottom: 8px;
    padding: 12px;
    border-color: var(--ops-line);
    border-radius: 10px;
    background: #f1f7f6;
}

.super-dashboard-card .course-item strong {
    color: var(--ops-ink-soft);
    font-size: 0.82rem;
}

.super-dashboard-card .course-item p,
.super-dashboard-card .course-item small {
    color: var(--ops-muted);
    font-size: 0.75rem;
}

.resource-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.resource-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ops-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.resource-list li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ops-green);
}

.super-dashboard-section {
    scroll-margin-top: 58px;
    margin-top: 18px;
}

.section-intro-row {
    margin-bottom: 16px;
}

.section-intro-row h3 {
    margin: 3px 0 3px;
}

.section-intro-row p {
    color: var(--ops-muted);
    font-size: 0.78rem;
}

.section-count-label {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid #cde3df;
    border-radius: 6px;
    background: #f1f8f5;
    color: #367b67;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.super-dashboard-card .search-row {
    margin-bottom: 14px;
}

.super-dashboard-card .search-row input {
    min-height: 45px;
    padding: 10px 13px;
    border: 1px solid var(--ops-line);
    border-radius: 8px;
    background: #f8fcfb;
    color: var(--ops-ink);
    font: inherit;
    font-size: 0.82rem;
}

.super-dashboard-card .search-row input::placeholder {
    color: #8ba0a6;
}

.super-dashboard-card .admin-table {
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--ops-line);
    border-radius: 10px;
}

#super-user-student-table,
#registered-users-list,
#super-user-payment-list,
#super-user-receipts-list,
#material-upload-list,
#super-user-admin-list,
#service-image-manager {
    overflow-x: auto;
}

.super-dashboard-card .admin-table th {
    padding: 10px 9px;
    background: #eef6f5;
    color: #53707a;
    font-size: 0.63rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.super-dashboard-card .admin-table td {
    padding: 11px 9px;
    border-bottom-color: #e2ecec;
    color: var(--ops-ink-soft);
    font-size: 0.76rem;
    white-space: normal;
    vertical-align: middle;
}

.super-dashboard-card .admin-table tr:last-child td {
    border-bottom: 0;
}

.super-dashboard-card .admin-form {
    gap: 13px;
    padding: 16px;
    border: 1px solid #e0ebea;
    border-radius: 11px;
    background: #f4f9f8;
}

.super-dashboard-card .admin-form label,
.super-dashboard-card .filter-row label {
    color: var(--ops-ink-soft);
    font-size: 0.75rem;
    font-weight: 800;
}

.super-dashboard-card .admin-form input,
.super-dashboard-card .admin-form textarea,
.super-dashboard-card .admin-form select,
.super-dashboard-card .filter-row select {
    margin-top: 3px;
    border: 1px solid #cbdde0;
    border-radius: 7px;
    background: #fffefd;
    color: var(--ops-ink);
    font-size: 0.8rem;
    min-height: 43px;
}

.super-dashboard-card .admin-form textarea {
    min-height: 82px;
}

.super-dashboard-card .filter-row {
    justify-content: flex-start;
    margin-bottom: 12px;
}

.super-dashboard-card .filter-row select {
    min-width: 174px;
    padding: 9px 11px;
}

.super-dashboard-card .dashboard-actions {
    gap: 8px;
    padding: 0;
}

.super-dashboard-card .btn,
.super-dashboard-card .btn-outline {
    min-height: 42px;
    margin: 0;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.76rem;
    box-shadow: none;
}

.super-dashboard-card .btn {
    background: var(--ops-blue);
}

.super-dashboard-card .btn:hover,
.super-dashboard-card .btn:focus-visible {
    background: var(--ops-blue-bright);
    box-shadow: 0 7px 15px rgba(13, 93, 145, 0.18);
}

.super-dashboard-card .btn-outline {
    border-color: #75aeb3;
    color: var(--ops-blue);
}

.super-dashboard-card .btn-outline:hover,
.super-dashboard-card .btn-outline:focus-visible {
    border-color: var(--ops-blue);
    background: #edf7f7;
    box-shadow: none;
}

.super-dashboard-card .small-btn {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.65rem;
}

.super-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 17px;
}

.super-dashboard-card .registered-user-item {
    border-color: var(--ops-line);
    background: #f7fbfa;
}

.super-dashboard-card .message.success {
    background: var(--ops-green-pale);
    color: #237351;
}

.super-dashboard-card .message.error {
    background: #fbeeee;
    color: var(--ops-danger);
}

.super-user-dashboard-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1180px) {
    .super-dashboard-card .stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .super-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .super-dashboard-sidebar {
        position: static;
        min-height: 0;
        padding: 14px;
    }

    .super-brand-lockup {
        padding-bottom: 13px;
    }

    .super-sidebar-status {
        position: absolute;
        top: 29px;
        right: 20px;
        margin: 0;
    }

    .super-dashboard-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 12px;
    }

    .super-nav-label,
    .super-sidebar-footer {
        display: none;
    }

    .super-nav-link {
        flex: 1 1 auto;
        justify-content: center;
        padding: 8px 10px;
        border: 1px solid rgba(168, 226, 207, 0.15);
    }

    .super-nav-link:hover,
    .super-nav-link:focus-visible,
    .super-nav-link.active {
        transform: none;
        border-color: rgba(103, 197, 158, 0.55);
    }
}

@media (max-width: 760px) {
    .super-dashboard-shell {
        width: 100%;
        padding: 0.65rem 0.55rem 1.5rem;
    }

    .super-dashboard-card {
        padding: 1rem;
        border-radius: 17px;
    }

    .super-dashboard-header {
        flex-direction: column;
        gap: 18px;
        padding-bottom: 18px;
    }

    .super-dashboard-header-actions {
        width: 100%;
        align-items: stretch;
        justify-content: flex-start;
    }

    .super-security-badge {
        flex: 1 1 auto;
        justify-content: center;
    }

    .super-dashboard-header-actions .btn-outline {
        flex: 0 0 auto;
    }

    .super-command-strip {
        grid-template-columns: 1fr;
    }

    .super-command-strip > div {
        border-right: 0;
        border-bottom: 1px solid var(--ops-line);
    }

    .super-command-strip > div:last-child {
        border-bottom: 0;
    }

    .super-dashboard-card .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .super-dashboard-card .dashboard-panel-card {
        padding: 14px;
    }

    .section-intro-row {
        flex-direction: column;
        gap: 8px;
    }

    .section-count-label {
        align-self: flex-start;
    }

    .super-dashboard-card .form-grid,
    .super-dashboard-card .form-grid.two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    .super-user-dashboard-page .announcement-bar {
        height: 30px;
    }

    .super-user-dashboard-page .announcement-text {
        font-size: 0.6rem;
    }

    .super-dashboard-sidebar {
        border-radius: 15px;
    }

    .super-sidebar-status {
        top: 25px;
        right: 14px;
        font-size: 0.62rem;
    }

    .super-nav-link {
        flex: 1 1 calc(50% - 5px);
        justify-content: flex-start;
        font-size: 0.7rem;
    }

    .super-dashboard-card .stat-card {
        min-height: 88px;
        padding: 11px;
    }

    .super-dashboard-card .stat-card h3 {
        font-size: 1rem;
    }

    .super-dashboard-card .stat-card p {
        font-size: 0.63rem;
    }

    .super-dashboard-actions {
        flex-direction: column;
    }

    .super-dashboard-actions .btn,
    .super-dashboard-actions .btn-outline {
        width: 100%;
    }
}

/* Website Development service page */
.service-hero {
    min-height: 560px;
    align-items: center;
}

.course-image--plain {
    position: relative;
    width: 100%;
    height: 180px;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: #ffffff;
    text-align: center;
}

.course-image--plain::before,
.course-image--plain::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(184, 242, 118, 0.34);
    border-radius: 50%;
    pointer-events: none;
}

.course-image--plain::before {
    width: 180px;
    height: 180px;
    right: -46px;
    top: -78px;
}

.course-image--plain::after {
    width: 120px;
    height: 120px;
    left: -34px;
    bottom: -68px;
}

.course-image--plain span {
    position: relative;
    z-index: 1;
    max-width: 210px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.course-image--plain small {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 10px;
    left: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.7rem;
    font-weight: 700;
}

.thumb-placeholder {
    min-height: 84px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    background: linear-gradient(135deg, #eef7ff, #f4fff2);
    color: var(--brand-navy);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.service-hero .left {
    max-width: 700px;
}

.service-hero-eyebrow {
    color: #b8f276;
}

.service-hero h1 {
    max-width: 720px;
}

.service-hero h2 {
    max-width: 680px;
    color: #c7f6ff;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    line-height: 1.35;
}

.service-hero .right {
    display: flex;
    justify-content: center;
}

.service-hero-card {
    width: min(100%, 390px);
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    background:
        radial-gradient(circle at 80% 20%, rgba(103, 211, 25, 0.5), transparent 9rem),
        linear-gradient(145deg, rgba(8, 38, 83, 0.9), rgba(11, 99, 206, 0.75));
    box-shadow: 0 24px 50px rgba(3, 23, 56, 0.25);
}

.service-hero-mark {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #1684ed, #67d319);
    color: #ffffff;
    font-size: 3rem;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(103, 211, 25, 0.28);
}

.service-hero-card p {
    margin: 12px 0 0;
    color: #b8f276;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.service-hero-card strong {
    max-width: 270px;
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1.2;
}

/* Corenexa technology visual system */
.technology-picture {
    display: block;
}

.info-card-media {
    width: 100%;
    height: 145px;
    margin: -4px 0 14px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(47, 128, 255, 0.14);
    box-shadow: 0 10px 24px rgba(5, 45, 83, 0.12);
}

.course-image--plain.tech-image-learning {
    background-image: linear-gradient(180deg, rgba(7, 35, 74, 0.12), rgba(7, 35, 74, 0.68)), url("assets/technology/corenexa-digital-learning.png");
}

.course-image--plain.tech-image-data {
    background-image: linear-gradient(180deg, rgba(7, 35, 74, 0.12), rgba(7, 35, 74, 0.68)), url("assets/technology/corenexa-course-excel.png");
}

.course-image--plain.tech-image-web {
    background-image: linear-gradient(180deg, rgba(7, 35, 74, 0.12), rgba(7, 35, 74, 0.68)), url("assets/technology/corenexa-web-development.png");
}

.image-placeholder:not(.has-image) {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #082653;
    color: #ffffff;
    border: 0;
}

.image-placeholder.has-image {
    box-shadow: inset 0 -50px 70px rgba(3, 21, 46, 0.22);
}

.service-placeholder-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.image-overlay-caption {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(transparent, rgba(3, 21, 46, 0.9));
    color: #ffffff;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.image-placeholder:hover .service-placeholder-image {
    transform: scale(1.045);
}

.service-catalog-grid .service-card {
    overflow: hidden;
}

.course-visual,
.service-card-visual {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #eef5fb;
}

.course-visual img,
.service-card-visual img {
    display: block;
    width: 100%;
    height: 158px;
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease;
}

.course-visual figcaption,
.service-card-visual figcaption,
.course-detail-figure figcaption,
.learning-tech-figure figcaption,
.visual-caption,
.service-hero-image-caption {
    margin: 0;
    padding: 8px 10px 10px;
    color: #52677d;
    font-size: 0.78rem;
    line-height: 1.45;
}

.course-visual:hover img,
.service-card-visual:hover img {
    transform: translateY(-3px) scale(1.025);
    filter: saturate(1.08);
}

.course-detail-figure,
.learning-tech-figure {
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid rgba(47, 128, 255, 0.14);
    border-radius: 18px;
    background: #f5f9fd;
}

.course-detail-figure .course-detail-visual,
.learning-tech-figure .learning-tech-banner {
    display: block;
    width: 100%;
    height: 210px;
    margin: 0;
    object-fit: cover;
}

.learning-tech-figure .learning-tech-banner {
    height: 175px;
}

.visual-caption {
    margin: -10px 0 8px;
    padding: 0;
}

.service-hero-image-caption {
    margin: 8px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.76rem;
}

.hero-gallery-item {
    min-width: 0;
    margin: 0;
}

.hero-single-figure {
    width: 100%;
    margin: 0;
}

.hero-single-figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-gallery-item figcaption,
.hero-visual-caption {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
}

.info-card-media {
    transition: transform 260ms ease, filter 260ms ease;
}

.info-card:hover .info-card-media,
.service-card:hover .info-card-media {
    transform: translateY(-3px) scale(1.02);
    filter: saturate(1.08);
}

.service-card-visual {
    margin-bottom: 4px;
    background: #edf6fb;
}

.course-visual figcaption,
.service-card-visual figcaption {
    min-height: 45px;
}

.course-item-visual {
    display: grid;
    gap: 4px;
    margin: 0;
}

.course-item-visual figcaption {
    color: #52677d;
    font-size: 0.75rem;
    line-height: 1.35;
}

.manager-description {
    margin: 4px 0 8px;
    color: #607486;
    font-size: 0.75rem;
    line-height: 1.4;
}

.service-hero-card {
    position: relative;
    overflow: hidden;
}

.service-hero-image {
    width: 100%;
    height: 190px;
    border-radius: 18px;
    object-fit: cover;
    opacity: 0.92;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.service-hero-card .service-hero-mark {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    font-size: 2rem;
}

.course-detail-visual,
.learning-tech-banner {
    width: 100%;
    height: 210px;
    margin-bottom: 22px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(5, 45, 83, 0.14);
}

.learning-tech-banner {
    height: 175px;
    margin-bottom: 18px;
}

.course-item-thumb {
    width: 68px;
    height: 52px;
    flex: 0 0 68px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid rgba(47, 128, 255, 0.14);
}

.course-thumbnail-caption {
    display: block;
    margin-top: 3px;
    color: #63788b;
    font-size: 0.73rem;
    line-height: 1.35;
}

.dashboard-course-item {
    align-items: center;
}

.portal-tech-banner,
.super-tech-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 10px;
    border: 1px solid rgba(91, 178, 215, 0.25);
    border-radius: 16px;
    background: linear-gradient(100deg, rgba(232, 247, 255, 0.95), rgba(236, 255, 246, 0.95));
    box-shadow: 0 10px 25px rgba(5, 45, 83, 0.07);
}

.portal-tech-banner img,
.super-tech-banner img {
    width: 112px;
    height: 70px;
    flex: 0 0 112px;
    object-fit: cover;
    border-radius: 10px;
}

.portal-tech-banner div,
.super-tech-banner div {
    display: grid;
    gap: 3px;
}

.portal-tech-banner strong,
.super-tech-banner strong {
    color: var(--brand-navy, #003c82);
    font-size: 0.92rem;
}

.portal-tech-banner span,
.super-tech-banner span {
    color: #587181;
    font-size: 0.78rem;
}

.super-tech-banner {
    margin-top: 17px;
    margin-bottom: 20px;
    background: #f2f8f7;
    border-color: var(--ops-line, #d8e7e4);
}

.super-tech-banner .panel-kicker {
    color: var(--ops-green, #2b8c6a);
}

.super-tech-banner strong {
    color: var(--ops-ink, #17334b);
}

.manager-item .thumb {
    position: relative;
    overflow: hidden;
    min-height: 92px;
}

.manager-item .thumb img {
    width: 100%;
    height: 100%;
    min-height: 92px;
    object-fit: cover;
}

.manager-item .thumb span {
    position: absolute;
    right: 6px;
    bottom: 6px;
    left: 6px;
    padding: 4px 6px;
    border-radius: 5px;
    background: rgba(3, 21, 46, 0.7);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
}

.auth-panel {
    background-image: linear-gradient(135deg, #003c82, #1677d2 62%, #12986c);
}

.student-portal-page .admin-main {
    background-image: linear-gradient(rgba(247, 250, 255, 0.93), rgba(238, 245, 255, 0.96)), url("assets/technology/corenexa-digital-learning.png");
    background-position: center;
    background-size: cover;
}

.instructor-portal-page .learning-shell {
    background-image: linear-gradient(rgba(247, 250, 255, 0.93), rgba(238, 245, 255, 0.96)), url("assets/technology/corenexa-web-development.png");
    background-position: center;
    background-size: cover;
}

.admin-portal-page .admin-main {
    background-image: linear-gradient(rgba(247, 250, 255, 0.93), rgba(238, 245, 255, 0.96)), url("assets/technology/corenexa-cybersecurity.png");
    background-position: center;
    background-size: cover;
}

@supports (background-image: image-set(url("visual.avif") type("image/avif") 1x)) {
    .course-image--plain.tech-image-learning {
        background-image: linear-gradient(180deg, rgba(7, 35, 74, 0.12), rgba(7, 35, 74, 0.68)), image-set(
            url("assets/technology/corenexa-digital-learning-320.avif") type("image/avif") 1x,
            url("assets/technology/corenexa-digital-learning-640.avif") type("image/avif") 2x,
            url("assets/technology/corenexa-digital-learning-1024.avif") type("image/avif") 3x,
            url("assets/technology/corenexa-digital-learning-320.webp") type("image/webp") 1x,
            url("assets/technology/corenexa-digital-learning-640.webp") type("image/webp") 2x,
            url("assets/technology/corenexa-digital-learning-1024.webp") type("image/webp") 3x,
            url("assets/technology/corenexa-digital-learning.png") type("image/png") 1x
        );
    }

    .course-image--plain.tech-image-data {
        background-image: linear-gradient(180deg, rgba(7, 35, 74, 0.12), rgba(7, 35, 74, 0.68)), image-set(
            url("assets/technology/corenexa-course-excel-320.avif") type("image/avif") 1x,
            url("assets/technology/corenexa-course-excel-640.avif") type("image/avif") 2x,
            url("assets/technology/corenexa-course-excel-1024.avif") type("image/avif") 3x,
            url("assets/technology/corenexa-course-excel-320.webp") type("image/webp") 1x,
            url("assets/technology/corenexa-course-excel-640.webp") type("image/webp") 2x,
            url("assets/technology/corenexa-course-excel-1024.webp") type("image/webp") 3x,
            url("assets/technology/corenexa-course-excel.png") type("image/png") 1x
        );
    }

    .course-image--plain.tech-image-web {
        background-image: linear-gradient(180deg, rgba(7, 35, 74, 0.12), rgba(7, 35, 74, 0.68)), image-set(
            url("assets/technology/corenexa-web-development-320.avif") type("image/avif") 1x,
            url("assets/technology/corenexa-web-development-640.avif") type("image/avif") 2x,
            url("assets/technology/corenexa-web-development-1024.avif") type("image/avif") 3x,
            url("assets/technology/corenexa-web-development-320.webp") type("image/webp") 1x,
            url("assets/technology/corenexa-web-development-640.webp") type("image/webp") 2x,
            url("assets/technology/corenexa-web-development-1024.webp") type("image/webp") 3x,
            url("assets/technology/corenexa-web-development.png") type("image/png") 1x
        );
    }

    .student-portal-page .admin-main {
        background-image: linear-gradient(rgba(247, 250, 255, 0.93), rgba(238, 245, 255, 0.96)), image-set(
            url("assets/technology/corenexa-digital-learning-320.avif") type("image/avif") 1x,
            url("assets/technology/corenexa-digital-learning-640.avif") type("image/avif") 2x,
            url("assets/technology/corenexa-digital-learning-1024.avif") type("image/avif") 3x,
            url("assets/technology/corenexa-digital-learning-320.webp") type("image/webp") 1x,
            url("assets/technology/corenexa-digital-learning-640.webp") type("image/webp") 2x,
            url("assets/technology/corenexa-digital-learning-1024.webp") type("image/webp") 3x,
            url("assets/technology/corenexa-digital-learning.png") type("image/png") 1x
        );
    }

    .instructor-portal-page .learning-shell {
        background-image: linear-gradient(rgba(247, 250, 255, 0.93), rgba(238, 245, 255, 0.96)), image-set(
            url("assets/technology/corenexa-web-development-320.avif") type("image/avif") 1x,
            url("assets/technology/corenexa-web-development-640.avif") type("image/avif") 2x,
            url("assets/technology/corenexa-web-development-1024.avif") type("image/avif") 3x,
            url("assets/technology/corenexa-web-development-320.webp") type("image/webp") 1x,
            url("assets/technology/corenexa-web-development-640.webp") type("image/webp") 2x,
            url("assets/technology/corenexa-web-development-1024.webp") type("image/webp") 3x,
            url("assets/technology/corenexa-web-development.png") type("image/png") 1x
        );
    }

    .admin-portal-page .admin-main {
        background-image: linear-gradient(rgba(247, 250, 255, 0.93), rgba(238, 245, 255, 0.96)), image-set(
            url("assets/technology/corenexa-cybersecurity-320.avif") type("image/avif") 1x,
            url("assets/technology/corenexa-cybersecurity-640.avif") type("image/avif") 2x,
            url("assets/technology/corenexa-cybersecurity-1024.avif") type("image/avif") 3x,
            url("assets/technology/corenexa-cybersecurity-320.webp") type("image/webp") 1x,
            url("assets/technology/corenexa-cybersecurity-640.webp") type("image/webp") 2x,
            url("assets/technology/corenexa-cybersecurity-1024.webp") type("image/webp") 3x,
            url("assets/technology/corenexa-cybersecurity.png") type("image/png") 1x
        );
    }
}

@media (max-width: 600px) {
    .info-card-media {
        height: 128px;
    }

    .portal-tech-banner,
    .super-tech-banner {
        align-items: flex-start;
        padding: 9px;
    }

    .portal-tech-banner img,
    .super-tech-banner img {
        width: 82px;
        height: 60px;
        flex-basis: 82px;
    }

    .course-item-thumb {
        width: 54px;
        height: 46px;
        flex-basis: 54px;
    }

    .course-visual img,
    .service-card-visual img {
        height: 142px;
    }

    .course-detail-figure .course-detail-visual {
        height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-placeholder-image,
    .course-visual img,
    .service-card-visual img {
        transition: none;
    }

    .info-card-media {
        transition: none;
    }

    .course-visual:hover img,
    .service-card-visual:hover img,
    .info-card:hover .info-card-media,
    .service-card:hover .info-card-media {
        transform: none;
    }
}

.service-hero-lines {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.service-hero-lines span {
    display: block;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
}

.service-hero-lines span:nth-child(1) { width: 88%; background: #7ddc31; }
.service-hero-lines span:nth-child(2) { width: 68%; background: #54baff; }
.service-hero-lines span:nth-child(3) { width: 46%; background: rgba(255, 255, 255, 0.4); }

.service-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.service-catalog-grid .service-card {
    min-height: 210px;
}

.service-card-icon {
    width: 42px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #e9f6ff;
    color: var(--brand-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.feature-chip {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 18px rgba(8, 38, 83, 0.05);
}

.feature-chip strong {
    color: var(--brand-navy);
}

.feature-chip span {
    color: var(--brand-muted);
    font-size: 0.9rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: process;
}

.process-grid li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    background: #ffffff;
}

.process-grid li > span {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
}

.process-grid h3 {
    margin-bottom: 4px;
    color: var(--brand-navy);
    font-size: 1.05rem;
}

.process-grid p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.93rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 34px;
    align-items: center;
}

.split-section h2 {
    margin: 8px 0 14px;
    color: var(--brand-navy);
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.split-section p {
    color: var(--brand-muted);
}

.custom-example-card {
    padding: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--brand-border);
    box-shadow: 0 14px 30px rgba(8, 38, 83, 0.09);
}

.custom-example-card h3 {
    margin-bottom: 16px;
    color: var(--brand-navy);
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--brand-ink);
}

.check-list li::before {
    content: "✓";
    color: var(--brand-green);
    font-weight: 900;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.package-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--brand-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(8, 38, 83, 0.07);
}

.package-card.featured {
    border: 2px solid var(--brand-green);
    box-shadow: 0 16px 30px rgba(22, 163, 74, 0.14);
    transform: translateY(-8px);
}

.package-label {
    color: var(--brand-green);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.package-card h3 {
    color: var(--brand-navy);
}

.package-card p {
    min-height: 74px;
    color: var(--brand-muted);
}

.package-card strong {
    color: var(--brand-blue);
    font-size: 0.9rem;
}

.package-card .btn,
.package-card .btn-outline {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.inquiry-section {
    scroll-margin-top: 110px;
}

.website-inquiry-form {
    max-width: 980px;
    margin: 0 auto;
}

.website-inquiry-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.website-inquiry-form label {
    color: var(--brand-navy);
}

.website-inquiry-form input,
.website-inquiry-form select,
.website-inquiry-form textarea {
    background: #ffffff;
    border-color: #cbd9ea;
}

.website-inquiry-form .btn {
    width: fit-content;
    margin: 0;
}

.service-cta {
    margin: 0 auto 40px;
    width: min(1280px, calc(100% - 2rem));
    border-radius: 24px;
}

.service-cta .eyebrow {
    color: #b8f276;
}

.service-cta h2 {
    color: #ffffff;
}

.service-cta > p:not(.eyebrow) {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 820px) {
    .service-hero {
        text-align: center;
    }

    .service-hero .hero-actions {
        justify-content: center;
    }

    .service-hero-card {
        margin-top: 24px;
    }

    .process-grid,
    .split-section,
    .website-inquiry-form .form-grid {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: none;
    }
}

/* Super-user access and operations workspace */
.super-user-login-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 28px;
    width: min(1160px, calc(100% - 2rem));
}

.super-user-login-panel,
.super-user-login-card {
    width: 100%;
    align-self: center;
}

.super-user-login-panel {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.super-user-login-card {
    max-width: 560px;
    justify-self: center;
}

.super-user-login-card .auth-overlay {
    width: 100%;
}

.super-user-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.super-user-brand img {
    width: 76px;
    height: 52px;
    object-fit: contain;
}

.super-user-brand div {
    display: grid;
    gap: 2px;
}

.super-user-brand strong {
    color: var(--brand-navy);
    font-size: 1rem;
}

.super-user-brand span {
    color: var(--brand-green);
    font-size: 0.82rem;
    font-weight: 700;
}

.super-user-security-note {
    display: grid;
    gap: 3px;
    margin-top: 28px;
    padding: 14px 16px;
    border: 1px solid rgba(184, 242, 118, 0.32);
    border-radius: 14px;
    background: rgba(3, 16, 32, 0.18);
    color: rgba(255, 255, 255, 0.92);
}

.super-user-security-note strong {
    color: #d8ffab;
}

.super-user-security-note span {
    font-size: 0.9rem;
}

.super-user-dashboard-page {
    background: #edf4fa;
}

.super-user-dashboard-page .announcement-bar {
    position: sticky;
    top: 0;
    z-index: 20;
}

.super-dashboard-shell {
    width: min(1480px, calc(100% - 2rem));
    max-width: none;
    padding: clamp(1rem, 3vw, 2.5rem);
    background: transparent;
}

.super-dashboard-card {
    width: 100%;
    max-width: none;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    text-align: left;
    border: 1px solid var(--brand-border);
    box-shadow: 0 18px 44px rgba(8, 38, 83, 0.1);
}

.super-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--brand-border);
}

.super-dashboard-header h1 {
    margin: 0 0 8px;
    color: var(--brand-navy);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.super-dashboard-header p:not(.eyebrow) {
    max-width: 760px;
    color: var(--brand-muted);
}

.super-dashboard-header .eyebrow,
.super-dashboard-section-heading .eyebrow {
    margin-bottom: 6px;
}

.super-dashboard-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 220px;
}

.super-security-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e9f8e6;
    color: #236b36;
    font-size: 0.85rem;
    font-weight: 800;
}

.super-dashboard-card .stat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 24px 0 30px;
}

.super-dashboard-card .stat-card {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #f2f8ff, #f8fff4);
}

.super-dashboard-card .stat-card h3 {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    overflow-wrap: anywhere;
}

.super-dashboard-section-heading {
    margin: 30px 0 12px;
}

.super-dashboard-section-heading h2 {
    color: var(--brand-navy);
    font-size: 1.4rem;
}

.super-overview-grid {
    margin-top: 0;
    align-items: stretch;
}

.super-dashboard-card > .dashboard-grid + .dashboard-grid {
    margin-top: 16px;
}

.super-dashboard-card .dashboard-panel-card {
    min-width: 0;
    padding: 22px;
}

.super-dashboard-card .dashboard-panel-card h3 {
    display: flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 16px;
}

.super-dashboard-section {
    margin-top: 20px;
}

.super-dashboard-card .dashboard-actions {
    justify-content: flex-start;
}

.super-dashboard-actions {
    padding: 4px 0 8px;
}

.super-dashboard-card .search-row {
    margin-bottom: 14px;
}

.super-dashboard-card .search-row input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--brand-border);
    border-radius: 10px;
    font: inherit;
}

@media (max-width: 900px) {
    .super-user-login-shell {
        grid-template-columns: 1fr;
    }

    .super-user-login-panel {
        min-height: auto;
    }

    .super-user-login-card {
        max-width: none;
    }

    .super-dashboard-header {
        flex-direction: column;
    }

    .super-dashboard-header-actions {
        justify-content: flex-start;
    }

    .super-dashboard-card .stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .super-user-login-shell {
        width: min(100%, calc(100% - 1rem));
        padding: 1rem 0.5rem;
    }

    .super-user-login-panel,
    .super-user-login-card {
        padding: 22px;
    }

    .super-user-brand {
        margin-bottom: 18px;
    }

    .super-dashboard-shell {
        width: 100%;
        padding: 0.75rem 0.5rem 1.5rem;
    }

    .super-dashboard-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .super-dashboard-card .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .super-dashboard-card .stat-card {
        min-height: 92px;
        padding: 12px;
    }

    .super-dashboard-card .dashboard-panel-card {
        padding: 16px;
    }

    .super-dashboard-header-actions,
    .super-dashboard-header-actions a {
        width: 100%;
    }

    .super-dashboard-header-actions a {
        margin: 0;
    }
}

/* Password recovery pages */
.password-recovery-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vh, 42px) clamp(12px, 4vw, 48px);
    background:
        radial-gradient(circle at 9% 9%, rgba(22, 132, 237, 0.13), transparent 22rem),
        radial-gradient(circle at 92% 92%, rgba(14, 157, 101, 0.1), transparent 24rem),
        #f3f7fb;
}

.password-recovery-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    width: min(1080px, 100%);
    min-height: min(690px, calc(100vh - 64px));
    overflow: hidden;
    border: 1px solid rgba(16, 71, 126, 0.1);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(9, 40, 76, 0.16);
}

.password-recovery-aside {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(30px, 4vw, 52px);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(150deg, #073b78 0%, #0867bd 56%, #07845d 100%);
}

.password-recovery-aside::before,
.password-recovery-aside::after {
    position: absolute;
    z-index: -1;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.password-recovery-aside::before {
    width: 360px;
    height: 360px;
    right: -190px;
    top: 14%;
}

.password-recovery-aside::after {
    width: 250px;
    height: 250px;
    left: -180px;
    bottom: -100px;
}

.password-recovery-brand {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: clamp(30px, 5vh, 58px);
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
}

.password-recovery-brand img {
    display: block;
    width: min(180px, 100%);
    height: auto;
    border-radius: 12px;
}

.password-recovery-kicker,
.password-recovery-eyebrow {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.35;
    text-transform: uppercase;
}

.password-recovery-kicker {
    color: #a7e8cb;
}

.password-recovery-aside h2 {
    max-width: 420px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.password-recovery-aside-copy {
    max-width: 420px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
}

.password-recovery-art {
    width: min(100%, 310px);
    margin: auto auto 4px;
}

.password-recovery-art svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.password-recovery-benefits {
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.password-recovery-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.88rem;
    line-height: 1.45;
}

.password-recovery-benefits li::before {
    display: grid;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    color: #06467d;
    background: #a7e8cb;
    content: "✓";
    font-size: 0.72rem;
    font-weight: 900;
}

.password-recovery-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(34px, 5.5vw, 72px);
}

.password-recovery-eyebrow {
    color: #16845e;
}

.password-recovery-card h1 {
    margin: 0;
    color: #0a2b4f;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.password-recovery-intro {
    max-width: 470px;
    margin: 15px 0 30px;
    color: #5c6d7e;
    font-size: 1rem;
    line-height: 1.65;
}

.password-recovery-form {
    display: grid;
    gap: 14px;
}

.password-recovery-form label {
    display: grid;
    gap: 8px;
    color: #183b5d;
    font-size: 0.93rem;
    font-weight: 700;
}

.password-recovery-form input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 15px 17px;
    border: 1px solid #cad7e4;
    border-radius: 12px;
    outline: none;
    color: #142f4c;
    background: #fbfdff;
    font: inherit;
    font-size: 1rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.password-recovery-form input::placeholder {
    color: #8797a8;
    opacity: 1;
}

.password-recovery-form input:focus {
    border-color: #1684ed;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 132, 237, 0.13);
}

.password-recovery-form .btn-primary {
    display: inline-flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 14px 18px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(100deg, #0874d1, #08996a);
    box-shadow: 0 10px 22px rgba(8, 116, 170, 0.2);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.password-recovery-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(8, 116, 170, 0.26);
}

.password-recovery-status {
    margin: 16px 0 0;
    line-height: 1.5;
}

.password-recovery-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 23px;
    color: #075ba8;
    font-weight: 800;
    text-decoration: none;
}

.password-recovery-login:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.password-recovery-footnote {
    max-width: 470px;
    margin: 28px 0 0;
    color: #718194;
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (max-width: 780px) {
    .password-recovery-page {
        padding: 18px;
    }

    .password-recovery-layout {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        max-width: 560px;
        border-radius: 24px;
    }

    .password-recovery-aside {
        padding: 28px 30px 24px;
    }

    .password-recovery-brand {
        margin-bottom: 24px;
    }

    .password-recovery-brand img {
        width: 145px;
    }

    .password-recovery-aside h2 {
        max-width: 500px;
        font-size: clamp(1.8rem, 7vw, 2.3rem);
    }

    .password-recovery-aside-copy {
        margin-top: 10px;
    }

    .password-recovery-art {
        width: min(230px, 70%);
        margin: 6px auto 0;
    }

    .password-recovery-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .password-recovery-benefits li {
        gap: 7px;
        font-size: 0.76rem;
    }

    .password-recovery-card {
        padding: 34px 30px 38px;
    }
}

@media (max-width: 480px) {
    .password-recovery-page {
        display: block;
        padding: 10px;
    }

    .password-recovery-layout {
        border-radius: 20px;
    }

    .password-recovery-aside {
        padding: 23px 22px 20px;
    }

    .password-recovery-brand {
        margin-bottom: 19px;
    }

    .password-recovery-brand img {
        width: 126px;
    }

    .password-recovery-kicker,
    .password-recovery-eyebrow {
        font-size: 0.68rem;
    }

    .password-recovery-aside h2 {
        font-size: 1.8rem;
    }

    .password-recovery-aside-copy {
        font-size: 0.9rem;
    }

    .password-recovery-art {
        display: none;
    }

    .password-recovery-benefits {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .password-recovery-benefits li {
        font-size: 0.8rem;
    }

    .password-recovery-card {
        padding: 29px 22px 30px;
    }

    .password-recovery-intro {
        margin: 12px 0 23px;
        font-size: 0.94rem;
    }

    .password-recovery-form input {
        min-height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .password-recovery-form input,
    .password-recovery-form .btn-primary {
        transition: none;
    }

    .password-recovery-form .btn-primary:hover {
        transform: none;
    }
}