/* Account selection page: use the same playful, spacious language as the new public pages. */
.sc-account-choice-page {
    position: relative;
    width: var(--sc-public-content-width);
    max-width: var(--sc-public-max-width);
    padding-top: 58px;
    padding-bottom: 78px;
}

.sc-account-choice-page::before,
.sc-account-choice-page::after {
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    content: '';
    pointer-events: none;
}

.sc-account-choice-page::before {
    top: 140px;
    right: -130px;
    width: 360px;
    height: 360px;
    background: rgba(40, 182, 229, .12);
}

.sc-account-choice-page::after {
    bottom: -180px;
    left: -150px;
    width: 440px;
    height: 440px;
    border: 44px solid rgba(202, 240, 248, .72);
}

.sc-account-choice-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(7, 148, 205, .16);
    border-radius: 30px;
    background: linear-gradient(135deg, #eefbff 0%, #f8f7ff 56%, #fff8df 100%);
    box-shadow: 0 22px 60px rgba(3, 4, 94, .10);
}

.sc-account-choice-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 68px clamp(38px, 6vw, 88px);
}

.sc-account-choice-intro::after {
    position: absolute;
    right: 8%;
    bottom: 11%;
    width: 148px;
    height: 148px;
    border: 20px solid rgba(40, 182, 229, .18);
    border-radius: 50%;
    content: '';
}

.sc-account-choice-kicker,
.sc-account-choice-card-label {
    color: #0077b6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sc-account-choice-intro h1 {
    max-width: 620px;
    margin: 14px 0 20px;
    color: #03045e;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.sc-account-choice-intro > p {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 0;
    color: #486581;
    font-size: 18px;
    line-height: 1.65;
}

.sc-account-choice-pills {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.sc-account-choice-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid rgba(7, 148, 205, .18);
    border-radius: 999px;
    color: #075985;
    background: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 700;
}

.sc-account-choice-pills svg {
    width: 16px;
    height: 16px;
    color: #0794cd;
}

.sc-account-choice-note {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 360px;
    margin-top: 54px;
    padding-left: 16px;
    border-left: 3px solid #28b6e5;
    color: #486581;
    font-size: 13px;
    line-height: 1.5;
}

.sc-account-choice-note strong {
    color: #03045e;
    font-size: 14px;
}

.sc-account-choice-form {
    display: flex;
    align-items: center;
    padding: 42px clamp(24px, 5vw, 66px) 42px 24px;
    background: rgba(255, 255, 255, .72);
}

.sc-account-choice-card {
    width: 100%;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(7, 148, 205, .17);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 42px rgba(3, 4, 94, .08);
}

.sc-account-choice-card h2 {
    margin: 14px 0 8px;
    color: #03045e;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.sc-account-choice-card > p {
    margin: 0;
    color: #7182a1;
    font-size: 15px;
}

.sc-account-role-group {
    margin: 30px 0 0;
    padding: 0;
    border: 0;
}

.sc-account-role-group legend {
    margin-bottom: 12px;
    color: #03045e;
    font-size: 14px;
    font-weight: 700;
}

