/* Google Authentication Styles */

.google-auth-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    padding: 2rem 0;
}

/* Google Sign-In button container styling */
.g_id_signin {
    display: flex !important;
    justify-content: center !important;
}

/* Info box styling */
.auth-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(66, 133, 244, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.auth-info h4 {
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
}

.auth-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.auth-info i {
    color: #4285f4;
    font-size: 1.5rem;
}

/* Terms section */
.auth-terms {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.auth-terms p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.auth-terms a {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-terms a:hover {
    color: #1967d2;
    text-decoration: underline;
}

/* Loading state styles */
#loading-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 8px;
    text-align: center;
    color: #2196f3;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Notification animations */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Custom notification styles (fallback) */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    max-width: 300px;
    font-size: 14px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-success {
    background: #4caf50;
}

.notification-error {
    background: #f44336;
}

.notification-info {
    background: #2196f3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .google-auth-section {
        padding: 1.5rem 0;
    }
    
    .auth-info {
        padding: 1rem;
    }
    
    .g_id_signin {
        width: 100% !important;
    }
    
    .notification {
        max-width: 280px;
        right: 10px;
        top: 10px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .auth-info {
        background: rgba(66, 133, 244, 0.1);
        border-color: rgba(66, 133, 244, 0.3);
    }
    
    .auth-info h4 {
        color: #ffffff;
    }
    
    .auth-info p {
        color: #b0b0b0;
    }
    
    .auth-terms {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .auth-terms p {
        color: #b0b0b0;
    }
}
