/**
 * LEVEL 7 — Auth pages (login + 3-step forgot password)
 * Light, modern enterprise look — orange / white / cream.
 * Inspired by webflow agency layouts. Fully responsive.
 *
 * Pages: login.php, forgot-password.php, forgot-password-code.php, reset-password.php
 */

:root {
    /* Orange family */
    --o-50: #fff7ed;
    --o-100: #ffedd5;
    --o-200: #fed7aa;
    --o-300: #fdba74;
    --o-400: #fb923c;
    --o-500: #f97316;
    --o-600: #f26514;
    --o-700: #c2410c;
    --orange: #f26514;
    --orange-2: #ff7a2e;
    --orange-dark: #c2410c;
    --orange-glow: rgba(242, 101, 20, 0.36);
    --orange-soft: rgba(242, 101, 20, 0.12);
    --orange-soft-2: rgba(242, 101, 20, 0.05);

    /* Ink */
    --ink: #0c0c12;
    --ink-700: #1f2030;
    --ink-500: #4b4f5c;
    --muted: #6b6f7a;
    --muted-2: #9ca0ab;
    --line: #ececef;
    --line-2: #e4e5ea;

    /* Surfaces */
    --surface: #ffffff;
    --cream: #fff9f1;
    --cream-2: #fff3e0;
    --panel-bg: #fff7ee;

    --font: 'Inter', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card:
        0 0 0 1px rgba(12, 12, 18, 0.04),
        0 28px 64px -20px rgba(242, 101, 20, 0.18),
        0 8px 24px rgba(12, 12, 18, 0.05);
    --shadow-soft:
        0 1px 2px rgba(12, 12, 18, 0.04),
        0 10px 32px rgba(12, 12, 18, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--font);
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.55;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.auth-shell {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ────────────────────────────────────────────
   HERO (left) — dark enterprise + orange accents
   ──────────────────────────────────────────── */
.auth-hero {
    flex: 1.4 1 0;
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.25rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.25rem);
    background:
        radial-gradient(70% 55% at 8% -10%, rgba(242, 101, 20, 0.28) 0%, transparent 52%),
        radial-gradient(50% 45% at 100% 8%, rgba(255, 122, 46, 0.18) 0%, transparent 48%),
        linear-gradient(168deg, #050509 0%, #14141f 48%, #0a0b10 100%);
    color: rgba(255, 255, 255, 0.92);
    isolation: isolate;
}

.auth-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Big orange blobs on dark canvas */
.auth-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(45% 42% at 92% -2%, rgba(242, 101, 20, 0.45) 0%, transparent 58%),
        radial-gradient(40% 35% at -8% 102%, rgba(255, 122, 46, 0.18) 0%, transparent 62%),
        radial-gradient(55% 42% at 55% 70%, rgba(99, 102, 241, 0.06) 0%, transparent 55%);
}

/* Dot grid — subtle warm glow */
.auth-hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image: radial-gradient(rgba(255, 173, 120, 0.35) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: 0 0;
    mask-image: radial-gradient(ellipse 80% 70% at 42% 40%, black 28%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 42% 40%, black 28%, transparent 78%);
}

/* Decorative dashed circle bottom-left */
.auth-hero__grid::before {
    content: '';
    position: absolute;
    left: -180px;
    bottom: -180px;
    width: 460px;
    height: 460px;
    border: 1.5px dashed rgba(255, 154, 90, 0.18);
    border-radius: 50%;
}

/* Soft bloom bottom-right */
.auth-hero__grid::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(242, 101, 20, 0.32), transparent 72%);
    filter: blur(12px);
}

/* Legacy skyline + noise hooks — neutralised */
.auth-hero__skyline,
.auth-hero__noise {
    display: none !important;
}

/* HERO content */
.auth-hero__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.auth-hero__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.auth-hero__brand img {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow:
        0 0 0 2px rgba(242, 101, 20, 0.45),
        0 14px 32px rgba(0, 0, 0, 0.45);
}

.auth-hero__brand-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.04;
}

.auth-hero__brand-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.auth-hero__brand-name em {
    color: var(--orange-2);
    font-style: normal;
}

.auth-hero__brand-sub {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 5px;
}

.auth-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

.auth-hero__chip::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 14px var(--orange-glow);
}

.auth-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 38rem;
}

.auth-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: clamp(0.7rem, 1.1vw, 0.78rem);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 200, 160, 0.95);
    margin: 0 0 clamp(1rem, 2vw, 1.4rem);
    padding: 6px 12px 6px 6px;
    background: rgba(242, 101, 20, 0.15);
    border: 1px solid rgba(255, 154, 90, 0.35);
    border-radius: 999px;
}

.auth-hero__kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(242, 101, 20, 0.25);
}

.auth-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.6vw, 4.15rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 0 0 clamp(1rem, 2vw, 1.4rem);
    color: #ffffff;
}