.sc-account-role-card {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    margin-top: 12px;
    padding: 16px 18px;
    border: 1px solid #dfeaf3;
    border-radius: 17px;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sc-account-role-card:hover {
    border-color: #7ed7ec;
    box-shadow: 0 10px 22px rgba(7, 148, 205, .10);
    transform: translateY(-1px);
}

.sc-account-role-card.is-selected {
    border-color: #28b6e5;
    background: linear-gradient(135deg, #f2fcff, #fff);
    box-shadow: 0 12px 24px rgba(7, 148, 205, .13);
}

.sc-account-role-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.sc-account-role-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0794cd, #28b6e5);
}

.sc-account-role-card:nth-of-type(3) .sc-account-role-icon {
    background: linear-gradient(135deg, #6f42c1, #9d70e8);
}

.sc-account-role-icon svg {
    width: 21px;
    height: 21px;
}

.sc-account-role-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.sc-account-role-copy strong {
    color: #03045e;
    font-size: 16px;
}

.sc-account-role-copy small {
    color: #7182a1;
    font-size: 12px;
    line-height: 1.45;
}

.sc-account-role-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid #cbd8e5;
    border-radius: 50%;
    color: transparent;
}

.sc-account-role-card.is-selected .sc-account-role-check {
    border-color: #0794cd;
    color: #fff;
    background: #0794cd;
}

.sc-account-role-check svg {
    width: 14px;
    height: 14px;
}

.sc-account-choice-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 24px;
    padding: 15px 20px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #0794cd;
    box-shadow: 0 12px 24px rgba(7, 148, 205, .25);
    font-size: 15px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sc-account-choice-submit:hover {
    color: #fff;
    background: #0676ad;
    box-shadow: 0 15px 28px rgba(7, 148, 205, .30);
    transform: translateY(-1px);
}

.sc-account-choice-submit svg {
    width: 17px;
    height: 17px;
}

.sc-account-choice-login {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 21px;
    color: #7182a1;
    font-size: 13px;
}

.sc-account-choice-login a {
    color: #0794cd;
    font-weight: 700;
}

@media (max-width: 991px) {
    .sc-account-choice-shell {
        grid-template-columns: 1fr;
    }

    .sc-account-choice-intro {
        min-height: 420px;
    }

    .sc-account-choice-form {
        padding: 0 30px 42px;
    }
}

@media (max-width: 767px) {
    .sc-account-choice-page {
        width: calc(100% - 32px);
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .sc-account-choice-intro {
        min-height: 0;
        padding: 42px 25px 36px;
    }

    .sc-account-choice-intro h1 {
        font-size: 42px;
    }

    .sc-account-choice-intro > p {
        font-size: 16px;
    }

    .sc-account-choice-note {
        margin-top: 34px;
    }

    .sc-account-choice-form {
        padding: 0 14px 14px;
    }

    .sc-account-choice-card {
        padding: 26px 20px;
    }

    .sc-account-role-card {
        grid-template-columns: 40px minmax(0, 1fr) 20px;
        gap: 10px;
        padding: 13px;
    }

    .sc-account-role-icon {
        width: 40px;
        height: 40px;
    }
}

/* Login page: keep the real form, but bring its presentation into the current image-led design. */
.sc-account-login-page {
    width: var(--sc-public-content-width);
    max-width: var(--sc-public-max-width);
    padding-top: 58px;
    padding-bottom: 78px;
}

.sc-account-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
    overflow: hidden;
    border: 1px solid rgba(7, 148, 205, .16);
    border-radius: 30px;
    background: linear-gradient(135deg, #eefbff 0%, #f8f7ff 56%, #fff8df 100%);
    box-shadow: 0 22px 60px rgba(3, 4, 94, .10);
}

.sc-account-login-visual {
    position: relative;
    min-height: 660px;
    padding: 62px clamp(36px, 6vw, 78px) 52px;
    overflow: hidden;
}

.sc-account-login-visual::after {
    position: absolute;
    right: -38px;
    bottom: -68px;
    width: 220px;
    height: 220px;
    border: 28px solid rgba(40, 182, 229, .17);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.sc-account-login-visual h1 {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 14px 0 17px;
    color: #03045e;
    font-size: clamp(40px, 4.2vw, 58px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.sc-login-title-line {
    display: block;
    white-space: nowrap;
}

.sc-account-login-visual > p {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0;
    color: #486581;
    font-size: 17px;
    line-height: 1.65;
}

.sc-account-login-gallery {
    position: relative;
    z-index: 1;
    width: min(100%, 500px);
    height: 285px;
    margin-top: 34px;
}

.sc-account-login-gallery-main,
.sc-account-login-gallery-secondary {
    position: absolute;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 24px;
    box-shadow: 0 16px 34px rgba(3, 4, 94, .16);
}

.sc-account-login-gallery-main {
    top: 0;
    left: 10%;
    width: 82%;
    height: 250px;
    transform: rotate(-3deg);
}

.sc-account-login-gallery-secondary {
    bottom: 0;
    left: 0;
    width: 43%;
    height: 160px;
    transform: rotate(5deg);
}

.sc-account-login-gallery-main img,
.sc-account-login-gallery-secondary img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-account-login-gallery-main span,
.sc-account-login-gallery-secondary span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: #03045e;
    font-size: 11px;
    font-weight: 800;
}

.sc-account-login-gallery-secondary span {
    right: auto;
    left: 10px;
    background: #0794cd;
}

.sc-account-login-visual .sc-account-choice-pills {
    position: relative;
    z-index: 2;
    margin-top: 28px;
}

.sc-account-login-form {
    display: flex;
    align-items: center;
    padding: 38px clamp(24px, 5vw, 64px);
    background: rgba(255, 255, 255, .82);
}

.sc-account-login-form .sc-login-card {
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

@media (min-width: 992px) {
    /* Lift the account form so the large blank area above it is reduced. */
    .sc-account-login-form .sc-login-card {
        transform: translate(-36px, -36px);
    }
}

.sc-login-card h2 {
    margin: 14px 0 8px;
    color: #03045e;
    font-size: clamp(30px, 3.1vw, 42px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.sc-login-card .sc-login-intro {
    margin: 0;
    color: #7182a1;
    font-size: 15px;
}

.sc-login-card form {
    margin-top: 29px !important;
}

.sc-login-card .input-label {
    color: #03045e;
    font-weight: 700;
}

.sc-login-card .form-control {
    min-height: 50px;
    border: 1px solid #dce7f1;
    border-radius: 13px;
    background: #fff;
}

.sc-login-card #loginBtn {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: #0794cd;
    box-shadow: 0 12px 24px rgba(7, 148, 205, .25);
    font-weight: 800;
}

.sc-login-card .social-login {
    min-height: 52px;
    border: 1px solid #dce7f1;
    border-radius: 13px;
    color: #03045e;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sc-login-card .social-login:hover {
    border-color: #7ed7ec;
    box-shadow: 0 9px 20px rgba(7, 148, 205, .10);
    transform: translateY(-1px);
}

.sc-login-card > .text-center a,
.sc-login-card > div a {
    color: #0794cd;
}

@media (max-width: 991px) {
    .sc-account-login-form .sc-login-card {
        transform: none;
    }

    .sc-account-login-shell {
        grid-template-columns: 1fr;
    }

    .sc-account-login-visual {
        min-height: 520px;
    }

    .sc-account-login-form {
        padding: 42px 30px 52px;
    }
}

@media (max-width: 767px) {
    .sc-account-login-page {
        width: calc(100% - 32px);
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .sc-account-login-visual {
        min-height: 0;
        padding: 42px 25px 36px;
    }

    .sc-account-login-visual h1 {
        font-size: 42px;
    }

    .sc-account-login-gallery {
        height: 220px;
        margin-top: 26px;
    }

    .sc-account-login-gallery-main {
        height: 190px;
    }

    .sc-account-login-gallery-secondary {
        height: 125px;
    }

    .sc-account-login-form {
        padding: 30px 20px 38px;
    }
}

/* The account choice keeps the current design, with the learning imagery back in the hero. */
.sc-account-choice-intro {
    justify-content: flex-start;
    padding-top: 52px;
    padding-bottom: 44px;
}

.sc-account-choice-intro h1 {
    max-width: 560px;
    font-size: clamp(38px, 4.2vw, 58px);
}

.sc-account-choice-intro > p {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.55;
}

.sc-account-choice-gallery {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    height: 218px;
    margin-top: 24px;
}

.sc-account-choice-gallery-main,
.sc-account-choice-gallery-secondary {
    position: absolute;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 22px;
    box-shadow: 0 15px 30px rgba(3, 4, 94, .16);
}

.sc-account-choice-gallery-main {
    top: 0;
    left: 12%;
    width: 78%;
    height: 188px;
    transform: rotate(-3deg);
}

.sc-account-choice-gallery-secondary {
    bottom: 0;
    left: 0;
    width: 38%;
    height: 128px;
    transform: rotate(4deg);
}

.sc-account-choice-gallery-main img,
.sc-account-choice-gallery-secondary img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-account-choice-gallery-main span,
.sc-account-choice-gallery-secondary span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: #03045e;
    font-size: 10px;
    font-weight: 800;
}

.sc-account-choice-gallery-secondary span {
    right: auto;
    left: 8px;
    background: #0794cd;
}

.sc-account-choice-pills {
    margin-top: 20px;
}

.sc-account-choice-note {
    margin-top: 26px;
}

.sc-account-choice-intro::after {
    right: 4%;
    bottom: 5%;
    z-index: 1;
}

@media (max-width: 991px) {
    .sc-account-choice-gallery {
        height: 230px;
    }
}

@media (max-width: 767px) {
    .sc-account-choice-intro {
        padding-top: 42px;
        padding-bottom: 34px;
    }

    .sc-account-choice-gallery {
        height: 190px;
        margin-top: 20px;
    }

    .sc-account-choice-gallery-main {
        height: 164px;
    }

    .sc-account-choice-gallery-secondary {
        height: 112px;
    }
}
