.aaim-v2-auth {
    --aaim-auth-ink: #172033;
    --aaim-auth-muted: #606b7d;
    --aaim-auth-border: #dce3ee;
    --aaim-auth-blue: #175cd3;
    --aaim-auth-blue-dark: #123f91;
    --aaim-auth-purple: #7038c8;
    --aaim-auth-surface: #ffffff;
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    color: var(--aaim-auth-ink);
    font-family: inherit;
}

.aaim-v2-auth *,
.aaim-v2-auth *::before,
.aaim-v2-auth *::after {
    box-sizing: inherit;
}

.aaim-v2-auth h1,
.aaim-v2-auth h2,
.aaim-v2-auth p {
    margin-top: 0;
    letter-spacing: 0;
}

.aaim-v2-public-entry {
    padding: 28px;
    background: #f5f7fb;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
}

.aaim-v2-entry-header {
    margin-bottom: 22px;
    padding: 34px;
    overflow: hidden;
    color: #ffffff;
    background: var(--aaim-auth-blue-dark);
    border-radius: 8px;
}

.aaim-v2-entry-brand,
.aaim-v2-auth-brand,
.aaim-v2-auth-label {
    display: block;
    margin-bottom: 9px;
    color: #cfdcff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.aaim-v2-entry-header h1 {
    max-width: 680px;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.2;
}

.aaim-v2-entry-header p {
    max-width: 650px;
    margin-bottom: 22px;
    color: #e9efff;
    font-size: 17px;
    line-height: 1.6;
}

.aaim-v2-entry-assessment,
.aaim-v2-auth-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    color: #ffffff;
    background: var(--aaim-auth-blue);
    border: 1px solid var(--aaim-auth-blue);
    border-radius: 7px;
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.aaim-v2-entry-assessment {
    color: var(--aaim-auth-blue-dark);
    background: #ffffff;
    border-color: #ffffff;
}

.aaim-v2-entry-assessment:hover,
.aaim-v2-entry-assessment:focus {
    color: var(--aaim-auth-blue-dark);
    background: #eef3ff;
}

.aaim-v2-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.aaim-v2-auth-card {
    min-width: 0;
    padding: 26px;
    background: var(--aaim-auth-surface);
    border: 1px solid var(--aaim-auth-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(25, 39, 67, 0.07);
}

.aaim-v2-auth-card-signup {
    grid-column: 1 / -1;
}

.aaim-v2-auth-single {
    max-width: 540px;
    padding: 24px;
    background: #f5f7fb;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
}

.aaim-v2-auth-brand,
.aaim-v2-auth-label {
    color: var(--aaim-auth-blue);
}

.aaim-v2-auth-card h1,
.aaim-v2-auth-card h2 {
    margin-bottom: 9px;
    font-size: 25px;
    line-height: 1.25;
}

.aaim-v2-auth-intro {
    margin-bottom: 20px;
    color: var(--aaim-auth-muted);
    line-height: 1.55;
}

.aaim-v2-auth-form {
    display: grid;
    gap: 15px;
}

.aaim-v2-auth-form label:not(.aaim-v2-auth-check) {
    display: grid;
    gap: 7px;
    color: var(--aaim-auth-ink);
    font-size: 14px;
    font-weight: 700;
}

.aaim-v2-auth-form input[type="text"],
.aaim-v2-auth-form input[type="email"],
.aaim-v2-auth-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--aaim-auth-ink);
    background: #ffffff;
    border: 1px solid #bdc8d8;
    border-radius: 7px;
    font: inherit;
}

.aaim-v2-auth-form input:focus {
    border-color: var(--aaim-auth-blue);
    box-shadow: 0 0 0 3px rgba(23, 92, 211, 0.13);
    outline: 0;
}

.aaim-v2-auth-form small {
    color: var(--aaim-auth-muted);
    font-size: 12px;
    font-weight: 500;
}

.aaim-v2-auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--aaim-auth-muted);
    font-size: 13px;
}

.aaim-v2-auth-check input {
    width: 18px;
    height: 18px;
}

.aaim-v2-auth-button {
    width: 100%;
}

.aaim-v2-auth-button:hover,
.aaim-v2-auth-button:focus {
    color: #ffffff;
    background: var(--aaim-auth-blue-dark);
}

.aaim-v2-auth-button-student {
    background: var(--aaim-auth-purple);
    border-color: var(--aaim-auth-purple);
}

.aaim-v2-auth-button-signup {
    background: #147d74;
    border-color: #147d74;
}

.aaim-v2-auth-notice,
.aaim-v2-auth-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.45;
}

.aaim-v2-auth-notice {
    color: #7c2d20;
    background: #fff0ed;
    border: 1px solid #f4c9c0;
}

.aaim-v2-auth-success {
    color: #125f43;
    background: #eaf7f1;
    border: 1px solid #b9e3d0;
}

.aaim-v2-auth-social {
    display: grid;
    margin-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.aaim-v2-auth-social button {
    min-height: 42px;
    padding: 9px 12px;
    color: #7a8391;
    background: #f5f6f8;
    border: 1px solid #d8dde5;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
}

@media (max-width: 760px) {
    .aaim-v2-entry-grid {
        grid-template-columns: 1fr;
    }

    .aaim-v2-auth-card-signup {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .aaim-v2-public-entry,
    .aaim-v2-auth-single {
        padding: 12px;
    }

    .aaim-v2-entry-header,
    .aaim-v2-auth-card {
        padding: 20px;
    }

    .aaim-v2-entry-header h1 {
        font-size: 27px;
    }

    .aaim-v2-entry-assessment {
        width: 100%;
    }

    .aaim-v2-auth-social {
        grid-template-columns: 1fr;
    }
}
