.eh-auth-page {
    background: var(--eh-surface);
    color: var(--eh-ink);
}

.eh-auth-page .login-wrap {
    min-height: 100vh;
    background: var(--eh-surface);
}

.eh-auth-page .login-left.eh-auth-hero {
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.eh-auth-page .login-left.eh-auth-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.78)),
        linear-gradient(135deg, rgba(var(--eh-blue-rgb), 0.18), rgba(var(--eh-cyan-rgb), 0.18));
    backdrop-filter: blur(3px);
}

.eh-auth-hero-card {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 32px));
    height: auto !important;
    min-height: 0;
    align-items: flex-start !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 80px rgba(var(--eh-ink-rgb), 0.14);
    color: var(--eh-ink);
}

.eh-auth-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    min-height: 54px;
    padding: 11px 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(var(--eh-ink-rgb), 0.08);
}

.eh-auth-brand .login-logo {
    width: auto;
    max-width: 148px;
    max-height: 36px;
    margin: 0;
}

.eh-auth-eyebrow,
.eh-auth-form-kicker {
    color: var(--eh-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eh-auth-hero-card h2 {
    max-width: 430px;
    margin: 0;
    color: var(--eh-ink) !important;
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: start !important;
}

.eh-auth-hero-card h2 strong {
    color: var(--eh-blue);
}

.eh-auth-hero-card p {
    max-width: 460px;
    color: var(--eh-slate) !important;
    font-size: 1rem;
    line-height: 1.65;
    text-align: start !important;
}

.eh-auth-media {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 180px;
    margin-top: 12px;
    border-radius: 8px;
    background: var(--eh-brand-100);
    box-shadow: 0 18px 42px rgba(var(--eh-ink-rgb), 0.14);
}

.eh-auth-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--eh-ink-rgb), 0) 38%, rgba(var(--eh-ink-rgb), 0.80));
}

.eh-auth-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    object-position: center;
}

.eh-auth-media-caption {
    position: absolute;
    inset-inline: 16px;
    bottom: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.eh-auth-media-caption .material-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 21px;
    backdrop-filter: blur(6px);
}

.eh-auth-media-caption strong,
.eh-auth-media-caption small {
    display: block;
}

.eh-auth-media-caption strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.eh-auth-media-caption small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    line-height: 1.35;
}

.eh-auth-page .login-right-wrap.eh-auth-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--eh-cyan-rgb), 0.10), transparent 32%),
        #ffffff !important;
}

.eh-auth-card {
    max-width: 480px;
    padding: 36px 28px !important;
}

.eh-auth-card h2 {
    color: var(--eh-ink) !important;
    font-size: 2rem;
    font-weight: 800 !important;
    line-height: 1.18;
}

.eh-auth-card p {
    color: var(--eh-slate);
    line-height: 1.55;
}

.eh-auth-card .badge-primary {
    background: var(--eh-brand-50);
    color: var(--eh-blue);
}

.eh-auth-card .btn--primary {
    min-height: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--eh-cyan), var(--eh-blue)) !important;
    box-shadow: 0 14px 28px rgba(var(--eh-blue-rgb), 0.18);
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .eh-auth-page .login-wrap {
        display: block;
    }

    .eh-auth-page .login-left.eh-auth-hero {
        min-height: auto;
        padding: 18px;
    }

    .eh-auth-hero-card {
        width: min(680px, 100%);
        margin-inline: auto !important;
        padding: 24px !important;
    }

    .eh-auth-hero-card h2 {
        font-size: 2rem;
    }

    .eh-auth-page .login-right-wrap.eh-auth-panel {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .eh-auth-page .login-left.eh-auth-hero {
        padding: 12px;
    }

    .eh-auth-hero-card,
    .eh-auth-card {
        padding: 20px 16px !important;
    }

    .eh-auth-hero-card h2,
    .eh-auth-card h2 {
        font-size: 1.55rem;
    }

    .eh-auth-media,
    .eh-auth-media img {
        min-height: 150px;
    }
}
