/* ================================================
   AUTHENTICATION PAGES (Login, Register)
   ================================================ */

body.auth-page { 
    background-color: var(--bg-stone); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 100vh; 
    margin: 0; 
    padding: 2rem; 
    box-sizing: border-box; 
}

.auth-card { 
    background: var(--white); 
    padding: 3rem 2.5rem; 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-lg); 
    width: 100%; 
    max-width: 450px; 
    text-align: center; 
    border: 1px solid rgba(108,83,109,0.08); 
}

.brand-lockup--auth {
    justify-content: center;
    margin-bottom: 2rem;
    text-decoration: none;
    display: flex;
}

.brand-lockup--auth .brand-logo {
    height: 40px;
    width: auto;
}

.brand-lockup--auth .brand-wordmark {
    text-align: left;
}

.brand-lockup--auth .brand-line {
    font-size: 1.2rem;
}

.auth-header h1 { 
    font-size: 2.2rem;
    margin-bottom: 0.5rem; 
    font-family: 'DM Serif Display', serif;
    line-height: 1.1; 
}

.auth-form { 
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
    text-align: left; 
}

.auth-input { 
    width: 100%; 
    padding: 0.85rem 1rem; 
    border: 1px solid rgba(108,83,109,0.2); 
    border-radius: var(--radius-sm); 
    font-family: 'Inter', sans-serif; 
    font-size: 1rem; 
    color: var(--text); 
    transition: border-color var(--transition); 
    box-sizing: border-box; 
}

.auth-input:focus { 
    outline: 3px solid var(--forest);
    outline-offset: 2px;
    border-color: var(--forest); 
}

.auth-btn { 
    background-color: var(--forest); 
    color: var(--white); 
    padding: 1rem; 
    border: none; 
    border-radius: 50px; 
    font-weight: 500; 
    font-size: 1.05rem; 
    cursor: pointer; 
    margin-top: 0.5rem; 
    transition: background-color var(--transition), box-shadow var(--transition); 
}

.auth-btn:hover { 
    background-color: var(--leaf); 
    box-shadow: var(--shadow-sm); 
}

.forgot-password-link {
    font-size: 0.8rem;
    color: var(--forest);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.auth-error-message {
    color: #D9534F; margin-top: 1.5rem; font-size: 0.9rem; display: none; font-weight: 500;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 1.5rem 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(108,83,109,0.1);
}
.auth-divider:not(:empty)::before { margin-right: .5em; }
.auth-divider:not(:empty)::after { margin-left: .5em; }

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--white);
    color: var(--text);
    border: 1px solid rgba(108,83,109,0.2);
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-google:hover { border-color: var(--forest); box-shadow: var(--shadow-sm); }
.btn-google svg { width: 20px; height: 20px; }