/* === AUTH PAGE STYLES === */

/* Override main-content centering for auth pages - allows proper scrolling */
body:has(.auth-container) .main-content {
    justify-content: flex-start;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.auth-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-card {
    background: var(--color-bg);
    border: 3px solid var(--color-text);
    padding: 2.5rem;
}

.auth-card h1 {
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* === AUTH FORM === */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--color-text);
    background: var(--color-surface, #ffffff);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--color-title);
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

/* === AUTH BUTTON === */
.btn-auth {
    width: 100%;
    padding: 1rem;
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-auth:hover {
    background: var(--color-title);
}

/* === AUTH DIVIDER === */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--color-text);
    opacity: 0.6;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-text);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

/* === SOCIAL BUTTONS === */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-text);
    background: var(--color-surface, #ffffff);
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-social:hover {
    background: var(--color-hover);
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0 var(--color-text);
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

/* === AUTH LINKS === */
.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links a {
    color: var(--color-text);
    text-decoration: underline;
}

.auth-links a:hover {
    color: var(--color-title);
}
