/* Custom styles for authentication pages */

/* Show the sticky mobile menu on auth pages */
body.auth-page {
    padding-bottom: 4rem; /* Add padding to account for sticky menu */
    min-height: 80vh; /* Ensure body takes 80% of viewport height as requested */
    overflow-y: auto; /* Allow scrolling only within the body if content overflows */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Mobile app-like styling for auth pages */
body.auth-page .auth-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    box-shadow: none;
    border-radius: 0;
    background-color: #f8fafc;
}

@media (min-width: 640px) {
    body.auth-page .auth-container {
        max-width: 28rem;
        margin: 0 auto;
        border-radius: 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
}

/* App-like form controls */
body.auth-page .auth-input {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.auth-page .auth-button {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

body.auth-page .auth-button:active {
    transform: scale(0.98);
}

/* App-like header */
body.auth-page .auth-header {
    margin-bottom: 2rem;
}


body.auth-page .auth-title {
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

body.auth-page .auth-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-top: 0.5rem;
}
