/* Auth Container Styles */
.auth-container {
    max-width: 450px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.auth-box {
    width: 100%;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #eee;
    position: relative;
}

.auth-tab {
    flex: 1;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab.active {
    color: #007bff;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff;
    border-radius: 3px 3px 0 0;
}

/* Auth Forms */
.auth-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

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

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    background: #fff;
}

/* Google Button */
.google-btn {
    width: 100%;
    padding: 0.9rem;
    background: #fff;
    color: #333;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
}

.google-btn:hover {
    background: #f1f3f4;
    border-color: #d1d1d1;
    transform: translateY(-1px);
}

.google-btn i {
    color: #4285f4;
    font-size: 1.3rem;
}

.google-btn:disabled {
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #666;
    font-size: 0.9rem;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e1e1e1;
}

.form-divider span {
    padding: 0 1.2rem;
    color: #666;
}

/* Links */
.forgot-password,
.back-to-login {
    display: block;
    text-align: center;
    color: #007bff;
    text-decoration: none;
    margin: 1.2rem 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover,
.back-to-login:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Submit Button */
button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

button[type="submit"]:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

button[type="submit"]:active {
    transform: translateY(0);
}

button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Messages */
.error-message,
.success-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    display: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.error-message {
    background: #fff5f5;
    color: #dc3545;
    border: 1px solid #ffd7d7;
}

.success-message {
    background: #f0fff4;
    color: #28a745;
    border: 1px solid #c3e6cb;
}

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .auth-tab {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form-group input,
    button[type="submit"],
    .google-btn {
        padding: 0.8rem;
    }
} 