/* ================================
   BODY & DARK THEME
================================ */

body {
    margin: 0;
    min-height: 100vh;
    background-color: #0c0e12;
    color: #070606;
    font-family: Arial, Helvetica, sans-serif;
}

/* =================================
   PHONENIX NAVBAR
================================= */

.phoenix-navbar {
    position: sticky;

    top: 15px;

    z-index: 1000;
  font-family: "IBM Plex Mono", monospace;



    margin: 0 18px;

    min-height: 68px;

    background: rgba(255, 255, 255, 0.897);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(216, 211, 211, 0.55);

    border-radius: 10px;

    box-shadow:
        0 10px 28px rgba(16, 42, 67, 0.14),
        0 2px 6px rgba(16, 42, 67, 0.08);
}


/* Small gold detail */

.phoenix-navbar::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 55px;
    height: 3px;

    background: #c5a227;

    border-radius: 14px 0 0 0;

    transform: scaleX(0);
    transform-origin: left;
    animation: navbar-gold-draw 1s ease-out 0.2s forwards;
}

@keyframes navbar-gold-draw {
    to { transform: scaleX(1); }
}


/* =================================
   BRAND
================================= */

.phoenix-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-left: -20px;

    text-decoration: none;
}

.phoenix-brand-image {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}


/* Logo */

.phoenix-logo {
    width: 36px;
    height: 36px;

    display: flex;

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

    background: #102a43;

    color: #c5a227;

    border: 1px solid #c5a227;

    border-radius: 8px;

    font-size: 16px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.phoenix-brand:hover .phoenix-logo {
    background: #155fb4;

    color: #000000;
}


/* Name */

.phoenix-name {
    color: #102a43;
    font-size: 20px;
  font-family: "IBM Plex Mono", monospace;


    font-weight: 800;
    letter-spacing: 0.5px;
}


.phoenix-brand:hover .phoenix-name {
    color: #155fb4;
}


/* =================================
   NAVIGATION
================================= */

.phoenix-nav {
    gap: 5px;
}


.phoenix-nav .nav-link {
    position: relative;

    padding: 9px 17px !important;

    color: #526171;

    font-size: 14px;

    font-weight: 500;

    border-radius: 7px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


/* Hover */

.phoenix-nav .nav-link:hover {
    color: #a88716;

    background: rgba(197, 162, 39, 0.08);
}


/* Active */

.phoenix-nav .nav-link.active {
    color: #102a43;

    font-weight: 650;
}


/* Gold underline */

.phoenix-nav .nav-link::after {
    content: "";

    position: absolute;

    left: 17px;
    right: 17px;

    bottom: 3px;

    height: 2px;

    background: #c5a227;

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.2s ease;
}


.phoenix-nav .nav-link:hover::after,
.phoenix-nav .nav-link.active::after {
    transform: scaleX(1);
}


/* =================================
   DASHBOARD
================================= */

.phoenix-action {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 30px;
}


.dashboard-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-width: 120px;

    padding: 10px 17px;

    background: #155fb4;

    color: #ffffff;

    border: 1px solid #155fb4;

    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.dashboard-btn span {
    transition: transform 0.2s ease;
}


.dashboard-btn:hover {
    background: #102a43;

    border-color: #c5a227;

    color: #ffffff;

    transform: translateY(-1px);
}

.dashboard-btn:active {
    transform: translateY(1px) scale(0.98);
}

.dashboard-btn:focus-visible {
    outline: 3px solid rgba(197, 162, 39, 0.42);
    outline-offset: 3px;
}


.dashboard-btn:hover span {
    transform: translateX(3px);
}


.profile-btn {
    position: relative;

    width: 42px;
    height: 42px;

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

    flex: 0 0 42px;

    background: #ffffff;
    color: #155fb4;

    border: 1px solid #c5a227;
    border-radius: 50%;
margin-right: -30px;
    font-size: 20px;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.profile-btn::before {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid #155fb4;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.profile-btn:hover::before,
.profile-btn:focus-visible::before {
    opacity: 1;
}

.profile-btn:hover {
    background: #155fb4;
    color: #ffffff;
    transform: translateY(-1px);
}

.profile-btn:focus-visible {
    outline: 3px solid rgba(21, 95, 180, 0.25);
    outline-offset: 3px;
}


/* =================================
   MOBILE TOGGLE
================================= */

.phoenix-toggler {
    padding: 7px 9px;

    border: 1px solid rgba(16, 42, 67, 0.15);

    border-radius: 7px;
}


.phoenix-toggler:focus {
    box-shadow:
        0 0 0 3px rgba(197, 162, 39, 0.15);
}


/* =================================
   MOBILE
================================= */

@media (max-width: 991px) {

    .phoenix-navbar {
        margin: 10px;

        top: 10px;
    }

    .phoenix-brand {
        margin-left: 0;
    }


    .phoenix-navbar .navbar-collapse {
        margin-top: 12px;

        padding-top: 12px;

        border-top: 1px solid rgba(16, 42, 67, 0.08);
    }


    .phoenix-nav {
        gap: 2px;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    .phoenix-nav .nav-link {
        padding: 11px 8px !important;
    }


    .phoenix-nav .nav-link::after {
        left: 8px;
        right: auto;

        width: 28px;
    }


    .phoenix-action {
        margin-top: 10px;

        margin-left: 0;

        padding-bottom: 5px;
        gap: 12px;
        width: 100%;
    }


    .dashboard-btn {
        flex: 1;
        min-height: 42px;
    }

    .profile-btn {
        margin-right: 0;
    }


}


/* =================================
   SMALL MOBILE
================================= */

@media (max-width: 576px) {
    .phoenix-name {
        font-size: 15px;
       
    }


    .phoenix-logo {
        width: 33px;
        height: 33px;

        font-size: 14px;
    }
}

/* ================================
   HERO WRAPPER & BACKGROUND
================================ */

.hero-wrapper {
    position: relative;
    overflow: hidden;
}

.dental-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 70%, #fff 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .58) 48%, rgba(255, 255, 255, .28) 100%),
        url('/images/backgroundimagedesktop.jpeg') no-repeat center right / cover;
    background-attachment: scroll;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.hero {
    position: relative;
    z-index: 1;
    padding: 45px 0 55px;
}

@media (max-width: 576px) {
    .dental-bg {
        background-image:
            linear-gradient(180deg, transparent 72%, #fff 100%),
            linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .64) 55%, rgba(255, 255, 255, .35) 100%),
            url('/images/backgroundimagephone.jpeg');
        background-position: center top;
    }
}

.course-details {
    position: relative;
    z-index: 1;
    padding: 1px 0 48px;
    background: #fff;
}


.hero-row {
    min-height: 430px;
}


/* ================================
   HERO LEFT
================================ */

.hero-content { 
    max-width: 650px;
}


.hero-small {
    display: inline-block;
    margin-bottom: 17px;

    color: #a88716;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
}


.hero-content h1 {
    margin: 0;
    z-index: 2;
    color: #000000;

    font-size: clamp(50px, 6vw, 82px);
    line-height: 0.98;

    letter-spacing: -2.5px;

    font-weight: 750;
}


.hero-content h1 > span:first-child {
    color: #38bdf8;
}

.hero-content h1 .hero-succeed {
    color: #b38919;
}

.phoenix-slogan-rise {
    color: #38bdf8;
}

.phoenix-slogan-succeed {
    color: #b38919;
}


.hero-content p {
    max-width: 510px;

    margin: 27px 0 30px;

    color: #000000;

    font-size: 16px;
    line-height: 1.7;

    font-weight: 500;
}


/* ================================
   EXPLORE BUTTON
================================ */

.explore-btn {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    padding: 12px 20px;

    background: #102a43;

    color: #ffffff;

    border-left: 3px solid #c5a227;

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.explore-btn span {
    color: #c5a227;

    transition: transform 0.2s ease;
}


.explore-btn:hover {
    background: #155fb4;

    color: #ffffff;

    transform: translateY(-2px);
}


.explore-btn:hover span {
    transform: translateX(4px);
}


/* ================================
   SIGNUP CARD
================================ */

.signup-card {
    position: relative;

    max-width: 410px;

    margin-left: auto;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e4eaf2;

    border-radius: 16px;

    box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
}


/* ================================
   SIGNUP HEADER
================================ */

.signup-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 30px;
}


.signup-label {
    color: #a88716;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


.signup-top h2 {
    margin: 8px 0 0;
    color: #102a43;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.7px;
}


.signup-mark {
    width: 36px;
    height: 36px;

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

    background: #102a43;

    color: #c5a227;

    border-radius: 7px;

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


/* ================================
   FORM INPUTS
================================ */

.input-group-custom {
    margin-bottom: 19px;
}


.input-group-custom label {
    display: block;
    margin-bottom: 7px;

    color: #102a43;

    font-size: 12px;
    font-weight: 650;
}


.input-group-custom input {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 13px;

    background: #f7f9fa;

    border: 1px solid #d9e0e5;

    border-radius: 7px;

    outline: none;

    color: #102a43;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.input-group-custom input:focus {
    border-color: #155fb4;

    box-shadow: 0 0 0 3px rgba(21, 95, 180, 0.10);
}


.input-group-custom input::placeholder {
    color: #9aa4ad;
}


/* ================================
   SIGNUP BUTTON
================================ */

.signup-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-top: 8px;

    padding: 15px 18px;

    background: #155fb4;

    color: #ffffff;

    border: none;

    border-radius: 7px;

    font-size: 15px;
    font-weight: 650;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.signup-btn .signup-label {
    color: #ffffff;
}


.signup-btn .signup-arrow {
    color: #c5a227;
    font-size: 20px;
    line-height: 1;
}


.signup-btn:hover {
    background: #102a43;

    transform: translateY(-1px);
}


/* ================================
   LOGIN TEXT
================================ */

.login-text {
    margin-top: 20px;

    text-align: center;

    color: #7b8792;

    font-size: 11px;
}


.login-text a {
    color: #155fb4;

    text-decoration: none;

    font-weight: 650;
}


.login-text a:hover {
    color: #a88716;
}


/* ================================
   BOOTSTRAP TOGGLER
================================ */

/* ================================
   MOBILE
================================ */

@media (max-width: 991px) {
    .hero {
        padding: 65px 20px 20px;
    }


    .hero-row {
        min-height: auto;
    }


    .hero-content h1 {
        font-size: 55px;

        letter-spacing: -2.5px;
    }


    .signup-card {
        margin: 60px auto 0;
    }
}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .signup-card {
        padding: 26px 22px;
        background: rgba(255, 255, 255, 0.97);
    }
}

body:has(.hero-wrapper) {
    background: #fff;
    color: #172033;
    font-family: "Segoe UI", Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    .phoenix-navbar::before {
        animation: none;
        transform: none;
    }

    .profile-btn,
    .profile-btn::before {
        transition: none;
    }
}
/* =========================================
   COURSES SECTION
========================================= */

.courses-section {
    position: relative;

     font-size: 13px;

    z-index: 1;
    padding: 28px 0 52px;
    overflow: hidden;
    margin-bottom: 20px;
}


/* =========================================
   HEADING
========================================= */

.courses-heading {
    max-width: 1050px;
    margin: 0 auto 12px;
}

.courses-heading .section-label {
    margin-bottom: 8px;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: 1px;
}

.courses-heading h2 {
    margin: 0;

    color: #102c47;

    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 700;
    line-height: 1.2;
}

.courses-heading > p {
    margin: 8px 0 0;

    color: #536579;

    font-size: 18px;
    line-height: 1.35;
}

.courses-heading .heading-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    font-size: 16px;
    color: #718096;
}


/* =========================================
   SLIDER
========================================= */

.courses-slider-wrapper {
    position: relative;
    overflow: hidden;

    width: 100%;
}

.courses-slider {
    display: flex;
    gap: 24px;

    overflow-x: auto;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    padding: 20px 5px 35px;

    scrollbar-width: none;
}

.courses-slider::-webkit-scrollbar {
    display: none;
}


/* =========================================
   COURSE CARD
========================================= */

.course-card {
    position: relative;

    flex: 0 0 calc(33.333% - 16px);

    min-height: 110px;

    padding: 35px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(16, 44, 71, 0.06);

    scroll-snap-align: start;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.course-card:hover {
    transform: translateY(-3px);

    border-color: rgba(196, 154, 0, 0.5);

    box-shadow: 0 14px 30px rgba(16, 44, 71, 0.09);
}


/* =========================================
   CARD NUMBER
========================================= */

.course-number {
    position: absolute;

    top: 25px;
    right: 30px;

    font-size: 48px;
    font-weight: 800;

    color: rgba(16, 44, 71, 0.06);

    transition: 0.4s ease;
}

.course-card:hover .course-number {
    color: rgba(196, 154, 0, 0.15);

    transform: translateY(-5px);
}


/* =========================================
   TAG
========================================= */

.course-tag {
    position: relative;
    z-index: 2;

    display: inline-block;

    padding: 7px 13px;

    margin-bottom: 22px;

    border-radius: 50px;

    background: #102c47;

    color: white;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


/* =========================================
   CARD CONTENT
========================================= */

.course-card h3 {
    position: relative;
    z-index: 2;

    max-width: 80%;

    margin-bottom: 12px;

    color: #102c47;

    font-size: 27px;
    font-weight: 750;

    line-height: 1.2;
}

.course-subtitle {
    position: relative;
    z-index: 2;

    margin-bottom: 15px;

    color: #c49a00;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.5;
}

.course-description {
    position: relative;
    z-index: 2;

    margin-bottom: 24px;

    color: #66778a;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================
   FEATURES
========================================= */

.course-features {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-bottom: 30px;
}

.course-features span {
    color: #44566b;

    font-size: 13px;

    transition: transform 0.3s ease;
}

/* =========================================
   CARD BOTTOM
========================================= */

.course-bottom {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 30px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid #e8edf2;
}

.course-bottom small {
    display: block;

    margin-bottom: 5px;

    color: #8a98a8;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}

.course-bottom strong {
    color: #102c47;

    font-size: 18px;
}

.course-card-tiered-price {
    padding-bottom: 150px;
}

.course-bottom-tiered {
    align-items: flex-end;
    gap: 12px;
}

.course-pricing {
    flex: 0 1 150px;
    min-width: 0;
}

.course-pricing hr {
    width: 100%;
    margin: 7px 0;
    border: 0;
    border-top: 1px solid #d6dee8;
    opacity: 1;
}

.course-pricing small {
    margin-bottom: 2px;
    font-size: 9px;
    letter-spacing: .7px;
}

.course-pricing strong {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}


/* =========================================
   SEE MORE BUTTON
========================================= */

.see-more-btn {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    padding: 11px 17px;

    border-radius: 10px;

    background: #102c47;

    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        gap 0.3s ease;
}

.see-more-btn span {
    color: #c49a00;

    font-size: 18px;

    transition: transform 0.3s ease;
}

.see-more-btn:hover {
    background: #1764ae;

    color: white;

    transform: translateY(-2px);

    gap: 13px;
}

.see-more-btn:hover span {
    transform: translateX(4px);
}


/* =========================================
   SLIDER CONTROLS
========================================= */

.course-controls {
    display: flex;

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

    gap: 18px;

    margin-top: 10px;
}

.slider-btn {
    width: 45px;
    height: 45px;

    border: 1px solid #dce3eb;

    border-radius: 50%;

    background: white;

    color: #102c47;

    font-size: 18px;

    cursor: pointer;

    transition: 0.3s ease;
}

.slider-btn:hover {
    background: #000000;

    color: white;

    border-color: #102c47;

    transform: scale(1.08);
}

.slider-progress {
    width: 120px;
    height: 4px;

    overflow: hidden;

    border-radius: 10px;

    background: #e3e8ee;
}

.slider-progress span {
    display: block;

    width: 25%;
    height: 100%;

    background: #c49a00;

    border-radius: inherit;

    transition: width 0.4s ease;
}


/* =========================================
   CTA
========================================= */

.courses-cta {
    margin-top: 70px;

    padding: 55px 30px;

    text-align: center;

    border-radius: 25px;

    background: #000000;

    overflow: hidden;

    position: relative;
}

.courses-cta::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -150px;
    right: -80px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);

    animation: floatingCircle 5s ease-in-out infinite;
}

.courses-cta h3 {
    position: relative;

    color: white;

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

.courses-cta p {
    position: relative;

    margin: 12px auto 25px;

    max-width: 600px;

    color: #cbd7e4;

    font-size: 15px;
}

.all-courses-btn {
    position: relative;

    display: inline-flex;

    align-items: center;
    gap: 12px;

    padding: 13px 22px;

    border-radius: 10px;

    background: white;

    color: #102c47;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s ease;
}

.all-courses-btn:hover {
    background: #c49a00;

    color: white;

    transform: translateY(-3px);
}

.all-courses-btn span {
    font-size: 18px;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes floatingCircle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {

    .course-card {
        flex: 0 0 calc(50% - 12px);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .courses-section {
        padding: 18px 0 48px;
    }

    .courses-heading {
        margin-bottom: 14px;
    }

    .courses-heading .section-label {
        display: inline-block;
        margin-bottom: 8px;
        font-size: 28px;
    }

    .courses-heading h2 {
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
    }

    .courses-heading > p {
        display: block;
        font-size: 12px;
        line-height: 1.55;
    }

    .courses-slider {
        padding-top: 10px;
    }

    .course-card {
        flex: 0 0 88%;
        min-height: 510px;
        padding: 22px;
    }

    .course-card-tiered-price {
        padding-bottom: 145px;
    }

    .course-card h3 {
        font-size: 21px;
    }

    .course-bottom {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .course-pricing {
        flex-basis: 135px;
    }

    .course-bottom-tiered .see-more-btn {
        max-width: 46%;
        padding: 10px 12px;
        font-size: 10px;
        text-align: center;
    }

    .courses-cta {
        margin-top: 36px;
        padding: 30px 18px;
    }

}

/* =========================================
   QUICK CONTACT SECTION
========================================= */

.quick-contact {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 30px 0 50px;
}

.contact-card-wrapper {
    background: linear-gradient(135deg, #102a43 0%, #17324d 100%);
    border-radius: 16px;
    padding: 35px 35px;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(16, 42, 67, 0.15);
}

.contact-card-wrapper .section-label {
    color: #c5a227;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-card-wrapper h2 {
    color: #ffffff;
    font-size: clamp(24px, 3vw, 32px);
    margin: 10px 0 12px;
    font-weight: 700;
}

.contact-card-wrapper p {
    color: #bcccdc;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.contact-cta-btn {
    display: inline-flex;
    margin-top: 15px;
}

/* =========================================
   THS DARK DUAL MARQUEE FOOTER
========================================= */

.th-footer {
    background: #0f1115;
    color: #ffffff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 30px;
}

.th-footer-top {
    padding: 0 40px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.th-conversation-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.th-conversation-link span {
    border-bottom: 1px solid #ffffff;
    padding-bottom: 2px;
}

.th-conversation-link:hover {
    color: #c5a227;
}

/* Dual Marquee Ticker */
.th-ticker-wrapper {
    padding: 20px 0;
    background: #0b0d10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.th-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    font-family: "IBM Plex Mono", monospace;
    gap: 0;
    white-space: nowrap;
}

.th-marquee-track {
    display: flex;
    width: max-content;
    flex: 0 0 auto;
    will-change: transform;
    animation: th-marquee-left 30s linear infinite;
}

.th-marquee-content {
    display: flex;
    width: max-content;
    min-width: 0;
    flex: 0 0 auto;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

.th-marquee-content span {
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.th-marquee-content .dot {
    color: #c5a227;
    font-size: clamp(16px, 2.5vw, 24px);
}

/* The duplicated words form one uninterrupted, accessible ticker. */
.th-marquee-left .th-marquee-track {
    animation-name: th-marquee-left;
}

.th-marquee-right .th-marquee-track {
    animation-name: th-marquee-right;
}

@keyframes th-marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes th-marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.th-marquee:hover .th-marquee-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .th-marquee-track {
        animation: none;
        transform: none;
    }
}

/* Footer Body */
.th-footer-body {
    font-family: "IBM Plex Mono", monospace;

    padding: 45px 0 35px;
}

.th-brand-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 12px;
}

.th-brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.th-brand-image {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.th-brand-lockup .th-brand-logo {
    margin: 0;
}

.th-brand-tagline {
    color: #9aa4b2;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.th-column-title {
    color: #6c7989;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.th-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.th-footer-links li {
    margin-bottom: 10px;
}

.th-footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.th-footer-links a:hover {
    color: #c5a227;
}

/* Footer Bottom Bar */
.th-footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #6c7989;
}

.th-footer-bottom p {
    margin: 0;
}

.th-scroll-top-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.th-scroll-top-btn:hover {
    border-color: #c5a227;
    color: #c5a227;
    transform: translateY(-2px);
}



.about{
    z-index: 1;
    position: relative;
    padding: 16px 0 60px;
    overflow: hidden;
    margin-bottom: 20px;
}
/* ==============================
PHOENIX ABOUT SECTION
============================== */

.phoenix-about,
.phoenix-contact {
position: relative;
background: transparent;
color: #17345d;
}

.phoenix-about-heading {
max-width: 760px;
margin-inline: auto;
}

.phoenix-label {
display: inline-block;
margin-bottom: 12px;
color: #2864b4;
font-size: 12px;
font-weight: 800;
letter-spacing: 2px;
}

.phoenix-about-heading h1 {
margin-bottom: 12px;
font-size: clamp(34px, 5vw, 54px);
font-weight: 800;

letter-spacing: -1.5px;
}

.phoenix-about-heading h1 span {
color: #2864b4;
}

.phoenix-slogan {
margin-bottom: 8px;
color: #2864b4;

font-size: 14px;
font-weight: 700;
letter-spacing: 2px;
}

.phoenix-about-heading > p:last-child {
color: #5b6c82;
font-size: 16px;
}

/* ==============================
FLIP CARDS
============================== */

.phoenix-flip-card {
width: 100%;
max-width: 500px;
height: 540px;
margin-inline: auto;
perspective: 1400px;
}

.phoenix-flip-inner {
position: relative;
width: 100%;
height: 100%;

transform-style: preserve-3d;
transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.phoenix-flip-card.is-flipped .phoenix-flip-inner {
transform: rotateY(180deg);
}

.phoenix-card-face {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 32px;
border: 1px solid #e1e9f3;
border-radius: 18px;
background: #fff;
box-shadow: 0 12px 30px rgba(23, 52, 93, .08);
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}

.phoenix-card-front {
align-items: flex-start;
justify-content: center;
}

.phoenix-card-back {
transform: rotateY(180deg);
padding: 26px;
background: #fbfdff;
}

.phoenix-card-index {
display: inline-block;
margin-bottom: 24px;
color: #2864b4;
font-size: 11px;
font-weight: 800;
letter-spacing: 1.5px;
}

.phoenix-icon-box {
display: flex;
align-items: center;
justify-content: center;
width: 76px;
height: 76px;
margin-bottom: 28px;
border: 2px solid #2864b4;
border-radius: 18px;
color: #2864b4;
font-size: 34px;
transition: color 0.2s ease, background-color 0.2s ease;
}

.phoenix-card-front h2 {
max-width: 420px;
margin-bottom: 16px;
color: #17345d;
font-size: clamp(25px, 3vw, 34px);
font-weight: 800;
line-height: 1.25;
}

.phoenix-card-front > p {
max-width: 400px;
margin-bottom: 28px;
color: #607087;
font-size: 15px;
line-height: 1.8;
}

.phoenix-action-btn,
.phoenix-contact-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 13px 20px;
border: 1px solid #2864b4;
border-radius: 8px;
background: #2864b4;
color: #fff;
font-size: 14px;
font-weight: 700;
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}

.phoenix-action-btn:hover,
.phoenix-contact-btn:hover {
color: #fff;
transform: translateY(-1px);
box-shadow: 0 6px 14px rgba(23, 52, 93, .14);
}

.phoenix-back-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}

.phoenix-back-heading .phoenix-card-index {
margin-bottom: 12px;
}

.phoenix-icon-btn {
display: flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
flex-shrink: 0;
border: 1px solid #b7cce6;
border-radius: 50%;
background: #fff;
color: #2864b4;
cursor: pointer;
}

.phoenix-typed-content {
flex: 1;
min-height: 0;
overflow-y: auto;
padding-right: 8px;
color: #4e6077;
font-size: 13px;
line-height: 1.7;
scrollbar-width: thin;
scrollbar-color: #9dbbe1 transparent;
}

.phoenix-typed-content h3 {
margin: 16px 0 8px;
color: #17345d;
font-size: 18px;
font-weight: 800;
}

.phoenix-typed-content h3:first-child {
margin-top: 0;
}

.phoenix-typed-content p {
margin-bottom: 12px;
}

.phoenix-typed-content strong {
color: #2864b4;
font-size: 12px;
letter-spacing: 0.5px;
}

.phoenix-card-navigation {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding-top: 16px;
margin-top: 12px;
border-top: 1px solid #e2ebf7;
}

.phoenix-nav-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 9px 12px;
border: 1px solid #2864b4;
border-radius: 8px;
background: #fff;
color: #2864b4;
font-size: 12px;
font-weight: 700;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
}

.phoenix-nav-btn:hover {
background: #2864b4;
color: #fff;
}

/* ==============================
TYPING / LOADING ANIMATION
============================== */

.phoenix-loader {
display: flex;
gap: 5px;
margin: 2px 0 14px;
transition: opacity 0.2s ease;
}

.phoenix-loader span {
width: 6px;
height: 6px;
border-radius: 50%;
background: #2864b4;
animation: phoenix-dot 0.8s infinite ease-in-out;
}

.phoenix-loader span:nth-child(2) {
animation-delay: 0.15s;
}

.phoenix-loader span:nth-child(3) {
animation-delay: 0.3s;
}

@keyframes phoenix-dot {
0%, 60%, 100% {
opacity: 0.3;
transform: translateY(0);
}

30% {
    opacity: 1;
    transform: translateY(-5px);
}

}

.phoenix-loader.is-hidden {
display: none;
}

.phoenix-typed-content.is-loading {
opacity: 0.45;
}

.phoenix-typed-content.is-ready {
opacity: 1;
animation: phoenix-content-appear 0.35s ease;
}

@keyframes phoenix-content-appear {
from {
opacity: 0;
transform: translateY(6px);
}

to {
    opacity: 1;
    transform: translateY(0);
}

}

/* ==============================
CONTACT SECTION
============================== */

.phoenix-contact-box {
position: relative;
overflow: hidden;

padding: 42px;
border: 1px solid #e1e9f3;
border-radius: 18px;
background: #fff;
box-shadow: 0 12px 30px rgba(23, 52, 93, .08);
}

.phoenix-contact-label {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 18px;
color: #2864b4;
font-size: 12px;
font-weight: 800;
letter-spacing: 1.5px;
}

.phoenix-contact-box h2 {
max-width: 570px;
margin-bottom: 18px;
color: #17345d;
font-size: clamp(30px, 4vw, 46px);
font-weight: 900;
line-height: 1.15;
}

.phoenix-contact-box h2 span {
display: block;
color: #2864b4;
}

.phoenix-contact-box > .row > div > p {
max-width: 550px;
margin-bottom: 22px;
color: #607087;
font-size: 15px;
line-height: 1.8;
}

.phoenix-contact-points {
display: flex;
flex-wrap: wrap;
gap: 18px;
}

.phoenix-contact-points span {
display: inline-flex;
align-items: center;
gap: 8px;
color: #17345d;
font-size: 13px;
font-weight: 700;
}

.phoenix-contact-points i {
color: #2864b4;
}

.phoenix-contact-action {
position: relative;
z-index: 1;
display: flex;
align-items: center;
flex-direction: column;
gap: 20px;
}

.phoenix-contact-btn {
width: 100%;
max-width: 230px;
padding: 16px 20px;
border-color: #17345d;
border-radius: 10px;
background: #2864b4;
font-size: 15px;
}

.phoenix-social-icons {
display: flex;
justify-content: center;
gap: 12px;
}

.phoenix-social-icons a {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
border: 1.5px solid #2864b4;
border-radius: 12px;
background: #fff;
color: #2864b4;
font-size: 18px;
text-decoration: none;
transition: transform 0.2s ease, background 0.2s ease,
color 0.2s ease;
}

.phoenix-social-icons a:hover {
background: #2864b4;
color: #fff;
transform: translateY(-2px);
}

/* ==============================
RESPONSIVE
============================== */

@media (max-width: 991.98px) {
.phoenix-flip-card {
height: 550px;
}

.phoenix-contact-action {
    align-items: flex-start;
    margin-top: 10px;
}

.phoenix-social-icons {
    justify-content: flex-start;
}

}

@media (max-width: 575.98px) {
.phoenix-about,
.phoenix-contact {
padding-top: 32px !important;
padding-bottom: 32px !important;
}

.phoenix-flip-card {
    height: 530px;
}

.phoenix-card-face {
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(23, 52, 93, .08);
}

.phoenix-card-back {
    padding: 18px;
}

.phoenix-card-front h2 {
    font-size: 26px;
}

.phoenix-card-front > p {
    font-size: 14px;
}

.phoenix-typed-content {
    font-size: 12px;
}

.phoenix-typed-content h3 {
    font-size: 16px;
}

.phoenix-card-navigation {
    gap: 6px;
}

.phoenix-nav-btn {
    padding: 8px;
    font-size: 11px;
}

.phoenix-contact-box {
    padding: 26px 22px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(23, 52, 93, .08);
}

.phoenix-contact-box h2 {
    font-size: 32px;
}

.phoenix-contact-points {
    flex-direction: column;
    gap: 10px;
}

}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
.phoenix-flip-inner,
.phoenix-action-btn,
.phoenix-contact-btn,
.phoenix-social-icons a {
transition: none;
}

.phoenix-loader span {
    animation: none;

}

}
/* =========================================
PHOENIX CONTACT PAGE
========================================= */

.phoenix-contact-page {
position: relative;
color: #111827;
background: transparent;
  font-family: "IBM Plex Mono", monospace;






}

.phoenix-contact-page *,
.phoenix-contact-page *::before,
.phoenix-contact-page *::after {
box-sizing: border-box;
}

.phoenix-contact-header {
max-width: 760px;
margin-inline: auto;
}

.phoenix-contact-eyebrow {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
color: #2864b4;
font-size: 12px;
font-weight: 800;
letter-spacing: 1.8px;
}

.phoenix-contact-header h1 {
margin: 0 0 16px;
color: #17345d;
font-size: clamp(32px, 5vw, 52px);
font-weight: 900;
line-height: 1.15;
letter-spacing: -1.2px;
}

.phoenix-contact-header h1 span {
color: #2864b4;
}

.phoenix-contact-header > p {
max-width: 600px;
margin: 0 auto;
color: #607087;
font-size: 15px;
line-height: 1.8;
}

/* =========================================
CONTACT INFORMATION
========================================= */

.phoenix-contact-info {
position: relative;
padding: 32px;
border: 2px solid #17345d;
border-radius: 18px;
background: #fff;
box-shadow: 6px 6px 0 #c9ddf5;
}

.phoenix-comic-label {
display: inline-block;
padding: 7px 11px;
border: 1.5px solid #17345d;
border-radius: 5px;
background: #eaf3ff;
color: #2864b4;
font-size: 10px;
font-weight: 900;
letter-spacing: 1px;
transform: rotate(-1deg);
}

.phoenix-contact-info > h2 {
margin: 24px 0 14px;
color: #17345d;
font-size: clamp(26px, 3vw, 34px);
font-weight: 900;
line-height: 1.25;
}

.phoenix-contact-description {
margin: 0 0 26px;
color: #607087;
font-size: 14px;
line-height: 1.8;
}

/* =========================================
CONTACT LINKS
========================================= */

.phoenix-contact-link {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
padding: 16px;
margin-top: 14px;
border: 1.5px solid #d5dfec;
border-radius: 12px;
background: #fff;
color: #17345d;
text-decoration: none;
transition: transform 0.2s ease,
border-color 0.2s ease,
box-shadow 0.2s ease;
}

.phoenix-contact-link:hover {
transform: translate(-2px, -2px);
border-color: #2864b4;
box-shadow: 4px 4px 0 #c9ddf5;
color: #17345d;
}

.phoenix-contact-link-icon {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
flex: 0 0 48px;
border: 1.5px solid #2864b4;
border-radius: 11px;
background: #eaf3ff;
color: #2864b4;
font-size: 22px;
}

.phoenix-contact-link-content {
display: flex;
flex: 1;
flex-direction: column;
min-width: 0;
gap: 4px;
}

.phoenix-contact-link-label {
color: #718097;
font-size: 9px;
font-weight: 800;
letter-spacing: 1.1px;
}

.phoenix-contact-link-content strong {
color: #17345d;
font-size: 15px;
font-weight: 800;
}

.phoenix-contact-link-value {
overflow-wrap: anywhere;
color: #607087;
font-size: 12px;
}

.phoenix-link-arrow {
flex: 0 0 auto;
align-self: center;
color: #2864b4;
font-size: 18px;
transition: transform 0.2s ease;
}

.phoenix-contact-link:hover .phoenix-link-arrow {
transform: translate(3px, -3px);
}

/* =========================================
SUPPORT NOTE
========================================= */

.phoenix-support-note {
display: flex;
align-items: flex-start;
gap: 11px;
margin-top: 25px;
padding-top: 20px;
border-top: 1px dashed #b8cbe4;
}

.phoenix-support-note > i {
flex: 0 0 auto;
margin-top: 2px;
color: #2864b4;
font-size: 18px;
}

.phoenix-support-note p {
margin: 0;
color: #607087;
font-size: 12px;
line-height: 1.8;
}

/* =========================================
FORM CARD
========================================= */

.phoenix-contact-form-card {
padding: 32px;
border: 2px solid #2864b4;
border-radius: 18px;
background: #fff;
box-shadow: 6px 6px 0 #c9ddf5;
}

.phoenix-form-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 26px;
padding-bottom: 22px;
border-bottom: 1px dashed #b8cbe4;
}

.phoenix-form-eyebrow {
color: #2864b4;
font-size: 10px;
font-weight: 900;
letter-spacing: 1.4px;
}

.phoenix-form-header h2 {
margin: 8px 0;
color: #17345d;
font-size: clamp(24px, 3vw, 32px);
font-weight: 900;
}

.phoenix-form-header p {
margin: 0;
color: #607087;
font-size: 13px;
line-height: 1.7;
}

.phoenix-form-icon {
display: flex;
align-items: center;
justify-content: center;
width: 52px;
height: 52px;
flex: 0 0 52px;
border: 2px solid #17345d;
border-radius: 12px;
background: #eaf3ff;
color: #2864b4;
font-size: 23px;
transform: rotate(3deg);
}

/* =========================================
FORM CONTROLS
========================================= */

.phoenix-contact-form .form-label {
display: block;
margin-bottom: 8px;
color: #17345d;
font-size: 12px;
font-weight: 800;
}

.phoenix-contact-form .form-label > span {
color: #2864b4;
}

.phoenix-contact-form .form-control,
.phoenix-contact-form .form-select {
width: 100%;
min-height: 47px;
padding: 12px 13px;
border: 1.5px solid #d5dfec;
border-radius: 9px;
background-color: #fff;
color: #17345d;
font-size: 13px;
box-shadow: none;
transition: border-color 0.2s ease,
box-shadow 0.2s ease;
}

.phoenix-contact-form .form-control::placeholder {
color: #94a1b2;
opacity: 1;
}

.phoenix-contact-form .form-control:focus,
.phoenix-contact-form .form-select:focus {
border-color: #2864b4;
box-shadow: 0 0 0 3px rgba(40, 100, 180, 0.12);
}

.phoenix-contact-form textarea.form-control {
min-height: 125px;
resize: vertical;
line-height: 1.7;
}

.phoenix-character-hint {
margin-top: 8px;
color: #718097;
font-size: 11px;
line-height: 1.6;
}

/* =========================================
SUBMIT BUTTON
========================================= */

.phoenix-submit-btn {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
width: 100%;
min-height: 52px;
margin-top: 8px;
padding: 9px 11px 9px 18px;
border: 2px solid #17345d;
border-radius: 9px;
background: #2864b4;
color: #fff;
font-size: 13px;
font-weight: 800;
cursor: pointer;
transition: transform 0.2s ease,
box-shadow 0.2s ease,
background-color 0.2s ease;
}

.phoenix-submit-btn:hover {
transform: translate(-2px, -2px);
box-shadow: 4px 4px 0 #17345d;
background: #20579e;
}

.phoenix-submit-btn:focus-visible {
outline: 3px solid #8cb8f0;
outline-offset: 3px;
}

.phoenix-submit-icon {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
flex: 0 0 32px;
border-radius: 7px;
background: #fff;
color: #2864b4;
font-size: 17px;
}

.phoenix-privacy-note {
display: flex;
align-items: flex-start;
gap: 9px;
margin-top: 20px;
color: #718097;
font-size: 11px;
line-height: 1.7;
}

.phoenix-privacy-note > i {
flex: 0 0 auto;
color: #2864b4;
font-size: 15px;
}

/* =========================================
ACADEMY ANNOUNCEMENT
========================================= */

.phoenix-announcement {
display: flex;
align-items: flex-start;
gap: 22px;
padding: 28px;
border: 2px solid #17345d;
border-radius: 17px;
background: #fff;
box-shadow: 6px 6px 0 #c9ddf5;
}

.phoenix-announcement-icon {
display: flex;
align-items: center;
justify-content: center;
width: 55px;
height: 55px;
flex: 0 0 55px;
border: 2px solid #17345d;
border-radius: 12px;
background: #eaf3ff;
color: #2864b4;
font-size: 24px;
transform: rotate(-2deg);
}

.phoenix-announcement-content {
flex: 1;
min-width: 0;
}

.phoenix-announcement-content h2 {
margin: 17px 0 10px;
color: #17345d;
font-size: 23px;
font-weight: 900;
}

.phoenix-announcement-content > p {
margin-bottom: 18px;
color: #607087;
font-size: 13px;
line-height: 1.8;
}

.phoenix-announcement-message {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 13px;
border: 1px dashed #b8cbe4;
border-radius: 9px;
background: #f4f8ff;
color: #4f6380;
font-size: 12px;
line-height: 1.7;
}

.phoenix-announcement-message > i {
flex: 0 0 auto;
margin-top: 2px;
color: #2864b4;
font-size: 15px;
}

/* =========================================
RESPONSIVE
========================================= */

@media (max-width: 991.98px) {
.phoenix-contact-info,
.phoenix-contact-form-card {
padding: 26px;
}
}

@media (max-width: 575.98px) {
.phoenix-contact-page {
padding-top: 32px !important;
padding-bottom: 32px !important;
}

.phoenix-contact-header {
    margin-bottom: 32px !important;
}

.phoenix-contact-header h1 {
    font-size: 33px;
    letter-spacing: -0.7px;
}

.phoenix-contact-header > p {
    font-size: 13px;
}

.phoenix-contact-info,
.phoenix-contact-form-card {
    padding: 21px;
    border-radius: 14px;
    box-shadow: 4px 4px 0 #c9ddf5;
}

.phoenix-contact-info > h2 {
    font-size: 27px;
}

.phoenix-form-header h2 {
    font-size: 25px;
}

.phoenix-form-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    font-size: 20px;
}

.phoenix-contact-form .form-control,
.phoenix-contact-form .form-select {
    font-size: 14px;
}

.phoenix-announcement {
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 4px 4px 0 #c9ddf5;
}

.phoenix-announcement-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 19px;
}

.phoenix-announcement-content h2 {
    font-size: 19px;
}

}

/* =========================================
REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
.phoenix-contact-link,
.phoenix-link-arrow,
.phoenix-submit-btn {
transition: none;
}
}
/* Main section: transparent to preserve the existing page background */
.phoenix-mock-page {
    padding: 75px 0 65px;
    color: #111827;

  font-family: "IBM Plex Mono", monospace;




    background: transparent;
}

.phoenix-mock-page .container {
    max-width: 1140px;
}

/* Header */
.mock-header {
    max-width: 760px;
    margin: 0 auto 42px;
}

.mock-label {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 15px;
    border: 1px solid rgba(38, 101, 176, 0.3);
    border-radius: 30px;
    color: #1760a8;
    background: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.mock-header h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -1.5px;
}

.mock-subtitle {
    margin-bottom: 12px;
    color: #cfe5ff;
    font-size: 22px;
    font-weight: 600;
}

.mock-description {
    max-width: 620px;
    margin: 0 auto;
    color: #f0f6ff;
    font-size: 16px;
    line-height: 1.8;
}

/* Instructions panel */
.mock-instructions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    padding: 22px 25px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 25px rgba(10, 39, 76, 0.08);
}

.instruction-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    color: #ffffff;
    background: #1760a8;
    font-size: 24px;
}

.instruction-content {
    flex: 1;
}

.instruction-content h2 {
    margin: 0 0 5px;
    color: #16365d;
    font-size: 20px;
    font-weight: 750;
}

.instruction-content p {
    margin: 0;
    color: #63758b;
    font-size: 14px;
    line-height: 1.6;
}

.login-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1760a8;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Cards */
.mock-card-row {
    align-items: stretch;
}

.mock-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(10, 39, 76, 0.1);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.mock-card:hover {
    transform: translateY(-6px);
    border-color: #8db9eb;
    box-shadow: 0 18px 38px rgba(10, 39, 76, 0.16);
}

.mock-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.mock-number {
    color: #9aaabd;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.mock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    color: #17603b;
    background: #e8f7ee;
    font-size: 12px;
    font-weight: 700;
}

.mock-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 22px;
    border-radius: 13px;
    color: #1760a8;
    background: #eaf3ff;
    font-size: 26px;
}

.mock-card h3 {
    margin: 0 0 9px;
    color: #17365d;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.4;
}

.mock-card-description {
    min-height: 44px;
    margin: 0;
    color: #697b90;
    font-size: 14px;
    line-height: 1.7;
}

.mock-card-divider {
    width: 100%;
    height: 1px;
    margin: 20px 0 15px;
    background: #e8edf3;
}

.mock-card-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 22px;
    color: #5b6f85;
    font-size: 13px;
    line-height: 1.6;
}

.mock-card-info i {
    margin-top: 2px;
    color: #1760a8;
}

/* Continue button */
.mock-next-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding: 13px 18px;
    border: 1px solid #1760a8;
    border-radius: 8px;
    color: #ffffff;
    background: #1760a8;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        gap 0.2s ease;
}

.mock-next-btn:hover {
    gap: 15px;
    border-color: #104578;
    color: #ffffff;
    background: #104578;
}

.mock-next-btn:focus-visible {
    outline: 3px solid #9bc9ff;
    outline-offset: 3px;
}

.mock-footer-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 720px;
    margin: 32px auto 0;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(14, 48, 88, 0.45);
}

