/* ── meeting-scheduler/webapp/static/style.css ── */

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f4f6f8;
  color: #2c3e50;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  padding: 40px 48px;
  max-width: 560px;
  width: 100%;
}

h1 { font-size: 1.5rem; margin-bottom: 8px; color: #2c3e50; }
h2 { font-size: 1.25rem; margin-bottom: 16px; color: #2c3e50; }
p  { line-height: 1.6; color: #555; margin-bottom: 12px; }

.subtitle {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* Formular */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
input, select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #dce1e7;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #2c3e50;
  transition: border-color 0.2s;
}
input:focus, select:focus {
  outline: none;
  border-color: #2c3e50;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary   { background: #2c3e50; color: #fff; width: 100%; margin-top: 8px; }
.btn-primary:hover { background: #1a252f; }
.btn-success   { background: #27ae60; color: #fff; width: 100%; margin-top: 8px; }
.btn-success:hover { background: #1e8449; }
.btn-meet      { background: #2980b9; color: #fff; }
.btn-meet:hover { background: #1a6a9a; }

/* Slots */
.slot-option {
  border: 2px solid #dce1e7;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.slot-option:hover { border-color: #2c3e50; background: #f8f9fa; }
.slot-option input[type=radio] { margin-right: 10px; accent-color: #2c3e50; }
.slot-option .slot-date { font-weight: 600; }
.slot-option .slot-time { color: #7f8c8d; font-size: 0.9rem; }

/* Flash-Nachrichten */
.flash { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-size: 0.9rem; }
.flash-info    { background: #eaf4fb; color: #1a6a9a; border: 1px solid #aed6f1; }
.flash-error   { background: #fdf2f2; color: #a93226; border: 1px solid #f1948a; }
.flash-success { background: #eafaf1; color: #1e8449; border: 1px solid #a9dfbf; }

/* Bestätigung */
.confirm-box {
  background: #eafaf1;
  border: 1px solid #a9dfbf;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
}
.confirm-box table { width: 100%; border-collapse: collapse; }
.confirm-box td    { padding: 8px 4px; vertical-align: top; }
.confirm-box td:first-child { font-weight: 600; width: 110px; color: #2c3e50; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.nav a { color: #7f8c8d; font-size: 0.85rem; text-decoration: none; }
.nav a:hover { color: #2c3e50; }

hr { border: none; border-top: 1px solid #eee; margin: 24px 0; }

@media (max-width: 480px) {
  .card { padding: 24px 20px; }
}
