/* moved from root auth.css */
/* Auth Page Styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Tab Styles */
.tab-button {
    color: #6B7280;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    color: #4F46E5;
    border-bottom-color: #4F46E5;
}

.tab-button:hover {
    color: #4F46E5;
}

/* Form Container Animation */
.form-container {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Focus Effects */
input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Button Hover Effects */
button {
    transition: all 0.2s ease-in-out;
}

button:active {
    transform: scale(0.98);
}

/* Google Button Hover */
#google-signin-btn:hover,
#google-signup-btn:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Card Shadow */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    
    .bg-white.rounded-2xl {
        padding: 1.5rem;
    }
}

/* Error Message Animation */
#auth-error {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success State */
.success-message {
    background-color: #D1FAE5;
    border-color: #10B981;
    color: #065F46;
}

/* Pulse Animation for Loading */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Checkbox Custom Style */
input[type="checkbox"]:checked {
    background-color: #4F46E5;
    border-color: #4F46E5;
}

/* Smooth Transitions */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Gradient Background Animation */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
}

/* Password Strength Indicator */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #EF4444;
    width: 33%;
}

.password-strength.medium {
    background-color: #F59E0B;
    width: 66%;
}

.password-strength.strong {
    background-color: #10B981;
    width: 100%;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #1F2937;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}