.mock-footer-note i {
    margin-top: 3px;
    color: #cfe5ff;
}

.mock-footer-note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.phoenix-auth-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 760px;
    margin: 32px auto 0;
    padding: 18px 20px;
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    color: #17345d;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(16, 42, 67, 0.08);
}

.phoenix-auth-callout-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 18px;
}

.phoenix-auth-callout > i {
    color: #2864b4;
}

.phoenix-auth-callout p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.phoenix-auth-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.phoenix-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 140px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #2864b4;
    border-radius: 8px;
    color: #ffffff;
    background: #2864b4;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    transition: width 0.32s ease, height 0.32s ease, padding 0.32s ease,
        border-radius 0.32s ease, color 0.2s ease, background 0.2s ease;
}

.phoenix-auth-link:hover {
    color: #ffffff;
    background: #17345d;
}

.phoenix-auth-link-secondary {
    color: #2864b4;
    background: #ffffff;
}

.phoenix-auth-link-secondary:hover {
    color: #ffffff;
}

.phoenix-auth-link span {
    transition: opacity 0.16s ease;
}

.phoenix-auth-link.is-transitioning {
    box-sizing: border-box;
    align-self: center;
    flex: 0 0 46px;
    width: 46px !important;
    min-width: 46px;
    height: 46px !important;
    padding: 0;
    border-radius: 8px;
    color: transparent;
    margin-inline: auto;
}

.phoenix-auth-link.is-transitioning span {
    width: 0;
    opacity: 0;
}

.phoenix-auth-link.is-transitioning i {
    color: #ffffff;
}

.phoenix-auth-link-secondary.is-transitioning i {
    color: #2864b4;
}

/* Tablet */
@media (max-width: 991.98px) {
    .phoenix-mock-page {
        padding: 55px 0;
    }

    .mock-card {
        min-height: 340px;
    }

    .mock-instructions {
        flex-wrap: wrap;
    }

    .login-note {
        width: 100%;
        padding-left: 70px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .phoenix-mock-page {
        padding: 40px 0;
    }

    .mock-header {
        margin-bottom: 30px;
    }

    .mock-header h1 {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .mock-subtitle {
        font-size: 19px;
    }

    .mock-description {
        font-size: 14px;
    }

    .mock-instructions {
        align-items: flex-start;
        gap: 13px;
        padding: 18px;
    }

    .instruction-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    .instruction-content h2 {
        font-size: 17px;
    }

    .instruction-content p {
        font-size: 13px;
    }

    .login-note {
        padding-left: 0;
        font-size: 12px;
    }

    .mock-card {
        min-height: auto;
        padding: 22px;
    }

    .mock-card h3 {
        font-size: 21px;
    }

    .mock-footer-note {
        padding: 14px;
    }

    .phoenix-auth-callout,
    .phoenix-auth-callout-content {
        align-items: stretch;
        flex-direction: column;
    }

    .phoenix-auth-callout {
        padding: 16px;
    }

    .phoenix-auth-actions {
        flex-direction: column;
    }

    .phoenix-auth-link {
        width: 140px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .mock-card,
    .mock-next-btn,
    .phoenix-auth-link,
    .phoenix-auth-link span {
        transition: none;
    }

    .mock-card:hover {
        transform: none;
    }
}
/* Main section */
.phoenix-account-page {
    padding: 65px 15px;
    background: transparent;
    color: #17365d;
    font-family: inherit;
}

/* Account card */
.account-card {
    overflow: hidden;
    padding: 32px;
    border: 1px solid #e3ebf5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(15, 50, 90, 0.12);
}

/* Brand */
.account-brand {
    margin-bottom: 25px;
    text-align: center;
}

.account-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 14px;
    border-radius: 14px;
    color: #ffffff;
    background: #1760a8;
    font-size: 26px;
}

.account-brand h2 {
    margin: 0 0 7px;
    color: #17365d;
    font-size: 21px;
    font-weight: 750;
}

.account-brand p {
    margin: 0;
    color: #718198;
    font-size: 13px;
}

/* Tabs */
.account-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 28px;
    padding: 5px;
    border-radius: 9px;
    background: #f0f5fb;
}

.account-tab {
    flex: 1;
    padding: 11px 8px;
    border: none;
    border-radius: 7px;
    color: #63758b;
    background: transparent;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: 0.2s ease;
}

.account-tab.active {
    color: #1760a8;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(20, 50, 85, 0.09);
}

/* Form headings */
.account-form h3 {
    margin: 0 0 8px;
    color: #17365d;
    font-size: 23px;
    font-weight: 750;
}

.form-description {
    margin: 0 0 23px;
    color: #718198;
    font-size: 13px;
    line-height: 1.7;
}

/* Form fields */
.account-field {
    margin-bottom: 18px;
}

.account-field label {
    display: block;
    margin-bottom: 8px;
    color: #263e5c;
    font-size: 13px;
    font-weight: 650;
}

.account-field input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    outline: none;
    color: #17365d;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-field input::placeholder {
    color: #a0adbd;
}

.account-field input:focus {
    border-color: #1760a8;
    box-shadow: 0 0 0 3px rgba(23, 96, 168, 0.1);
}

/* Remember me and forgot password */
.account-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 2px 0 22px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #63758b;
    font-size: 12px;
    cursor: pointer;
}

.remember-option input {
    accent-color: #1760a8;
}

.forgot-password,
.account-switch-text button {
    padding: 0;
    border: none;
    color: #1760a8;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.forgot-password:hover,
.account-switch-text button:hover {
    color: #104578;
    text-decoration: underline;
}

/* Submit button */
.account-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 47px;
    padding: 12px 16px;
    border: 1px solid #1760a8;
    border-radius: 8px;
    color: #ffffff;
    background: #1760a8;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.account-submit:hover {
    transform: translateY(-1px);
    border-color: #104578;
    background: #104578;
}

.account-submit:focus-visible,
.account-tab:focus-visible,
.forgot-password:focus-visible {
    outline: 3px solid #9bc9ff;
    outline-offset: 3px;
}

/* Switch between login and signup */
.account-switch-text {
    margin: 22px 0 0;
    color: #718198;
    font-size: 12px;
    text-align: center;
}

.account-switch-text button {
    margin-left: 3px;
}

/* Forgot password */
.back-to-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 0;
    border: none;
    color: #1760a8;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.forgot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 12px;
    color: #1760a8;
    background: #eaf3ff;
    font-size: 23px;
}

/* Status message */
.account-message {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid #cfe1f7;
    border-radius: 8px;
    color: #174b80;
    background: #eff6ff;
    font-size: 13px;
    line-height: 1.6;
}

/* Footer */
.account-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #edf1f6;
    color: #8190a3;
    font-size: 11px;
    text-align: center;
}

.account-footer i {
    color: #1760a8;
    font-size: 15px;
}

/* Hidden forms */
.account-form[hidden],
.account-message[hidden] {
    display: none !important;
}

