.cox-login-card {
    border-radius: 10px;
    width: min(100%, 460px);
    padding: 30px;
}

.cox-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cox-login-card p {
    margin: 0 0 10px;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cox-login-brand p {
    margin: 0;
}

.cox-login-card h1 {
    margin: 0 0 22px;
    color: #fff;
    font-family: var(--cox-brand-heading);
    font-size: 40px;
    line-height: 1;
}

.cox-login-card label {
    color: rgba(255, 255, 255, .82);
    font-weight: 800;
}

.cox-login-password-field {
    margin-top: -7px;
}

.cox-login-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.cox-login-card .cox-login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ed1c24;
}

.cox-login-submit {
    width: 100%;
    margin-top: 2px;
}

.cox-student-login-shell {
    width: min(100%, 1320px);
    margin: 0 auto;
}

.cox-student-login-card h1 {
    margin: 0;
    color: var(--cox-brand-white);
    font-family: var(--cox-brand-heading);
    font-weight: 800;
    line-height: .98;
    letter-spacing: 0;
}

.cox-student-login-card p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #d7dae1;
    font-size: 16px;
    line-height: 1.65;
}

.cox-student-portal-login .cox-student-login-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.52fr) minmax(360px, .78fr);
    gap: 0;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    background: transparent;
}

.cox-student-login-visual {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .08));
}

.cox-student-login-visual::before,
.cox-student-login-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.cox-student-login-visual::before {
    inset: 0;
    background: radial-gradient(circle at 58% 70%, rgba(237, 28, 36, .28), transparent 24%),
        radial-gradient(circle at 28% 18%, rgba(237, 28, 36, .22), transparent 22%);
    mix-blend-mode: screen;
}

.cox-student-login-visual::after {
    display: none;
}

.cox-student-login-visual-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(30px, 6vh, 76px);
    width: 100%;
    min-height: 100%;
    padding: clamp(28px, 4.2vw, 58px);
}

.cox-student-login-logo {
    display: block;
    width: clamp(180px, 20vw, 300px);
    max-width: 62%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .5));
}

.cox-student-login-side {
    position: relative;
    display: grid;
    align-content: start;
    min-width: 0;
    min-height: 100%;
    padding: clamp(26px, 3.6vw, 50px);
    background: radial-gradient(circle at 86% 14%, rgba(237, 28, 36, .08), transparent 28%),
        linear-gradient(145deg, rgba(11, 14, 20, .94), rgba(5, 7, 11, .98));
    border-left: 0;
    box-shadow: none;
}

.cox-student-login-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: clamp(42px, 6vh, 72px);
}

.cox-student-portal-login .cox-student-login-card {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.cox-student-portal-login .cox-student-login-card h2 {
    margin: 0;
    color: #fff;
    font-family: var(--cox-brand-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.cox-student-portal-login .cox-student-login-card h2 span {
    color: var(--cox-brand-red);
}

.cox-student-portal-login .cox-student-login-card p {
    max-width: 100%;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 15px;
    line-height: 1.5;
}

.cox-student-login-form {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.cox-student-login-form label {
    margin-top: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    font-weight: 800;
}

.cox-student-login-submit {
    width: 100%;
}

@media (max-width: 1180px) {
    .cox-student-portal-login .cox-student-login-shell {
        grid-template-columns: minmax(0, 1.12fr) minmax(350px, .78fr);
    }

    .cox-student-login-visual-inner {
        padding: 30px;
    }
}

@media (max-width: 900px) {

    .cox-student-portal-login .cox-student-login-shell {
        grid-template-columns: 1fr;
        min-height: 100dvh;
        background: transparent;
    }

    .cox-student-login-visual {
        min-height: 48vh;
        background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .38));
    }

    .cox-student-login-visual-inner {
        align-items: center;
        justify-content: center;
        min-height: 48vh;
        padding: 26px;
        text-align: center;
    }

    .cox-student-login-side {
        min-height: auto;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding: 24px 22px max(28px, calc(env(safe-area-inset-bottom, 0px) + 22px));
        background: rgba(8, 10, 15, .96);
    }

    .cox-student-login-topbar {
        margin-bottom: 34px;
    }
}

@media (max-width: 560px) {
    .cox-student-login-visual {
        min-height: 44vh;
    }

    .cox-student-login-visual-inner {
        min-height: 44vh;
        padding: 22px;
    }

    .cox-student-login-logo {
        width: min(68vw, 260px);
        max-width: 78vw;
        margin: 0 auto;
    }

    .cox-student-login-topbar {
        align-items: stretch;
    }

    .cox-student-portal-login .cox-student-login-card h2 {
        font-size: 31px;
    }
}

.cox-teacher-login-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1420px);
    margin: 0 auto;
}

