/* Enkel styling til login og dashboard */
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: #f4f5f7; color: #1d2430; }
body.center { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

h1, h2 { margin: 0 0 0.5rem; }
.muted { color: #5b6573; }
.error { color: #b3261e; min-height: 1.2em; }

.card { background: #fff; padding: 2rem; border-radius: 8px; width: 100%; max-width: 360px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
label { display: block; margin-top: 1rem; font-weight: 600; }
input, select { width: 100%; padding: 0.5rem; margin-top: 0.25rem; border: 1px solid #aab2bd; border-radius: 4px; font: inherit; }

button { padding: 0.5rem 1rem; border: 0; border-radius: 4px; background: #1f5fbf; color: #fff; font: inherit; cursor: pointer; }
.card button { margin-top: 1.5rem; width: 100%; }
button.secondary { background: #5b6573; }
button.ok { background: #1e7b34; margin-right: 0.5rem; }
button.danger { background: #b3261e; }

.topbar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1.5rem; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
.topbar h1 { margin: 0; }
main.wide { max-width: 1100px; margin: 1.5rem auto; padding: 0 1rem; }
section { background: #fff; padding: 1rem 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid #e1e4e8; vertical-align: top; }

form.inline { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
form.inline input, form.inline select { width: auto; margin: 0; flex: 1; }
