/*
 * Sign in / sign up / forgot password: deep-green brand panel with a curved edge, white form card.
 * Only the fields the app really has (email, password, name, remember me, social login if enabled).
 * Loaded after auth-layout.css; every selector starts with `html body.auth-redesign` to beat the older rules.
 */
html body.auth-redesign {
    --au-g: #129b2e; --au-gd: #0b6f1f; --au-ink: #0b1510; --au-mu: #66746b; --au-ln: #dfe9e2;
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    background: #f6faf7 !important; color: var(--au-ink); min-height: 100vh; overflow-x: hidden;
}
html body.auth-redesign input, html body.auth-redesign button, html body.auth-redesign select, html body.auth-redesign textarea { font-family: inherit; }
html body.auth-redesign .signup-section { background: transparent !important; }
html body.auth-redesign .auth-shell { display: grid !important; grid-template-columns: 1.08fr 1fr !important; align-items: stretch !important; height: 100vh !important; min-height: 0 !important; background: transparent !important; }

/* ---------- left: brand panel ---------- */
html body.auth-redesign .auth-promo {
    position: relative; display: flex !important; flex-direction: column; justify-content: center; align-items: stretch;
    min-width: 0; min-height: 0; overflow: hidden; padding: clamp(18px, 3.6vh, 44px) clamp(28px, 5vw, 84px) clamp(16px, 3vh, 34px) clamp(28px, 5vw, 84px) !important; color: rgba(255, 255, 255, .88);
    background:
        radial-gradient(520px 420px at 88% 8%, rgba(47, 194, 74, .38), transparent 70%),
        radial-gradient(560px 480px at 6% 96%, rgba(47, 194, 74, .30), transparent 70%),
        linear-gradient(160deg, #04301c 0%, #07562f 48%, #0b7a3f 100%) !important;
    border-radius: 0 !important;
}
html body.auth-redesign .auth-promo::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background:
        radial-gradient(circle at 78% -10%, transparent 38%, rgba(255, 255, 255, .10) 38.3%, transparent 38.8%),
        radial-gradient(circle at 78% -10%, transparent 52%, rgba(255, 255, 255, .07) 52.3%, transparent 52.8%),
        radial-gradient(circle at 10% 112%, transparent 40%, rgba(255, 255, 255, .09) 40.3%, transparent 40.8%); }
