/* Auth pages — scoped under .auth-shell */

.auth-shell {
    width: 100%;
    max-width: 24rem;
    padding: 0 1rem;
}

.auth-card {
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.auth-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #f0f6fc;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-input {
    width: 100%;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #f0f6fc;
    line-height: 1.5;
}

.auth-input::placeholder {
    color: #484f58;
}

.auth-input:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 0 1px #58a6ff;
}

.auth-submit {
    width: 100%;
    background: #f0f6fc;
    color: #0d1117;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.auth-submit:hover {
    background: #e6edf3;
}

.auth-submit:active {
    background: #d0d7de;
}

.auth-submit:focus-visible {
    outline: 2px solid #58a6ff;
    outline-offset: 2px;
}

#login-error-recovery {
    background: rgba(127, 29, 29, 0.25);
    border: 1px solid #b91c1c;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #fca5a5;
    margin-bottom: 1rem;
}

#login-error-recovery a {
    color: #fca5a5;
    text-decoration: underline;
}

#login-error-recovery a:hover {
    color: #fee2e2;
}

.auth-card__footer {
    font-size: 0.8125rem;
    color: #8b949e;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.6;
}

.auth-card__footer a {
    color: #8b949e;
    text-decoration: underline;
}

.auth-card__footer a:hover {
    color: #c9d1d9;
}
