:root {
    --primary-color: #4f46e5;
    --secondary-color: #4338ca;
    --background-color: #1e1b4b;
    --text-color: #1e293b;
    --error-color: #ef4444;
    --success-color: #10b981;
    --card-shadow: 0 8px 16px -2px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--background-color), #2d2a77);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.auth-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-brand i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.auth-brand h1 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1.5px solid rgba(226, 232, 240, 0.6);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.25);
    transform: translateY(-1px);
}

.btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.auth-link:hover {
    color: var(--primary-color);
}

.divider {
    margin: 1rem 0;
    border-top: 1px solid #e2e8f0;
}

.alert {
    padding: 0.85rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.alert-danger {
    background-color: #fef2f2;
    color: var(--error-color);
    border: 1px solid #fee2e2;
}


/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .auth-form {
        padding: 1.5rem;
        width: 100%;
    }
}
