/* ============================================
   ChitChat Pakistan - Auth Page Styles
   Login / Sign Up / Google / Guest
   ============================================ */

/* --- Auth Container --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #075E54 0%, #128C7E 50%, #25D366 100%);
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Auth Card --- */
.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Logo --- */
.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.auth-logo p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Tabs --- */
.auth-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    font-family: inherit;
}

.auth-tab.active {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.auth-tab:hover:not(.active) {
    color: var(--text-primary);
}

/* --- Auth Forms --- */
.auth-form {
    display: flex;
    flex-direction: column;
}

/* --- Guest Section --- */
.guest-section {
    text-align: center;
    margin-top: 15px;
}

.guest-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* --- Auth Footer --- */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--text-secondary);
    font-weight: 500;
}

.auth-footer a:hover {
    color: var(--primary);
}

/* --- App Placeholder --- */
.app-placeholder {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background: var(--chat-bg);
}

.app-placeholder h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.app-placeholder p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
        border-radius: var(--radius-md);
    }
    
    .auth-logo h1 {
        font-size: 1.7rem;
    }
    
    .auth-container {
        padding: 10px;
        align-items: flex-start;
        padding-top: 40px;
    }
}