/* ==========================================================
   Pulse — Login page styles
   Reuses the design tokens (--clay, --shadow-out, fonts, etc.)
   defined in landing.css, so link landing.css BEFORE this file.
   ========================================================== */

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.login-wrap {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px 36px;
}

.login-brand {
    justify-content: center;
    margin-bottom: 28px;
}

.login-card h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    text-align: center;
    margin-bottom: 8px;
}

.login-sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-family: var(--font-body);
        font-weight: 700;
        font-size: 13px;
        color: var(--ink-soft);
        margin-bottom: 8px;
    }

.clay-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    padding: 13px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--clay-soft);
    box-shadow: var(--shadow-in);
    outline: none;
    transition: box-shadow 0.18s ease;
}

    .clay-input:focus {
        box-shadow: var(--shadow-in), 0 0 0 3px rgba(255, 140, 122, 0.35);
    }

.field-error {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--coral-dark);
    margin-top: 6px;
}

.login-error {
    color: var(--coral-dark);
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

    .login-error:empty {
        display: none;
    }

.login-submit {
    width: 100%;
    margin-top: 8px;
}

.password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrap .clay-input {
    padding-right: 48px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.password-toggle-btn:hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.05);
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