html body.auth-redesign .auth-promo > * { position: relative; z-index: 1; }
html body.auth-redesign .auth-promo-logo { align-self: flex-start; display: inline-flex !important; width: auto !important; margin: 0 0 clamp(8px, 2vh, 22px) !important; padding: 0; background: none; box-shadow: none; }
html body.auth-redesign .auth-promo-logo img { display: block; width: auto; max-width: 210px; max-height: clamp(38px, 6vh, 54px); padding: 8px 14px; box-sizing: content-box; border-radius: 14px; background: #fff; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6); }
html body.auth-redesign .auth-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; margin-bottom: clamp(8px, 1.6vh, 16px); padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 13.5px; font-weight: 600; color: #fff; }
html body.auth-redesign .auth-tag i { color: #7af08f; font-size: 17px; }
html body.auth-redesign .auth-promo h1 { margin: 0 0 clamp(6px, 1.4vh, 14px); max-width: 560px; font-size: clamp(2rem, 5.2vh, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
html body.auth-redesign .auth-promo h1 em { position: relative; display: inline-block; font-style: italic; color: #6df089; }
html body.auth-redesign .auth-promo h1 em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -0.1em; height: 0.28em; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 40 2, 80 14, 120 7 S 200 3, 240 9 S 285 6, 297 4' fill='none' stroke='%236df089' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    clip-path: inset(0 100% 0 0); animation: au-draw .9s .5s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes au-draw { to { clip-path: inset(0 0 0 0); } }
html body.auth-redesign .auth-lead { margin: 0 0 clamp(6px, 1.6vh, 18px); max-width: 520px; font-size: clamp(14px, 2.1vh, 17px); line-height: 1.5; color: rgba(255, 255, 255, .84); }

/* laptop + phone illustration, built in HTML/CSS */
html body.auth-redesign .auth-vis { position: relative; flex: 1 1 auto; min-height: 0; max-height: 340px; margin: clamp(2px, 1vh, 12px) 0; display: flex; align-items: center; }
html body.auth-redesign .auth-laptop { position: relative; width: min(74%, 440px); aspect-ratio: 16 / 10; max-height: 100%; padding: 2.6% 2.6% 3.4%; border-radius: 14px; background: linear-gradient(160deg, #0f2a1c, #05150d); box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); transform: perspective(1200px) rotateY(10deg) rotateX(3deg) rotate(-2deg); transform-origin: left center; animation: au-float 7s ease-in-out infinite; }
@keyframes au-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
html body.auth-redesign .auth-screen { display: grid; grid-template-columns: 11% 1fr; height: 100%; border-radius: 8px; overflow: hidden; background: #fff; }
html body.auth-redesign .auth-side { display: flex; flex-direction: column; align-items: center; gap: 12%; padding: 14% 0; background: #0c2a1a; }
html body.auth-redesign .auth-side b { font-size: 9px; color: #4be06a; letter-spacing: -0.04em; }
html body.auth-redesign .auth-side i { width: 52%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
html body.auth-redesign .auth-side i.on { background: #2fc24a; }
html body.auth-redesign .auth-main { display: grid; grid-template-rows: auto 1fr; gap: 7%; padding: 6%; background: #f4f8f5; min-width: 0; }
html body.auth-redesign .auth-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
html body.auth-redesign .auth-stats div { padding: 8% 10%; border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
html body.auth-redesign .auth-stats small { display: block; font-size: clamp(5px, .8vh, 7px); color: #6b7a70; white-space: nowrap; }
html body.auth-redesign .auth-stats b { font-size: clamp(8px, 1.5vh, 13px); color: #0b1510; letter-spacing: -0.02em; }
html body.auth-redesign .auth-chart { position: relative; border-radius: 6px; background: #fff; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
html body.auth-redesign .auth-chart svg { position: absolute; inset: 12% 3% 3%; width: 94%; height: 85%; }
html body.auth-redesign .auth-badge { position: absolute; right: 6%; top: 8%; padding: 2px 7px; border-radius: 999px; background: #1fb544; font-size: 8px; font-weight: 700; color: #fff; }
html body.auth-redesign .auth-phone { position: absolute; right: 2%; bottom: 0; width: 31%; max-width: 190px; border: 5px solid #0c1d14; border-radius: 24px; background: #eef3ef; overflow: hidden; box-shadow: 0 36px 60px -24px rgba(0, 0, 0, .8); animation: au-float 6s ease-in-out infinite reverse; }
html body.auth-redesign .auth-phone .top { display: flex; align-items: center; gap: 6px; padding: 8px 9px; background: #0b6f1f; font-size: 10px; font-weight: 700; color: #fff; }
html body.auth-redesign .auth-phone .chat { display: grid; gap: 5px; padding: 8px 7px 11px; }
html body.auth-redesign .auth-phone p { margin: 0; max-width: 90%; padding: 5px 8px; border-radius: 9px; background: #fff; font-size: 9px; line-height: 1.35; color: #223; }
html body.auth-redesign .auth-phone p.btn { justify-self: stretch; max-width: none; padding: 6px; text-align: center; font-weight: 700; color: #0b6f1f; background: #fff; }
html body.auth-redesign .auth-wa { position: absolute; right: 8%; top: 2%; display: grid; place-items: center; width: clamp(40px, 7vh, 62px); height: clamp(40px, 7vh, 62px); border-radius: 50%; background: #25d366; font-size: clamp(24px, 4vh, 36px); color: #fff; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .12); animation: au-float 5s ease-in-out infinite; }

/* three highlights + dots */
html body.auth-redesign .auth-feats { list-style: none; margin: clamp(4px, 1.2vh, 14px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 560px; }
html body.auth-redesign .auth-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
html body.auth-redesign .auth-feats li span { display: grid; place-items: center; width: clamp(38px, 6vh, 56px); height: clamp(38px, 6vh, 56px); border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); font-size: clamp(20px, 3.2vh, 28px); color: #6df089; }
html body.auth-redesign .auth-feats li b { font-size: clamp(12px, 1.8vh, 14.5px); font-weight: 600; line-height: 1.3; color: #fff; }
html body.auth-redesign .auth-dots { display: flex; justify-content: center; gap: 8px; max-width: 560px; margin-top: clamp(4px, 1.2vh, 14px); }
html body.auth-redesign .auth-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
html body.auth-redesign .auth-dots i.on { width: 30px; border-radius: 6px; background: #4be06a; }
html body.auth-redesign .auth-wave { position: absolute !important; z-index: 2 !important; right: -1px; top: 0; width: 96px; height: 100%; pointer-events: none; }

/* ---------- right: form side ---------- */
html body.auth-redesign .auth-form-panel { position: relative; min-width: 0; min-height: 0; height: 100%; overflow-y: auto !important; display: flex; align-items: center; justify-content: center; padding: clamp(10px, 2.4vh, 36px) clamp(18px, 4vw, 64px) !important;
    background:
        radial-gradient(420px 320px at 100% 100%, rgba(47, 194, 74, .20), transparent 70%),
        radial-gradient(360px 280px at 100% 0%, rgba(47, 194, 74, .14), transparent 70%),
        #f6faf7 !important; }
html body.auth-redesign .auth-form-panel > .bg-rect-shape, html body.auth-redesign .auth-form-panel > .bg-circle-shape, html body.auth-redesign .auth-form-panel > .bg-circle-block-shape { display: none !important; }
html body.auth-redesign .login-form { width: 100%; max-width: 480px; margin: auto; padding: clamp(18px, 3.8vh, 40px) clamp(22px, 3vw, 40px) clamp(14px, 3vh, 30px); border: 1px solid #e6eee9; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -46px rgba(7, 40, 20, .35); color: var(--au-mu); }
html body.auth-redesign .login-form .logo { display: none !important; }
html body.auth-redesign .login-form h3 { margin: 0 0 4px; font-size: clamp(1.5rem, 3.6vh, 2.1rem); font-weight: 800; letter-spacing: -0.035em; text-align: left; color: var(--au-ink); }
html body.auth-redesign .auth-subtitle, html body.auth-redesign .login-form > p { margin: 0 0 clamp(10px, 2.2vh, 22px); text-align: left; font-size: clamp(13.5px, 1.9vh, 15.5px); line-height: 1.45; color: var(--au-mu); }
html body.auth-redesign .login-form .mb-30 { margin-bottom: clamp(9px, 1.7vh, 16px) !important; }
html body.auth-redesign .login-form .form-label { margin-bottom: 5px; font-size: 13.5px; font-weight: 700; color: var(--au-ink); }
html body.auth-redesign .login-form .form-control { min-height: clamp(42px, 5.6vh, 52px); padding: 0 14px 0 44px; border: 1.5px solid #d6dfd9; border-radius: 12px !important; background-color: #fff; background-repeat: no-repeat; background-position: 14px center; background-size: 19px; font-size: 15px; color: var(--au-ink); transition: border-color .2s ease, box-shadow .2s ease; }
html body.auth-redesign .login-form .form-control::placeholder { color: #98a59d; }
html body.auth-redesign .login-form .form-control:focus { border-color: var(--au-g); box-shadow: 0 0 0 4px rgba(18, 155, 46, .13); }
html body.auth-redesign .login-form input[name="email"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366746b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") !important; }
html body.auth-redesign .login-form input[type="password"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366746b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") !important; padding-right: 46px; }
html body.auth-redesign .login-form input[name="first_name"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366746b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 5-5.5 8-5.5s6.5 1.5 8 5.5'/%3E%3C/svg%3E") !important; }
html body.auth-redesign .auth-pw { position: relative; }
html body.auth-redesign .auth-pw .auth-eye { position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: #78867d; font-size: 20px; cursor: pointer; }
html body.auth-redesign .auth-pw .auth-eye:hover { background: #eef5f0; color: var(--au-g); }
html body.auth-redesign .auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(9px, 1.8vh, 16px); }
html body.auth-redesign .auth-row label { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; color: var(--au-ink); cursor: pointer; }
html body.auth-redesign .auth-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--au-g); }
html body.auth-redesign .login-form .custom-checkbox { margin-bottom: 0 !important; }
html body.auth-redesign .login-form a, html body.auth-redesign .login-form .sg-text-primary { color: var(--au-gd) !important; font-weight: 700; text-decoration: none; }
html body.auth-redesign .login-form a:hover { text-decoration: underline; }
html body.auth-redesign .login-form .sg-btn-primary { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: clamp(44px, 5.8vh, 54px); border: 0; border-radius: 12px; background: linear-gradient(180deg, #1fa83a, #0f7f27); font-size: 16px; font-weight: 700; color: #fff; box-shadow: 0 16px 28px -14px rgba(15, 127, 39, .8), inset 0 1px 0 rgba(255, 255, 255, .22); transition: transform .2s ease, filter .2s ease; }
html body.auth-redesign .login-form .sg-btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
html body.auth-redesign .auth-or { display: flex; align-items: center; gap: 14px; margin: clamp(8px, 1.6vh, 16px) 0; font-size: 13.5px; color: var(--au-mu); }
html body.auth-redesign .auth-or::before, html body.auth-redesign .auth-or::after { content: ""; flex: 1; height: 1px; background: #e2eae5; }
html body.auth-redesign .login-form .btn-outline-secondary { flex: 1 1 140px; min-height: clamp(40px, 5.2vh, 48px); border: 1.5px solid #d6dfd9; border-radius: 12px; background: #fff; font-weight: 600; color: var(--au-ink); }
html body.auth-redesign .login-form .btn-outline-secondary:hover { border-color: var(--au-g); background: #eef7f0; }
html body.auth-redesign .login-form form > span, html body.auth-redesign .auth-register .row > span { margin-top: clamp(6px, 1.2vh, 12px); text-align: center; font-size: 14px; line-height: 1.5; color: var(--au-mu); }
html body.auth-redesign .auth-register .row.justify-content-center > .col-lg-6 { flex: 0 0 100%; width: 100%; max-width: 100%; padding: 0; margin-bottom: 0 !important; }
html body.auth-redesign .auth-register .row.justify-content-center > .col-lg-6 .btn { width: 100%; }
html body.auth-redesign .auth-register .row.justify-content-center { margin: 0; }
html body.auth-redesign .login-form .g-recaptcha { transform: scale(.88); transform-origin: 0 0; margin-bottom: -8px; max-width: 100%; }
html body.auth-redesign .auth-icon { display: grid; place-items: center; width: clamp(54px, 9vh, 80px); height: clamp(54px, 9vh, 80px); margin: 0 auto clamp(8px, 1.6vh, 16px); border-radius: 22px; background: #e8f6ec; font-size: clamp(28px, 4.6vh, 40px); color: var(--au-g); }
html body.auth-redesign .auth-center h3, html body.auth-redesign .auth-center p, html body.auth-redesign .auth-center .auth-subtitle { text-align: center; }
html body.auth-redesign .auth-back { position: fixed; top: 18px; right: 22px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 9px 16px; border: 1px solid #dfe9e2; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--au-ink) !important; text-decoration: none; box-shadow: 0 10px 24px -16px rgba(7, 40, 20, .35); }
html body.auth-redesign .auth-back:hover { border-color: var(--au-g); }

/* short screens: drop the extras, keep everything on one screen */
@media (max-height: 760px) {
    html body.auth-redesign .auth-lead, html body.auth-redesign .auth-dots { display: none; }
    html body.auth-redesign .auth-vis { max-height: 230px; }
}
@media (max-height: 640px) {
    html body.auth-redesign .auth-feats, html body.auth-redesign .auth-tag { display: none; }
}
@media (max-width: 1100px) {
    html body.auth-redesign .auth-shell { grid-template-columns: 1fr 1fr !important; }
    html body.auth-redesign .auth-feats li b br { display: none; }
    html body.auth-redesign .auth-vis { max-height: 200px; }
}

/* ---------- phones: green header look behind a white card ---------- */
@media (max-width: 767px) {
    html body.auth-redesign { background: linear-gradient(160deg, #04301c, #07562f 55%, #0b7a3f) fixed !important; }
    html body.auth-redesign .auth-shell { display: block !important; height: auto !important; min-height: 100dvh !important; }
    html body.auth-redesign .auth-promo { display: none !important; }
    html body.auth-redesign .auth-form-panel { height: auto; min-height: 100dvh; overflow: visible !important; background: none !important; padding: 56px 12px 12px !important; }
    html body.auth-redesign .login-form { max-width: 440px; padding: 20px 18px 16px; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
    html body.auth-redesign .login-form .logo { display: flex !important; justify-content: center; margin-bottom: 8px !important; }
    html body.auth-redesign .login-form .logo img { max-height: 40px !important; }
    html body.auth-redesign .auth-back { top: 12px; left: 12px; right: auto; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff !important; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
    html body.auth-redesign .auth-laptop, html body.auth-redesign .auth-phone, html body.auth-redesign .auth-wa { animation: none; }
    html body.auth-redesign .auth-promo h1 em::after { animation: none; clip-path: none; }
}

/* sign-up: keep the bootstrap row gutters from pushing the button past the card padding */
html body.auth-redesign .auth-register form .row { margin-left: 0; margin-right: 0; --bs-gutter-x: 0; }
html body.auth-redesign .auth-register form .row > * { padding-left: 0; padding-right: 0; }

/* icon fonts must keep their own family (Line Awesome) */
html body.auth-redesign .la, html body.auth-redesign .las { font-family: "Line Awesome Free" !important; font-weight: 900 !important; font-style: normal; }
html body.auth-redesign .lar { font-family: "Line Awesome Free" !important; font-weight: 400 !important; font-style: normal; }
html body.auth-redesign .lab { font-family: "Line Awesome Brands" !important; font-weight: 400 !important; font-style: normal; }

/* ======================================================================
   LARGER, CLOSER TO THE REFERENCE: big illustration that scales with its box, bigger card and type
   ====================================================================== */
html body.auth-redesign .auth-promo { justify-content: flex-start; }
html body.auth-redesign .auth-promo h1 { font-size: clamp(2.2rem, 5.6vh, 4rem); max-width: 620px; }
html body.auth-redesign .auth-lead { font-size: clamp(14.5px, 2.2vh, 18px); max-width: 560px; }
html body.auth-redesign .auth-vis { container-type: inline-size; flex: 1 1 0; min-height: 150px; max-height: none; margin: clamp(4px, 1.4vh, 16px) 0; }
html body.auth-redesign .auth-laptop { width: 78%; max-width: 660px; }
html body.auth-redesign .auth-side b { font-size: 1.9cqw; }
html body.auth-redesign .auth-stats small { font-size: 1.35cqw; }
html body.auth-redesign .auth-stats b { font-size: 2.5cqw; }
html body.auth-redesign .auth-badge { font-size: 1.6cqw; padding: .3cqw 1.2cqw; }
html body.auth-redesign .auth-phone { width: 30%; max-width: 230px; right: 0; border-width: 6px; border-radius: 28px; }
html body.auth-redesign .auth-phone .top { font-size: 2.1cqw; padding: 1.6cqw; }
html body.auth-redesign .auth-phone p { font-size: 1.9cqw; padding: 1cqw 1.6cqw; }
html body.auth-redesign .auth-wa { width: 9cqw; height: 9cqw; max-width: 74px; max-height: 74px; font-size: 5.4cqw; right: 12%; top: -2%; }
html body.auth-redesign .auth-feats { max-width: 640px; }
html body.auth-redesign .auth-feats li span { width: clamp(46px, 7vh, 66px); height: clamp(46px, 7vh, 66px); font-size: clamp(24px, 3.8vh, 32px); }
html body.auth-redesign .auth-feats li b { font-size: clamp(13px, 2vh, 16px); }
html body.auth-redesign .auth-dots { max-width: 640px; }
html body.auth-redesign .login-form { max-width: 540px; padding: clamp(22px, 4.4vh, 48px) clamp(26px, 3.4vw, 50px) clamp(16px, 3.4vh, 36px); }
html body.auth-redesign .login-form h3 { font-size: clamp(1.7rem, 4.4vh, 2.5rem); }
html body.auth-redesign .login-form .form-control { min-height: clamp(44px, 6vh, 58px); font-size: 16px; }
html body.auth-redesign .login-form .sg-btn-primary { min-height: clamp(48px, 6.4vh, 60px); font-size: 17px; }

/* ======================================================================
   INLINE SVG ICONS (no icon font needed) + RICHER DASHBOARD ILLUSTRATION
   ====================================================================== */
html body.auth-redesign .auth-svg { display: block; flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html body.auth-redesign .auth-svg.fill { fill: currentColor; stroke: none; }
html body.auth-redesign .auth-svg.color { stroke: none; }
html body.auth-redesign .auth-tag .auth-svg { font-size: 17px; color: #7af08f; }
html body.auth-redesign .auth-back .auth-svg { font-size: 16px; }
html body.auth-redesign .auth-wa .auth-svg { font-size: inherit; }
html body.auth-redesign .auth-icon .auth-svg { font-size: inherit; }
html body.auth-redesign .auth-pw .auth-eye .auth-svg { font-size: 21px; }
html body.auth-redesign .login-form .sg-btn-primary .auth-svg { font-size: 20px; }
html body.auth-redesign .login-form .btn-outline-secondary .auth-svg { font-size: 20px; }
html body.auth-redesign .login-form .logo + * { }
html body.auth-redesign .login-form a .auth-svg { display: inline-block; vertical-align: -0.14em; margin-right: 4px; }

html body.auth-redesign .auth-screen { grid-template-columns: 19% 1fr; border-radius: .9cqw; }
html body.auth-redesign .auth-side { align-items: stretch; gap: 1.6cqw; padding: 2.6cqw 1.4cqw; background: #0c2a1a; }
html body.auth-redesign .auth-side b { margin: 0 0 1cqw .6cqw; font-size: 2.4cqw; color: #4be06a; letter-spacing: -0.04em; }
html body.auth-redesign .auth-side span { display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1cqw; border-radius: .8cqw; font-size: 1.45cqw; color: rgba(255, 255, 255, .62); }
html body.auth-redesign .auth-side span.on { background: #14a136; color: #fff; }
html body.auth-redesign .auth-side span i { width: 1.4cqw; height: 1.4cqw; border-radius: .4cqw; background: currentColor; opacity: .85; }
html body.auth-redesign .auth-side em { font-style: normal; white-space: nowrap; }
html body.auth-redesign .auth-main { display: flex; flex-direction: column; gap: 2cqw; padding: 2.4cqw; background: #f4f8f5; min-width: 0; }
html body.auth-redesign .auth-head { display: flex; align-items: center; justify-content: space-between; }
html body.auth-redesign .auth-head b { font-size: 2cqw; color: #0b1510; }
html body.auth-redesign .auth-head small { font-size: 1.3cqw; color: #6b7a70; }
html body.auth-redesign .auth-stats { gap: 1.6cqw; }
html body.auth-redesign .auth-stats div { padding: 1.4cqw 1.6cqw; border-radius: 1cqw; }
html body.auth-redesign .auth-stats small { display: block; font-size: 1.25cqw; color: #6b7a70; }
html body.auth-redesign .auth-stats b { display: block; font-size: 2.6cqw; line-height: 1.2; }
html body.auth-redesign .auth-stats em { font-style: normal; font-size: 1.25cqw; font-weight: 700; color: #129b2e; }
html body.auth-redesign .auth-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6cqw; flex: 1; min-height: 0; }
html body.auth-redesign .auth-chart { border-radius: 1cqw; }
html body.auth-redesign .auth-chart svg { inset: 3cqw 1cqw 1cqw; width: calc(100% - 2cqw); height: calc(100% - 4cqw); }
html body.auth-redesign .auth-badge { font-size: 1.4cqw; padding: .3cqw 1cqw; right: 1.2cqw; top: 1cqw; }
html body.auth-redesign .auth-list { display: flex; flex-direction: column; gap: .9cqw; padding: 1.3cqw 1.5cqw; border-radius: 1cqw; background: #fff; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
html body.auth-redesign .auth-list b { font-size: 1.55cqw; color: #0b1510; }
html body.auth-redesign .auth-list p { display: flex; align-items: center; justify-content: space-between; gap: .8cqw; margin: 0; font-size: 1.3cqw; color: #223; }
html body.auth-redesign .auth-list p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.auth-redesign .auth-list i { font-style: normal; padding: .2cqw .8cqw; border-radius: 99px; font-size: 1.1cqw; font-weight: 700; }
html body.auth-redesign .auth-list i.ok { background: #dff6e5; color: #0b7a24; }
html body.auth-redesign .auth-list i.wait { background: #fff1c9; color: #946b00; }
html body.auth-redesign .auth-list i.draft { background: #e8edf0; color: #55636b; }
html body.auth-redesign .auth-phone .top { gap: 1.4cqw; padding: 1.6cqw; }
html body.auth-redesign .auth-phone .top .av { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: #25d366; font-size: 2.2cqw; color: #fff; }
html body.auth-redesign .auth-phone .top b { display: block; font-size: 2cqw; line-height: 1.2; }
html body.auth-redesign .auth-phone .top small { font-size: 1.4cqw; color: rgba(255, 255, 255, .8); }
html body.auth-redesign .auth-phone .chat { gap: 1.2cqw; padding: 1.8cqw 1.4cqw 2.2cqw; }
html body.auth-redesign .auth-phone p.out { justify-self: end; background: #d6f3dc; color: #0a2a12; border-top-right-radius: 3px; }
html body.auth-redesign .auth-phone p { font-size: 1.85cqw; padding: 1cqw 1.6cqw; }

/* field icons as elements (survive browser autofill) */
html body.auth-redesign .auth-field { position: relative; }
html body.auth-redesign .auth-field .auth-ico { position: absolute; left: 14px; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; font-size: 19px; color: #66746b; pointer-events: none; }
html body.auth-redesign .login-form input[name="email"], html body.auth-redesign .login-form input[type="password"], html body.auth-redesign .login-form input[name="first_name"] { background-image: none !important; }
html body.auth-redesign .auth-field .auth-eye { position: absolute; right: 8px; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: #78867d; cursor: pointer; }
html body.auth-redesign .auth-field .auth-eye:hover { background: #eef5f0; color: var(--au-g); }
html body.auth-redesign .auth-field .auth-eye .auth-svg { font-size: 21px; }
html body.auth-redesign .auth-field input:-webkit-autofill, html body.auth-redesign .auth-field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 40px #fff inset !important; -webkit-text-fill-color: #0b1510 !important; }

/* illustration is now a picture (cropped from the approved mock-up) */
html body.auth-redesign .auth-vis { container-type: normal; display: flex; align-items: center; justify-content: flex-start; flex: 1 1 0; min-height: 140px; max-height: none; margin: clamp(2px, 1vh, 12px) 0; }
html body.auth-redesign .auth-vis img { display: block; width: auto; max-width: 100%; height: 100%; max-height: 100%; object-fit: contain; object-position: left center; animation: au-float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: reduce) { html body.auth-redesign .auth-vis img { animation: none; } }

/* melt the artwork's own background into the panel */
html body.auth-redesign .auth-vis img { filter: none; -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 52%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 52%, #000 62%, transparent 100%); }

/* show the artwork as a clean rounded card instead of trying to blend its background */
html body.auth-redesign .auth-vis img { -webkit-mask-image: none; mask-image: none; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .65), 0 0 0 6px rgba(255, 255, 255, .05); animation: none; }
