@charset "UTF-8";
/* ==========================================================================
   YeShe — Auth pages (Login / Register / Forgot / Reset)
   Minimal, premium, simplehuman-style centered cards
   ========================================================================== */

.ys-auth {
    padding: 72px 40px 110px;
    background: var(--ys-surface-alt);
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ys-auth__inner {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
.ys-auth__card {
    position: relative;
    background: var(--ys-white);
    border: 1px solid var(--ys-line);
    border-radius: var(--ys-radius-lg);
    padding: 56px 44px 48px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .08);
    overflow: hidden;
}
.ys-auth__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ys-ink) 0%, var(--ys-muted) 100%);
}

/* brand lockup */
.ys-auth__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.ys-auth__logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* title */
.ys-auth__title {
    font-family: var(--ys-font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.12;
    color: var(--ys-ink);
    margin: 8px 0 8px;
}
.ys-auth__lead {
    font-size: 15px;
    color: var(--ys-muted);
    margin: 0 0 30px;
    line-height: 1.65;
}
.ys-auth__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ys-muted);
    margin: 0;
}

/* fields */
.ys-auth form .ys-field { margin-bottom: 20px; }
.ys-auth form .ys-input { min-height: 50px; }
.ys-auth form .ys-btn { margin-top: 6px; }

/* password field with visibility toggle */
.ys-password { position: relative; }
.ys-password .ys-input { padding-right: 52px; }
.ys-password__toggle {
    position: absolute;
    top: 50%; right: 6px;
    transform: translateY(-50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 0; background: none; cursor: pointer;
    color: var(--ys-faint);
}
.ys-password__toggle:hover { color: var(--ys-ink); }
.ys-password__toggle svg { width: 20px; height: 20px; }
.ys-password__toggle .ys-eye-off { display: none; }
.ys-password__toggle.is-show .ys-eye-on { display: none; }
.ys-password__toggle.is-show .ys-eye-off { display: block; }

/* check */
.ys-auth .ys-check { margin: 18px 0; }

/* links */
.ys-auth__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--ys-line);
    font-size: 14px;
    color: var(--ys-body);
    text-align: center;
}
.ys-auth__links a {
    color: var(--ys-ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(10, 10, 10, .35);
    transition: opacity var(--ys-dur) var(--ys-ease), text-decoration-color var(--ys-dur) var(--ys-ease);
}
.ys-auth__links a:hover { opacity: .7; text-decoration-color: var(--ys-ink); }

/* fineprint */
.ys-auth__fineprint {
    font-size: 12.5px;
    color: var(--ys-muted);
    line-height: 1.65;
    text-align: center;
    margin: 22px 0 0;
}
.ys-auth__fineprint a {
    color: var(--ys-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 560px) {
    .ys-auth { padding: 48px 16px 72px; }
    .ys-auth__card { padding: 44px 24px 36px; }
}

/* field hint (e.g. for optional username explanation) */
.ys-field__hint {
    display: block;
    font-size: 12px;
    color: var(--ys-muted);
    margin-top: 6px;
    line-height: 1.5;
}