.auth-hero__title span {
    background: linear-gradient(115deg, #ffb069 0%, var(--orange-2) 40%, var(--orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.auth-hero__lead {
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 38ch;
}

.auth-hero__features {
    margin: clamp(1.85rem, 3vw, 2.6rem) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: clamp(0.85rem, 1.4vw, 1rem);
}

.auth-hero__features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: clamp(0.95rem, 1.5vw, 1.06rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-hero__features li svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 8px;
    color: var(--orange-2);
    background: rgba(242, 101, 20, 0.16);
    border: 1px solid rgba(248, 148, 90, 0.35);
    border-radius: 11px;
}

/* legacy footer hook (kept for safety if old HTML lingers) */
.auth-hero__footer {
    display: none !important;
}

/* ────────────────────────────────────────────
   PANEL (right) — clean modern form area
   ──────────────────────────────────────────── */
.auth-panel {
    flex: 1 1 0;
    min-width: min(100%, 320px);
    max-width: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.75rem);
    background: #ffffff;
    position: relative;
}

.auth-wrap {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.auth-mobile-bar {
    display: none;
    height: 4px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 1.1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--orange), var(--orange-2), transparent);
}

/* ────────────────────────────────────────────
   CARD — modern white with orange accent strip
   ──────────────────────────────────────────── */
.auth-card {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(12, 12, 18, 0.06);
    box-shadow: var(--shadow-card);
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-2) 0%, var(--orange) 50%, var(--orange-dark) 100%);
    z-index: 2;
}

.auth-card__head {
    position: relative;
    padding: clamp(1.6rem, 3vw, 2rem) clamp(1.6rem, 3.5vw, 2.15rem) clamp(1.2rem, 2.5vw, 1.55rem);
    background:
        radial-gradient(60% 80% at 100% 0%, var(--o-50) 0%, transparent 65%),
        #ffffff;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.auth-card__head::after {
    display: none;
}

.auth-card__head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1.05rem;
}

.auth-card__logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow:
        0 0 0 1px rgba(242, 101, 20, 0.3),
        0 8px 18px rgba(242, 101, 20, 0.18);
}

.auth-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--o-50);
    border: 1px solid var(--o-200);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange-dark);
}

.auth-card__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

.auth-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.1;
    margin: 0 0 0.5rem;
    color: var(--ink);
}

.auth-card__sub {
    font-size: clamp(0.92rem, 1.5vw, 1rem);
    font-weight: 500;
    color: var(--ink-500);
    margin: 0;
    line-height: 1.55;
}

.auth-card__sub strong {
    color: var(--ink);
    font-weight: 700;
}

.auth-card__body {
    padding: clamp(1.4rem, 3vw, 1.85rem) clamp(1.6rem, 3.5vw, 2.15rem) clamp(1.55rem, 3.5vw, 2.05rem);
    background: #ffffff;
}

/* ────────────────────────────────────────────
   STEPPER — refined progress
   ──────────────────────────────────────────── */
.auth-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 1.35rem;
    padding: 0.55rem 0.2rem 0.85rem;
    border-bottom: 1px dashed rgba(12, 12, 18, 0.09);
    position: relative;
}

.auth-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: center;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
    position: relative;
    padding: 0.4rem 0.2rem;
}

.auth-step__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--line-2);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted-2);
    flex-shrink: 0;
    transition: all 0.2s var(--ease);
}

.auth-step.is-active .auth-step__dot {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
    box-shadow: 0 0 0 5px var(--orange-soft);
}

.auth-step.is-done .auth-step__dot {
    border-color: var(--orange-dark);
    background: var(--orange-dark);
    color: #fff;
}

.auth-step.is-done .auth-step__dot::before {
    content: '';
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translateY(-1px);
}

.auth-step.is-done .auth-step__dot span {
    display: none;
}

.auth-step.is-active,
.auth-step.is-done {
    color: var(--ink);
}

.auth-step + .auth-step::before {
    content: '';
    position: absolute;
    left: -50%;
    top: 50%;
    width: 100%;
    height: 1.5px;
    background: var(--line-2);
    z-index: 0;
    transform: translateY(-50%);
}

.auth-step.is-active::before,
.auth-step.is-done::before {
    background: var(--orange);
}

/* ────────────────────────────────────────────
   FIELDS / INPUTS
   ──────────────────────────────────────────── */
.auth-field {
    margin-bottom: clamp(0.95rem, 1.8vw, 1.2rem);
}

.auth-field__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.auth-input {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1.05rem;
    font-family: var(--font);
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--ink);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        background 0.2s var(--ease);
}

.auth-input::placeholder {
    color: var(--muted-2);
}

@media (hover: hover) and (pointer: fine) {
    .auth-input:hover {
        border-color: var(--o-300);
        background: #fff;
    }
}

