/* ============================================
   JWCFM Auth Pages — Shared Styles
   Uses design system tokens from style.css
   ============================================ */

.auth-body {
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.auth-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #fb923c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.auth-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.02em;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--card-radius);
    padding: 40px 32px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-copyright {
    position: fixed;
    bottom: 16px;
    width: 100%;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-400);
    pointer-events: none;
}

/* --- Password toggle --- */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    padding: 4px;
    cursor: pointer;
    line-height: 1;
}

.password-toggle:hover {
    color: var(--gray-600);
}

/* --- Remember me checkbox --- */
.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--gray-600);
    cursor: pointer;
}

.auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--gray-300);
    cursor: pointer;
    accent-color: var(--primary);
}

/* --- Submit button full width --- */
.auth-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- Divider --- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
