/* Shared authentication pages */
.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 2.25rem 2rem;
    animation: fadeIn 0.35s ease-out;
}

.auth-logo {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-card-title {
    text-align: center;
    margin-bottom: 1.75rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.status {
    text-align: center;
    color: var(--primary);
    margin-top: 0.5rem;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: var(--primary);
}

.auth-theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .auth-card {
        padding: 1.5rem 1.25rem;
        max-width: 100%;
    }

    .auth-logo {
        font-size: 1.8rem;
    }

    .auth-card-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .auth-theme-toggle {
        top: 0.5rem;
        right: 0.5rem;
    }
}