/* Mobile */
@media (max-width: 575.98px) {
    .phoenix-account-page {
        padding: 35px 10px;
    }

    .account-card {
        padding: 24px 20px;
        border-radius: 13px;
    }

    .account-brand h2 {
        font-size: 19px;
    }

    .account-form h3 {
        font-size: 21px;
    }

    .account-form-options {
        align-items: flex-start;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .account-tab,
    .account-field input,
    .account-submit {
        transition: none;
    }
}

body:has(.phoenix-mock-page),
body:has(.phoenix-contact-page),
body:has(.phoenix-dashboard-page) {
    color: #111827;
    background: linear-gradient(135deg, #e4f0ff 0%, #ffffff 52%, #d5e7ff 100%);
}

body:has(.phoenix-mock-page),
body:has(.phoenix-contact-page) {
    font-family: Arial, Helvetica, sans-serif;
}

.phoenix-mock-page .mock-label,
.phoenix-mock-page .mock-header h1,
.phoenix-mock-page .mock-subtitle,
.phoenix-mock-page .mock-description,
.phoenix-mock-page .instruction-content h2,
.phoenix-mock-page .instruction-content p,
.phoenix-mock-page .login-note,
.phoenix-mock-page .mock-number,
.phoenix-mock-page .mock-status,
.phoenix-mock-page .mock-card h3,
.phoenix-mock-page .mock-card-description,
.phoenix-mock-page .mock-card-info,
.phoenix-mock-page .mock-footer-note {
    color: #111827;
}

.phoenix-mock-page .mock-footer-note {
    border-color: #d7e2ee;
    background: rgba(255, 255, 255, 0.92);
}

.phoenix-contact-page :is(
    h1, h2, h3, h4, p, label, li, strong,
    .phoenix-contact-eyebrow, .phoenix-comic-label, .phoenix-form-eyebrow,
    .phoenix-contact-link-label, .phoenix-contact-link-value,
    .phoenix-character-hint, .phoenix-privacy-note, .phoenix-announcement-message
) {
    color: #111827;
}
/* =========================================
   PHOENIX ADC ACADEMY — STUDENT DASHBOARD
   Primary: Blue | Background: Transparent
========================================= */

/* ---------- GLOBAL DASHBOARD ---------- */

.phoenix-dashboard-page {
    width: 100%;
    min-height: 100vh;
    padding: 28px 0 40px;
    color: #243247;
    font-family: inherit;
    background: transparent;
    box-sizing: border-box;
    --phoenix-blue: #1769c2;
    --phoenix-blue-dark: #104d91;
    --phoenix-blue-light: #eaf3ff;
    --phoenix-blue-border: #dce8f6;
    --phoenix-text: #243247;
    --phoenix-muted: #718096;
    --phoenix-white: #ffffff;
    --phoenix-green: #198754;
    --phoenix-orange: #e99a32;
    --phoenix-radius: 16px;
    --phoenix-shadow: 0 5px 22px rgba(25, 62, 105, 0.06);
}

.phoenix-dashboard-page *,
.phoenix-dashboard-page *::before,
.phoenix-dashboard-page *::after { box-sizing: border-box; }
.phoenix-dashboard-page h1,
.phoenix-dashboard-page h2,
.phoenix-dashboard-page h3,
.phoenix-dashboard-page h4,
.phoenix-dashboard-page p { margin-top: 0; }
.phoenix-dashboard-page a { text-decoration: none; }
.phoenix-dashboard-page button,
.phoenix-dashboard-page input,
.phoenix-dashboard-page textarea { font: inherit; }
.dashboard-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- SHARED SECTION STYLES ---------- */

.dashboard-section {
    width: 100%;
    margin-bottom: 28px;
}

.dashboard-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-section-title h2 {
    margin-bottom: 0;
    color: var(--phoenix-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.dashboard-section-title p {
    margin: 5px 0 0;
    color: var(--phoenix-muted);
    font-size: 13px;
    line-height: 1.6;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--phoenix-blue);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.1px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* ---------- WELCOME HEADER ---------- */

.dashboard-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    margin-bottom: 28px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(115deg, #1556a5 0%, #2179d3 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(23, 105, 194, 0.15);
    animation: phoenixSoftAppear 0.45s ease-out both;
}

.dashboard-header::before {
    content: "";
    position: absolute;
    top: -75px;
    right: -45px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-header::after {
    content: "";
    position: absolute;
    right: 60px;
    bottom: -115px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-welcome,
.dashboard-header-action {
    position: relative;
    z-index: 1;
}

.dashboard-welcome {
    min-width: 0;
}

.dashboard-welcome .welcome-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.dashboard-welcome h1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dashboard-welcome p {
    max-width: 560px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.87);
    font-size: 14px;
    line-height: 1.8;
}

.welcome-wave {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    font-size: 17px;
}

.dashboard-header-action {
    flex-shrink: 0;
}

.dashboard-header-action .dashboard-primary-btn {
    color: var(--phoenix-blue-dark);
    background: #ffffff;
    border-color: #ffffff;
}

.dashboard-header-action .dashboard-primary-btn:hover {
    color: var(--phoenix-blue-dark);
    background: #edf5ff;
    border-color: #edf5ff;
}

/* ---------- BUTTONS ---------- */

.dashboard-primary-btn,
.dashboard-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.dashboard-primary-btn {
    color: #ffffff;
    background: var(--phoenix-blue);
    border-color: var(--phoenix-blue);
}

.dashboard-primary-btn:hover {
    color: #ffffff;
    background: var(--phoenix-blue-dark);
    border-color: var(--phoenix-blue-dark);
}

.dashboard-secondary-btn {
    color: var(--phoenix-blue);
    background: #ffffff;
    border-color: var(--phoenix-blue-border);
}

.dashboard-secondary-btn:hover {
    color: var(--phoenix-blue-dark);
    background: var(--phoenix-blue-light);
    border-color: #bfd5f0;
}

.dashboard-primary-btn:focus-visible,
.dashboard-secondary-btn:focus-visible,
.phoenix-dashboard-page a:focus-visible,
.phoenix-dashboard-page input:focus-visible,
.phoenix-dashboard-page textarea:focus-visible,
.phoenix-dashboard-page button:focus-visible {
    outline: 3px solid rgba(23, 105, 194, 0.25);
    outline-offset: 3px;
}

/* ---------- COURSE OVERVIEW ---------- */

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

.overview-card {
    position: relative;
    min-width: 0;
    padding: 23px;
    background: #ffffff;
    border: 1px solid var(--phoenix-blue-border);
    border-radius: var(--phoenix-radius);
    box-shadow: var(--phoenix-shadow);
    animation: phoenixSoftAppear 0.45s ease-out both;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.overview-card:nth-child(2) {
    animation-delay: 0.06s;
}

.overview-card:nth-child(3) {
    animation-delay: 0.12s;
}

.overview-card:hover {
    border-color: #bfd5f0;
    box-shadow: 0 8px 24px rgba(24, 63, 112, 0.08);
}

.overview-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    color: var(--phoenix-blue);
    background: var(--phoenix-blue-light);
    border-radius: 12px;
    font-size: 21px;
}

.overview-label {
    display: block;
    margin-bottom: 7px;
    color: var(--phoenix-muted);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.5;
}

.overview-card h3 {
    margin-bottom: 7px;
    color: var(--phoenix-text);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.overview-card p {
    margin-bottom: 0;
    color: var(--phoenix-muted);
    font-size: 13px;
    line-height: 1.7;
}

.overview-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    color: #187747;
    background: #e9f8ef;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.overview-status::before {
    content: "";
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    background: #198754;
    border-radius: 50%;
}

.overview-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
    color: var(--phoenix-blue);
    font-size: 13px;
    font-weight: 700;
}

.overview-card-link:hover {
    color: var(--phoenix-blue-dark);
}

/* ---------- GENERAL WHITE PANELS ---------- */

.dashboard-panel,
.timetable-card,
.feature-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--phoenix-blue-border);
    border-radius: var(--phoenix-radius);
    box-shadow: var(--phoenix-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-panel {
    width: 100%;
    padding: 24px;
    animation: phoenixSoftAppear 0.5s ease-out both;
}

.dashboard-panel:hover,
.timetable-card:hover,
.feature-card:hover {
    border-color: #cbdcf0;
    box-shadow: 0 8px 24px rgba(24, 63, 112, 0.07);
}

.dashboard-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.dashboard-panel-header h2 {
    margin-bottom: 5px;
    color: var(--phoenix-text);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
}

.dashboard-panel-header p {
    margin-bottom: 0;
    color: var(--phoenix-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* ---------- MAIN TWO-COLUMN LAYOUT ---------- */

.dashboard-main-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
}

.dashboard-column {
    display: grid;
    align-content: start;
    gap: 22px;
    min-width: 0;
}

/* ---------- WEEKLY TIMETABLE ---------- */

.timetable-card {
    padding: 24px;
    animation: phoenixSoftAppear 0.5s ease-out both;
}

.timetable-list {
    display: grid;
    gap: 12px;
}

.timetable-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 15px;
    background: #f8fbff;
    border: 1px solid #e8eff8;
    border-radius: 11px;
}

.timetable-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    padding: 8px;
    color: var(--phoenix-blue);
    background: #eaf3ff;
    border-radius: 9px;
    text-align: center;
}

.timetable-day strong {
    font-size: 13px;
    font-weight: 750;
}

.timetable-day span {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 600;
}

.timetable-info {
    min-width: 0;
}

.timetable-info h3 {
    margin-bottom: 5px;
    color: var(--phoenix-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.timetable-info p {
    margin-bottom: 0;
    color: var(--phoenix-muted);
    font-size: 12px;
    line-height: 1.6;
}

.timetable-time {
    color: #53677f;
    font-size: 11px;
    font-weight: 650;
    text-align: right;
    white-space: nowrap;
}

.timetable-empty {
    padding: 25px 15px;
    color: var(--phoenix-muted);
    background: #f8fbff;
    border: 1px dashed #d6e3f2;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* ---------- TODAY'S CLASS ---------- */

.today-class-card {
    overflow: hidden;
}

.today-class-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    margin-bottom: 20px;
    background: #edf5ff;
    border: 1px solid #dceaff;
    border-radius: 12px;
}

.today-class-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--phoenix-blue);
    background: #ffffff;
    border: 1px solid #dceaff;
    border-radius: 12px;
    font-size: 22px;
}

.today-class-info {
    min-width: 0;
}

.today-class-info span {
    display: block;
    margin-bottom: 5px;
    color: var(--phoenix-blue);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.today-class-info h3 {
    margin-bottom: 4px;
    color: var(--phoenix-text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.today-class-info p {
    margin-bottom: 0;
    color: var(--phoenix-muted);
    font-size: 12px;
    line-height: 1.6;
}

.today-class-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.class-detail {
    padding: 13px;
    background: #fafcff;
    border: 1px solid #edf1f7;
    border-radius: 10px;
}

.class-detail span {
    display: block;
    margin-bottom: 6px;
    color: var(--phoenix-muted);
    font-size: 11px;
}

.class-detail strong {
    display: block;
    color: var(--phoenix-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.today-class-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.today-class-actions > * {
    flex: 1 1 150px;
}

/* ---------- TODAY'S TASKS ---------- */

.task-progress {
    margin-bottom: 20px;
}

.task-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.task-progress-header span {
    color: var(--phoenix-muted);
    font-size: 12px;
}

.task-progress-header strong {
    color: var(--phoenix-blue);
    font-size: 12px;
    font-weight: 750;
}

.task-progress-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    background: #eaf0f7;
    border-radius: 20px;
}

.task-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    background: var(--phoenix-blue);
    border-radius: inherit;
    transition: width 0.25s ease;
}

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

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px;
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.task-item:hover {
    background: #f8fbff;
    border-color: #cbdcf0;
}

.task-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin: 2px 0 0;
    accent-color: var(--phoenix-blue);
    cursor: pointer;
}

.task-item span {
    color: var(--phoenix-text);
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.task-item:has(input:checked) {
    background: #f5fbf7;
}

.task-item:has(input:checked) span {
    color: #718096;
    text-decoration: line-through;
}

.task-empty {
    padding: 18px;
    color: var(--phoenix-muted);
    background: #f8fbff;
    border: 1px dashed #d6e3f2;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.7;
}

/* ---------- FEATURE CARDS ---------- */

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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 21px;
    color: var(--phoenix-text);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    color: var(--phoenix-blue);
    background: var(--phoenix-blue-light);
    border-radius: 11px;
    font-size: 21px;
}

.feature-card h3 {
    margin-bottom: 8px;
    color: var(--phoenix-text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}

.feature-card p {
    margin-bottom: 17px;
    color: var(--phoenix-muted);
    font-size: 12px;
    line-height: 1.8;
}

.feature-card .dashboard-primary-btn,
.feature-card .dashboard-secondary-btn {
    width: 100%;
    margin-top: auto;
}

/* ---------- LEARNING ANALYTICS ---------- */

.analytics-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.analytics-stat {
    padding: 17px;
    background: #f7faff;
    border: 1px solid #e7eef8;
    border-radius: 11px;
}

.analytics-stat span {
    display: block;
    margin-bottom: 8px;
    color: var(--phoenix-muted);
    font-size: 12px;
    line-height: 1.5;
}

.analytics-stat strong {
    display: block;
    color: var(--phoenix-blue-dark);
    font-size: 24px;
    font-weight: 750;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.analytics-stat small {
    display: block;
    margin-top: 5px;
    color: var(--phoenix-muted);
    font-size: 11px;
    line-height: 1.6;
}

.analytics-progress-item {
    margin-bottom: 17px;
}

.analytics-progress-item:last-child {
    margin-bottom: 0;
}

.analytics-progress-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.analytics-progress-heading span {
    color: var(--phoenix-text);
    font-size: 12px;
    font-weight: 600;
}

.analytics-progress-heading strong {
    color: var(--phoenix-blue);
    font-size: 12px;
    font-weight: 750;
}

.analytics-progress-track {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: #eaf0f7;
    border-radius: 20px;
}

.analytics-progress-fill {
    display: block;
    height: 100%;
    background: var(--phoenix-blue);
    border-radius: inherit;
}

/* ---------- ACADEMIC SUPPORT / CONTACT ---------- */

.support-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 34px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--phoenix-blue-border);
    border-radius: 18px;
    box-shadow: var(--phoenix-shadow);
    animation: phoenixSoftAppear 0.5s ease-out both;
}

.support-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--phoenix-blue);
    background: var(--phoenix-blue-light);
    border-radius: 12px;
    font-size: 22px;
}

.support-text {
    min-width: 0;
}

.support-text .section-kicker {
    margin-bottom: 9px;
}

.support-text h2 {
    margin-bottom: 10px;
    color: var(--phoenix-text);
    font-size: 23px;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.support-text p {
    margin-bottom: 0;
    color: var(--phoenix-muted);
    font-size: 13px;
    line-height: 1.9;
}

.support-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    padding: 21px;
    background: #f8fbff;
    border: 1px solid #e8eff8;
    border-radius: 13px;
}

.support-form .form-label {
    display: block;
    margin-bottom: 9px;
    color: var(--phoenix-text);
    font-size: 12px;
    font-weight: 700;
}

.support-form textarea {
    display: block;
    width: 100%;
    min-height: 105px;
    padding: 13px 14px;
    resize: vertical;
    color: var(--phoenix-text);
    background: #ffffff;
    border: 1px solid #dce6f2;
    border-radius: 9px;
    outline: none;
    font-size: 13px;
    line-height: 1.7;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-form textarea::placeholder {
    color: #98a6b8;
}

.support-form textarea:focus {
    border-color: var(--phoenix-blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 194, 0.1);
}

.support-form .dashboard-primary-btn {
    width: 100%;
    margin-top: 13px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: #198754;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.whatsapp-link:hover {
    color: #126b40;
    border-radius: 100px;
}

/* ---------- EMPTY STATES ---------- */

.dashboard-empty-state {
    padding: 28px 18px;
    color: var(--phoenix-muted);
    background: #f8fbff;
    border: 1px dashed #d5e2f2;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.dashboard-empty-state i {
    display: block;
    margin-bottom: 10px;
    color: #8ba9cc;
    font-size: 27px;
}

/* ---------- FOOTER ---------- */

.dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 1px solid rgba(190, 208, 230, 0.65);
}

.dashboard-footer p {
    margin-bottom: 0;
    color: var(--phoenix-muted);
    font-size: 11px;
    line-height: 1.7;
}

.dashboard-footer a {
    color: var(--phoenix-blue);
    font-size: 11px;
    font-weight: 650;
}

.dashboard-footer a:hover {
    color: var(--phoenix-blue-dark);
}

/* ---------- ANIMATION ---------- */

@keyframes phoenixSoftAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- TABLET ---------- */

@media (max-width: 991.98px) {
    .phoenix-dashboard-page {
        padding-top: 22px;
    }

    .dashboard-container {
        width: min(100% - 32px, 760px);
    }

    .dashboard-header {
        padding: 26px;
    }

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

    .overview-card:last-child {
        grid-column: 1 / -1;
    }

    .dashboard-main-grid {
        gap: 20px;
    }

    .dashboard-column {
        gap: 20px;
    }

    .support-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 26px;
    }

    .support-form {
        padding: 20px;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 575.98px) {
    .phoenix-dashboard-page {
        padding: 16px 0 28px;
    }

    .dashboard-container {
        width: calc(100% - 24px);
    }

    .dashboard-section {
        margin-bottom: 21px;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 22px 19px;
        margin-bottom: 22px;
        border-radius: 15px;
    }

    .dashboard-header::before {
        top: -100px;
        right: -100px;
    }

    .dashboard-header::after {
        right: -40px;
        bottom: -145px;
    }

    .dashboard-welcome h1 {
        font-size: 25px;
    }

    .dashboard-welcome p {
        font-size: 13px;
    }

    .dashboard-header-action {
        width: 100%;
    }

    .dashboard-header-action .dashboard-primary-btn {
        width: 100%;
    }

    .dashboard-section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-bottom: 14px;
    }

    .dashboard-section-title h2 {
        font-size: 19px;
    }

    .overview-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .overview-card:last-child {
        grid-column: auto;
    }

    .overview-card {
        padding: 19px;
    }

    .overview-card-top {
        margin-bottom: 15px;
    }

    .overview-card h3 {
        font-size: 18px;
    }

    .dashboard-panel,
    .timetable-card {
        padding: 19px;
        border-radius: 14px;
    }

    .dashboard-panel-header {
        margin-bottom: 16px;
    }

    .dashboard-panel-header h2 {
        font-size: 18px;
    }

    .dashboard-column {
        gap: 17px;
    }

    .timetable-list {
        gap: 10px;
    }

    .timetable-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 11px;
        padding: 12px;
    }

    .timetable-day {
        min-height: 50px;
        padding: 6px;
    }

    .timetable-time {
        grid-column: 2;
        text-align: left;
        white-space: normal;
    }

    .today-class-banner {
        align-items: flex-start;
        padding: 14px;
    }

    .today-class-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .today-class-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .today-class-actions {
        flex-direction: column;
    }

    .today-class-actions > * {
        width: 100%;
        flex-basis: auto;
    }

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

    .feature-card {
        padding: 19px;
    }

    .analytics-summary {
        gap: 10px;
    }

    .analytics-stat {
        padding: 13px;
    }

    .analytics-stat strong {
        font-size: 22px;
    }

    .support-section {
        gap: 21px;
        padding: 19px;
        border-radius: 15px;
    }

    .support-content {
        gap: 12px;
    }

    .support-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .support-text h2 {
        font-size: 20px;
    }

    .support-text p {
        font-size: 12px;
        line-height: 1.8;
    }

    .support-form {
        padding: 15px;
    }

    .support-form textarea {
        min-height: 100px;
    }

    .dashboard-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
    .phoenix-dashboard-page *,
    .phoenix-dashboard-page *::before,
    .phoenix-dashboard-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dashboard template classes */
.phoenix-dashboard-page > .container {
    max-width: 1180px;
}

.dashboard-header > div:first-child {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.dashboard-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.dashboard-header > div:first-child h1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dashboard-header > div:first-child p {
    max-width: 560px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.8;
}

.dashboard-date {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.course-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.course-overview .overview-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mock-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.mock-feature {
    min-height: 220px;
}

.mock-feature .feature-label {
    margin-bottom: 8px;
    color: var(--phoenix-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.mock-feature h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.mock-feature p {
    margin-bottom: 20px;
    font-size: 13px;
}

.mock-feature .feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--phoenix-blue);
    font-size: 13px;
    font-weight: 700;
}

.mock-feature .feature-link:hover {
    color: var(--phoenix-blue-dark);
}

.shared-notes-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--phoenix-blue-border);
    border-radius: var(--phoenix-radius);
    box-shadow: var(--phoenix-shadow);
}

.shared-notes-card h2 {
    margin-bottom: 8px;
    color: var(--phoenix-text);
    font-size: 21px;
    font-weight: 750;
}

.shared-notes-card > p:not(.glass-message) {
    margin-bottom: 16px;
    color: var(--phoenix-muted);
    font-size: 13px;
    line-height: 1.7;
}

.shared-notes-card > .glass-message {
    margin-bottom: 14px;
}

.shared-notes-card [data-shared-notes] > [class*="col-"] {
    display: flex;
}

.shared-notes-card [data-shared-notes] .card {
    width: 100%;
    border-color: var(--phoenix-blue-border);
    border-radius: 12px;
    box-shadow: none;
}

.overview-card h2 {
    margin: 0 0 7px;
    color: var(--phoenix-text);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    color: var(--phoenix-text);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.section-heading p {
    margin: 5px 0 0;
    color: var(--phoenix-muted);
    font-size: 13px;
    line-height: 1.6;
}

.section-heading-icon,
.task-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    color: var(--phoenix-blue);
    background: var(--phoenix-blue-light);
    font-size: 19px;
}

.timetable-footer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-top: 14px;
    color: var(--phoenix-muted);
    font-size: 12px;
    line-height: 1.6;
}

.timetable-footer i {
    flex-shrink: 0;
    color: var(--phoenix-blue);
}

.phoenix-table {
    min-width: 680px;
    color: var(--phoenix-text);
    font-size: 13px;
}

.phoenix-table th {
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.phoenix-table td {
    min-width: 110px;
    color: var(--phoenix-text);
    line-height: 1.5;
}

.schedule-subject,
.schedule-time {
    display: block;
}

.schedule-subject {
    color: var(--phoenix-text);
    font-weight: 650;
}

.schedule-time {
    margin-top: 3px;
    color: var(--phoenix-muted);
    font-size: 11px;
}

.dashboard-main-grid > [class*="col-"] {
    display: flex;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.panel-heading h2 {
    margin: 0 0 5px;
    color: var(--phoenix-text);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
}

.panel-heading p {
    margin: 0;
    color: var(--phoenix-muted);
    font-size: 13px;
    line-height: 1.7;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 6px 9px;
    border-radius: 20px;
    color: #166534;
    background: #e8f7ee;
    font-size: 11px;
    font-weight: 700;
}

.live-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22a35a;
}

.class-illustration {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid #dceaff;
    border-radius: 12px;
    background: #edf5ff;
}

.class-illustration-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    color: var(--phoenix-blue);
    background: #ffffff;
    font-size: 21px;
}

.class-illustration h3 {
    margin: 0 0 4px;
    color: var(--phoenix-text);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
}

.class-illustration p {
    margin: 0;
    color: var(--phoenix-muted);
    font-size: 12px;
    line-height: 1.6;
}

.class-details {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
}

.class-details > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--phoenix-text);
    font-size: 13px;
}

.class-details i {
    color: var(--phoenix-blue);
}

.task-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    color: var(--phoenix-muted);
    font-size: 12px;
}

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

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

@media (max-width: 575.98px) {
    .course-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .mock-feature-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
        margin-top: 18px;
    }

    .mock-feature {
        min-height: 0;
    }

    .shared-notes-card {
        padding: 19px;
    }

    .dashboard-header > div:first-child h1 {
        font-size: 25px;
    }

    .dashboard-date {
        align-self: flex-start;
    }

    .section-heading {
        align-items: flex-start;
    }

    .panel-heading {
        gap: 10px;
    }

    .class-illustration {
        align-items: flex-start;
        padding: 14px;
    }

    .task-footer {
        align-items: stretch;
        flex-direction: column;
    }
}
/* =========================================
   PHOENIX ADC ACADEMY - ADMIN DASHBOARD
========================================= */

.phoenix-admin-page {
    min-height: 100vh;
    background-color: #f5f8fc;
    color: #172b4d;
    font-family: Arial, Helvetica, sans-serif;
}


.approver-reject {
    min-height: calc(100vh - 68px);
    background-color: #ffffff;
    color: #111111;
}

.approver-reject .text-secondary {
    color: #111111 !important;
}

.approver-reject .validation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 390px));
    justify-content: center;
    align-items: start;
    gap: 18px;
}

.approver-reject .validation-card {
    border: 1px solid #dedede;
    border-radius: 8px;
    color: #111111;
}

.approver-reject .validation-card .card-header {
    padding: 14px 16px !important;
}

.approver-reject .validation-card .card-body {
    padding: 16px !important;
}

.approver-reject .validation-card .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.5rem;
}

.approver-reject .validation-card .mb-4 {
    margin-bottom: 0.85rem !important;
}

.approver-reject .validation-card hr {
    margin: 0.85rem 0 !important;
}

.approver-reject .student-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 7px;
    background-color: #eeeeee;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
}

.approver-reject .section-title,
.approver-reject .detail-label,
.approver-reject .detail-value,
.approver-reject .form-label {
    color: #111111;
}

.approver-reject .detail-label {
    font-size: 11px;
    font-weight: 600;
}

.approver-reject .detail-value {
    margin: 2px 0 0;
    font-size: 13px;
}

.approver-reject .payment-box {
    background-color: #f5f5f5;
}

/* Main Container */

.phoenix-admin-page .admin-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 32px 24px;
}


/* Dashboard Header */

.phoenix-admin-page .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.phoenix-admin-page .admin-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563a6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.phoenix-admin-page .admin-header h1 {
    margin: 0 0 10px;
    color: #152c4d;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -1px;
}

.phoenix-admin-page .admin-header p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.7;
}

.phoenix-admin-page .admin-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid #dce7f3;
    border-radius: 8px;
    background-color: #ffffff;
    color: #385475;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.phoenix-admin-page .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #299764;
}


/* Statistics */

.phoenix-admin-page .admin-stats {
    margin-bottom: 42px;
}

.phoenix-admin-page .stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    min-height: 136px;
    padding: 22px;
    border: 1px solid #e1e9f2;
    border-radius: 12px;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.phoenix-admin-page .stat-card:hover {
    border-color: #a8c9ee;
}

