:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --primary: #f6b21a;
    --primary-dark: #d99300;
    --text: #172033;
    --muted: #6b7280;
    --border: #e5e7eb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: 100%;
    max-width: 460px;
    background: var(--card);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
}

.logo {
    font-size: 42px;
    margin-bottom: 10px;
}

h1 {
    margin: 0 0 10px;
    font-size: 32px;
}

.subtitle {
    margin-bottom: 28px;
    color: var(--muted);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 18px;
}

button,
.btn {
    display: inline-block;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 14px;
    background: var(--primary);
    color: #111827;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

button:hover,
.btn:hover {
    background: var(--primary-dark);
}

.topbar {
    background: #111827;
    color: white;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 24px;
}

.panel {
    background: white;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, .08);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.stat {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
}

.stat strong {
    display: block;
    font-size: 28px;
}

.error {
    padding: 12px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 12px;
    margin-bottom: 18px;
}

.logout {
    color: white;
    text-decoration: none;
    font-weight: 700;
}