:root {
    --ae-login-bg: #f5f6f8;
    --ae-login-text: #202124;
    --ae-login-muted: #667085;
    --ae-login-border: #e4e7ec;
    --ae-login-accent: #fbbc74;
    --ae-login-accent-strong: #db8f3c;
    --ae-login-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.ae-login-body {
    background: var(--ae-login-bg);
    color: var(--ae-login-text);
    font-family: var(--ae-login-font);
    -webkit-font-smoothing: antialiased;
}

.ae-login-stage {
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
    min-height: 100vh;
}

.ae-login-brand {
    background: #111214;
    color: #fff;
    overflow: hidden;
    padding: 64px;
    position: relative;
}

.ae-login-brand::before,
.ae-login-brand::after {
    border-radius: 999px;
    content: "";
    position: absolute;
}

.ae-login-brand::before {
    background: radial-gradient(circle, rgba(251, 188, 116, 0.32), transparent 68%);
    bottom: -260px;
    height: 560px;
    left: -250px;
    width: 560px;
}

.ae-login-brand::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    height: 440px;
    right: -270px;
    top: -220px;
    width: 440px;
}

.ae-login-brand-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    max-width: 520px;
    position: relative;
    z-index: 2;
}

.ae-login-brand img,
.ae-login-mobile-brand img {
    display: block;
    height: auto;
    width: 230px;
}

.ae-login-kicker {
    color: #c8c9cc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-top: 26px;
    text-transform: uppercase;
}

.ae-login-brand h1 {
    font-size: clamp(46px, 4vw, 62px);
    letter-spacing: -0.055em;
    line-height: 0.99;
    margin: 34px 0 22px;
}

.ae-login-brand p {
    color: #c5c7cb;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    max-width: 455px;
}

.ae-login-feature-row {
    display: flex;
    gap: 10px;
    margin-top: 42px;
}

.ae-login-feature-row span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #e6e7e9;
    font-size: 11px;
    font-weight: 650;
    padding: 8px 12px;
}

.ae-login-panel {
    align-items: center;
    background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
    display: flex;
    justify-content: center;
    padding: 56px;
}

.ae-login-card {
    background: #fff;
    border: 1px solid var(--ae-login-border);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
    padding: 38px;
    width: min(430px, 100%);
}

.ae-login-heading > span {
    color: var(--ae-login-accent-strong);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ae-login-heading h2 {
    font-size: 34px;
    letter-spacing: -0.04em;
    margin: 8px 0 7px;
}

.ae-login-heading p {
    color: var(--ae-login-muted);
    font-size: 14px;
    margin: 0 0 28px;
}

.ae-login-error {
    background: #fff4f2;
    border: 1px solid #f5d1ca;
    border-radius: 10px;
    color: #9b2c20;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.ae-login-form {
    display: grid;
    gap: 17px;
}

.ae-login-form > label {
    display: grid;
    gap: 7px;
}

.ae-login-form > label > span {
    color: #475467;
    font-size: 12px;
    font-weight: 650;
}

.ae-login-form input[type="text"],
.ae-login-form input[type="password"] {
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    color: var(--ae-login-text);
    font: 500 14px var(--ae-login-font);
    height: 48px;
    outline: none;
    padding: 0 13px;
    transition: border 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.ae-login-form input:focus {
    border-color: var(--ae-login-accent-strong);
    box-shadow: 0 0 0 4px rgba(251, 188, 116, 0.18);
}

.ae-login-options {
    align-items: center;
    display: flex;
    font-size: 12px;
    gap: 16px;
    justify-content: space-between;
}

.ae-login-remember {
    align-items: center;
    color: #667085;
    display: flex;
    gap: 7px;
}

.ae-login-remember input {
    accent-color: var(--ae-login-accent-strong);
}

.ae-login-options a {
    color: #9d5b17;
    font-weight: 650;
    text-decoration: none;
}

.ae-login-form button {
    background: #191a1c;
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font: 700 14px var(--ae-login-font);
    height: 48px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.ae-login-form button:hover {
    background: #2c2d30;
    transform: translateY(-1px);
}

.ae-login-help {
    color: #98a2b3;
    font-size: 10px;
    margin: 22px 0 0;
    text-align: center;
}

.ae-login-mobile-brand {
    display: none;
}
