/* Ticket 21 (D-03): the email/magic-link/password affordances on /login.
   Layered on top of the shared .site-card shell in styles/site.css (which
   stays the base for the landing page too) via the same --site-* tokens. */

.signin-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: var(--site-muted);
    font-size: 12px;
}

.signin-divider::before,
.signin-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--site-border);
}

.signin-email-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.signin-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--site-text);
}

.signin-input {
    width: 100%;
    padding: 9px 11px;
    border-radius: 8px;
    border: 1px solid var(--site-border);
    background: var(--site-bg);
    color: var(--site-text);
    font-size: 14px;
    font-family: inherit;
}

.signin-input:focus {
    outline: 2px solid var(--site-primary);
    outline-offset: 1px;
}

.signin-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* .signin-form's own `display: flex` ties the UA [hidden] rule on specificity
   (both 0-1-0); being the later rule it would otherwise win and render the
   collapsed password form anyway. */
.signin-form[hidden] {
    display: none;
}

.signin-btn {
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--site-border);
    background: var(--site-panel);
    color: var(--site-text);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.signin-btn:hover:not(:disabled) {
    border-color: var(--site-primary);
}

.signin-btn:disabled {
    opacity: .6;
    cursor: default;
}

.signin-toggle {
    background: none;
    border: none;
    padding: 0;
    color: var(--site-muted);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
}

.signin-toggle:hover {
    color: var(--site-text);
}

.signin-invite-note {
    margin: 0;
    font-size: 12px;
    color: var(--site-muted);
}
