/* Auth Pages */
body.auth-page {
    background: var(--primary);
}

body.auth-page .layout {
    display: grid;
    grid-template-areas:
        "topnav topnav"
        "main main";
    grid-template-columns: 1fr;
}

body.auth-page .sidenav {
    display: none;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.auth-logo {
    margin-bottom: 1.5rem;
}

.auth-logo img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    -webkit-backface-visibility: hidden;
    -ms-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.auth-logo h1 {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(32, 133, 202, 0.1);
    outline: none;
}

.form-error {
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.auth-button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 1rem;
}

.auth-button:hover {
    background: var(--hover-primary);
}

.auth-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--text);
    font-size: 0.875rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.auth-links a:hover {
    opacity: 1;
}