/* Urlaubsplaner – Basis-Styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #f5f6f8; color: #1f2937; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
a.danger { color: #dc2626; }

.topbar { background: #1f2937; color: #fff; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.topbar .brand { font-weight: 700; font-size: 18px; }
.topbar nav a { color: #fff; margin-left: 16px; }
.topbar .who { color: #9ca3af; margin-right: 16px; }

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

h1 { margin: 0 0 16px; font-size: 24px; }
h2 { margin: 32px 0 12px; font-size: 18px; color: #374151; }

.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.row.gap { gap: 12px; }
.row .grow { flex: 1; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid #d1d5db; color: #1f2937; cursor: pointer; font-size: 14px; text-decoration: none; }
.btn:hover { background: #f9fafb; text-decoration: none; }
.btn.primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn.primary:hover { background: #1d4ed8; }
.btn.big { padding: 14px 22px; font-size: 16px; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
th { background: #f9fafb; font-weight: 600; color: #4b5563; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: none; }

.card { background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.card.narrow { max-width: 480px; margin: 32px auto; }
form label { display: block; margin: 12px 0; font-size: 14px; color: #374151; }
form input, form select { display: block; width: 100%; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; margin-top: 4px; background: #fff; }
form input:focus, form select:focus { outline: 2px solid #2563eb; outline-offset: -1px; }
form label.check { display: flex; align-items: center; gap: 8px; }
form label.check input { width: auto; margin: 0; }
form .inline { display: inline-flex; align-items: center; }

.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hero { text-align: center; padding: 60px 16px; }
.hero h1 { font-size: 32px; }
.choice { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.stat { background: #fff; padding: 16px; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.stat .lbl { display: block; color: #6b7280; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat .val { display: block; font-size: 28px; font-weight: 700; margin-top: 4px; }
.stat.highlight { background: #2563eb; color: #fff; }
.stat.highlight .lbl { color: #bfdbfe; }

.error { color: #b91c1c; background: #fee2e2; padding: 10px 14px; border-radius: 8px; }
.ok    { color: #166534; background: #dcfce7; padding: 10px 14px; border-radius: 8px; }
.muted { color: #6b7280; }
small  { color: #6b7280; }
hr     { border: 0; border-top: 1px solid #e5e7eb; margin: 16px 0; }
.inline { display: inline-flex; gap: 8px; align-items: center; }
