:root {
    --primary-color: #2563eb;    /* Modern blue */
    --secondary-color: #3b82f6;
    --background-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --text-color: #1e293b;
    --input-border: #cbd5e1;
    --success-color: #22c55e;
    --error-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--background-gradient);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.auth-container {
    background: white;
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-logo {
    width: 250px;
    height: auto;
    margin-bottom: 1rem;
}

.input-group {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.input-group label {
    display: block;
    color: var(--text-color);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 1rem;
}

.toggle-password {
    position: absolute;
    right: 12px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.875rem 2.5rem;
    border: 2px solid var(--input-border);
    border-radius: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.auth-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.auth-button:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.error-message {
    font-size: 1rem;
    color: white;
    background-color: var(--error-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .brand-logo {
        width: 220px;
    }
}
