/* =========================================================
   SWAYAMTASK LMS — GATEWAY
   BUILD 01 — LMS GATEWAY
========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    min-height: 100%;
}

body.swayamtask-lms-gateway {
    font-family:
        Manrope,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #F7F9FB !important;
    color: #1F2933;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#wpadminbar {
    display: none !important;
}


/* =========================================================
   GATEWAY
========================================================= */

.st-gateway {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: #F7F9FB;
}


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

.st-header {
    height: 96px;
    min-height: 96px;

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

    padding: 0 52px;

    box-sizing: border-box;

    background: #FFFFFF;

    border-bottom: 1px solid #E3E8EC;

    flex-shrink: 0;
}

.st-brand {
    display: flex;
    align-items: center;

    text-decoration: none;

    line-height: 0;
}

.st-logo {
    display: block;

    width: auto;
    height: auto;

    max-width: 235px;
    max-height: 58px;

    object-fit: contain;
}

.st-header-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.st-header-links a {
    color: #66727D;

    text-decoration: none;

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

    transition: color 0.2s ease;
}

.st-header-links a:hover {
    color: #005F9C;
}


/* =========================================================
   MAIN
   60% / 40%
========================================================= */

.st-main {
    width: 100%;

    flex: 1;

    display: grid;

    grid-template-columns: 60% 40%;

    min-height: 0;

    background: #F7F9FB;
}


/* =========================================================
   LEFT PANEL
========================================================= */

.st-left {
    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    padding: 55px 56px;

    background: #F7F9FB;
}

.st-content {
    width: 100%;
    max-width: 780px;

    margin: 0 auto;
}


/* =========================================================
   INTRO
========================================================= */

.st-eyebrow {
    margin: 0 0 12px;

    color: #005F9C;

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

    letter-spacing: 1.6px;

    line-height: 1.4;

    text-transform: uppercase;
}

.st-title {
    margin: 0;

    color: #1F2933;

    font-size: clamp(36px, 3vw, 50px);

    line-height: 1.08;

    font-weight: 900;

    letter-spacing: -1.5px;
}

.st-title span {
    color: #005F9C;
}

.st-tagline {
    margin: 15px 0 7px;

    color: #1F2933;

    font-size: 18px;

    line-height: 1.45;

    font-weight: 700;
}

.st-instruction {
    margin: 0 0 30px;

    color: #66727D;

    font-size: 14px;

    line-height: 1.6;

    font-weight: 600;
}


/* =========================================================
   ROLE GRID
   3 + 3 + 2
========================================================= */

.st-role-grid {
    width: 100%;
    max-width: 780px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   ROLE CARD
========================================================= */

.st-role-card {
    min-height: 118px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    padding: 18px 19px 16px;

    background: #FFFFFF;

    border: 1px solid #E1E7EB;

    border-radius: 12px;

    color: inherit;

    text-decoration: none;

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

.st-role-card:hover {
    border-color: rgba(0, 95, 156, 0.35);

    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(23, 50, 70, 0.08);
}

.st-role-card:focus-visible {
    outline: 3px solid rgba(0, 95, 156, 0.18);

    outline-offset: 2px;
}

.st-role-name {
    margin-bottom: 7px;

    color: #1F2933;

    font-size: 15px;

    line-height: 1.3;

    font-weight: 800;
}

.st-role-description {
    flex: 1;

    color: #66727D;

    font-size: 12px;

    line-height: 1.45;
}

.st-role-action {
    display: flex;

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

    margin-top: 13px;

    color: #005F9C;

    font-size: 11px;

    line-height: 1;

    font-weight: 800;
}

.st-arrow {
    font-size: 15px;

    line-height: 1;

    transition: transform 0.2s ease;
}

.st-role-card:hover .st-arrow {
    transform: translateX(3px);
}


/* =========================================================
   RIGHT PANEL
   SAME BACKGROUND AS LEFT
========================================================= */

.st-right {
    position: relative;

    display: flex;

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

    overflow: hidden;

    box-sizing: border-box;

    background: #F7F9FB;

    border-left: 1px solid #E3E8EC;
}

.st-right-image-wrapper {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;

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

    overflow: hidden;

    background: #F7F9FB;
}

.st-right-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    opacity: 1;
}


/* =========================================================
   FOOTER
========================================================= */

.st-footer {
    min-height: 56px;

    display: flex;

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

    box-sizing: border-box;

    padding: 16px 52px;

    background: #FFFFFF;

    border-top: 1px solid #E3E8EC;

    color: #66727D;

    font-size: 11px;

    line-height: 1.4;

    flex-shrink: 0;
}

.st-footer-left {
    display: flex;

    align-items: center;

    gap: 8px;
}

.st-footer-brand {
    color: #1F2933;

    font-weight: 800;
}

.st-footer-divider {
    color: #C7CED4;
}

.st-footer-links {
    display: flex;

    align-items: center;

    gap: 20px;
}

.st-footer-links a {
    color: #66727D;

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    transition: color 0.2s ease;
}

.st-footer-links a:hover {
    color: #005F9C;
}


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

@media (max-width: 1100px) {

    .st-header {
        padding: 0 36px;
    }

    .st-left {
        padding: 48px 36px;
    }

    .st-role-grid {
        gap: 12px;
    }

    .st-role-card {
        padding: 17px;
    }

    .st-footer {
        padding-left: 36px;
        padding-right: 36px;
    }
}


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

@media (max-width: 800px) {

    .st-header {
        height: 70px;
        min-height: 70px;

        padding: 0 22px;
    }

    .st-logo {
        max-width: 155px;
        max-height: 42px;
    }

    .st-header-links {
        gap: 18px;
    }

    .st-main {
        display: flex;
        flex-direction: column;
    }

    .st-left {
        padding: 42px 22px 36px;

        align-items: flex-start;
    }

    .st-content {
        max-width: none;
    }

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

        max-width: none;
    }

    .st-right {
        min-height: 360px;

        border-left: 0;

        border-top: 1px solid #E3E8EC;
    }

    .st-right-image {
        object-fit: contain;
        object-position: center;
    }

    .st-footer {
        padding: 16px 22px;

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }
}


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

@media (max-width: 480px) {

    .st-header {
        padding: 0 18px;
    }

    .st-header-links {
        gap: 14px;
    }

    .st-header-links a {
        font-size: 12px;
    }

    .st-left {
        padding: 34px 18px 30px;
    }

    .st-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .st-tagline {
        font-size: 16px;
    }

    .st-instruction {
        font-size: 13px;

        margin-bottom: 26px;
    }

    .st-role-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .st-role-card {
        min-height: 112px;
    }

    .st-right {
        min-height: 280px;
    }

    .st-footer {
        padding: 15px 18px;
    }

    .st-footer-left {
        flex-wrap: wrap;
    }
}


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

@media (prefers-reduced-motion: reduce) {

    .st-role-card,
    .st-arrow,
    .st-header-links a,
    .st-footer-links a {
        transition: none;
    }
}
/* =========================================================
   BUILD 03.1A — COLLEGE ENTRY FLOW
========================================================= */

.st-college-back-link {
    display: inline-block;

    margin-top: 22px;

    color: #005F9C;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}

.st-college-back-link:hover {
    color: #004F82;

    text-decoration: underline;
}