* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #211b18;
    background:
        radial-gradient(circle at 12% 18%, rgba(237, 92, 78, 0.2), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(44, 121, 128, 0.2), transparent 26%),
        linear-gradient(135deg, #f7efe2 0%, #e9f0e6 48%, #f5d5c9 100%);
}

a {
    color: #bd3f33;
    text-decoration: none;
}

a:hover {
    color: #8f2d26;
    text-decoration: none;
}

/* ─── Login Page ─────────────────────────────────────────── */

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 0;
}

.login-shell {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    background: rgba(255, 251, 244, 0.84);
}

/* ─── Art Panel ──────────────────────────────────────────── */

.art-panel {
    position: relative;
    min-height: 100vh;
    padding: clamp(32px, 5vw, 72px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff9f0;
    background:
        linear-gradient(145deg, rgba(22, 51, 54, 0.82), rgba(32, 27, 31, 0.88)),
        url("./images/brushes.avif");
    background-size: cover;
    background-position: center;
    transition:
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 850ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 850ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
}

.art-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, transparent, #000 28%, #000);
    transition: opacity 600ms ease;
}

.art-panel::after {
    content: "";
    position: absolute;
    inset: -22%;
    z-index: 1;
    background:
        conic-gradient(from 130deg, transparent 0 15%, rgba(246, 194, 74, 0.42) 18%, transparent 24% 52%, rgba(53, 167, 160, 0.42) 58%, transparent 64% 100%);
    opacity: 0;
    transform: rotate(-16deg) scale(0.86);
    transition:
        opacity 680ms ease,
        transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-shell.is-signup .art-panel {
    transform: translateX(81.82%);
    filter: hue-rotate(24deg) saturate(1.18);
}

.login-shell.is-signup .art-panel::before {
    opacity: 0.45;
}

.login-shell.is-signup .art-panel::after {
    opacity: 1;
    transform: rotate(14deg) scale(1.06);
}

/* ─── Brand Mark ─────────────────────────────────────────── */

.brand-mark {
    position: absolute;
    top: clamp(28px, 4vw, 52px);
    left: clamp(28px, 4vw, 56px);
    z-index: 2;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 249, 240, 0.46);
    border-radius: 50%;
    color: #fff9f0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
}

/* ─── Brush Strokes & Paint Drops ────────────────────────── */