.auth-input:focus {
    outline: none;
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 4px var(--orange-soft);
}

.auth-field--pwd {
    position: relative;
}

.auth-input--pwd {
    padding-right: 3.25rem;
}

.auth-pwd-toggle {
    position: absolute;
    right: 6px;
    top: calc(0.5rem + 18px);
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--muted-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.18s, background 0.18s;
}

.auth-pwd-toggle:hover {
    color: var(--orange-dark);
    background: var(--orange-soft);
}

.auth-pwd-toggle svg {
    width: 19px;
    height: 19px;
}

/* ────────────────────────────────────────────
   OTP — 6 digit boxes
   ──────────────────────────────────────────── */
.auth-otp {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.35rem, 1vw, 0.55rem);
}

.auth-otp__cell {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    min-height: 56px;
    border: 1.5px solid var(--line-2);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 4vw, 1.95rem);
    font-weight: 700;
    color: var(--ink);
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.12s;
}

.auth-otp__cell:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--o-50);
    box-shadow: 0 0 0 4px var(--orange-soft);
    transform: translateY(-1px);
}

.auth-otp__cell:disabled {
    background: #f5f5f7;
    color: var(--muted-2);
}

.auth-otp + .auth-helper {
    margin-top: 0.85rem;
    text-align: center;
}

/* ────────────────────────────────────────────
   ROW / ACTIONS
   ──────────────────────────────────────────── */
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin: 0.15rem 0 clamp(1.1rem, 2.5vw, 1.5rem);
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
}

.auth-check input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--orange);
    cursor: pointer;
}

.auth-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--orange-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}

/* ────────────────────────────────────────────
   BUTTON
   ──────────────────────────────────────────── */
.auth-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 56px;
    padding: 0.95rem 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.08rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange-2) 0%, var(--orange) 45%, var(--orange-dark) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 10px 28px rgba(242, 101, 20, 0.38);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.auth-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.24) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.55s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .auth-btn:hover {
        transform: translateY(-2.5px) scale(1.01);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.3) inset,
            0 18px 40px rgba(242, 101, 20, 0.46);
    }

    .auth-btn:hover::after {
        transform: translateX(100%);
    }
}

.auth-btn:active {
    transform: translateY(-1px) scale(0.995);
}

.auth-btn:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

.auth-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-btn--ghost {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--line);
    box-shadow: none;
    min-height: 50px;
    font-size: 0.95rem;
}

.auth-btn--ghost:hover {
    border-color: var(--orange);
    background: var(--orange-soft);
    color: var(--orange-dark);
    box-shadow: none;
    transform: none;
}

/* ────────────────────────────────────────────
   ALERTS
   ──────────────────────────────────────────── */
.auth-alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.auth-alert svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-alert--err {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.auth-alert--ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.auth-alert--info {
    background: var(--o-50);
    color: var(--orange-dark);
    border: 1px solid var(--o-200);
}

/* ────────────────────────────────────────────
   HELPERS / FOOTER
   ──────────────────────────────────────────── */
.auth-helper {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.auth-helper strong {
    color: var(--ink);
}

.auth-helper--center {
    text-align: center;
}

.auth-foot {
    margin-top: clamp(1rem, 2.5vw, 1.35rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--muted-2);
}

.auth-foot-link {
    color: var(--orange-dark);
    text-decoration: none;
}

.auth-foot-link:hover {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    margin-top: 1.1rem;
    transition: color 0.18s;
}

.auth-back:hover {
    color: var(--orange-dark);
}

.auth-back svg {
    width: 14px;
    height: 14px;
}

/* ────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 980px) {
    .auth-hero {
        flex: 1 1 100%;
        padding: 1.85rem 1.5rem 2.1rem;
        min-height: auto;
    }

    .auth-hero__features {
        display: none;
    }

    .auth-shell {
        flex-direction: column;
    }

    .auth-panel {
        max-width: none;
        width: 100%;
        padding: 1.5rem 1.25rem 2rem;
    }
}

@media (max-width: 768px) {
    .auth-hero {
        display: none !important;
    }

    .auth-shell {
        min-height: 100vh;
        min-height: 100dvh;
        flex-direction: column;
    }

    .auth-panel {
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        padding: max(1rem, env(safe-area-inset-top))
            max(1rem, env(safe-area-inset-right))
            max(1.25rem, env(safe-area-inset-bottom))
            max(1rem, env(safe-area-inset-left));
        min-height: 100vh;
        min-height: 100dvh;
    }

    .auth-mobile-bar {
        display: block;
    }
}

@media (max-width: 560px) {
    .auth-hero__top {
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .auth-hero__inner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-row {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-link {
        text-align: center;
    }

    .auth-card__head,
    .auth-card__body {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .auth-otp {
        gap: 0.3rem;
    }

    .auth-otp__cell {
        font-size: 1.3rem;
        min-height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