.phoenix-admin-page .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.phoenix-admin-page .students-icon {
    background-color: #e9f2ff;
    color: #1e63b5;
}

.phoenix-admin-page .attendance-icon {
    background-color: #e9f7f0;
    color: #238354;
}

.phoenix-admin-page .courses-icon {
    background-color: #fff3e4;
    color: #a96719;
}

.phoenix-admin-page .stat-card p {
    margin: 0 0 8px;
    color: #63758c;
    font-size: 13px;
    font-weight: 500;
}

.phoenix-admin-page .stat-card h2 {
    margin: 0 0 7px;
    color: #17385f;
    font-size: 29px;
    font-weight: 700;
}

.phoenix-admin-page .stat-card span {
    color: #8795a8;
    font-size: 12px;
}


/* General Sections */

.phoenix-admin-page .admin-section {
    margin-bottom: 42px;
}

.phoenix-admin-page .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.phoenix-admin-page .section-heading h2 {
    margin: 0 0 7px;
    color: #183554;
    font-size: 21px;
    font-weight: 700;
}

.phoenix-admin-page .section-heading p {
    margin: 0;
    color: #7a899d;
    font-size: 13px;
    line-height: 1.6;
}

.phoenix-admin-page .message-total {
    padding: 8px 12px;
    border-radius: 7px;
    background-color: #eaf2fc;
    color: #245d9f;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}


/* Course Cards */

.phoenix-admin-page .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 280px));
    align-items: stretch;
    gap: 16px;
    justify-content: start;
}

.phoenix-admin-page .course-card {
    padding: 18px;
    border: 1px solid #e1e9f2;
    border-radius: 8px;
    background-color: #ffffff;
}

.phoenix-admin-page .course-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.phoenix-admin-page .course-code {
    padding: 6px 9px;
    border-radius: 5px;
    background-color: #eaf2fc;
    color: #245d9f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.phoenix-admin-page .course-count {
    color: #63758c;
    font-size: 12px;
}

.phoenix-admin-page .course-card h3 {
    margin: 0 0 15px;
    color: #1d3858;
    font-size: 16px;
    font-weight: 700;
}

.phoenix-admin-page .course-progress {
    height: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #edf1f6;
}

.phoenix-admin-page .course-progress .progress-bar {
    border-radius: 10px;
    background-color: #3277c4;
}

.phoenix-admin-page .course-card small {
    color: #8391a4;
    font-size: 11px;
}


/* Student Messages */

.phoenix-admin-page .message-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phoenix-admin-page .message-card {
    padding: 20px 22px;
    border: 1px solid #e1e9f2;
    border-radius: 8px;
    background-color: #ffffff;
}

.phoenix-admin-page .message-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 17px;
}

.phoenix-admin-page .student-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border-radius: 9px;
    background-color: #e6efff;
    color: #245eac;
    font-size: 12px;
    font-weight: 700;
}

.phoenix-admin-page .avatar-secondary {
    background-color: #e6f5f0;
    color: #267a5d;
}

.phoenix-admin-page .avatar-warning {
    background-color: #fff0df;
    color: #a96620;
}

.phoenix-admin-page .student-details {
    min-width: 0;
}

.phoenix-admin-page .student-details h3 {
    margin: 0 0 5px;
    color: #1d3858;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
}

.phoenix-admin-page .student-details span {
    color: #8492a5;
    font-size: 11px;
}

.phoenix-admin-page .message-badge {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.phoenix-admin-page .inquiry-badge {
    background-color: #eaf2ff;
    color: #2a65ae;
}

.phoenix-admin-page .support-badge {
    background-color: #e9f7ef;
    color: #247c50;
}

.phoenix-admin-page .issue-badge {
    background-color: #fff1e4;
    color: #a45f18;
}

.phoenix-admin-page .message-content {
    margin: 0 0 19px;
    color: #63758a;
    font-size: 13px;
    line-height: 1.8;
}

.phoenix-admin-page .message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #edf1f6;
}

.phoenix-admin-page .message-footer > span {
    color: #8996a7;
    font-size: 11px;
}

.phoenix-admin-page .message-footer .btn {
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}


/* Student Record Form */

.phoenix-admin-page .admin-form-card {
    padding: 24px;
    border: 1px solid #e1e9f2;
    border-radius: 8px;
    background-color: #ffffff;
}

.phoenix-admin-page .form-label {
    margin-bottom: 9px;
    color: #344c68;
    font-size: 12px;
    font-weight: 600;
}

.phoenix-admin-page .form-control,
.phoenix-admin-page .form-select {
    min-height: 45px;
    border: 1px solid #dce5ef;
    border-radius: 7px;
    background-color: #ffffff;
    color: #243b55;
    font-size: 13px;
    box-shadow: none;
}

.phoenix-admin-page .form-control::placeholder {
    color: #a0acba;
}

.phoenix-admin-page .form-control:focus,
.phoenix-admin-page .form-select:focus {
    border-color: #4788ce;
    box-shadow: 0 0 0 3px rgba(50, 119, 196, 0.10);
}

.phoenix-admin-page .admin-submit-btn {
    min-height: 43px;
    padding: 10px 22px;
    border: 1px solid #2468b2;
    border-radius: 7px;
    background-color: #2468b2;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.phoenix-admin-page .admin-submit-btn:hover {
    border-color: #174f8d;
    background-color: #174f8d;
    color: #ffffff;
}


/* Compact Footer */

.phoenix-admin-page .admin-footer {
    padding: 16px 32px;
    border-top: 1px solid #e2eaf3;
    background-color: #ffffff;
}

.phoenix-admin-page .admin-footer p {
    margin: 0;
    color: #8492a5;
    font-size: 11px;
    text-align: center;
}

.phoenix-admin-page .admin-footer span {
    margin-left: 6px;
    color: #45688e;
}


/* Tablet */

@media (max-width: 991.98px) {

    .phoenix-admin-page .admin-container {
        padding: 32px 22px 20px;
    }

    .phoenix-admin-page .admin-header {
        align-items: flex-start;
    }

    .phoenix-admin-page .admin-status {
        margin-top: 8px;
    }

    .phoenix-admin-page .stat-card {
        padding: 21px;
    }

    .phoenix-admin-page .admin-section {
        margin-bottom: 34px;
    }

}


/* Mobile */

@media (max-width: 767.98px) {

    .phoenix-admin-page .admin-container {
        padding: 25px 16px 16px;
    }

    .phoenix-admin-page .admin-header {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 25px;
    }

    .phoenix-admin-page .admin-header h1 {
        font-size: 28px;
    }

    .phoenix-admin-page .admin-header p {
        max-width: 100%;
        font-size: 13px;
    }

    .phoenix-admin-page .admin-status {
        margin-top: 0;
    }

    .phoenix-admin-page .admin-stats {
        margin-bottom: 32px;
    }

    .phoenix-admin-page .stat-card {
        min-height: 125px;
        padding: 19px;
    }

    .phoenix-admin-page .stat-card h2 {
        font-size: 26px;
    }

    .phoenix-admin-page .section-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .phoenix-admin-page .section-heading h2 {
        font-size: 19px;
    }

    .phoenix-admin-page .course-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .phoenix-admin-page .course-card {
        padding: 20px;
    }

    .phoenix-admin-page .message-card {
        padding: 19px;
    }

    .phoenix-admin-page .message-content {
        font-size: 12px;
        line-height: 1.8;
    }

    .phoenix-admin-page .message-footer {
        align-items: flex-start;
    }

    .phoenix-admin-page .admin-form-card {
        padding: 20px;
    }

    .phoenix-admin-page .admin-footer {
        padding: 15px 16px;
    }

}


/* Small Mobile */

@media (max-width: 380px) {

    .phoenix-admin-page .stat-card {
        gap: 13px;
        padding: 15px;
    }

    .phoenix-admin-page .stat-icon {
        width: 43px;
        height: 43px;
    }

    .phoenix-admin-page .stat-card p {
        font-size: 12px;
    }

    .phoenix-admin-page .message-badge {
        padding: 5px 7px;
        font-size: 9px;
    }

    .phoenix-admin-page .message-header {
        gap: 9px;
    }

    .phoenix-admin-page .message-footer > span {
        font-size: 10px;
    }

}

/* Free Mock competency report */
.free-report-page { --report-ink:#172b43; --report-muted:#718097; --report-blue:#3366c9; --report-line:#e6ebf2; max-width:1040px; margin:0 auto; padding:24px 12px 52px; color:var(--report-ink); }
.free-report-header { padding:14px 4px 28px; }
.free-report-back { display:inline-flex; color:var(--report-muted); text-decoration:none; font-size:.9rem; margin-bottom:34px; }
.free-report-kicker { display:block; color:#5977a4; letter-spacing:.13em; font-size:.7rem; font-weight:800; }
.free-report-header h1 { font-size:clamp(2rem,5vw,3.1rem); font-weight:750; letter-spacing:-.045em; margin:.55rem 0 .35rem; }
.free-report-header p,.free-report-intro { color:var(--report-muted); margin:0; }
.free-report-summary { display:flex; align-items:center; gap:28px; padding:28px; border:1px solid var(--report-line); border-radius:22px; background:linear-gradient(120deg,#f7f9fe,#fff 67%); box-shadow:0 14px 40px #233d6810; }
.free-report-score { width:142px; height:142px; flex:0 0 142px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(var(--report-blue) var(--score),#e8edf5 0); position:relative; animation:report-ring 1.1s ease-out both; }
.free-report-score:before { content:""; position:absolute; inset:10px; border-radius:50%; background:#fff; }
.free-report-score div { position:relative; display:grid; text-align:center; }
.free-report-score strong { font-size:2rem; line-height:1.1; }
.free-report-score span { color:var(--report-muted); font-size:.75rem; }
.free-report-summary-copy h2 { margin:.55rem 0 .25rem; font-size:2.1rem; font-weight:750; }
.free-report-summary-copy h2 small { font-size:.95rem; color:var(--report-muted); font-weight:500; }
.free-report-summary-copy p { color:var(--report-muted); }
.free-report-counts { display:flex; gap:24px; margin-top:20px; font-size:.85rem; color:var(--report-muted); }
.free-report-counts b { color:var(--report-ink); margin-right:5px; }
.free-report-section { margin-top:38px; }
.free-report-section-heading { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-bottom:8px; }
.free-report-section-heading h2 { font-size:1.45rem; font-weight:740; margin:.3rem 0 0; }
.free-report-note { font-size:.78rem; color:var(--report-muted); padding-bottom:3px; }
.free-report-intro { font-size:.88rem; margin-bottom:16px; }
.free-report-domains { border:1px solid var(--report-line); border-radius:18px; overflow:hidden; background:white; }
.free-domain { padding:20px 22px 18px; border-bottom:1px solid var(--report-line); animation:report-rise .55s both; animation-delay:calc(var(--domain-index)*100ms); }
.free-domain:last-child { border-bottom:0; }
.free-domain-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:13px; }
.free-domain-top>div { display:flex; align-items:center; gap:12px; }
.free-domain-number { color:#91a1b8; font:700 .72rem 'Roboto Mono',monospace; }
.free-domain h3 { font-size:1rem; font-weight:680; margin:0; }
.free-domain-top>strong { color:var(--report-blue); font-size:1.15rem; white-space:nowrap; }
.free-domain-top>strong small { display:block; text-align:right; color:var(--report-muted); font-size:.65rem; font-weight:500; }
.free-domain-track { height:10px; border-radius:20px; overflow:hidden; background:#edf1f6; }
.free-domain-fill { display:block; height:100%; width:var(--fill); background:linear-gradient(90deg,#527ed4,#3064c6); border-radius:inherit; transform-origin:left; animation:report-bar .95s cubic-bezier(.2,.75,.25,1) both; }
.free-domain-meta { display:flex; justify-content:space-between; gap:10px; margin-top:8px; color:var(--report-muted); font-size:.75rem; }
.free-report-mapping-note { border-radius:12px; padding:13px 15px; margin:14px 0 0; background:#f3f6fb; color:#63748d; font-size:.83rem; }
.free-report-mapping-note i { margin-right:7px; }
.free-report-scenarios { display:grid; gap:10px; }
.free-scenario { display:flex; align-items:center; gap:14px; padding:16px; border:1px solid var(--report-line); border-radius:14px; background:#fff; }
.free-scenario-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:12px; background:#edf3ff; color:var(--report-blue); font-size:.73rem; font-weight:800; }
.free-scenario-body { flex:1; min-width:0; }
.free-scenario-body>div:first-child { display:flex; justify-content:space-between; gap:10px; margin-bottom:9px; }
.free-scenario-body strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.9rem; }
.free-scenario-body span { color:var(--report-muted); font-size:.78rem; white-space:nowrap; }
.free-scenario>b { min-width:44px; text-align:right; font-size:.9rem; }
.free-report-footer { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:30px; padding-top:20px; border-top:1px solid var(--report-line); color:var(--report-muted); font-size:.86rem; }
.free-report-retake { color:var(--report-blue); font-weight:700; text-decoration:none; }
@keyframes report-bar { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes report-ring { from { transform:rotate(-90deg) scale(.88); opacity:.45; } to { transform:rotate(0) scale(1); opacity:1; } }
@keyframes report-rise { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:600px) { .free-report-summary { padding:21px 17px; gap:18px; } .free-report-score { width:112px;height:112px;flex-basis:112px; } .free-report-score strong {font-size:1.65rem;} .free-report-summary-copy h2 {font-size:1.7rem;} .free-report-counts {gap:14px;font-size:.76rem;} .free-domain {padding:17px 15px;} .free-domain-meta {font-size:.68rem;} .free-scenario {gap:10px;padding:13px 11px;} .free-scenario-body>div:first-child {display:grid;gap:2px;} .free-report-footer {align-items:flex-start;flex-direction:column;} }
@media(prefers-reduced-motion:reduce) { .free-report-score,.free-domain,.free-domain-fill { animation:none; } }
.phoenix-students-page {
    min-height: 100vh;
    background-color: aliceblue;
    color: #202938;
}

.phoenix-students-page .card {
    border-radius: 12px;
}

.phoenix-students-page .student-count-card {
    max-width: 350px;
}

.phoenix-students-page .phoenix-action {
    gap: 0;
}

.phoenix-students-page .student-page-search {
    display: flex;
    width: 240px;
    height: 38px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background-color: #ffffff;
}

.phoenix-students-page .student-page-search:focus-within {
    border-color: #3277c4;
    box-shadow: 0 0 0 3px rgba(50, 119, 196, 0.12);
}

.phoenix-students-page .student-page-search input {
    width: 100%;
    min-width: 0;
    padding: 0 11px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #202938;
    font-size: 13px;
}

.phoenix-students-page .student-page-search input::placeholder {
    color: #8492a5;
}

.phoenix-students-page .student-page-search button {
    display: grid;
    width: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 0;
    background-color: #102a43;
    color: #ffffff;
}

.phoenix-students-page .student-page-search button:hover {
    background-color: #155fb4;
}

.phoenix-students-page .student-page-footer {
    margin-top: 28px;
    padding: 12px 0;
    border-top: 1px solid #dbe3ec;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

.phoenix-students-page .student-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8f0ff;
    border-radius: 10px;
    font-size: 24px;
}

.phoenix-students-page .table th {
    font-size: 14px;
    color: #596579;
    padding: 15px;
    white-space: nowrap;
}

.phoenix-students-page .table td {
    padding: 15px;
    font-size: 14px;
}

.phoenix-students-page .table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 576px) {
    .phoenix-students-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .phoenix-students-page .student-page-search {
        width: min(100%, 320px);
    }

    .phoenix-students-page .table th,
    .phoenix-students-page .table td {
        padding: 12px;
    }
}
/* Signup Page */

.signup-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at 12% 10%, rgba(197, 162, 39, 0.08), transparent 34%),
        linear-gradient(135deg, #f7f9fc 0%, #edf2f7 100%);
}

.student-signup {
    flex: 1;
    min-height: 0;
    padding: 26px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-signup .container {
    width: 100%;
    max-width: 780px;
    display: flex;
    justify-content: center;
}

/* Main Card */

.student-signup .signup-card {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(16, 42, 67, .08);
}

/* Header */

.student-signup .signup-header {
    text-align: center;
    margin-bottom: 20px;
}

.signup-logo {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #102a43;
    color: #e0bd50;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.student-signup .signup-header h2 {
    margin-bottom: 8px;
    color: #17345d;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.4px;
}

.student-signup .signup-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.signup-social {
    margin: 0 0 21px;
}

.google-signup-btn {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-signup-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.google-signup-soon {
    margin-left: auto;
    color: #7b8494;
    font-size: 11px;
    font-weight: 500;
}

.signup-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: #98a2b3;
    font-size: 11px;
}

.signup-divider::before,
.signup-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e5eaf2;
}

/* Form */

.student-signup .signup-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
}

.student-signup .signup-field-wide {
    grid-column: 1 / -1;
}

.student-signup .form-group {
    min-width: 0;
}

.student-signup .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #34465c;
    font-size: 12px;
    font-weight: 650;
}

.student-signup .form-group input {
    width: 100%;
    height: 45px;
    padding: 10px 12px;
    color: #172033;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    background: #f8fafc;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.password-input-wrap {
    position: relative;
}

.student-signup .password-input-wrap input,
.input-group-custom .password-input-wrap input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    color: #718198;
    background: transparent;
    cursor: pointer;
}

.password-toggle:hover {
    color: #1760a8;
    background: #f0f5fa;
}

.password-toggle:focus-visible {
    outline: 2px solid #3978f6;
    outline-offset: 1px;
}

.student-signup .form-group input::placeholder {
    color: #a0a8b5;
}

.student-signup .form-group input:focus {
    border-color: #2864b4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(40, 100, 180, .12);
}

/* Password Error */

.password-error {
    display: block;
    margin-top: 6px;
    color: #dc3545;
    font-size: 12px;
}

/* Shared glass treatment for inline feedback across student and admin pages. */
.glass-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 12px 0;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-left: 4px solid #5279b9;
    border-radius: 16px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 12px 34px rgba(31, 52, 86, .10), inset 0 1px 0 rgba(255, 255, 255, .8);
    color: #24334d;
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    backdrop-filter: blur(16px) saturate(145%);
    line-height: 1.5;
}

.glass-message:empty,
.glass-message[hidden] { display: none; }
.glass-message.is-error { border-left-color: #d65d70; background: rgba(255, 247, 248, .76); color: #742f3b; }
.glass-message.is-success { border-left-color: #3e9b79; background: rgba(244, 255, 250, .76); color: #205c49; }
.glass-message.is-info { border-left-color: #5279b9; }
.glass-message.auth-feedback {
    display: block;
    margin: 9px 0;
    padding: 9px 12px;
    border-width: 1px;
    border-left-width: 3px;
    border-radius: 7px;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.4;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.glass-message.auth-feedback:empty { display: none; }
.glass-message a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.glass-step { margin-top: 14px; padding: 18px; border: 1px solid rgba(255,255,255,.78); border-radius: 18px; background: rgba(255,255,255,.68); box-shadow: 0 14px 36px rgba(31,52,86,.10); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.glass-step .glass-message { margin-bottom: 0; }
.glass-notice-stack { position: fixed; z-index: 2000; top: 22px; right: 22px; width: min(440px, calc(100vw - 32px)); }
.glass-notice-stack .glass-message { margin: 0 0 10px; animation: glass-notice-in .22s ease-out; }
@keyframes glass-notice-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.mock-question .mock-glass-panel {
    max-width: 760px;
    margin: 56px auto;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 26px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 24px 70px rgba(30, 48, 81, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
}

.mock-question .mock-glass-panel h2 { margin-bottom: 8px; color: #1d2c46; }
.mock-question .mock-glass-panel p { color: #4c5c75; }

/* Terms */

.signup-terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 3px;
    padding: 12px 14px;
    border: 1px solid #d9e3f1;
    border-radius: 9px;
    background: #f5f8fc;
}

.signup-terms input {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.signup-terms label {
    color: #34445d;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.signup-terms label strong {
    color: #174f90;
}

.signup-terms-hint {
    margin: 0 0 14px 38px;
    color: #68778d;
    font-size: 11px;
    line-height: 1.45;
}

/* Create Account Button */

.create-account-btn {
    width: 100%;
    min-height: 46px;
    padding: 12px;
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.create-account-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.create-account-btn:disabled,
#loginform button[type="submit"]:disabled {
    opacity: .72;
    cursor: wait;
}

.create-account-btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 2px;
}

/* Footer */

.signup-footer {
    margin-top: 24px;
    text-align: center;
    color: #7b8494;
    font-size: 12px;
}

.signup-footer a {
    margin-left: 4px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.signup-footer a:hover {
    text-decoration: underline;
}

/* Mobile */

/* =====================================
   PHOENIX ACADEMY STUDENT DASHBOARD
===================================== */

.phoenix-dashboard {
    min-height: 100vh;
    background-color: #f6f8fc;
    color: #202938;
  font-family: "IBM Plex Mono", monospace;



    padding-bottom: 10px;
}

.phoenix-dashboard * {
    box-sizing: border-box;
}


/* HEADER */

.phoenix-dashboard .phoenix-header {
    padding: 32px 0;
}

.phoenix-dashboard .phoenix-header h2 {
    font-size: 27px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 7px;
    letter-spacing: -0.6px;
}

.phoenix-dashboard .phoenix-header p {
    color: #858fa0;
    font-size: 14px;
    margin-bottom: 0;
}


/* USER */

.phoenix-dashboard .phoenix-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phoenix-dashboard .phoenix-avatar {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8efff;
    color: #245ce7;
    font-weight: 700;
    font-size: 14px;
}

.phoenix-dashboard .phoenix-user h6 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #202938;
}

.phoenix-dashboard .phoenix-user span {
    font-size: 12px;
    color: #8992a1;
}


/* GENERAL CARDS */

.phoenix-dashboard .phoenix-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 3px 14px rgba(25, 45, 80, 0.025);
}

.phoenix-dashboard .card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 23px;
}

.phoenix-dashboard .card-heading h5 {
    font-size: 16px;
    font-weight: 700;
    color: #202938;
    margin-bottom: 6px;
}

.phoenix-dashboard .card-heading p {
    color: #9098a7;
    font-size: 12px;
    margin-bottom: 0;
}


/* PROFILE CARD */

.phoenix-dashboard .profile-card {
    padding: 25px;
}

.phoenix-dashboard .profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 25px;
    border-bottom: 1px solid #edf0f5;
}

.phoenix-dashboard .profile-avatar {
    width: 67px;
    height: 67px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf2ff;
    color: #245ce7;
    border-radius: 14px;
    font-size: 24px;
    font-weight: 700;
}

.phoenix-dashboard .profile-label {
    display: block;
    color: #8b95a5;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 7px;
}

.phoenix-dashboard .profile-top h4 {
    color: #202938;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 5px;
}

.phoenix-dashboard .profile-top p {
    color: #929baa;
    font-size: 12px;
    margin-bottom: 0;
}


/* PROFILE DETAILS */

.phoenix-dashboard .profile-details {
    padding-top: 8px;
}

.phoenix-dashboard .profile-detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f2f6;
}

.phoenix-dashboard .profile-detail:last-child {
    border-bottom: none;
}

.phoenix-dashboard .profile-detail span {
    font-size: 12px;
    color: #929baa;
}

.phoenix-dashboard .profile-detail strong {
    font-size: 13px;
    font-weight: 600;
    color: #303a4b;
    overflow-wrap: anywhere;
}


/* PROFILE FOOTER */

.phoenix-dashboard .profile-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid #edf0f5;
    font-size: 12px;
    color: #697587;
}

.phoenix-dashboard .status-dot {
    width: 8px;
    height: 8px;
    background: #20b77a;
    border-radius: 50%;
}

.phoenix-dashboard .profile-footer a {
    margin-left: auto;
    color: #2864e8;
    text-decoration: none;
    font-weight: 600;
}

.phoenix-dashboard .profile-footer a:hover {
    text-decoration: underline;
}


/* LEARNING OVERVIEW */

.phoenix-dashboard .learning-card {
    height: auto;
}

.phoenix-dashboard .heading-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf3ff;
    color: #2864e8;
    border-radius: 9px;
    font-size: 17px;
}

.phoenix-dashboard .learning-statistics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.phoenix-dashboard .learning-stat {
    background: #f7f9fd;
    border: 1px solid #edf0f6;
    border-radius: 10px;
    padding: 16px;
}

.phoenix-dashboard .learning-stat span {
    display: block;
    color: #858fa0;
    font-size: 11px;
    margin-bottom: 9px;
}

.phoenix-dashboard .learning-stat h3 {
    color: #202938;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 0;
}

.phoenix-dashboard .learning-progress {
    margin-top: 5px;
}

.phoenix-dashboard .learning-progress span {
    font-size: 12px;
    color: #788395;
}

.phoenix-dashboard .learning-progress strong {
    font-size: 12px;
    color: #2864e8;
}

.phoenix-dashboard .progress {
    height: 6px;
    background: #e9eef7;
    border-radius: 10px;
    overflow: hidden;
}

.phoenix-dashboard .progress-bar {
    background: #3478f6;
    border-radius: 10px;
}


/* COURSES */

.phoenix-dashboard .courses-card {
    height: auto;
}

.phoenix-dashboard .view-all {
    color: #2864e8;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.phoenix-dashboard .view-all:hover {
    text-decoration: underline;
}

.phoenix-dashboard .course-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 0;
    border-top: 1px solid #edf0f5;
}

.phoenix-dashboard .course-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.phoenix-dashboard .course-blue {
    background: #eaf0ff;
    color: #2864e8;
}

.phoenix-dashboard .course-orange {
    background: #fff1e6;
    color: #dc7b28;
}

.phoenix-dashboard .course-information {
    flex: 1;
    min-width: 0;
}

.phoenix-dashboard .course-information h6 {
    font-size: 13px;
    font-weight: 700;
    color: #202938;
    margin: 2px 0 5px;
}

.phoenix-dashboard .course-information > p {
    font-size: 11px;
    color: #929baa;
    margin-bottom: 13px;
}

.phoenix-dashboard .course-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phoenix-dashboard .course-progress .progress {
    flex: 1;
    height: 5px;
}

.phoenix-dashboard .course-progress span {
    font-size: 10px;
    color: #788395;
    white-space: nowrap;
}

.phoenix-dashboard .course-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.phoenix-dashboard .course-status {
    background: #e8f8f0;
    color: #198754;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 600;
}

.phoenix-dashboard .course-link {
    font-size: 11px;
    color: #2864e8;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.phoenix-dashboard .course-link:hover {
    text-decoration: underline;
}


/* COURSE FOOTER */

.phoenix-dashboard .courses-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 18px;
    margin-top: 5px;
    border-top: 1px solid #edf0f5;
}

.phoenix-dashboard .courses-footer span {
    color: #929baa;
    font-size: 11px;
}

.phoenix-dashboard .courses-footer a {
    color: #2864e8;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
}


/* SMALL DASHBOARD CARDS */

.phoenix-dashboard .small-dashboard-card {
    height: 100%;
    padding: 21px;
}

.phoenix-dashboard .small-dashboard-card .card-heading {
    margin-bottom: 17px;
}

.phoenix-dashboard .small-dashboard-card .card-heading h5 {
    font-size: 14px;
}


/* SCHEDULE */

.phoenix-dashboard .schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #edf0f5;
}

.phoenix-dashboard .schedule-date {
    width: 43px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    border-radius: 8px;
}

.phoenix-dashboard .schedule-date span {
    font-size: 9px;
    font-weight: 700;
    color: #2864e8;
}

.phoenix-dashboard .schedule-date strong {
    font-size: 18px;
    color: #202938;
}

.phoenix-dashboard .schedule-information {
    min-width: 0;
}

.phoenix-dashboard .schedule-information h6 {
    font-size: 12px;
    font-weight: 700;
    color: #303a4b;
    margin-bottom: 5px;
}

.phoenix-dashboard .schedule-information p {
    font-size: 10px;
    color: #929baa;
    margin-bottom: 0;
}


/* ACCOUNT STATUS */

.phoenix-dashboard .account-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #edf0f5;
}

.phoenix-dashboard .account-status-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f8ef;
    color: #198754;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 700;
}

.phoenix-dashboard .payment-icon {
    background: #edf2ff;
    color: #2864e8;
}

.phoenix-dashboard .account-status h6 {
    font-size: 12px;
    font-weight: 700;
    color: #303a4b;
    margin-bottom: 5px;
}

.phoenix-dashboard .account-status p {
    font-size: 11px;
    color: #929baa;
    margin-bottom: 0;
}

.phoenix-dashboard .account-link {
    display: inline-block;
    margin-top: 15px;
    color: #2864e8;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}


/* FOOTER */

.phoenix-dashboard .phoenix-dashboard-footer {
    padding: 30px 0 15px;
    text-align: center;
}

.phoenix-dashboard .phoenix-dashboard-footer p {
    margin: 0;
    color: #a0a8b5;
    font-size: 11px;
}


/* TABLET */

@media (max-width: 991px) {

    .phoenix-dashboard .phoenix-header {
        padding: 25px 0;
    }

    .phoenix-dashboard .phoenix-header h2 {
        font-size: 24px;
    }

    .phoenix-dashboard .profile-card {
        margin-bottom: 0;
    }

}


/* MOBILE */

@media (max-width: 576px) {

    .phoenix-dashboard .phoenix-header {
        align-items: flex-start !important;
        padding: 23px 0;
    }

    .phoenix-dashboard .phoenix-header h2 {
        font-size: 22px;
    }

    .phoenix-dashboard .phoenix-header p {
        font-size: 12px;
        line-height: 1.6;
    }

    .phoenix-dashboard .phoenix-card {
        padding: 19px;
        border-radius: 11px;
    }

    .phoenix-dashboard .profile-avatar {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }

    .phoenix-dashboard .profile-top {
        gap: 12px;
    }

    .phoenix-dashboard .profile-top h4 {
        font-size: 16px;
    }

    .phoenix-dashboard .course-item {
        flex-wrap: wrap;
        gap: 11px;
    }

    .phoenix-dashboard .course-icon {
        width: 42px;
        height: 42px;
    }

    .phoenix-dashboard .course-information {
        flex-basis: calc(100% - 60px);
    }

    .phoenix-dashboard .course-action {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-left: 53px;
    }

    .phoenix-dashboard .course-progress {
        flex-wrap: wrap;
    }

    .phoenix-dashboard .learning-statistics {
        gap: 10px;
    }

    .phoenix-dashboard .learning-stat {
        padding: 13px;
    }

    .phoenix-dashboard .courses-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 576px) {
    .phoenix-navbar {
        top: 8px;
        margin: 8px;
        border-radius: 11px;
    }

    .phoenix-navbar .navbar-collapse {
        margin-top: 8px;
        padding-top: 8px;
    }

    .phoenix-nav .nav-link {
        padding-top: 9px !important;
        padding-bottom: 9px !important;
        font-size: 13px;
    }

    .phoenix-action {
        margin-top: 7px;
        padding-bottom: 3px;
    }

    .phoenix-action .dashboard-btn {
        min-width: 0;
        padding: 9px 12px;
        font-size: 12px;
    }

    .phoenix-action .profile-btn {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}


/* =========================================
   PHOENIX ADC ACADEMY - MOCK EXAM
========================================= */

.mock-question {
  --exam-primary: #315efb;
  --exam-primary-dark: #2449d8;
  --exam-text: #182230;
  --exam-muted: #748094;
  --exam-border: #e7ebf2;
  --exam-bg: #f5f7fb;
  --exam-green: #16845b;

  background: var(--exam-bg);
  color: var(--exam-text);
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.mock-question * {
  box-sizing: border-box;
}

.exam-wrapper {
  max-width: 1600px;
  margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.exam-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 14px 0 28px;
  border-bottom: 1px solid #e4e9f2;
}

.exam-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--exam-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--exam-green);
  box-shadow: 0 0 0 4px rgba(22, 132, 91, 0.1);
}

.eyebrow-divider {
  color: #c3cad6;
}

.exam-heading h1 {
  margin: 13px 0 7px;
  color: var(--exam-text);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1.3px;
}

.exam-heading p {
  margin: 0;
  color: var(--exam-muted);
  font-size: 14px;
  line-height: 1.7;
}

.exam-header-right {
  display: flex;
  gap: 12px;
}

.exam-info-card {
  min-width: 130px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--exam-border);
  border-radius: 12px;
}

.info-label {
  display: block;
  margin-bottom: 6px;
  color: var(--exam-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.exam-info-card strong {
  color: var(--exam-text);
  font-size: 21px;
  font-weight: 800;
}

/* =========================================
   PROFESSIONAL MOCK MODULE PICKER
========================================= */

.mock-module-selection {
  margin-top: 28px;
}

.mock-module-selection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.mock-module-selection-heading h2 {
  margin: 5px 0 7px;
  color: #182b45;
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 760;
  letter-spacing: -0.7px;
}

.mock-module-selection-heading p {
  max-width: 680px;
  margin: 0;
  color: #748094;
  font-size: 14px;
  line-height: 1.65;
}

.mock-module-selection .section-label,
.mock-module-selection .mock-module-structure {
  color: #748094;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mock-module-structure {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid #dfe7f2;
  border-radius: 999px;
  background: #fff;
  letter-spacing: 0.2px !important;
  text-transform: none !important;
}

.mock-module-message {
  min-height: 44px;
  margin: 0 0 16px;
  padding: 12px 15px;
  border: 1px solid #dbe7f6;
  border-radius: 12px;
  color: #385577;
  background: #edf5ff;
  font-size: 13px;
  line-height: 1.5;
}

.mock-module-message.is-error {
  border-color: #f2caca;
  color: #a33a3a;
  background: #fff3f2;
}

.mock-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.mock-module-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 186px;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px 20px 17px;
  overflow: hidden;
  border: 1px solid #e2e8f1;
  border-radius: 16px;
  color: #182b45;
  background: linear-gradient(145deg, #fff 0%, #fbfcff 100%);
  box-shadow: 0 5px 16px rgba(29, 54, 91, 0.045);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mock-module-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #9aa9bd;
  content: "";
}

.mock-module-card.is-ready::before {
  background: #19845b;
}

.mock-module-card:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: #b9cbed;
  background: #fff;
  box-shadow: 0 12px 26px rgba(29, 67, 126, 0.11);
}

.mock-module-card:focus-visible {
  outline: 3px solid rgba(49, 94, 251, 0.35);
  outline-offset: 3px;
}

.mock-module-card[aria-pressed="true"] {
  border-color: #315efb;
  box-shadow: 0 0 0 3px rgba(49, 94, 251, 0.12);
}

.mock-module-card:disabled {
  cursor: wait;
  opacity: 0.72;
}

.mock-module-number {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  color: #31558e;
  background: #edf3fc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.mock-module-title {
  display: block;
  margin-bottom: 7px;
  color: #182b45;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

.mock-module-progress {
  display: block;
  margin-bottom: 14px;
  color: #748094;
  font-size: 12px;
  line-height: 1.5;
}

.mock-module-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: #65748a;
  background: #f0f3f7;
  font-size: 11px;
  font-weight: 700;
}

.mock-module-state::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #98a4b4;
  content: "";
}

.mock-module-card.is-ready .mock-module-state {
  color: #176647;
  background: #e9f6ef;
}

.mock-module-card.is-ready .mock-module-state::before {
  background: #19845b;
}

.mock-module-grid[aria-busy="true"] {
  opacity: 0.65;
}

@media (max-width: 767.98px) {
  .mock-module-selection-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .mock-module-card {
    min-height: 176px;
    padding: 16px 14px 14px;
  }
}

@media (max-width: 479.98px) {
  .mock-module-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   TWO-COLUMN LAYOUT
========================================= */

.exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 24px;
  margin-top: 27px;
}

.question-column {
  min-width: 0;
}


/* =========================================
   STATUS AND TIMER
========================================= */

.exam-status-card {
  padding: 23px 25px 20px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--exam-border);
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(26, 42, 70, 0.025);
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.mock-question .section-label {
  display: block;
  color: #8490a3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.question-count {
  margin-top: 7px;
  font-size: 18px;
  font-weight: 750;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  background: #f5f7ff;
  border: 1px solid #e5eaff;
  border-radius: 11px;
  transition: background 0.25s, border-color 0.25s;
}

.timer-icon {
  color: var(--exam-primary);
  font-size: 28px;
  line-height: 1;
}

.timer-label {
  display: block;
  margin-bottom: 4px;
  color: #8490a3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.timer-box strong {
  color: var(--exam-primary);
  font-size: 21px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.timer-box.timer-warning {
  background: #fff7ed;
  border-color: #fed7aa;
}

.timer-box.timer-warning strong,
.timer-box.timer-warning .timer-icon {
  color: #c2410c;
}

.timer-box.timer-danger {
  background: #fff1f2;
  border-color: #fecdd3;
}

.timer-box.timer-danger strong,
.timer-box.timer-danger .timer-icon {
  color: #be123c;
}

.exam-progress {
  height: 7px;
  overflow: hidden;
  background: #edf0f6;
  border-radius: 50px;
}

.exam-progress .progress-bar {
  background: linear-gradient(
    90deg,
    #315efb,
    #6383ff
  );
  border-radius: 50px;
  transition: width 0.4s ease;
}

.progress-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--exam-muted);
  font-size: 11px;
  font-weight: 600;
}


/* =========================================
   QUESTION CARD
========================================= */

.question-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--exam-border);
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(26, 42, 70, 0.035);
}

