:root {
    --primary: #0f172a; 
    --primary-hover: #334155;
    --accent: #4f46e5; 
    --accent-hover: #4338ca;
    --bg-body: #f1f5f9;
    --bg-surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-md: 8px;
    --radius-lg: 16px;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: var(--text-main);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-logo {
    max-width: 180px;
    height: auto;
    margin: 0 auto 24px;
    display: block;
}

.login-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.password-header .form-label {
    margin-bottom: 0;
}

.forgot-password {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.forgot-password:hover {
    color: var(--primary);
    text-decoration: underline;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    background: var(--bg-body);
    color: var(--text-main);
}

.form-input:focus {
    border-color: var(--accent);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-login {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 8px;
}

.btn-login:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-login:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.error-msg {
    color: var(--error);
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px;
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-text {
    margin-top: 32px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-text strong {
    color: var(--text-main);
}