:root {
    --primary: #1b66c9;
    --bg: #f8fafc;
    --border: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --radius: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 440px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    padding: 32px;
}

.head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(27, 102, 201, 0.2);
}

h1 { font-size: 1.4rem; font-weight: 800; }
p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 20px;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    background: #fbfcfe;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(27, 102, 201, 0.08);
}

.btn {
    width: 100%;
    margin-top: 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(27, 102, 201, 0.15);
}

.err {
    display: none;
    margin-top: 15px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 12px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hint {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
}