.question-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 23px 27px;
}

.question-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.exam-flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 11px;
  color: #72500b;
  background: #fff9e8;
  border: 1px solid #ead49b;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.exam-flag-btn:hover,
.exam-flag-btn[aria-pressed="true"] {
  color: #634300;
  background: #ffedb5;
  border-color: #d8a62b;
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.question-tag {
  color: var(--exam-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.question-meta h2 {
  margin: 0;
  color: var(--exam-text);
  font-size: 22px;
  font-weight: 800;
}

.subject-badge {
  padding: 8px 12px;
  color: #315efb !important;
  background: #eef2ff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 750;
}

.question-divider {
  height: 1px;
  background: var(--exam-border);
}

.question-content {
  padding: 29px 28px 32px;
}

.question-cluster-summary {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 18px;
  padding: 13px 15px;
  background: #fff9e8;
  border: 1px solid #f0dfaf;
  border-left: 4px solid #d7a522;
  border-radius: 10px;
}

.question-cluster-summary > span,
.scenario-context-label {
  color: #85640a;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.question-cluster-summary strong {
  color: #293b54;
  font-size: 14px;
  line-height: 1.5;
}

.question-scenario-context {
  display: grid;
  gap: 15px;
  margin: 0 0 23px;
  padding: 16px;
  background: #f6f9ff;
  border: 1px solid #dbe6f5;
  border-radius: 12px;
}

.question-scenario-context[hidden] {
  display: none;
}

.question-scenario-context h3 {
  margin: 5px 0 7px;
  color: var(--exam-text);
  font-size: 16px;
  font-weight: 800;
}

.question-scenario-context p {
  margin: 0;
  color: #53657b;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}

.scenario-reference-image {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
}

.scenario-reference-image[hidden] {
  display: none;
}

.question-instruction {
  margin-bottom: 13px;
  color: var(--exam-muted);
  font-size: 12px;
  font-weight: 600;
}

#q-text {
  margin: 0 0 28px;
  color: var(--exam-text);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 650;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

#q-text img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 16px;
  border-radius: 10px;
}


/* =========================================
   ANSWER OPTIONS
========================================= */

.options-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
}

/*
  Supports labels and buttons commonly generated
  by mocktest.js. Existing JS IDs are unchanged.
*/

.options-container label,
.options-container .option,
.options-container .option-item,
.options-container .answer-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 17px 19px;
  color: #344054;
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.7;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.options-container label:hover,
.options-container .option:hover,
.options-container .option-item:hover,
.options-container .answer-option:hover {
  background: #f8faff;
  border-color: #9eb3ff;
  transform: translateY(-1px);
}

.options-container input[type="radio"],
.options-container input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  accent-color: var(--exam-primary);
  cursor: pointer;
}

/* Selected answer styling */

.options-container label:has(input:checked),
.options-container .option:has(input:checked),
.options-container .option-item:has(input:checked),
.options-container .answer-option:has(input:checked) {
  background: #f0f4ff;
  border-color: var(--exam-primary);
  box-shadow: 0 0 0 2px rgba(49, 94, 251, 0.08);
  color: #2449b8;
}

/* Keyboard focus */

.options-container label:focus-within,
.options-container .option:focus-within,
.options-container .option-item:focus-within,
.options-container .answer-option:focus-within {
  outline: 3px solid rgba(49, 94, 251, 0.16);
  outline-offset: 2px;
}


/* =========================================
   QUESTION FOOTER
========================================= */

.question-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 27px;
  background: #fbfcfe;
  border-top: 1px solid var(--exam-border);
}

.exam-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

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

.btn-previous {
  color: #4b5565;
  background: #fff;
  border-color: #dfe4ed;
}

.btn-previous:hover {
  color: var(--exam-text);
  background: #f3f5f9;
  border-color: #cbd3e1;
}

.btn-next {
  color: #fff;
  background: var(--exam-primary);
}

.btn-next:hover {
  color: #fff;
  background: var(--exam-primary-dark);
}

.btn-finish {
  color: #fff;
  background: #17253d;
}

.btn-finish:hover {
  color: #fff;
  background: #253b5e;
}

.exam-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.keyboard-hint {
  color: #98a2b3;
  font-size: 10px;
}


/* =========================================
   SIDEBAR
========================================= */

.question-sidebar {
  min-width: 0;
}

.question-sidebar .sidebar-card {
  position: sticky;
  top: 20px;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--exam-border);
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(26, 42, 70, 0.025);
}

.question-sidebar .sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.question-sidebar .sidebar-header h2 {
  margin: 7px 0 0;
  color: var(--exam-text);
  font-size: 19px;
  font-weight: 800;
}

.question-sidebar .palette-count {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--exam-primary);
  background: #eef2ff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.question-sidebar .sidebar-description {
  margin: 14px 0 21px;
  color: var(--exam-muted);
  font-size: 12px;
  line-height: 1.7;
}

.question-sidebar .question-palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.question-sidebar .question-palette button {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  min-width: 0;
  place-items: center;
  padding: 0;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #f3b8b8;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.question-sidebar .question-palette button:hover {
  border-color: var(--exam-primary);
  transform: translateY(-2px);
}

/* Current question */

.question-sidebar .question-palette button.active,
.question-sidebar .question-palette button.current {
  color: #fff;
  background: var(--exam-primary);
  border-color: var(--exam-primary);
  box-shadow: 0 3px 8px rgba(49, 94, 251, 0.2);
}

/* Answered questions */

.question-sidebar .question-palette button.answered {
  color: #08764d;
  background: #e9f8f0;
  border-color: #b7e7ce;
}

/* Keep current state visible */

.question-sidebar .question-palette button.active.answered,
.question-sidebar .question-palette button.current.answered {
  color: #fff;
  background: var(--exam-primary);
  border-color: var(--exam-primary);
}

.question-sidebar .question-palette button.flagged {
  box-shadow: inset 0 0 0 2px #e6b431;
}

.question-sidebar .question-palette button.flagged::after {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: #d39a08;
  border-radius: 50%;
  content: "";
}

.question-sidebar .palette-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 8px;
  margin-top: 23px;
}

.question-sidebar .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 10px;
  font-weight: 600;
}

.question-sidebar .legend-box {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1px solid #dfe5ee;
  border-radius: 4px;
}

.question-sidebar .legend-current {
  background: var(--exam-primary);
  border-color: var(--exam-primary);
}

.question-sidebar .legend-answered {
  background: #e9f8f0;
  border-color: #b7e7ce;
}

.question-sidebar .legend-unanswered {
  background: #fff;
}

.question-sidebar .sidebar-divider {
  height: 1px;
  margin: 23px 0 19px;
  background: var(--exam-border);
}

.question-sidebar .sidebar-summary {
  display: grid;
  gap: 15px;
}

.question-sidebar .summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--exam-muted);
  font-size: 12px;
}

.question-sidebar .summary-row strong {
  color: var(--exam-text);
  font-size: 13px;
}

.question-sidebar #sidebar-answered {
  color: var(--exam-green);
}

.question-sidebar .sidebar-submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 23px;
  padding: 14px 15px;
  color: #fff;
  background: #17253d;
  border: none;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.2s ease;
}

.question-sidebar .sidebar-submit-btn:hover {
  background: #253b5e;
}


/* =========================================
   GUIDELINES
========================================= */

.exam-guidelines {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 19px;
  padding: 17px 19px;
  background: #eff4ff;
  border: 1px solid #dce6ff;
  border-radius: 11px;
}

.guideline-icon {
  color: var(--exam-primary);
  font-size: 18px;
  font-weight: 800;
}

.exam-guidelines p {
  margin: 0;
  color: #5e6c85;
  font-size: 12px;
  line-height: 1.8;
}

.exam-guidelines strong {
  color: #34466b;
}


/* =========================================
   SUBMIT MODAL
========================================= */

.exam-modal {
  overflow: hidden;
  border: 1px solid var(--exam-border);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(20, 35, 60, 0.15);
}

.exam-modal .modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--exam-border);
}

.exam-modal .modal-title {
  color: var(--exam-text);
  font-weight: 800;
}

.exam-modal .modal-body {
  padding: 24px;
}

.modal-description {
  margin-bottom: 22px;
  color: var(--exam-muted);
  font-size: 13px;
  line-height: 1.7;
}

.modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.modal-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px;
  background: #f7f9fc;
  border: 1px solid var(--exam-border);
  border-radius: 10px;
}

.modal-stat span {
  color: var(--exam-muted);
  font-size: 11px;
}

.modal-stat strong {
  color: var(--exam-text);
  font-size: 24px;
  font-weight: 800;
}

.modal-warning {
  margin: 19px 0 0;
  color: #a16207;
  font-size: 12px;
  line-height: 1.7;
}

.exam-modal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px;
  border-top: 1px solid var(--exam-border);
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1100px) {
  .exam-layout {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 16px;
  }

  .question-sidebar .sidebar-card {
    padding: 18px;
  }

  .question-sidebar .question-palette {
    gap: 7px;
  }

  .footer-center {
    display: none;
  }
}