.brush-stroke,
.paint-drop {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.brush-stroke {
    border-radius: 999px;
    filter: saturate(1.15);
    opacity: 0.9;
    transform: rotate(-18deg);
    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
        width 900ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 600ms ease;
}

.stroke-one {
    width: 420px;
    height: 82px;
    top: 145px;
    left: -78px;
    background: linear-gradient(90deg, #f6c24a, #e84f3d);
}

.stroke-two {
    width: 360px;
    height: 64px;
    top: 258px;
    right: -54px;
    background: linear-gradient(90deg, #35a7a0, #8ad0bd);
    transform: rotate(13deg);
}

.stroke-three {
    width: 300px;
    height: 52px;
    bottom: 188px;
    left: 90px;
    background: linear-gradient(90deg, #f7efe2, #cf6f58);
    transform: rotate(-9deg);
}

.paint-drop {
    border-radius: 50% 48% 55% 45%;
    transition:
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 600ms ease;
}

.drop-one {
    width: 78px;
    height: 92px;
    top: 86px;
    right: 114px;
    background: #f7efe2;
    opacity: 0.9;
}

.drop-two {
    width: 52px;
    height: 60px;
    right: 78px;
    bottom: 130px;
    background: #e84f3d;
}

/* ─── Art Copy ───────────────────────────────────────────── */

.art-copy {
    grid-area: 1 / 1;
    position: relative;
    z-index: 2;
    max-width: 480px;
    transition:
        opacity 480ms ease,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 700ms ease;
}

.art-copy-signup {
    position: absolute;
    left: clamp(32px, 5vw, 72px);
    right: clamp(32px, 5vw, 72px);
    bottom: clamp(32px, 5vw, 72px);
    opacity: 0;
    transform: translateY(34px) rotate(2deg);
    filter: blur(10px);
}

.login-shell.is-signup .art-copy-login {
    opacity: 0;
    transform: translateY(-34px) rotate(-2deg);
    filter: blur(10px);
}

.login-shell.is-signup .art-copy-signup {
    opacity: 1;
    transform: translateY(0) rotate(0);
    filter: blur(0);
}

.login-shell.is-signup .stroke-one {
    width: 470px;
    transform: translate(88px, 38px) rotate(18deg);
}

.login-shell.is-signup .stroke-two {
    transform: translate(-108px, -30px) rotate(-16deg);
}

.login-shell.is-signup .stroke-three {
    transform: translate(78px, -52px) rotate(12deg);
}

.login-shell.is-signup .drop-one {
    transform: translate(-118px, 86px) scale(0.72);
}

.login-shell.is-signup .drop-two {
    transform: translate(-210px, -92px) scale(1.18);
}

/* ─── Typography ─────────────────────────────────────────── */

.eyebrow {
    margin: 0 0 10px;
    color: #bd3f33;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.art-copy .eyebrow {
    color: #f6c24a;
}

.art-copy h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.45rem, 4vw, 4.65rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.art-copy p:last-child {
    max-width: 390px;
    margin: 22px 0 0;
    color: rgba(255, 249, 240, 0.82);
    font-size: 1rem;
    line-height: 1.7;
}

/* ─── Form Panel ─────────────────────────────────────────── */

.form-panel {
    grid-column: 2;
    padding: clamp(32px, 6vw, 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 251, 244, 0.94);
    transition:
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 600ms ease;
}

.login-shell.is-signup .form-panel {
    transform: translateX(-122.22%);
    background: rgba(255, 253, 248, 0.97);
}

/* ─── Form Stage ─────────────────────────────────────────── */

.form-stage {
    position: relative;
    width: min(430px, 100%);
    margin: 0 auto;
}

.auth-form {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: visible;
    transition:
        opacity 480ms ease,
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 520ms ease;
}

/* ─── Desktop form stage heights ────────────────────────── */

/* Login: needs enough room for the absolutely-positioned form */
.login-shell:not(.is-signup) .form-stage {
    min-height: 480px;
}

/* Signup: stage grows to fit all fields; auth-form stays absolute inside */
.login-shell.is-signup .form-stage {
    min-height: 680px;
}

/* ─── Signup Desktop: compact spacing so form fits in 1 viewport ─ */

/* Allow the form panel to scroll on very short screens */
.login-shell.is-signup .form-panel {
    overflow-y: auto;
    padding-top: clamp(16px, 2.5vh, 40px);
    padding-bottom: clamp(16px, 2.5vh, 40px);
}

/* Tighten field gaps */
.login-shell.is-signup .form-heading {
    margin-bottom: 14px;
}

.login-shell.is-signup .mb-3 {
    margin-bottom: 0.5rem !important;
}

.login-shell.is-signup .form-control {
    min-height: 44px;
}

.login-shell.is-signup .login-btn {
    min-height: 46px;
    box-shadow: 0 10px 20px rgba(189, 63, 51, 0.18);
}

.login-shell.is-signup .signup-text {
    margin-top: 10px;
}

.login-shell.is-signup .password-strength {
    margin-top: 4px;
}

.login-shell.is-signup .password-rules {
    gap: 2px 10px !important;
    margin-top: 4px !important;
}

.login-shell.is-signup .password-rules li {
    font-size: 0.72rem !important;
}

/* ─── Alerts ─────────────────────────────────────────────── */

.auth-alert {
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
}

.form-stage > .auth-alert {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12;
}

.auth-alert-error {
    border: 1px solid rgba(189, 63, 51, 0.28);
    color: #8f2d26;
    background: rgba(189, 63, 51, 0.1);
}

.auth-alert-success {
    border: 1px solid rgba(44, 121, 128, 0.28);
    color: #1d5b61;
    background: rgba(44, 121, 128, 0.1);
}

/* ─── Form Transitions ───────────────────────────────────── */

.login-form {
    opacity: 1;
    transform: translateX(0) rotate(0);
    filter: blur(0);
}

.signup-form {
    opacity: 0;
    pointer-events: none;
    transform: translateX(72px) rotate(2deg) scale(0.97);
    filter: blur(12px);
}

.login-shell.is-signup .login-form {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-72px) rotate(-2deg) scale(0.97);
    filter: blur(12px);
}

.login-shell.is-signup .signup-form {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) rotate(0) scale(1);
    filter: blur(0);
}

/* ─── Form Heading ───────────────────────────────────────── */

.form-heading {
    margin-bottom: 28px;
}

.form-heading h2 {
    margin: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(1.3rem, 2vw, 1.5rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
}

/* ─── Form Controls ──────────────────────────────────────── */

.form-label,
.form-check-label {
    color: #3e332d;
    font-weight: 700;
}

.form-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.required-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-left: 0;
    border-radius: 50%;
    color: #bd3f33;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    background: #fffaf2;
    box-shadow: 0 8px 18px rgba(189, 63, 51, 0.28);
    cursor: help;
    vertical-align: middle;
}

.star-glyph {
    display: block;
    line-height: 1;
    transform: translateY(3px);
}

.optional-mark {
    position: relative;
    display: inline-grid;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 0;
    border-radius: 50%;
    border: 2px solid #2c7980;
    color: #fffaf2;
    background: #2c7980;
    box-shadow: 0 8px 18px rgba(44, 121, 128, 0.24);
    cursor: help;
    vertical-align: middle;
}

.optional-mark .material-symbols-rounded {
    font-family: "Material Symbols Rounded";
    font-size: 18px;
    line-height: 1;
}

/* ─── Field Hints / Tooltips ─────────────────────────────── */

.field-hint::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 20;
    min-width: max-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fffaf2;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    background: #211b18;
    box-shadow: 0 10px 24px rgba(33, 27, 24, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px) scale(0.92);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.field-hint::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    z-index: 20;
    border: 6px solid transparent;
    border-top-color: #211b18;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px) scale(0.92);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.field-hint:hover::after,
.field-hint:hover::before,
.field-hint:focus-visible::after,
.field-hint:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

/* ─── Label Row ──────────────────────────────────────────── */

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.label-row a,
.signup-text a {
    font-weight: 800;
}

/* ─── Inputs ─────────────────────────────────────────────── */

.form-control {
    min-height: 54px;
    border: 1px solid rgba(62, 51, 45, 0.18);
    border-radius: 16px !important;
    color: #211b18;
    background: #fffaf2;
    box-shadow: none;
}

.form-control:focus {
    border-color: #cf6f58 !important;
    box-shadow: 0 0 0 0.24rem rgba(207, 111, 88, 0.18) !important;
    background: #fffdf8;
}

.form-check-input {
    border-color: rgba(62, 51, 45, 0.32);
}

.form-check-input:checked {
    border-color: #bd3f33;
    background-color: #bd3f33;
}

/* ─── Buttons ────────────────────────────────────────────── */

.login-btn {
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    color: #fffaf2 !important;
    font-weight: 800;
    background: linear-gradient(135deg, #bd3f33, #223f42) !important;
    box-shadow: 0 18px 32px rgba(189, 63, 51, 0.22);
}

.login-btn:hover,
.login-btn:focus-visible {
    color: #fffaf2 !important;
    background: linear-gradient(135deg, #9f332b, #183337) !important;
}

.signup-text {
    margin: 24px 0 0;
    color: #5f514a;
    text-align: center;
}

.switch-btn {
    border: 0;
    padding: 0;
    color: #bd3f33;
    font: inherit;
    font-weight: 800;
    background: transparent;
}

.switch-btn:hover,
.switch-btn:focus-visible {
    color: #8f2d26;
    text-decoration: underline;
}

/* ─── OTP Shell ──────────────────────────────────────────── */

.otp-shell {
    grid-template-columns: 0.95fr 1.05fr;
}

.otp-art-panel {
    background:
        linear-gradient(145deg, rgba(26, 44, 51, 0.78), rgba(56, 36, 39, 0.88)),
        url("https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?auto=format&fit=crop&w=1200&q=80");
    background-size: cover;
    background-position: center;
}

.otp-form-panel {
    grid-column: 2;
}

.otp-stage {
    width: min(500px, 100%);
    margin: 0 auto;
}

.otp-message {
    max-width: 390px;
    margin: -12px 0 28px;
    color: #5f514a;
    line-height: 1.7;
}

.otp-message strong {
    color: #211b18;
}

.otp-form {
    display: grid;
    gap: 28px;
}

.otp-stage .auth-alert {
    margin: 0 0 18px;
}

.otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, minmax(42px, 1fr));
    gap: 12px;
}

.otp-input {
    aspect-ratio: 1;
    width: 100%;
    border: 2px solid rgba(62, 51, 45, 0.16);
    border-radius: 18px;
    color: #211b18;
    background: #fffaf2;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    text-align: center;
    outline: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease,
        background-color 180ms ease;
}

.otp-input:focus {
    border-color: #bd3f33;
    background: #fffdf8;
    box-shadow: 0 0 0 0.24rem rgba(189, 63, 51, 0.16);
    transform: translateY(-3px);
}

.otp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 26px;
    color: #5f514a;
    font-weight: 800;
}

.otp-actions a {
    font-weight: 800;
}

/* ─── Password Strength ──────────────────────────────────── */

.password-strength {
    margin-top: 10px;
}

.strength-bar {
    height: 5px;
    border-radius: 999px;
    background: rgba(62, 51, 45, 0.12);
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 300ms ease, background-color 300ms ease;
}

.password-rules {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 5px 10px;
}

.password-rules li {
    font-size: 0.78rem !important;
    font-weight: 700;
    color: rgba(62, 51, 45, 0.45);
    display: flex !important;
    align-items: center;
    gap: 5px;
    transition: color 200ms ease;
    list-style: none !important;
}

.password-rules li::before {
    content: "○" !important;
    font-size: 0.7rem;
    flex-shrink: 0;
    color: rgba(62, 51, 45, 0.45);
    transition: color 200ms ease;
}

.password-rules li::marker {
    content: "" !important;
}

.password-rules li.met {
    color: #2c7980 !important;
}

.password-rules li.met::before {
    content: "●" !important;
    color: #2c7980;
}

.confirm-msg {
    font-size: 0.8rem;
    font-weight: 700;
    margin: 4px 0 0;
    min-height: 1.2em;
    display: block;
}

.confirm-msg.match {
    color: #2c7980;
}

.confirm-msg.no-match {
    color: #bd3f33;
}

/* ─── Responsive: Tablet ─────────────────────────────────── */

@media (max-width: 860px) {
    .login-page {
        padding: 0;
    }

    .login-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .otp-shell {
        grid-template-columns: 1fr;
    }

    /* Disable the desktop slide animation on mobile */
    .login-shell.is-signup .art-panel,
    .login-shell.is-signup .form-panel {
        transform: none;
    }

    /* Art panel: fixed compact height, clip overflows */
    .art-panel {
        min-height: 240px;
        max-height: 300px;
        padding: 24px 28px;
        overflow: hidden;
        align-items: flex-start;
    }

    /* Hide ALL decorative strokes/drops — they bleed out on mobile */
    .brush-stroke,
    .paint-drop {
        display: none !important;
    }

    /* Brand mark smaller */
    .brand-mark {
        top: 16px;
        left: 18px;
        width: 64px;
        height: 64px;
        font-size: 20px;
    }

    /* Hide eyebrow labels on mobile */
    .eyebrow {
        display: none !important;
    }

    /* Art copy: login copy sits at top-left in normal flow */
    .art-copy-login {
        position: relative;
        z-index: 2;
        padding-top: 72px; /* clear the brand-mark */
    }

    .art-copy h1 {
        font-size: 1.8rem;
        line-height: 1.08;
    }

    .art-copy p:last-child {
        font-size: 0.88rem;
        margin-top: 10px;
    }

    /* Signup copy: reflow into normal document flow (was absolute) */
    .art-copy-signup {
        position: relative;
        left: unset;
        right: unset;
        bottom: unset;
        padding-top: 72px;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    /* Show signup copy, hide login copy when in signup state */
    .login-shell.is-signup .art-copy-login {
        display: none;
    }

    .login-shell.is-signup .art-copy-signup {
        display: block;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    /* Form panel */
    .form-panel {
        grid-column: 1;
        padding: 32px 24px;
        justify-content: flex-start;
    }

    .otp-form-panel {
        grid-column: 1;
    }

    /* Form stage: ditch fixed min-heights, let content flow */
    .form-stage,
    .login-shell:not(.is-signup) .form-stage,
    .login-shell.is-signup .form-stage {
        min-height: auto !important;
        padding-bottom: 32px;
        width: 100%;
        max-width: 480px;
    }

    /* Auth forms: switch from absolute to relative flow */
    .auth-form {
        position: relative;
        inset: unset;
        overflow-y: visible;
        justify-content: flex-start;
    }

    /* Show/hide forms with display instead of opacity/transform on mobile */
    .login-form {
        display: flex;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .signup-form {
        display: none;
    }

    .login-shell.is-signup .login-form {
        display: none;
    }

    .login-shell.is-signup .signup-form {
        display: flex;
        opacity: 1;
        transform: none;
        filter: none;
        pointer-events: auto;
    }

    .form-heading {
        margin-bottom: 20px;
    }

    .form-heading h2 {
        font-size: 1.4rem !important;
    }

    .form-control {
        min-height: 48px;
    }

    .login-btn {
        min-height: 50px;
    }

    .password-rules {
        grid-template-columns: 1fr 1fr !important;
    }

    .otp-inputs {
        gap: 9px;
    }
}

/* ─── Responsive: Mobile ─────────────────────────────────── */

@media (max-width: 520px) {
    .login-shell {
        min-height: 100vh;
    }

    .art-panel {
        min-height: 200px;
        max-height: 250px;
        padding: 20px 18px;
    }

    .art-copy-login,
    .art-copy-signup {
        padding-top: 64px;
    }

    .art-copy h1 {
        font-size: 1.6rem;
    }

    .art-copy p:last-child {
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .form-panel {
        padding: 28px 18px;
    }

    .form-heading h2 {
        font-size: 1.25rem !important;
    }

    .form-heading {
        margin-bottom: 18px;
    }

    .form-control {
        min-height: 44px;
        border-radius: 12px !important;
        font-size: 0.95rem;
    }

    .login-btn {
        min-height: 46px;
        border-radius: 12px !important;
        font-size: 0.95rem;
    }

    .signup-text {
        margin-top: 18px;
        font-size: 0.9rem;
    }

    .password-rules {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .password-rules li {
        font-size: 0.73rem !important;
    }

    .otp-inputs {
        grid-template-columns: repeat(6, minmax(34px, 1fr));
        gap: 7px;
    }

    .otp-input {
        border-radius: 12px;
    }

    .otp-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ─── Responsive: Very Small ─────────────────────────────── */

@media (max-width: 380px) {
    .art-panel {
        min-height: 180px;
        max-height: 220px;
    }

    .art-copy-login,
    .art-copy-signup {
        padding-top: 56px;
    }

    .art-copy h1 {
        font-size: 1.35rem;
    }

    .form-panel {
        padding: 22px 14px;
    }

    .form-heading h2 {
        font-size: 1.1rem !important;
    }

    .form-control {
        min-height: 42px;
        font-size: 0.9rem;
    }

    .otp-inputs {
        gap: 5px;
    }
}
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 0;
  color: #888; display: flex; align-items: center;
}
.pw-toggle:hover { color: #333; }