:root {
    --bg: #f1f5f9;
    --paper: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --primary: #2563eb;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.login-container {
    background: var(--paper);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    width: 100%;
    max-width: 420px;
    transition: box-shadow 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}

input {
    width: 100%;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    min-height: 48px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background-color: #ffffff;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.login-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .login-container {
        animation: fadeUp 0.6s ease-out;
    }
}

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