.cox-teacher-login-card h1 {
    margin: 8px 0 0;
    color: #fff;
    font-family: var(--cox-brand-heading);
    font-weight: 800;
    letter-spacing: 0;
    line-height: .96;
}

.cox-teacher-login-card p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.6;
}

.cox-teacher-login {
    display: grid;
    place-items: center;
}

.cox-teacher-login-shell {
    display: grid;
    place-items: center;
    min-height: calc(100dvh - clamp(32px, 5vw, 68px));
}

.cox-teacher-login-card {
    width: min(100%, 520px);
    border-radius: 22px;
    padding: clamp(24px, 4vw, 42px);
}

.cox-teacher-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 18px;
}

.cox-teacher-login-card h1 {
    font-size: 38px;
}

.cox-teacher-login-card h1 span {
    color: var(--cox-brand-red);
}

.cox-teacher-login-form {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.cox-teacher-login-form label {
    margin-top: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    font-weight: 800;
}

.cox-teacher-login-form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}

.cox-teacher-forgot {
    justify-self: end;
    color: var(--cox-brand-red);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.cox-student-portal-login {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .3) 48%, rgba(5, 7, 11, .9) 69%, rgba(5, 7, 11, .98) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .46)),
        var(--cox-student-login-bg) center center / cover no-repeat,
        #030405;
}

.cox-student-portal-login .dashicons::before {
    line-height: 1;
}

.cox-student-portal-login .dashicons {
    line-height: 1;
    vertical-align: middle;
}

.cox-student-portal-login .cox-student-kicker {
    display: block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .7);
    font: 900 13px/1 var(--cox-brand-heading);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .cox-student-portal-login {
        overflow: visible;
    }
}

.cox-dashboard-login,
.cox-dashboard-lock {
    display: grid;
    place-items: center;
}

.cox-dashboard-lock > div {
    width: min(100%, 460px);
    padding: 30px;
}

.cox-dashboard-lock h1 {
    margin: 0 0 22px;
    color: #fff;
    font-family: var(--cox-brand-heading);
    font-size: 40px;
    line-height: 1;
}

.cox-dashboard-login-form {
    display: grid;
    gap: 14px;
}

.cox-student-forgot {
    justify-self: end;
    margin: 4px 0 12px;
    color: var(--cox-brand-red);
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: color .2s ease, text-shadow .2s ease;
}

.cox-student-forgot:hover,
.cox-student-forgot:focus-visible {
    color: #fff;
    text-shadow: 0 0 16px rgba(237, 28, 36, .72);
    outline: none;
}

.cox-login-card input[type="text"],
.cox-login-card input[type="password"] {
    width: 100%;
    margin-top: 7px;
    padding: 0 12px;
}

.cox-login-card .cox-login-password-field input[type="text"],
.cox-login-card .cox-login-password-field input[type="password"] {
    min-height: 46px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 12px;
}

.cox-student-access-note {
    position: relative;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 0 0;
    text-align: left;
}

.cox-student-access-note__icon {
    margin-top: 1px;
    color: #ed1c24 !important;
    font-size: 16px;
    filter: drop-shadow(0 0 10px rgba(237, 28, 36, .32));
}

.cox-student-access-note__icon i {
    display: block;
    color: inherit !important;
    font-size: inherit;
    line-height: 1;
}

.cox-student-access-note__text {
    display: block;
    margin: 0;
    max-width: none;
    color: rgba(255, 255, 255, .62);
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}
