/* Google OAuth Login Styles - Tailwind Compatible */

.google-login-btn {
    @apply inline-flex items-center px-8 py-4 bg-white dark:bg-gray-800 text-gray-900 dark:text-white font-semibold text-lg rounded-xl border-2 border-gray-300 dark:border-gray-600 hover:border-blue-500 hover:shadow-lg transition-all duration-300 transform hover:scale-105;
}

.google-login-btn:hover {
    @apply text-gray-900 dark:text-white;
    text-decoration: none;
}

.google-login-btn svg {
    @apply w-6 h-6 mr-3;
    transition: transform 0.3s ease;
}

.google-login-btn:hover svg {
    transform: scale(1.05);
}

/* Enhanced Tailwind Styles */

/* Custom gradient backgrounds */
.bg-gradient-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
}

.dark .bg-gradient-blue {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
}

.dark .bg-gradient-green {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
}

.bg-gradient-amber {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.dark .bg-gradient-amber {
    background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
}

/* Enhanced button styles */
.btn-primary {
    @apply px-6 py-3 bg-blue-600 hover:bg-blue-700 text-white font-semibold rounded-lg transition-all duration-200 shadow-md hover:shadow-lg transform hover:scale-105;
}

.btn-secondary {
    @apply px-6 py-3 bg-gray-600 hover:bg-gray-700 text-white font-semibold rounded-lg transition-all duration-200 shadow-md hover:shadow-lg;
}

.btn-danger {
    @apply px-4 py-2 bg-red-500 hover:bg-red-600 text-white font-medium rounded-lg transition-colors duration-200;
}

/* Form enhancements */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-700 text-gray-700 dark:text-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200;
}

.form-input:focus {
    @apply shadow-md;
}

/* Card styles */
.card {
    @apply bg-white dark:bg-gray-800 rounded-2xl border border-gray-200 dark:border-gray-700 p-6 md:p-8 shadow-lg;
}

.card-header {
    @apply border-b border-gray-200 dark:border-gray-700 pb-4 mb-6;
}

/* Notification styles */
.notification-success {
    @apply bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 text-green-800 dark:text-green-200 rounded-lg p-4;
}

.notification-error {
    @apply bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 text-red-800 dark:text-red-200 rounded-lg p-4;
}

.notification-warning {
    @apply bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-800 text-amber-800 dark:text-amber-200 rounded-lg p-4;
}

.notification-info {
    @apply bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 text-blue-800 dark:text-blue-200 rounded-lg p-4;
}

/* Success/Error Messages */
.auth-message {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.auth-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #10b981;
    color: #065f46;
}

.auth-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border: 1px solid #ef4444;
    color: #991b1b;
}

.dark .auth-success {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #d1fae5;
}

.dark .auth-error {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: #fecaca;
}

/* Animation for login button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(66, 133, 244, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
}

.google-login-btn.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-required-section {
        padding: 30px 20px;
    }
    
    .user-info-section {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .logout-btn {
        margin-left: 0;
    }
    
    .google-login-btn {
        width: 100%;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .login-required-section {
        padding: 20px 15px;
    }
    
    .login-required-section svg {
        width: 60px;
        height: 60px;
    }
    
    .user-info-section {
        padding: 20px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
}
