:root {
    --ahoora-auth-blue: #0877c9;
    --ahoora-auth-navy: #073a65;
    --ahoora-auth-ink: #10243e;
    --ahoora-auth-muted: #64748b;
    --ahoora-auth-border: #d9e5ee;
}

body.ahoora-auth-page {
    min-height: 100vh;
    margin: 0;
    color: var(--ahoora-auth-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(14, 165, 233, .10), transparent 30rem),
        radial-gradient(circle at 90% 30%, rgba(7, 88, 165, .07), transparent 34rem),
        #f4f8fb;
}

.ahoora-auth-main {
    display: grid;
    min-height: clamp(570px, 68vh, 800px);
    place-items: center;
    padding: clamp(36px, 6vw, 86px) 16px;
}

.ahoora-auth-card {
    width: min(100%, var(--ahoora-auth-max-width, 520px));
    overflow: hidden;
    border: 1px solid rgba(203, 216, 228, .92);
    border-radius: 30px;
    padding: clamp(24px, 4.2vw, 42px);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 28px 75px rgba(15, 35, 58, .13);
    backdrop-filter: blur(12px);
}

.ahoora-auth-heading {
    margin-bottom: 28px;
}

.ahoora-auth-kicker {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border: 1px solid #cce9f8;
    border-radius: 999px;
    padding: 4px 11px;
    color: #0369a1;
    background: #eff9ff;
    font-size: 11px;
    font-weight: 900;
}

.ahoora-auth-heading h1 {
    margin: 12px 0 0;
    color: var(--ahoora-auth-ink);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 950;
    line-height: 1.45;
    letter-spacing: -.025em;
}

.ahoora-auth-heading p {
    margin: 9px 0 0;
    color: var(--ahoora-auth-muted);
    font-size: 14px;
    line-height: 2;
}

.ahoora-auth-form {
    display: grid;
    gap: 18px;
}

.ahoora-auth-field {
    display: grid;
    gap: 8px;
}

.ahoora-auth-label {
    color: #223851;
    font-size: 13px;
    font-weight: 900;
}

.ahoora-auth-input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--ahoora-auth-border);
    border-radius: 15px;
    padding: 11px 14px;
    color: #10243e;
    background: #f8fbfd;
    font: inherit;
    font-size: 15px;
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ahoora-auth-input:hover {
    border-color: #b9cfdf;
}

.ahoora-auth-input:focus {
    border-color: #0ea5e9;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.ahoora-auth-input::placeholder {
    color: #9aaabd;
}

.ahoora-auth-code {
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .28em;
}

.ahoora-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #52677d;
    font-size: 13px;
    cursor: pointer;
}

.ahoora-auth-check input {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: #0877c9;
}

.ahoora-auth-submit,
.ahoora-auth-action {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 11px 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ahoora-auth-submit {
    color: #fff;
    background: linear-gradient(135deg, var(--ahoora-auth-blue), var(--ahoora-auth-navy));
    box-shadow: 0 14px 28px rgba(7, 88, 165, .20);
}

.ahoora-auth-submit:hover,
.ahoora-auth-action:hover {
    transform: translateY(-1px);
}

.ahoora-auth-action {
    border-color: var(--ahoora-auth-border);
    color: #24425f;
    background: #fff;
}

.ahoora-auth-links {
    display: grid;
    gap: 11px;
    margin-top: 18px;
}

.ahoora-auth-text-link {
    display: block;
    color: #0877c9;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.ahoora-auth-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ahoora-auth-notice {
    margin-top: 18px;
    border: 1px solid #f7d599;
    border-radius: 17px;
    padding: 15px 16px;
    color: #87530a;
    background: #fff9e9;
    font-size: 13px;
    line-height: 2;
}

.ahoora-auth-notice strong {
    display: block;
    margin-bottom: 3px;
}

@media (max-width: 640px) {
    .ahoora-auth-main {
        min-height: auto;
        padding: 28px 12px 44px;
    }

    .ahoora-auth-card {
        border-radius: 23px;
        padding: 23px 18px;
    }

    .ahoora-auth-heading {
        margin-bottom: 22px;
    }
}