@media (max-width: 850px) {
  .exam-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .exam-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .question-sidebar {
    order: 2;
  }

  .question-sidebar .sidebar-card {
    position: static;
  }

  .question-sidebar .question-palette {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .exam-wrapper {
    padding-right: 13px !important;
    padding-left: 13px !important;
  }

  .exam-header {
    padding-top: 8px;
  }

  .exam-header-right {
    width: 100%;
  }

  .exam-info-card {
    flex: 1;
    min-width: 0;
    padding: 13px;
  }

  .info-label {
    font-size: 9px;
  }

  .exam-info-card strong {
    font-size: 19px;
  }

  .exam-status-card {
    padding: 17px;
  }

  .status-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .timer-box {
    width: 100%;
  }

  .question-card-header {
    padding: 19px;
  }

  .question-content {
    padding: 22px 18px;
  }

  .question-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 17px;
  }

  .question-card-footer .exam-btn {
    width: 100%;
    padding: 10px 8px;
  }

  .question-card-footer .btn-previous {
    grid-column: 1;
  }

  .question-card-footer .btn-next {
    grid-column: 2;
  }

  .question-card-footer .btn-finish {
    grid-column: 1 / -1;
  }

  .options-container label,
  .options-container .option,
  .options-container .option-item,
  .options-container .answer-option {
    padding: 14px;
    font-size: 13px;
  }

  .question-sidebar .palette-legend {
    grid-template-columns: 1fr 1fr;
  }

  .exam-modal .modal-footer {
    padding: 16px;
  }

  .exam-modal .modal-footer .exam-btn {
    flex: 1;
  }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
  .mock-question *,
  .mock-question *::before,
  .mock-question *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==========================================
   PHOENIX ADC ACADEMY
   COURSE ENROLMENT
========================================== */

.course-enrollment-page {
  --enroll-primary: #315efb;
  --enroll-primary-dark: #2348d6;
  --enroll-text: #172238;
  --enroll-muted: #758197;
  --enroll-border: #e5eaf2;
  --enroll-background: #f5f7fb;
  --enroll-green: #18845d;

  min-height: 100vh;
  background: var(--enroll-background);
  color: var(--enroll-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.course-enrollment-page *,
.course-enrollment-page *::before,
.course-enrollment-page *::after {
  box-sizing: border-box;
}

.enrollment-wrapper {
  max-width: 1320px;
  margin: 0 auto;
}


/* ==========================================
   HEADER
========================================== */

.enrollment-header {
  padding: 12px 0 35px;
  border-bottom: 1px solid #e4e9f1;
}

.enrollment-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #66738a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.brand-indicator {
  width: 9px;
  height: 9px;
  background: var(--enroll-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(24, 132, 93, 0.1);
}

.enrollment-header h1 {
  margin: 17px 0 10px;
  color: var(--enroll-text);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 800;
  letter-spacing: -1.8px;
}

.enrollment-description {
  max-width: 620px;
  margin: 0;
  color: var(--enroll-muted);
  font-size: 14px;
  line-height: 1.8;
}


/* ==========================================
   ENROLMENT STEPS
========================================== */

.enrollment-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 28px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #939daf;
  font-size: 11px;
  font-weight: 650;
}

.step-number {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.step-item.active {
  color: var(--enroll-primary);
}

.step-item.active .step-number {
  color: #fff;
  background: var(--enroll-primary);
  border-color: var(--enroll-primary);
}

.step-divider {
  width: 35px;
  height: 1px;
  background: #dfe5ef;
}


/* ==========================================
   MAIN LAYOUT
========================================== */

.enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 25px;
  margin-top: 30px;
}

.enrollment-form-column {
  min-width: 0;
}

.enrollment-form {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--enroll-border);
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(28, 42, 70, 0.035);
}


/* ==========================================
   FORM SECTIONS
========================================== */

.form-section {
  padding: 29px;
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  color: var(--enroll-primary);
  background: #eef2ff;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
}

.form-section-heading h2 {
  margin: 0 0 5px;
  color: var(--enroll-text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.35px;
}

.form-section-heading p {
  margin: 0;
  color: var(--enroll-muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-divider {
  height: 1px;
  background: var(--enroll-border);
}


/* ==========================================
   FORM GRID
========================================== */

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

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 9px;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

.required {
  color: #e05252;
}

.optional-label {
  margin-left: 3px;
  color: #939daf;
  font-size: 10px;
  font-weight: 550;
}


/* ==========================================
   INPUTS
========================================== */

.course-enrollment-page .form-control,
.course-enrollment-page .form-select {
  width: 100%;
  min-height: 47px;
  padding: 12px 14px;
  color: var(--enroll-text);
  background-color: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 9px;
  font-family: inherit;
  font-size: 12px;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.course-enrollment-page .form-control::placeholder {
  color: #a0a9b8;
  opacity: 1;
}

.course-enrollment-page .form-control:hover,
.course-enrollment-page .form-select:hover {
  border-color: #bac7dc;
}

.course-enrollment-page .form-control:focus,
.course-enrollment-page .form-select:focus {
  color: var(--enroll-text);
  background-color: #fff;
  border-color: var(--enroll-primary);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(49, 94, 251, 0.09);
}

.course-enrollment-page .form-control.is-invalid,
.course-enrollment-page .form-select.is-invalid {
  border-color: #dc3545;
  background-image: none;
}

.course-enrollment-page .form-control.is-valid,
.course-enrollment-page .form-select.is-valid {
  border-color: var(--enroll-green);
  background-image: none;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 0;
  color: #dc3545;
  font-size: 10px;
  line-height: 1.5;
}

.field-error:not(:empty) {
  margin-top: 6px;
}


/* ==========================================
   PAYMENT NOTE
========================================== */

.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 23px;
  padding: 15px;
  background: #f6f8fc;
  border: 1px solid #e9edf5;
  border-radius: 10px;
}

.note-icon {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  color: var(--enroll-primary);
  border: 1px solid #cbd6ff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.payment-note p {
  margin: 0;
  color: #758197;
  font-size: 11px;
  line-height: 1.8;
}


/* ==========================================
   APPLICATION NOTICE
========================================== */

.application-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 29px 25px;
  padding: 17px;
  background: #effaf4;
  border: 1px solid #d4f0df;
  border-radius: 11px;
}

.notice-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: #fff;
  background: var(--enroll-green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.application-notice p {
  margin: 0;
  color: #557665;
  font-size: 11px;
  line-height: 1.8;
}

.application-notice strong {
  display: block;
  margin-bottom: 3px;
  color: #176443;
  font-size: 12px;
}


/* ==========================================
   SUBMIT AREA
========================================== */

.form-submit-area {
  padding: 24px 29px 28px;
  text-align: center;
  background: #fbfcfe;
  border-top: 1px solid var(--enroll-border);
}

.enrollment-submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 51px;
  padding: 13px 18px;
  color: #fff;
  background: var(--enroll-primary);
  border: 1px solid var(--enroll-primary);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.enrollment-submit-btn:hover {
  background: var(--enroll-primary-dark);
  border-color: var(--enroll-primary-dark);
  box-shadow: 0 5px 15px rgba(49, 94, 251, 0.2);
  transform: translateY(-1px);
}

.enrollment-submit-btn:focus-visible {
  outline: 3px solid rgba(49, 94, 251, 0.25);
  outline-offset: 3px;
}

.enrollment-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.submit-arrow {
  font-size: 19px;
  line-height: 1;
}

.submit-caption {
  margin: 12px 0 0;
  color: #929caf;
  font-size: 10px;
}

.registration-message {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.registration-message:empty {
  display: none;
}

.registration-message.success {
  color: var(--enroll-green);
}

.registration-message.error {
  color: #dc3545;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1000px) {
  .form-section {
    padding: 23px;
  }

  .application-notice {
    margin-right: 23px;
    margin-left: 23px;
  }

  .form-submit-area {
    padding-right: 23px;
    padding-left: 23px;
  }

}

@media (max-width: 576px) {
  .enrollment-wrapper {
    padding-right: 13px !important;
    padding-left: 13px !important;
  }

  .enrollment-header {
    padding-bottom: 25px;
  }

  .enrollment-header h1 {
    font-size: 31px;
  }

  .enrollment-steps {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .step-divider {
    display: none;
  }

  .enrollment-layout {
    margin-top: 20px;
  }

  .form-section {
    padding: 20px 17px;
  }

  .form-section-heading {
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
  }

  .section-icon {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .form-section-heading h2 {
    font-size: 15px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .full-width {
    grid-column: auto;
  }

  .application-notice {
    margin: 0 17px 20px;
    padding: 14px;
  }

  .form-submit-area {
    padding: 20px 17px;
  }

}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .course-enrollment-page *,
  .course-enrollment-page *::before,
  .course-enrollment-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.free-mock {
  --brand: #4f46e5;
  --brand-soft: #eef2ff;
  --ok: #16a34a;
  --bad: #dc2626;
  --warn: #f59e0b;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #fff;
  --radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.free-mock.app-shell { max-width: 880px; }

body:has(.free-mock) {
  background: #fff;
  color: #172033;
}

.free-mock .card-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.free-mock #startSection, .free-mock #reviewSection { max-width: 460px; }
.free-mock .result-hero { max-width: 900px; text-align: left !important; }

.free-mock .btn-primary { background: var(--brand); border-color: var(--brand); }
.free-mock .btn-primary:hover { background: #4338ca; border-color: #4338ca; }

/* Start */
.free-mock .icon-badge {
  width: 50px; height: 50px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.45rem;
}
.free-mock .stat {
  background: #f8fafc; border: 1px solid var(--line);
  border-radius: 12px; padding: .6rem .25rem;
}
.free-mock .stat-num { font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
.free-mock .stat-lbl { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.free-mock .tips li { margin-bottom: .4rem; }

/* Top bar */
.free-mock .topbar {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .6rem 1rem;
}
.free-mock .timer {
  font-variant-numeric: tabular-nums; font-weight: 600;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 999px; padding: .3rem .8rem;
}
.free-mock .timer.danger { background: #fee2e2; color: var(--bad); }
.free-mock .progress { height: 6px; background: #e5e7eb; }
.free-mock .progress-bar { background: var(--brand); transition: width .25s ease; }

/* Question */
.free-mock .q-text { font-size: 1.15rem; font-weight: 600; line-height: 1.5; }

.free-mock .opt {
  display: flex; align-items: center; gap: .75rem; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .7rem .9rem; cursor: pointer; transition: all .15s ease; width: 100%;
}
.free-mock .opt:hover { border-color: var(--brand); background: var(--brand-soft); }
.free-mock .opt .letter {
  flex: 0 0 28px; height: 28px; border-radius: 8px; background: #f1f5f9;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--muted);
}
.free-mock .opt.selected { border-color: var(--brand); background: var(--brand-soft); }
.free-mock .opt.selected .letter { background: var(--brand); color: #fff; }

.free-mock #flagBtn.flagged { background: var(--warn); border-color: var(--warn); color: #fff; }

/* Palette */
.free-mock .palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.free-mock .pal-btn {
  aspect-ratio: 1 / 1; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600; font-size: .85rem; position: relative;
  transition: transform .1s ease;
}
.free-mock .pal-btn:hover { transform: translateY(-1px); }
.free-mock .pal-btn.answered { background: var(--brand); border-color: var(--brand); color: #fff; }
.free-mock .pal-btn.current { outline: 3px solid rgba(79, 70, 229, .3); border-color: var(--brand); }
.free-mock .pal-btn.flagged::after {
  content: ""; position: absolute; top: 3px; right: 3px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--warn);
  border: 1.5px solid #fff;
}
.free-mock .legend { display: flex; flex-wrap: wrap; gap: .5rem .9rem; }
.free-mock .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.free-mock .dot-answered { background: var(--brand); }
.free-mock .dot-flagged { background: var(--warn); border-radius: 50%; }
.free-mock .dot-empty { background: #fff; border: 1.5px solid var(--line); }

/* Review */
.free-mock .review-list { max-height: 340px; overflow-y: auto; }
.free-mock .review-item {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: .4rem; cursor: pointer; font-size: .9rem;
}
.free-mock .review-item:hover { background: #f8fafc; }
.free-mock .review-item .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Result */
.free-mock .score-ring {
  --p: 0;
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto;
  display: grid; place-items: center;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), #e5e7eb 0);
  position: relative;
}
.free-mock .score-ring::before {
  content: ""; position: absolute; inset: 10px; background: #fff; border-radius: 50%;
}
.free-mock .score-ring span { position: relative; font-size: 1.55rem; font-weight: 800; }

.free-mock .res-card { border-left: 4px solid var(--line); }
.free-mock .res-card.correct { border-left-color: var(--ok); }
.free-mock .res-card.wrong { border-left-color: var(--bad); }
.free-mock .res-card.skipped { border-left-color: #94a3b8; }
.free-mock .res-opt { font-size: .92rem; padding: .4rem .6rem; border-radius: 8px; margin-top: .3rem; border: 1px solid var(--line); }
.free-mock .res-opt.is-correct { background: #dcfce7; border-color: #86efac; }
.free-mock .res-opt.is-wrong { background: #fee2e2; border-color: #fca5a5; }
.free-mock .explain { background: #f8fafc; border-radius: 10px; padding: .6rem .8rem; font-size: .9rem; margin-top: .6rem; }

.free-mock .scenario-chip { display: grid; gap: .2rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; font-size: .8rem; }
.free-mock .scenario-chip span { color: var(--muted); }
.free-mock .scenario-context { border-left: 4px solid var(--brand); background: #f8fafc; border-radius: 8px; padding: .75rem 1rem; color: #334155; line-height: 1.5; }
.free-mock .is-entering { animation: free-mock-enter .24s ease both; }
@keyframes free-mock-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 576px) {
  .free-mock .q-text { font-size: 1.05rem; }
  .free-mock .palette { grid-template-columns: repeat(7, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .free-mock *, .free-mock *::before, .free-mock *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.founder-message {
    position: relative;
    z-index: 1;
    padding: 30px 0 56px;
    background: #fff;
    color: #17345d;
}

.founder-message-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #e4eaf2;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 18px 48px rgba(23, 52, 93, .08);
}

.founder-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #2864b4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.founder-message-copy h2 {
    margin: 0 0 16px;
    color: #102c47;
  font-family: "IBM Plex Mono", monospace;


    font-size: clamp(26px, 3.3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
}

.founder-message-copy p {
    max-width: 760px;
    margin: 0 0 12px;
    color: #52637a;
    font-size: 15px;
    line-height: 1.8;
}

/* Scenario mock student flow */
body:has(.dashboard-mock-page) {
    background: #fff;
    color: #17345d;
}

.dashboard-mock-page {
    --scenario-ink: #17345d;
    --scenario-muted: #63758c;
    --scenario-line: #e1e8f1;
    --scenario-gold: #bd9418;
    color: var(--scenario-ink);
}

.dashboard-mock-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.dashboard-mock-eyebrow {
    color: var(--scenario-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.dashboard-mock-heading h1 {
    margin: 8px 0 10px;
    color: var(--scenario-ink);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
}

.dashboard-mock-heading p,
.dashboard-mock-section-heading p { color: var(--scenario-muted); margin: 0; line-height: 1.65; }

.dashboard-attempt-history {
    max-width: 1060px;
    margin: 0 auto 34px;
    padding: clamp(18px, 3vw, 24px);
    border: 1px solid var(--scenario-line);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #fbfcff);
    box-shadow: 0 8px 24px rgba(23, 52, 93, .05);
}

.dashboard-attempt-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.dashboard-attempt-history-heading h2 {
    margin: 5px 0 0;
    color: var(--scenario-ink);
    font-size: 20px;
    font-weight: 800;
}

.dashboard-attempt-history-message {
    margin: 0;
    color: var(--scenario-muted);
    font-size: 13px;
}

.dashboard-attempt-history-message.is-error {
    color: #a33a3a;
}

.dashboard-attempt-history-list {
    display: grid;
    gap: 10px;
}

.dashboard-attempt-history-item {
    display: block;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5eaf1;
    border-radius: 11px;
    background: #fff;
}

.dashboard-attempt-history-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 15px;
    cursor: pointer;
    list-style: none;
}

.dashboard-attempt-history-summary::-webkit-details-marker { display: none; }
.dashboard-attempt-history-summary > div:first-child { flex: 1 1 auto; min-width: 0; }
.dashboard-attempt-history-toggle { color: #2864a7; font-size: 12px; font-weight: 750; white-space: nowrap; }
.dashboard-attempt-history-summary > .bi { color: #718096; transition: transform .18s ease; }
.dashboard-attempt-history-item[open] .dashboard-attempt-history-summary > .bi { transform: rotate(180deg); }

.dashboard-attempt-history-item h3 {
    margin: 0 0 4px;
    color: #17345d;
    font-size: 14px;
    font-weight: 750;
}

.dashboard-attempt-history-item p {
    margin: 0;
    color: #748094;
    font-size: 12px;
}

.dashboard-attempt-history-score {
    flex: 0 0 auto;
    color: #176647;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-attempt-review {
    padding: 0 15px 16px;
    border-top: 1px solid #edf0f4;
}

.dashboard-attempt-review-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 13px 0;
}

.dashboard-attempt-review-counts span,
.dashboard-attempt-question-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.dashboard-attempt-review-counts .is-passed,
.dashboard-attempt-question-status.is-passed { color: #176647; background: #e8f6ef; }
.dashboard-attempt-review-counts .is-failed,
.dashboard-attempt-question-status.is-failed { color: #a33a3a; background: #fff0ef; }

.dashboard-attempt-question-list { display: grid; gap: 9px; }
.dashboard-attempt-question { padding: 12px 13px; border: 1px solid #e5eaf1; border-radius: 10px; background: #fff; }
.dashboard-attempt-question.is-passed { border-left: 3px solid #2b8a62; }
.dashboard-attempt-question.is-failed { border-left: 3px solid #c65a52; }
.dashboard-attempt-question-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dashboard-attempt-question-top h4 { margin: 0; color: #17345d; font-size: 13px; font-weight: 750; line-height: 1.5; }
.dashboard-attempt-question-prompt { margin: 8px 0; color: #34465c; font-size: 13px; line-height: 1.6; }
.dashboard-attempt-question-answers,
.dashboard-attempt-question-explanation,
.dashboard-attempt-review-unavailable { margin: 0; color: #748094; font-size: 12px; line-height: 1.6; }
.dashboard-attempt-question-explanation { margin-top: 6px; color: #50647b; }

@media (max-width: 575.98px) {
    .dashboard-attempt-history-summary { flex-wrap: wrap; gap: 9px 12px; }
    .dashboard-attempt-history-summary > div:first-child { flex-basis: calc(100% - 32px); }
    .dashboard-attempt-history-score { margin-left: 0; }
    .dashboard-attempt-history-toggle { margin-left: auto; }
    .dashboard-attempt-review { padding-right: 11px; padding-left: 11px; }
    .dashboard-attempt-question-top { align-items: flex-start; }
}

.dashboard-mock-section-heading,
.dashboard-test-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dashboard-mock-section-heading h2,
.dashboard-test-header h2,
.dashboard-scenario-result h2 {
    margin: 5px 0;
    color: var(--scenario-ink);
    font-size: clamp(21px, 3vw, 28px);
    font-weight: 800;
}

.dashboard-mock-count {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f6fa;
    color: var(--scenario-muted);
    font-size: 12px;
    font-weight: 700;
}

.dashboard-scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
}

.dashboard-scenario-card {
    border: 1px solid var(--scenario-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 52, 93, .06);
}

.dashboard-mock-panel {
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(18px, 4vw, 32px);
    border: 1px solid var(--scenario-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 52, 93, .06);
}

.dashboard-scenario-card {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.dashboard-scenario-number {
    display: inline-grid;
    width: auto;
    min-width: 88px;
    height: 40px;
    padding: 0 10px;
    place-items: center;
    border-radius: 12px;
    background: #fbf6e5;
    color: var(--scenario-gold);
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-scenario-card h3 {
    margin: 16px 0 6px;
    color: var(--scenario-ink);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
}

.dashboard-scenario-card p { margin: 0 0 16px; color: var(--scenario-muted); font-size: 13px; }

.dashboard-primary-button,
.dashboard-secondary-button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.dashboard-primary-button { background: #173f70; color: #fff; }
.dashboard-primary-button:hover:not(:disabled) { background: #235a96; }
.dashboard-primary-button:disabled { background: #e8edf3; color: #8391a2; cursor: not-allowed; }
.dashboard-secondary-button { border-color: var(--scenario-line); background: #fff; color: var(--scenario-ink); }
.dashboard-secondary-button:hover:not(:disabled) { border-color: #b9c8d9; background: #f8fafc; }
.dashboard-secondary-button:disabled { color: #9aa7b6; cursor: not-allowed; }

.dashboard-mock-message {
    margin: 14px 0 0;
    color: var(--scenario-muted);
    font-size: 13px;
    line-height: 1.55;
}
.dashboard-mock-message.is-error { color: #b42318; }

.dashboard-test-header { align-items: flex-start; }
.dashboard-test-header h2 { margin-bottom: 0; }

.dashboard-vignette {
    padding: 16px 18px;
    border-left: 4px solid var(--scenario-gold);
    border-radius: 10px;
    background: #faf8f1;
    color: #354b66;
    line-height: 1.65;
}
.dashboard-vignette strong { display: block; margin-bottom: 4px; color: var(--scenario-ink); font-size: 13px; }
.dashboard-vignette p { margin: 0; }

.dashboard-question-progress { margin: 20px 0 14px; }
.dashboard-question-progress > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--scenario-muted); font-size: 12px; font-weight: 700; }
.dashboard-progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #e9eef4; }
.dashboard-progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--scenario-gold); transition: width .2s ease; }

.dashboard-question-card { padding: clamp(16px, 3vw, 24px); border: 1px solid var(--scenario-line); border-radius: 14px; }
.dashboard-question-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dashboard-question-subject { color: #2864a7; font-size: 12px; font-weight: 800; letter-spacing: .5px; }
.dashboard-question-top > div { display: grid; gap: 7px; }
.dashboard-question-cluster { display: inline-flex; width: fit-content; max-width: 100%; padding: 5px 9px; border: 1px solid #f0dfaf; border-radius: 999px; background: #fff9e8; color: #85640a; font-size: 10px; font-weight: 800; line-height: 1.4; }
.dashboard-flag-button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #eadfb5; border-radius: 9px; background: #fffdf5; color: #8a6a0a; font-size: 12px; font-weight: 700; }
.dashboard-flag-button.is-flagged { border-color: #d5a31b; background: #fbf1d0; color: #755606; }
.dashboard-question-card h3 { margin: 0 0 18px; color: #1b2f48; font-size: clamp(17px, 2.5vw, 21px); font-weight: 700; line-height: 1.55; }
.dashboard-option-list { display: grid; gap: 10px; }
.dashboard-option { display: flex; width: 100%; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid #dfe6ee; border-radius: 11px; background: #fff; color: #34465c; text-align: left; line-height: 1.5; }
.dashboard-option:hover { border-color: #98aec7; background: #f8fafc; }
.dashboard-option.is-selected { border-color: #315f91; background: #f0f5fb; color: #17345d; }
.dashboard-option-letter { display: inline-grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: #eff3f7; color: #50647b; font-size: 12px; font-weight: 800; }
.dashboard-option.is-selected .dashboard-option-letter { background: #173f70; color: #fff; }
.dashboard-question-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }

.dashboard-result-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.dashboard-result-stats > div { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--scenario-line); border-radius: 12px; background: #f8fafc; }
.dashboard-result-stats strong { color: var(--scenario-ink); font-size: 20px; }
.dashboard-result-stats span { color: var(--scenario-muted); font-size: 12px; }

/* Admin scenario builder */
.mock-admin { min-height: 80vh; background: #f3f6fb; color: #172033; }
.mock-admin > main.container { max-width: 1240px; }
.mock-admin-page-heading { max-width: 840px; margin: 0 0 24px; }
.mock-admin-page-heading > span { color: #ad8616; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.mock-admin-page-heading h1 { margin: 6px 0 8px; color: #17345d; font-size: clamp(27px, 4vw, 38px); font-weight: 850; }
.mock-admin-page-heading p { max-width: 720px; margin: 0; color: #68788d; line-height: 1.65; }
.dashboard-scenario-admin { margin-bottom: 34px; padding: clamp(18px, 3vw, 28px); border: 1px solid #e1e8f1; border-radius: 18px; background: linear-gradient(145deg, #fff, #f7faff); box-shadow: 0 12px 30px rgba(23, 52, 93, .06); }
.dashboard-scenario-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dashboard-scenario-admin-heading h2 { margin: 4px 0 6px; color: #17345d; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.dashboard-scenario-admin-heading p { max-width: 680px; margin: 0; color: #64748b; line-height: 1.6; }
.dashboard-scenario-limit { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; background: #f2f5f9; color: #53657b; font-size: 12px; font-weight: 800; }
.dashboard-admin-scenario-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dashboard-admin-scenario-card { display: flex; min-height: 160px; flex-direction: column; align-items: flex-start; padding: 15px; border: 1px solid #e1e8f1; border-radius: 13px; background: #fff; }
.dashboard-admin-scenario-card.is-empty { background: #fafbfd; border-style: dashed; }
.dashboard-admin-module-card { min-height: 198px; padding: 18px; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.dashboard-admin-module-card:hover { transform: translateY(-2px); border-color: #a9c2e5; box-shadow: 0 10px 22px rgba(32, 75, 130, .1); }
.dashboard-admin-module-card.is-ready { border-color: #bdddcf; background: linear-gradient(145deg, #fff, #f3fbf6); }
.dashboard-admin-module-card h3 { font-size: 17px; }
.dashboard-admin-module-card .dashboard-admin-question-count { min-height: 50px; }
.dashboard-admin-slot { color: #aa8513; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.dashboard-admin-scenario-card h3 { margin: 12px 0 6px; color: #193655; font-size: 15px; line-height: 1.4; }
.dashboard-admin-scenario-card p { color: #67788e; font-size: 12px; line-height: 1.5; }
.dashboard-admin-question-count { font-weight: 700; }
.dashboard-admin-form { padding: 20px; border: 1px solid #e1e8f1; border-radius: 14px; background: #fff; }
.dashboard-admin-form-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.dashboard-admin-step { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #fbf6e5; color: #9b7710; font-size: 12px; font-weight: 800; }
.dashboard-admin-form-heading h3 { margin: 0 0 4px; color: #17345d; font-size: 18px; font-weight: 800; }
.dashboard-admin-form-heading p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.dashboard-admin-question-progress { display: grid; gap: 8px; margin-bottom: 18px; color: #53657b; font-size: 12px; font-weight: 750; }
.dashboard-admin-question-item { display: flex; min-height: 190px; flex-direction: column; align-items: flex-start; padding: 14px; border: 1px solid #e1e8f1; border-radius: 11px; background: #fbfcfe; }
.dashboard-admin-question-item.is-filled { border-color: #cddced; background: #fff; }
.dashboard-admin-scenario-choice { min-height: 200px; padding: 17px; }
.dashboard-admin-scenario-choice.is-filled { border-color: #bcd9ca; background: #f7fcf9; }
.dashboard-admin-scenario-choice .dashboard-admin-slot,
.dashboard-admin-question-item .dashboard-admin-slot { overflow-wrap: anywhere; line-height: 1.5; }
.dashboard-admin-cluster-tag { margin-top: auto; padding: 5px 8px; border-radius: 999px; background: #fff7df; color: #775b12; font-size: 10px; font-weight: 750; line-height: 1.4; }
.dashboard-admin-question-item strong { display: block; margin-bottom: 6px; color: #17345d; }
.dashboard-admin-question-item p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow-wrap: anywhere; margin: 0 0 10px; color: #42556c; line-height: 1.5; }
.dashboard-admin-question-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.dashboard-admin-question-item.is-empty { border-style: dashed; background: #fafbfd; }
.admin-question-image-preview { max-width: min(100%, 380px); max-height: 220px; object-fit: contain; border: 1px solid #e1e8f1; border-radius: 10px; background: #f8fafc; }
.admin-scenario-reference-preview { display: block; width: min(100%, 420px); max-height: 250px; margin: 0 0 18px; object-fit: contain; border: 1px solid #e1e8f1; border-radius: 12px; background: #f8fafc; }
.admin-scenario-reference-preview[hidden] { display: none; }
.dashboard-question-image { display: block; max-width: 100%; max-height: 440px; margin: 0 0 18px; object-fit: contain; border: 1px solid var(--scenario-line); border-radius: 12px; background: #f8fafc; }
.dashboard-question-image[hidden] { display: none; }
.mock-question-image { display: block; max-width: 100%; max-height: 440px; object-fit: contain; border: 1px solid #e1e8f1; border-radius: 12px; background: #f8fafc; }
.mock-question-image[hidden] { display: none; }

.mock-results-page > header h1 { margin: 5px 0 8px; color: #17345d; font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.mock-results-page > header p { color: #64748b; }
#mockResultsList { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.mock-result-card { overflow: hidden; border: 1px solid #e1e8f1; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(23, 52, 93, .06); }
.mock-result-card-body { padding: 20px; }
.mock-result-name { margin: 0 0 12px; color: #17345d; font-size: 19px; font-weight: 800; }
.mock-result-meta { margin: 0 0 7px; color: #52657d; font-size: 13px; line-height: 1.5; }
.mock-result-score { margin: 13px 0 8px; padding: 10px 12px; border-radius: 10px; background: #f8f5e8; color: #715a13; font-size: 15px; font-weight: 800; }
.mock-result-date { display: block; margin-top: 12px; color: #8592a3; }
.mock-result-answer-report > summary { width: fit-content; padding: 8px 12px; border: 1px solid #d8e2ee; border-radius: 9px; color: #1d4f83; font-size: 13px; font-weight: 700; cursor: pointer; }
.mock-result-question-list { display: grid; gap: 10px; margin-top: 12px; }
.mock-result-question { padding: 13px; border: 1px solid #dce5ef; border-radius: 10px; background: #fbfcfe; }
.mock-result-question.is-incorrect { border-color: #f1d5d5; background: #fffafa; }
.mock-result-question strong { display: block; margin-bottom: 5px; color: #17345d; }
.mock-result-question p { margin: 0 0 7px; color: #52657d; font-size: 13px; line-height: 1.5; }

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

@media (max-width: 575.98px) {
    .dashboard-mock-page { padding-right: 14px; padding-left: 14px; }
    .dashboard-mock-heading { margin-bottom: 24px; }
    .dashboard-mock-section-heading, .dashboard-test-header, .dashboard-scenario-admin-heading { align-items: flex-start; flex-direction: column; }
    .dashboard-scenario-grid { grid-template-columns: 1fr; gap: 11px; }
    .dashboard-scenario-card { min-height: 0; padding: 16px; }
    .dashboard-scenario-card h3 { margin-top: 11px; }
    .dashboard-mock-panel { padding: 16px; border-radius: 14px; }
    .dashboard-vignette { padding: 13px; font-size: 14px; }
    .dashboard-question-card { padding: 14px; }
    .dashboard-option { padding: 10px; font-size: 14px; }
    .dashboard-question-actions button { flex: 1; padding: 10px 8px; font-size: 12px; }
    .dashboard-admin-scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-admin-question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-admin-scenario-card { min-height: 145px; padding: 12px; }
    .dashboard-admin-scenario-card h3 { font-size: 13px; }
    .dashboard-admin-question-item { min-height: 170px; padding: 12px; }
    .dashboard-admin-form { padding: 15px; }
}

.founder-message-copy .founder-lead {
    margin-bottom: 14px;
    color: #2864b4;
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 650;
    line-height: 1.55;
}

.founder-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e1e9f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 52, 93, .06);
}

.founder-monogram {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: #eaf3ff;
    color: #2864b4;
  font-family: "IBM Plex Mono", monospace;


    font-size: 20px;
    font-weight: 800;
}

.founder-signature strong,
.founder-signature span { display: block; }
.founder-signature strong { margin-bottom: 5px; color: #102c47; font-size: 15px; }
.founder-signature span { color: #64748b; font-size: 12px; line-height: 1.5; }

@media (max-width: 767.98px) {
    .founder-message { padding: 24px 0 40px; }
    .founder-message-card { grid-template-columns: minmax(0, 1fr); gap: 20px; border-radius: 18px; }
}

/* Student landing page spacing and card refinements */
body:has(.hero-wrapper) .hero {
    padding: 30px 0 38px;
}

body:has(.hero-wrapper) .hero-row {
    min-height: 370px;
}

body:has(.hero-wrapper) .signup-card {
    max-width: 390px;
    padding: 26px;
    border-color: #d7e2ee;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(16, 42, 67, .1);
}

body:has(.hero-wrapper) .signup-top {
    margin-bottom: 22px;
}

body:has(.hero-wrapper) .founder-message {
    padding: 22px 0 36px;
}

body:has(.hero-wrapper) .founder-message-card {
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(22px, 3.5vw, 36px);
    border-color: #cbd7e5;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(23, 52, 93, .06);
}

body:has(.hero-wrapper) .courses-section {
    padding: 20px 0 34px;
    margin-bottom: 0;
}

body:has(.hero-wrapper) .courses-heading {
    margin-bottom: 6px;
}

body:has(.hero-wrapper) .courses-heading .section-label {
    font-size: clamp(28px, 3.5vw, 38px);
}

body:has(.hero-wrapper) .courses-heading > p {
    max-width: 720px;
    margin-inline: auto;
    font-size: 16px;
}

body:has(.hero-wrapper) .courses-slider {
    gap: 18px;
    padding: 12px 4px 24px;
}

body:has(.hero-wrapper) .course-card {
    min-height: 500px;
    padding: 24px;
    border-color: #cbd7e5;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(16, 44, 71, .06);
}

body:has(.hero-wrapper) .course-number {
    top: 18px;
    right: 22px;
    font-size: 40px;
}

body:has(.hero-wrapper) .course-tag {
    margin-bottom: 16px;
}

body:has(.hero-wrapper) .course-card h3 {
    margin-bottom: 9px;
    font-size: 23px;
}

body:has(.hero-wrapper) .course-subtitle {
    margin-bottom: 10px;
    font-size: 13px;
}

body:has(.hero-wrapper) .course-description {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.55;
}

body:has(.hero-wrapper) .course-features {
    gap: 6px;
    margin-bottom: 20px;
}

body:has(.hero-wrapper) .course-features span {
    font-size: 12px;
    line-height: 1.45;
}

body:has(.hero-wrapper) .course-bottom {
    right: 24px;
    bottom: 22px;
    left: 24px;
    padding-top: 14px;
}

body:has(.hero-wrapper) .course-card-tiered-price {
    padding-bottom: 132px;
}

body:has(.hero-wrapper) .course-controls {
    margin-top: 0;
}

body:has(.hero-wrapper) .phoenix-about,
body:has(.hero-wrapper) .phoenix-contact {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

body:has(.hero-wrapper) .phoenix-about-heading {
    margin-bottom: 28px !important;
}

body:has(.hero-wrapper) .phoenix-flip-card {
    max-width: 460px;
    height: 440px;
}

body:has(.hero-wrapper) .phoenix-card-face {
    padding: 26px;
    border-color: #cbd7e5;
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(23, 52, 93, .06);
}

body:has(.hero-wrapper) .phoenix-card-index {
    margin-bottom: 18px;
}

body:has(.hero-wrapper) .phoenix-icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-size: 29px;
}

body:has(.hero-wrapper) .phoenix-card-front > p {
    margin-bottom: 20px;
    line-height: 1.65;
}

body:has(.hero-wrapper) .phoenix-contact-box {
    padding: 32px;
    border-color: #cbd7e5;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(23, 52, 93, .06);
}

@media (max-width: 991.98px) {
    body:has(.hero-wrapper) .phoenix-flip-card {
        height: 460px;
    }
}

@media (max-width: 575.98px) {
    body:has(.hero-wrapper) .hero {
        padding: 24px 0 30px;
    }

    body:has(.hero-wrapper) .hero-row {
        min-height: 0;
    }

    body:has(.hero-wrapper) .signup-card {
        padding: 22px;
    }

    body:has(.hero-wrapper) .course-card {
        min-height: 480px;
        padding: 20px;
    }

    body:has(.hero-wrapper) .course-card h3 {
        font-size: 21px;
    }

    body:has(.hero-wrapper) .course-bottom {
        right: 20px;
        left: 20px;
    }

    body:has(.hero-wrapper) .course-card-tiered-price {
        padding-bottom: 128px;
    }

    body:has(.hero-wrapper) .phoenix-about,
    body:has(.hero-wrapper) .phoenix-contact {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    body:has(.hero-wrapper) .phoenix-flip-card {
        height: 440px;
    }

    body:has(.hero-wrapper) .phoenix-card-face {
        padding: 22px;
    }

    body:has(.hero-wrapper) .phoenix-contact-box {
        padding: 24px 20px;
    }
}

.phoenix-contact-page .phoenix-auth-callout {
    max-width: 820px;
    margin: 0 auto 24px !important;
    padding: 16px 20px;
    border: 1px solid #d7e2ee;
    border-left: 3px solid #2864b4;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 6px 18px rgba(16, 42, 67, .06);
}

.phoenix-contact-page .phoenix-auth-callout p {
    color: #34465c;
    font-size: 14px;
    font-weight: 600;
}

.phoenix-contact-page .phoenix-auth-actions {
    flex-direction: row;
    gap: 9px;
}

.phoenix-contact-page .phoenix-auth-link {
    width: auto;
    min-width: 126px;
    height: 42px;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 13px;
}

.phoenix-contact-page .phoenix-auth-link-secondary {
    border-color: #c8d7e8;
    color: #17345d;
    background: #fff;
}

.phoenix-contact-page .phoenix-auth-link-secondary:hover {
    border-color: #17345d;
    background: #17345d;
}

.phoenix-contact-page .phoenix-auth-link:focus-visible {
    outline: 3px solid rgba(40, 100, 180, .35);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .phoenix-contact-page .phoenix-auth-callout {
        align-items: stretch;
        padding: 16px;
    }

    .phoenix-contact-page .phoenix-auth-actions {
        flex-direction: column;
    }

    .phoenix-contact-page .phoenix-auth-link {
        width: 100%;
    }
}

body:has(.hero-wrapper) .signup-top h2 {
    font-size: 23px;
    line-height: 1.3;
}

body:has(.hero-wrapper) .input-group-custom {
    margin-bottom: 16px;
}

body:has(.hero-wrapper) .input-group-custom input {
    min-height: 46px;
    padding: 11px 13px;
    border-color: #d7e0ea;
    border-radius: 8px;
    background: #f8fafc;
    font-family: inherit;
}

body:has(.hero-wrapper) .input-group-custom input:focus {
    border-color: #2864b4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(40, 100, 180, .12);
}

body:has(.hero-wrapper) .signup-btn {
    min-height: 46px;
    margin-top: 5px;
    padding: 12px 16px;
    border: 1px solid #155fb4;
    border-radius: 8px;
    font-size: 14px;
}

body:has(.hero-wrapper) .signup-btn:focus-visible,
body:has(.hero-wrapper) .login-text a:focus-visible,
.student-signup .signup-footer a:focus-visible {
    outline: 3px solid rgba(40, 100, 180, .35);
    outline-offset: 3px;
}

.student-signup .signup-divider {
    margin-top: 14px;
}

.student-signup .signup-terms {
    margin-top: 14px;
    border-color: #d7e2ee;
    border-radius: 8px;
    background: #f8fafc;
}

.student-signup .signup-terms input {
    accent-color: #155fb4;
}

.student-signup .create-account-btn {
    min-height: 46px;
    border-color: #155fb4;
    border-radius: 8px;
    background: #155fb4;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.student-signup .create-account-btn:hover {
    border-color: #102a43;
    background: #102a43;
    transform: translateY(-1px);
}

.student-signup .signup-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e6ecf3;
}

.student-signup .signup-footer a {
    color: #155fb4;
}

@media (max-width: 575.98px) {
    .student-signup {
        flex: initial;
        padding: 22px 12px;
    }

    .student-signup .signup-card {
        padding: 22px 18px;
    }

    .student-signup .signup-fields { grid-template-columns: 1fr; gap: 13px; }
    .student-signup .signup-field-wide { grid-column: auto; }
}

@media (max-width: 767.98px) {
    .phoenix-toggler {
        display: grid;
        width: 44px;
        height: 44px;
        padding: 0;
        place-items: center;
    }

    .phoenix-nav .nav-link {
        display: flex;
        min-height: 44px;
        align-items: center;
    }

    .phoenix-navbar .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .phoenix-navbar .navbar-collapse {
        max-height: calc(100dvh - 96px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .phoenix-navbar .phoenix-action {
        flex-wrap: wrap;
        align-items: center;
    }

    .phoenix-navbar .phoenix-action > form.student-page-search {
        width: 100%;
        max-width: none;
        height: 44px;
        margin: 0;
    }

    .phoenix-navbar .phoenix-action > form.student-page-search .student-page-search-button {
        min-width: 44px;
        min-height: 44px;
    }

    .phoenix-navbar .phoenix-action > [data-admin-logout] {
        min-height: 44px;
        margin-left: 0 !important;
    }

    .phoenix-dashboard .phoenix-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .phoenix-dashboard .phoenix-user {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .phoenix-dashboard .phoenix-user [data-student-logout] {
        min-height: 44px;
        margin-left: auto;
    }

    .phoenix-dashboard .profile-detail strong,
    .dashboard-account-email,
    .mock-result-meta,
    .mock-result-question {
        overflow-wrap: anywhere;
    }

    .dashboard-main-grid {
        gap: 16px;
    }

    .dashboard-main-grid > .dashboard-panel {
        min-width: 0;
        width: 100%;
    }

    .phoenix-dashboard-page .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dashboard-mock-section-heading,
    .dashboard-test-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .dashboard-mock-count {
        align-self: flex-start;
    }

    .dashboard-option {
        min-height: 48px;
    }

    .dashboard-question-actions {
        flex-wrap: wrap;
    }

    .dashboard-question-actions button {
        min-height: 44px;
    }

    .th-footer-top {
        padding-right: 16px;
        padding-left: 16px;
    }

    .th-footer-bottom .container {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 12px 18px;
        padding-right: 16px;
        padding-left: 16px;
        text-align: center;
    }

    .th-footer-bottom p {
        flex: 1 1 100%;
        line-height: 1.5;
    }

    .th-scroll-top-btn {
        width: 44px;
        height: 44px;
    }

    .phoenix-contact-page .phoenix-contact-info,
    .phoenix-contact-page .phoenix-contact-form-card {
        padding: 22px 18px;
    }

    .phoenix-contact-page .phoenix-contact-header {
        margin-bottom: 28px !important;
    }

    .phoenix-contact-page .phoenix-auth-link {
        min-height: 44px;
    }

    .phoenix-contact-page .phoenix-auth-callout {
        gap: 12px;
    }

    .phoenix-contact-page .phoenix-auth-callout p {
        line-height: 1.55;
    }

    .course-enrollment-page .enrollment-steps {
        flex-wrap: wrap;
        gap: 10px;
    }

    .course-enrollment-page .step-divider {
        display: none;
    }

    .course-enrollment-page .step-item {
        flex: 1 1 140px;
    }

    .course-enrollment-page .form-submit-area .btn,
    .course-enrollment-page .form-submit-area button {
        min-height: 48px;
    }

    .approver-reject main {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .approver-reject [data-registration-list] {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .mock-admin > main.container {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .dashboard-scenario-admin-heading {
        flex-direction: column;
    }

    .dashboard-scenario-admin-heading > div:last-child {
        width: 100%;
    }

    .dashboard-scenario-admin-heading > div:last-child .btn {
        min-height: 42px;
    }

    .dashboard-admin-form-heading {
        flex-wrap: wrap;
    }

    .dashboard-admin-form-heading > button {
        min-height: 42px;
    }

    .dashboard-admin-form > button,
    .dashboard-admin-form form > button,
    .mock-admin #mockQuestionForm > button {
        min-height: 44px;
        margin: 4px 6px 4px 0;
    }

    .mock-results-page {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .phoenix-students-page .phoenix-action {
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    select,
    textarea {
        font-size: 16px;
    }

    .phoenix-navbar .navbar-collapse {
        padding-bottom: 10px;
    }

    .phoenix-navbar .phoenix-action .dashboard-btn {
        min-height: 44px;
    }

    .phoenix-navbar .phoenix-action .profile-btn {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .phoenix-dashboard .phoenix-header {
        padding: 18px 0;
    }

    .phoenix-dashboard .phoenix-user {
        align-items: center;
    }

    .phoenix-dashboard .phoenix-user [data-student-logout] {
        flex-basis: 100%;
        width: 100%;
        margin-left: 0;
    }

    .phoenix-dashboard-page .container {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .free-mock.app-shell {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .free-mock .card-panel {
        padding: 1rem;
    }

    .free-mock button.btn {
        min-height: 44px;
    }

    .phoenix-account-page button {
        min-height: 44px;
    }

    .free-mock .palette {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: .5rem;
    }

    .free-mock .pal-btn {
        min-height: 42px;
        aspect-ratio: auto;
    }

    .free-mock #reviewSection > .d-flex,
    .free-mock #resultSection .result-hero > .d-flex {
        flex-wrap: wrap;
    }

    .free-mock #reviewSection > .d-flex > button,
    .free-mock #resultSection .result-hero > .d-flex > button {
        min-height: 44px;
    }

    .free-mock .topbar {
        padding: .65rem .8rem;
    }

    .free-mock .timer {
        white-space: nowrap;
    }

    .phoenix-students-page .student-page-search {
        width: 100%;
    }

    .phoenix-students-page .table-responsive {
        border: 1px solid #e1e8f0;
        border-radius: 8px;
    }

    .phoenix-students-page .table th,
    .phoenix-students-page .table td {
        padding: 10px;
        font-size: 13px;
    }

    .dashboard-admin-scenario-grid,
    .dashboard-admin-question-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-admin-scenario-card,
    .dashboard-admin-question-item {
        min-height: 0;
    }

    .dashboard-scenario-admin-heading {
        gap: 12px;
    }

    .phoenix-admin-page .admin-form-card,
    .dashboard-scenario-admin,
    .dashboard-admin-form {
        padding: 16px;
    }

    .dashboard-admin-form > .row {
        --bs-gutter-x: 1rem;
    }

    .course-enrollment-page .enrollment-steps {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .course-enrollment-page .step-item {
        min-height: 42px;
    }

    .th-footer-body {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .th-footer-bottom {
        padding: 16px 0;
    }

    .mock-result-card-body {
        padding: 16px;
    }

    .mock-result-answer-report summary {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 380px) {
    .phoenix-dashboard .container-fluid {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .free-mock .stat-lbl {
        font-size: .65rem;
        letter-spacing: 0;
    }

    .free-mock .card-panel {
        padding: .85rem;
    }

    .phoenix-admin-page .admin-container {
        padding-right: 12px;
        padding-left: 12px;
    }
}
/* =====================================================
   PHOENIX STUDENT DASHBOARD
   Isolated visual redesign
===================================================== */

.phoenix-student-redesign {
    --pui-primary: #1765c1;
    --pui-primary-hover: #104e9b;
    --pui-heading: #24344d;
    --pui-text: #536782;
    --pui-muted: #7889a2;
    --pui-border: #e2eaf4;
    --pui-surface: #ffffff;
    --pui-background: #f6f9fd;

    color: var(--pui-heading);
    background: var(--pui-background);

    min-height: 100vh;
}

.phoenix-student-redesign,
.phoenix-student-redesign * {
    box-sizing: border-box;
}

.phoenix-student-redesign > .container {
    max-width: 1240px;
}


/* =====================================================
   WELCOME HEADER
===================================================== */

.phoenix-student-redesign .phoenix-ui-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    padding: 32px;
    margin-bottom: 25px;

    background: var(--pui-surface);
    border: 1px solid var(--pui-border);
    border-radius: 17px;

    box-shadow: 0 5px 22px rgba(28, 58, 95, 0.035);
}

.phoenix-student-redesign .phoenix-ui-welcome-content {
    min-width: 0;
}

.phoenix-student-redesign .phoenix-ui-eyebrow {
    display: inline-block;

    color: var(--pui-primary);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.7;
}

.phoenix-student-redesign .phoenix-ui-welcome h1 {
    margin: 10px 0;

    color: var(--pui-heading);

    font-size: clamp(26px, 3vw, 35px);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.7px;
}

.phoenix-student-redesign .phoenix-ui-welcome-content > p:not(.dashboard-account-email) {
    max-width: 570px;
    margin: 0;

    color: var(--pui-muted);

    font-size: 13px;
    line-height: 1.9;
}

.phoenix-student-redesign .dashboard-account-email {
    margin: 10px 0 0;

    color: var(--pui-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.phoenix-student-redesign .phoenix-ui-welcome-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--pui-primary);
    font-size: 22px;
}

.phoenix-student-redesign .phoenix-ui-learning-badge {
    display: flex;
    align-items: center;
    gap: 13px;

    flex-shrink: 0;
    padding: 15px 18px;

    background: #f6f9ff;
    border: 1px solid #e6edf9;
    border-radius: 12px;
}

.phoenix-student-redesign .phoenix-ui-learning-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    flex-shrink: 0;

    color: var(--pui-primary);
    background: #e7f0ff;
    border-radius: 10px;

    font-size: 21px;
}

.phoenix-student-redesign .phoenix-ui-learning-badge span {
    display: block;

    color: var(--pui-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.phoenix-student-redesign .phoenix-ui-learning-badge strong {
    display: block;
    margin-top: 6px;

    color: var(--pui-heading);
    font-size: 13px;
}


/* =====================================================
   COURSE OVERVIEW
===================================================== */

.phoenix-student-redesign .phoenix-ui-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;

    margin-bottom: 38px;
}

.phoenix-student-redesign .phoenix-ui-overview-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    min-width: 0;
    padding: 23px;

    background: var(--pui-surface);
    border: 1px solid var(--pui-border);
    border-radius: 14px;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.phoenix-student-redesign .phoenix-ui-overview-card:hover {
    border-color: #c5d8f3;
    box-shadow: 0 8px 22px rgba(28, 58, 95, 0.05);
}

.phoenix-student-redesign .phoenix-ui-overview-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;
    flex: 0 0 45px;

    color: var(--pui-primary);
    background: #eaf2ff;
    border-radius: 11px;

    font-size: 20px;
}

.phoenix-student-redesign .phoenix-ui-overview-content {
    min-width: 0;
}

.phoenix-student-redesign .phoenix-ui-overview-content > span {
    display: block;
    margin-bottom: 9px;

    color: var(--pui-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.9px;
}

.phoenix-student-redesign .phoenix-ui-overview-content h2 {
    margin: 0 0 7px;

    color: var(--pui-heading);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.phoenix-student-redesign .phoenix-ui-overview-content p {
    margin: 0;

    color: var(--pui-muted);
    font-size: 12px;
    line-height: 1.7;
}


/* =====================================================
   SECTIONS
===================================================== */

.phoenix-student-redesign .phoenix-ui-section {
    margin-top: 36px;
}

.phoenix-student-redesign .phoenix-ui-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 20px;
}

.phoenix-student-redesign .phoenix-ui-section-heading h2 {
    margin: 8px 0;

    color: var(--pui-heading);
    font-size: 24px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: -0.4px;
}

.phoenix-student-redesign .phoenix-ui-section-heading p {
    margin: 0;

    color: var(--pui-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* =====================================================
   CLASSROOM
===================================================== */

.phoenix-student-redesign .phoenix-ui-class-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.phoenix-student-redesign .phoenix-ui-class-card {
    min-width: 0;
    height: auto !important;
    min-height: 0;

    padding: 26px;

    background: var(--pui-surface);
    border: 1px solid var(--pui-border);
    border-radius: 15px;

    box-shadow: 0 4px 18px rgba(28, 58, 95, 0.025);
}

.phoenix-student-redesign .phoenix-ui-class-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 23px;
}

.phoenix-student-redesign .phoenix-ui-class-header h2 {
    margin: 7px 0 0;

    color: var(--pui-heading);
    font-size: 22px;
    font-weight: 750;
}

.phoenix-student-redesign .live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;

    color: #337953;
    background: #edf8f1;
    border: 1px solid #dcefe2;
    border-radius: 25px;

    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.phoenix-student-redesign .live-indicator > span {
    width: 7px;
    height: 7px;

    background: #36a269;
    border-radius: 50%;
}

.phoenix-student-redesign .phoenix-ui-class-banner {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 20px;

    background: #f7faff;
    border: 1px solid #eaf0fa;
    border-radius: 12px;
}

.phoenix-student-redesign .phoenix-ui-class-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    color: var(--pui-primary);
    background: #e8f1ff;
    border-radius: 12px;

    font-size: 23px;
}

.phoenix-student-redesign .phoenix-ui-class-banner h3 {
    margin: 0 0 7px;

    color: var(--pui-heading);
    font-size: 16px;
    font-weight: 750;
}

.phoenix-student-redesign .phoenix-ui-class-banner p {
    margin: 0;

    color: var(--pui-muted);
    font-size: 13px;
    line-height: 1.7;
}

.phoenix-student-redesign .phoenix-ui-class-details {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 25px;

    padding: 22px 0;
}

.phoenix-student-redesign .phoenix-ui-class-details > div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--pui-text);
    font-size: 13px;
}

.phoenix-student-redesign .phoenix-ui-class-details i {
    color: var(--pui-primary);
    font-size: 16px;
}

.phoenix-student-redesign .phoenix-ui-class-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.phoenix-student-redesign .phoenix-ui-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 45px;
    padding: 12px 19px;

    color: #ffffff;
    background: var(--pui-primary);
    border: 1px solid var(--pui-primary);
    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.phoenix-student-redesign .phoenix-ui-primary-button:hover {
    color: #ffffff;
    background: var(--pui-primary-hover);
    border-color: var(--pui-primary-hover);
}

.phoenix-student-redesign .phoenix-ui-notes-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--pui-primary);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}


/* =====================================================
   MOCK TEST
===================================================== */

.phoenix-student-redesign .phoenix-ui-mock-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;

    width: 100%;
    max-width: 920px;
    align-items: stretch;
}

.phoenix-student-redesign .phoenix-ui-mock-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto !important;

    padding: 25px;
    margin: 0;

    background: linear-gradient(145deg, #ffffff 0%, #f1f6ff 100%);
    border: 1px solid #c8daf5;
    border-left: 4px solid var(--pui-primary);
    border-radius: 15px;

    box-shadow: 0 10px 28px rgba(31, 86, 160, 0.1);

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease;
    color: inherit;
    text-decoration: none;
}

.phoenix-student-redesign .phoenix-ui-mock-card[hidden] {
    display: none !important;
}

.phoenix-student-redesign .phoenix-ui-mock-card:hover {
    border-color: #8fb5ed;
    border-left-color: var(--pui-primary-hover);
    box-shadow: 0 14px 32px rgba(31, 86, 160, 0.16);
    transform: translateY(-2px);
}

.phoenix-student-redesign .phoenix-ui-mock-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    margin-bottom: 19px;

    color: #ffffff;
    background: var(--pui-primary);
    border-radius: 12px;

    font-size: 22px;
}

.phoenix-student-redesign .phoenix-ui-mock-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 10px;

    color: #174e93;
    background: #e4efff;
    border: 1px solid #c9dcfa;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.9px;
}

.phoenix-student-redesign .phoenix-ui-mock-card h3 {
    margin: 0 0 12px;

    color: var(--pui-heading);
    font-size: 22px;
    font-weight: 750;
    line-height: 1.4;
}

.phoenix-student-redesign .phoenix-ui-mock-card p {
    margin: 0 0 22px;

    color: var(--pui-muted);
    font-size: 13px;
    line-height: 1.8;
}

.phoenix-student-redesign .phoenix-ui-mock-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    width: fit-content;
    margin-top: auto;
    padding-top: 4px;

    color: var(--pui-primary);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.phoenix-student-redesign .phoenix-ui-mock-link:hover {
    color: var(--pui-primary-hover);
}

.phoenix-student-redesign .phoenix-ui-mock-link i {
    transition: transform 0.2s ease;
}

.phoenix-student-redesign .phoenix-ui-mock-link:hover i {
    transform: translateX(4px);
}

.phoenix-student-redesign .phoenix-ui-mock-history-card:focus-visible {
    outline: 3px solid #174e93;
    outline-offset: 4px;
}

.phoenix-student-redesign .phoenix-ui-mock-history-card p {
    max-width: 38ch;
}


/* =====================================================
   SHARED STUDY NOTES
===================================================== */

.phoenix-student-redesign .phoenix-ui-shared-card {
    padding: 27px;

    background: var(--pui-surface);
    border: 1px solid var(--pui-border);
    border-radius: 15px;

    box-shadow: 0 4px 18px rgba(28, 58, 95, 0.025);
}

.phoenix-student-redesign .phoenix-ui-shared-header {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;
}

.phoenix-student-redesign .phoenix-ui-shared-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    color: var(--pui-primary);
    background: #eaf2ff;
    border-radius: 12px;

    font-size: 21px;
}

.phoenix-student-redesign .phoenix-ui-shared-header h2 {
    margin: 0 0 6px;

    color: var(--pui-heading);
    font-size: 21px;
    font-weight: 750;
}

.phoenix-student-redesign .phoenix-ui-shared-header p {
    margin: 0;

    color: var(--pui-muted);
    font-size: 13px;
    line-height: 1.7;
}

.phoenix-student-redesign .phoenix-ui-notes-message {
    padding: 15px 17px;
    margin: 0 0 18px;

    color: var(--pui-text);
    background: #f7faff;
    border: 1px solid #e7eef8;
    border-radius: 10px;

    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.phoenix-student-redesign [data-shared-notes] > * {
    min-width: 0;
}


/* =====================================================
   STUDENT SUPPORT
===================================================== */

.phoenix-student-redesign .phoenix-ui-support-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 30px;

    align-items: start;

    padding: 29px;

    background: var(--pui-surface);
    border: 1px solid var(--pui-border);
    border-radius: 15px;
}

.phoenix-student-redesign .phoenix-ui-support-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    min-width: 0;
}

.phoenix-student-redesign .phoenix-ui-support-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 49px;
    height: 49px;
    flex: 0 0 49px;

    color: var(--pui-primary);
    background: #eaf2ff;
    border-radius: 12px;

    font-size: 22px;
}

.phoenix-student-redesign .phoenix-ui-support-content h2 {
    margin: 8px 0 10px;

    color: var(--pui-heading);
    font-size: 21px;
    font-weight: 750;
    line-height: 1.4;
}

.phoenix-student-redesign .phoenix-ui-support-content p {
    margin: 0;

    color: var(--pui-muted);
    font-size: 13px;
    line-height: 1.8;
}

.phoenix-student-redesign .phoenix-ui-support-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    min-width: 0;
}

.phoenix-student-redesign .phoenix-ui-support-form .form-label {
    margin: 0;

    color: var(--pui-heading);
    font-size: 13px;
    font-weight: 700;
}

.phoenix-student-redesign .phoenix-ui-support-form textarea {
    display: block;

    width: 100%;
    min-height: 100px;
    padding: 13px;

    color: var(--pui-heading);
    background: #fbfcff;
    border: 1px solid var(--pui-border);
    border-radius: 9px;

    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;

    resize: vertical;
}

.phoenix-student-redesign .phoenix-ui-support-form textarea:focus {
    outline: none;
    border-color: var(--pui-primary);
    box-shadow: 0 0 0 3px rgba(23, 101, 193, 0.09);
}

.phoenix-student-redesign .phoenix-ui-support-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 45px;
    padding: 12px 17px;

    color: #ffffff;
    background: var(--pui-primary);
    border: 1px solid var(--pui-primary);
    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.phoenix-student-redesign .phoenix-ui-support-submit:hover {
    background: var(--pui-primary-hover);
    border-color: var(--pui-primary-hover);
}

.phoenix-student-redesign .phoenix-ui-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 12px 16px;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


/* =====================================================
   COURSE ACCESS
===================================================== */

.phoenix-student-redesign #courseAccessPanel {
    max-width: 1240px;
}

.phoenix-student-redesign .phoenix-ui-access-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    padding: 25px;

    background: var(--pui-surface);
    border: 1px solid var(--pui-border);
    border-radius: 15px;
}

.phoenix-student-redesign .phoenix-ui-access-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    color: var(--pui-primary);
    background: #eaf2ff;
    border-radius: 11px;

    font-size: 21px;
}

.phoenix-student-redesign .phoenix-ui-access-content {
    flex: 1;
    min-width: 0;
}

.phoenix-student-redesign .phoenix-ui-access-content h2 {
    margin: 0 0 10px;

    color: var(--pui-heading);
    font-weight: 750;
}

.phoenix-student-redesign .phoenix-ui-access-content > p {
    color: var(--pui-muted);
    font-size: 13px;
    line-height: 1.7;
}

.phoenix-student-redesign .phoenix-ui-access-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 5px;

    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .phoenix-student-redesign .phoenix-ui-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .phoenix-student-redesign .phoenix-ui-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phoenix-student-redesign .phoenix-ui-support-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 575.98px) {

    .phoenix-student-redesign > .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .phoenix-student-redesign .phoenix-ui-welcome {
        gap: 20px;
        padding: 22px 19px;
    }

    .phoenix-student-redesign .phoenix-ui-welcome h1 {
        font-size: 26px;
    }

    .phoenix-student-redesign .phoenix-ui-welcome-content > p:not(.dashboard-account-email) {
        font-size: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-learning-badge {
        width: 100%;
    }

    .phoenix-student-redesign .phoenix-ui-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;

        margin-bottom: 30px;
    }

    .phoenix-student-redesign .phoenix-ui-overview-card {
        padding: 19px;
    }

    .phoenix-student-redesign .phoenix-ui-section {
        margin-top: 30px;
    }

    .phoenix-student-redesign .phoenix-ui-section-heading h2 {
        font-size: 21px;
    }

    .phoenix-student-redesign .phoenix-ui-section-heading p {
        font-size: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-class-card {
        padding: 19px;
    }

    .phoenix-student-redesign .phoenix-ui-class-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-class-banner {
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
    }

    .phoenix-student-redesign .phoenix-ui-class-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;

        font-size: 19px;
    }

    .phoenix-student-redesign .phoenix-ui-class-banner h3 {
        font-size: 14px;
    }

    .phoenix-student-redesign .phoenix-ui-class-banner p {
        font-size: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-class-details {
        flex-direction: column;
        gap: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-class-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    .phoenix-student-redesign .phoenix-ui-primary-button {
        width: 100%;
        box-sizing: border-box;
    }

    .phoenix-student-redesign .phoenix-ui-notes-link {
        justify-content: center;
        min-height: 42px;
    }

    .phoenix-student-redesign .phoenix-ui-mock-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .phoenix-student-redesign .phoenix-ui-mock-card {
        padding: 21px;
    }

    .phoenix-student-redesign .phoenix-ui-shared-card {
        padding: 19px;
    }

    .phoenix-student-redesign .phoenix-ui-shared-header {
        align-items: flex-start;
        gap: 11px;
    }

    .phoenix-student-redesign .phoenix-ui-shared-header h2 {
        font-size: 19px;
    }

    .phoenix-student-redesign .phoenix-ui-shared-header p {
        font-size: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-support-card {
        padding: 20px;
        gap: 23px;
    }

    .phoenix-student-redesign .phoenix-ui-support-content {
        gap: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-support-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;

        font-size: 19px;
    }

    .phoenix-student-redesign .phoenix-ui-support-content h2 {
        font-size: 19px;
    }

    .phoenix-student-redesign .phoenix-ui-support-content p {
        font-size: 12px;
    }

    .phoenix-student-redesign .phoenix-ui-support-submit,
    .phoenix-student-redesign .phoenix-ui-whatsapp {
        width: 100%;
        box-sizing: border-box;
    }

    .phoenix-student-redesign .phoenix-ui-access-card {
        padding: 19px;
    }

}


/* =====================================================
   MOCK ASSESSMENT REPORT
===================================================== */

.mock-report-page {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 54px;
    color: #172b43;
}

.mock-report-header {
    margin-bottom: 25px;
    padding: clamp(22px, 4vw, 38px);
    background: linear-gradient(135deg, #f4f8ff, #ffffff 70%);
    border: 1px solid #dce7f5;
    border-radius: 18px;
    text-align: center;
}

.mock-report-eyebrow {
    color: #a47c12;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
}

.mock-report-header h1 {
    margin: 8px 0;
    color: #17345d;
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 850;
}

.mock-report-header > p:not(.mock-report-muted) {
    margin: 0;
    color: #2163ad;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 800;
}

.mock-report-weighted {
    margin: 8px 0 0;
    color: #25724f;
    font-size: 14px;
    font-weight: 800;
}

.mock-report-muted {
    margin: 8px 0 0;
    color: #718097;
    font-size: 12px;
}

.mock-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.mock-cluster-card,
.mock-growth-panel,
.mock-scenario-results {
    min-width: 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e9f2;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(23, 52, 93, .045);
}

.mock-cluster-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mock-cluster-card-heading h2 {
    margin: 0;
    color: #243c5a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.mock-cluster-card-heading span {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: #75590b;
    background: #fff7df;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.mock-cluster-track {
    height: 10px;
    margin: 16px 0 10px;
    overflow: hidden;
    background: #edf1f6;
    border-radius: 999px;
}

.mock-cluster-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #d6a526, #39a875);
    border-radius: inherit;
    transition: width .65s cubic-bezier(.2,.8,.2,1);
}

.mock-cluster-card p {
    margin: 0;
    color: #6a788d;
    font-size: 11px;
    line-height: 1.6;
}

.mock-growth-panel,
.mock-scenario-results {
    margin-top: 18px;
}

.mock-growth-panel h2,
.mock-scenario-results h2 {
    margin: 0 0 5px;
    color: #17345d;
    font-size: 19px;
    font-weight: 850;
}

.mock-growth-panel > p:not(.mock-report-muted) {
    margin: 0;
    color: #718097;
    font-size: 12px;
}

.mock-growth-panel svg {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 12px;
    overflow: visible;
}

.mock-growth-gridline {
    stroke: #e8edf4;
    stroke-width: 1;
}

.mock-growth-axis-label {
    fill: #7a8798;
    font-size: 11px;
}

.mock-growth-line {
    fill: none;
    stroke: #3269c9;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: mock-growth-draw 1.1s ease forwards;
}

.mock-growth-point {
    fill: #ffffff;
    stroke: #3269c9;
    stroke-width: 4;
    animation: mock-growth-point-in .45s ease both;
}

.mock-scenario-result-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f6;
    font-size: 12px;
}

.mock-scenario-result-row:last-child {
    border-bottom: 0;
}

.mock-scenario-result-row strong {
    color: #344b68;
}

.mock-scenario-result-row span {
    flex: 0 0 auto;
    color: #27734f;
    font-weight: 800;
}

.mock-report-return {
    display: inline-flex;
    margin-top: 20px;
    padding: 11px 16px;
    color: #ffffff;
    background: #2365bd;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.mock-report-return:hover {
    color: #ffffff;
    background: #174e94;
}

@keyframes mock-growth-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes mock-growth-point-in {
    from { opacity: 0; transform: scale(.6); transform-origin: center; }
    to { opacity: 1; transform: scale(1); transform-origin: center; }
}

@media (max-width: 640px) {
    .mock-report-grid { grid-template-columns: minmax(0, 1fr); }
    .mock-report-page { width: min(1080px, calc(100% - 24px)); padding-top: 20px; }
    .mock-cluster-card, .mock-growth-panel, .mock-scenario-results { padding: 16px; }
    .question-card-header { align-items: flex-start; flex-wrap: wrap; padding: 18px; }
    .question-header-actions { justify-content: flex-start; width: 100%; }
    .question-content { padding: 20px 16px; }
    .question-scenario-context { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .mock-growth-line, .mock-growth-point, .mock-cluster-track span { animation: none; transition: none; stroke-dashoffset: 0; }
}
/* Phoenix Academy Admin Footer */
.phoenix-admin-footer {
  width: 100%;
  margin-top: 30px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  color: #475569;
  font-family: inherit;
  overflow: hidden;
}

.phoenix-admin-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
}

.phoenix-admin-footer-brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #172033;
}

.phoenix-admin-footer-brand span {
  color: #f07835;
}

.phoenix-admin-footer-copy {
  font-size: 12px;
  color: #64748b;
}

/* Single-row marquee */
.phoenix-admin-footer-marquee {
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  border-top: 1px solid #eef0f4;
  padding: 11px 0;
}

.phoenix-admin-footer-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  white-space: nowrap;
  animation: phoenixAdminMarquee 28s linear infinite;
}

.phoenix-admin-footer-track a {
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.phoenix-admin-footer-track a:hover {
  color: #f07835;
}

.phoenix-admin-footer-track > span {
  color: #f07835;
  font-size: 12px;
}

.phoenix-admin-footer-marquee:hover .phoenix-admin-footer-track {
  animation-play-state: paused;
}

@keyframes phoenixAdminMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .phoenix-admin-footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 13px 16px;
  }

  .phoenix-admin-footer-track {
    gap: 16px;
  }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .phoenix-admin-footer-track {
    animation: none;
  }
}

/* ==========================================
   PHOENIX GUIDE CHAT
========================================== */

.phoenix-guide,
.phoenix-guide *,
.phoenix-guide *::before,
.phoenix-guide *::after {
  box-sizing: border-box;
}

.phoenix-guide {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  color: #172238;
  font-family: Arial, Helvetica, sans-serif;
}

.phoenix-guide-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  display: flex;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100dvh - 112px));
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(15, 36, 80, 0.2), 0 4px 14px rgba(15, 36, 80, 0.08);
}

.phoenix-guide-panel[hidden] {
  display: none;
}

.phoenix-guide-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(135deg, #102a65, #1d4e9e);
}

.phoenix-guide-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 13px;
}

.phoenix-guide-avatar img,
.phoenix-guide-toggle-logo {
  display: block;
  object-fit: contain;
}

.phoenix-guide-heading {
  min-width: 0;
  flex: 1;
}

.phoenix-guide-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.phoenix-guide-title-row h2 {
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
}

.phoenix-guide-ai-pill {
  padding: 3px 6px;
  color: #e8f1ff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.7px;
}

.phoenix-guide-heading p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.4;
}

.phoenix-guide-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.phoenix-guide-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.phoenix-guide-messages {
  display: flex;
  min-height: 120px;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f7f9fc;
  overscroll-behavior: contain;
}

.phoenix-guide-message {
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid #e5eaf2;
  border-radius: 13px 13px 13px 4px;
  overflow-wrap: anywhere;
}

.phoenix-guide-message.is-assistant {
  align-self: flex-start;
  background: #fff;
}

.phoenix-guide-message.is-user {
  align-self: flex-end;
  color: #fff;
  background: #1d4e9e;
  border-color: #1d4e9e;
  border-radius: 13px 13px 4px 13px;
}

.phoenix-guide-message p {
  margin: 0;
  color: inherit;
  font-size: 12px;
  line-height: 1.6;
}

.phoenix-guide-message a {
  display: inline-block;
  margin-top: 7px;
  color: #1d4e9e;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.phoenix-guide-message a:hover {
  text-decoration: underline;
}

.phoenix-guide-message.is-user a {
  color: #fff;
}

.phoenix-guide-suggestions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 7px;
  padding: 11px 14px 12px;
  background: #fff;
}

.phoenix-guide-suggestions button {
  min-height: 30px;
  padding: 5px 10px;
  color: #31517f;
  background: #f4f7fc;
  border: 1px solid #dce5f2;
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.phoenix-guide-suggestions button:hover {
  background: #eaf1fc;
  border-color: #b7c9e5;
}

.phoenix-guide-form {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid #e8edf4;
}

.phoenix-guide-form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 13px;
  color: #172238;
  background: #f8fafc;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  outline: none;
  font: inherit;
  font-size: 13px;
}

.phoenix-guide-form input::placeholder {
  color: #8995a8;
  opacity: 1;
}

.phoenix-guide-form input:focus {
  background: #fff;
  border-color: #3970c3;
  box-shadow: 0 0 0 3px rgba(57, 112, 195, 0.13);
}

.phoenix-guide-form button {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: #1d4e9e;
  border: 0;
  border-radius: 11px;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.phoenix-guide-form button:hover {
  background: #153d7c;
  transform: translateY(-1px);
}

.phoenix-guide-toggle {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 17px;
  color: #fff;
  background: linear-gradient(135deg, #102a65, #1d4e9e);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(16, 42, 101, 0.3);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.phoenix-guide-toggle:hover {
  box-shadow: 0 11px 30px rgba(16, 42, 101, 0.38);
  transform: translateY(-2px);
}

.phoenix-guide-toggle-logo {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
}

.phoenix-guide :focus-visible {
  outline: 3px solid #f4bf4f;
  outline-offset: 3px;
}

/* Shared admin controls and review pages */
.phoenix-admin-page .btn,
.approver-reject .btn,
.phoenix-students-page .btn,
.mock-admin .btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.phoenix-admin-page .btn-sm,
.approver-reject .btn-sm,
.phoenix-students-page .btn-sm,
.mock-admin .btn-sm {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}

.phoenix-admin-page .btn-primary,
.approver-reject .btn-primary,
.phoenix-students-page .btn-primary,
.mock-admin .btn-primary {
  border-color: #1d5fa8;
  color: #fff;
  background: #1d5fa8;
}

.phoenix-admin-page .btn-primary:hover,
.approver-reject .btn-primary:hover,
.phoenix-students-page .btn-primary:hover,
.mock-admin .btn-primary:hover {
  border-color: #164b86;
  color: #fff;
  background: #164b86;
  box-shadow: 0 5px 12px rgba(29, 95, 168, .18);
  transform: translateY(-1px);
}

.approver-reject .btn-success {
  border-color: #18835b;
  color: #fff;
  background: #18835b;
}

.approver-reject .btn-success:hover {
  border-color: #126b49;
  color: #fff;
  background: #126b49;
}

.phoenix-admin-page .btn-outline-primary,
.approver-reject .btn-outline-primary,
.phoenix-students-page .btn-outline-primary,
.mock-admin .btn-outline-primary {
  border-color: #b9cbe0;
  color: #1d5fa8;
  background: #fff;
}

.phoenix-admin-page .btn-outline-secondary,
.approver-reject .btn-outline-secondary,
.phoenix-students-page .btn-outline-secondary,
.mock-admin .btn-outline-secondary {
  border-color: #d2dbe6;
  color: #526176;
  background: #fff;
}

.phoenix-admin-page .btn-outline-danger,
.approver-reject .btn-outline-danger,
.phoenix-students-page .btn-outline-danger,
.mock-admin .btn-outline-danger {
  border-color: #e6b7b7;
  color: #ad3d3d;
  background: #fff;
}

.phoenix-admin-page .btn-outline-primary:hover,
.approver-reject .btn-outline-primary:hover,
.phoenix-students-page .btn-outline-primary:hover,
.mock-admin .btn-outline-primary:hover {
  border-color: #1d5fa8;
  color: #164b86;
  background: #edf5ff;
}

.phoenix-admin-page .btn-outline-secondary:hover,
.approver-reject .btn-outline-secondary:hover,
.phoenix-students-page .btn-outline-secondary:hover,
.mock-admin .btn-outline-secondary:hover {
  border-color: #aebbc9;
  color: #34445a;
  background: #f5f7fa;
}

.phoenix-admin-page .btn-outline-danger:hover,
.approver-reject .btn-outline-danger:hover,
.phoenix-students-page .btn-outline-danger:hover,
.mock-admin .btn-outline-danger:hover {
  border-color: #ad3d3d;
  color: #fff;
  background: #ad3d3d;
}

.phoenix-admin-page .btn:focus-visible,
.approver-reject .btn:focus-visible,
.phoenix-students-page .btn:focus-visible,
.mock-admin .btn:focus-visible,
.student-row-action:focus-visible,
.student-terminate-selected:focus-visible {
  outline: 3px solid rgba(49, 108, 180, .28);
  outline-offset: 2px;
}

.approver-reject {
  min-height: 100vh;
  background: #f3f6fb !important;
  color: #1a2c43 !important;
}

.approver-reject > main.container {
  max-width: 1240px;
}

.approver-reject > main > header h1 {
  margin: 0 0 8px;
  color: #17345d;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.6px;
}

.approver-reject > main > header p {
  color: #68788d;
  line-height: 1.6;
}

.approver-reject > main > header .text-primary {
  color: #a78117 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.student-search-wrap {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #dce4ee;
  border-radius: 11px;
  color: #7a899d;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.student-search-wrap:focus-within {
  border-color: #6c98c8;
  box-shadow: 0 0 0 3px rgba(49, 108, 180, .12);
}

.student-search-wrap input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  outline: 0;
  color: #263950;
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.student-search-wrap input::placeholder {
  color: #93a0b0;
}

.approver-reject .card {
  border: 1px solid #e0e7f0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 48, 80, .055) !important;
}

.approver-reject [data-registration-list] {
  display: grid;
  gap: 14px;
}

.approver-reject [data-registration-list] > .card {
  margin: 0 !important;
}

.approver-reject [data-registration-list] > .card .card-body {
  padding: clamp(17px, 2.5vw, 24px);
}

.approver-reject [data-registration-list] h2 {
  margin: 0 0 10px;
  color: #17345d;
  font-size: 18px;
  font-weight: 800;
}

.approver-reject [data-registration-list] p {
  color: #53657b;
  font-size: 13px;
  line-height: 1.55;
}

.approver-reject [data-registration-list] small {
  color: #8592a3;
}

.approver-reject [data-registration-list] .badge {
  color: inherit;
  font-weight: 750;
}

.approver-reject [data-registration-list] .form-control {
  min-height: 82px;
  border-color: #dce4ee;
  border-radius: 10px;
  font-size: 13px;
}

.approver-reject [data-registration-list] .form-control:focus {
  border-color: #6c98c8;
  box-shadow: 0 0 0 3px rgba(49, 108, 180, .12);
}

.student-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.student-list-toolbar > div:first-child {
  min-width: 190px;
}

.student-list-toolbar .student-search-wrap {
  width: min(100%, 360px);
  margin-left: auto;
}

.student-terminate-selected,
.student-row-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #d5dfeb;
  border-radius: 8px;
  color: #38516f;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.student-terminate-selected {
  min-height: 42px;
  padding: 9px 14px;
  border-color: #bb4a4a;
  color: #fff;
  background: #bb4a4a;
}

.student-terminate-selected:hover:not(:disabled) {
  border-color: #983535;
  background: #983535;
}

.student-terminate-selected:disabled {
  border-color: #e4e8ee;
  color: #9aa5b3;
  background: #f3f5f8;
  cursor: not-allowed;
}

.student-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.student-row-action:hover {
  border-color: #afc4de;
  color: #214c7b;
  background: #f0f6fd;
}

.student-row-action[data-student-action="terminate"],
.student-row-action[data-student-action="course-access"][data-enabled="false"] {
  border-color: #e8c2c2;
  color: #a13b3b;
  background: #fff;
}

.student-row-action[data-student-action="terminate"]:hover,
.student-row-action[data-student-action="course-access"][data-enabled="false"]:hover {
  border-color: #ad3d3d;
  color: #fff;
  background: #ad3d3d;
}

.student-row-action[data-student-action="release"],
.student-row-action[data-student-action="course-access"][data-enabled="true"] {
  border-color: #b9ddca;
  color: #176647;
  background: #f6fcf8;
}

.student-row-action[data-student-action="release"]:hover,
.student-row-action[data-student-action="course-access"][data-enabled="true"]:hover {
  border-color: #18835b;
  color: #fff;
  background: #18835b;
}

.student-list-checkbox {
  width: 17px;
  height: 17px;
  accent-color: #1d5fa8;
  cursor: pointer;
}

.student-row-terminated td {
  color: #7d8998;
  background: #f7f8fa;
}

.student-terminated-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #778293;
  background: #e9edf2;
  font-size: 11px;
  font-weight: 750;
}

@media (max-width: 767.98px) {
  .student-list-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .student-list-toolbar .student-search-wrap {
    width: 100%;
    margin-left: 0;
  }

  .student-terminate-selected {
    align-self: flex-start;
  }
}

@media (max-width: 576px) {
  .phoenix-guide {
    right: 14px;
    bottom: 14px;
  }

  .phoenix-guide-panel {
    max-height: min(620px, calc(100dvh - 96px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .phoenix-guide *,
  .phoenix-guide *::before,
  .phoenix-guide *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
