/* ═══════════════════════════════════════════════
   Dart-Ortsmeisterschaften 2026 – Form Styles
═══════════════════════════════════════════════ */

.dart-reg-wrap {
  max-width: 640px;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  color: #222;
}

/* ── Header ── */
.dart-header {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5c8a 100%);
  color: #fff;
  border-radius: 12px 12px 0 0;
  padding: 24px 28px;
  text-align: center;
}
.dart-icon { font-size: 40px; line-height: 1; margin-bottom: 8px; }
.dart-header h2 { margin: 0; font-size: 22px; }
.dart-subtitle { margin: 4px 0 0; opacity: .75; font-size: 13px; }

/* ── Chat area ── */
.dart-chat {
  background: #f8f9fb;
  border: 1px solid #dde3ea;
  border-top: none;
  padding: 20px 20px 8px;
  min-height: 120px;
  max-height: 480px;
  overflow-y: auto;
}

.dart-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  line-height: 1.5;
  animation: dartFadeIn .25s ease;
}
@keyframes dartFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

.dart-msg-bot {
  background: #fff;
  border: 1px solid #dde3ea;
  border-bottom-left-radius: 3px;
  margin-right: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.dart-msg-user {
  background: #1a3a5c;
  color: #fff;
  border-bottom-right-radius: 3px;
  margin-left: auto;
  text-align: right;
}

/* ── Input area ── */
.dart-input-area {
  background: #fff;
  border: 1px solid #dde3ea;
  border-top: none;
  padding: 14px 16px;
}

.dart-btn-group { display: flex; gap: 8px; flex-wrap: wrap; }

.dart-btn {
  background: #1a3a5c;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, transform .1s;
}
.dart-btn:hover { background: #2a5c8a; transform: translateY(-1px); }
.dart-btn:active { transform: none; }
.dart-btn-primary { background: #27ae60; font-size: 15px; padding: 12px 24px; }
.dart-btn-primary:hover { background: #219150; }
.dart-btn-secondary { background: #7f8c8d; }
.dart-btn-secondary:hover { background: #636e72; }
.dart-btn-send { background: #2980b9; }
.dart-btn-send:hover { background: #2471a3; }

.dart-text-input-wrap { display: flex; gap: 8px; align-items: flex-start; }
.dart-text-input {
  flex: 1;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}
.dart-text-input:focus { border-color: #1a3a5c; box-shadow: 0 0 0 3px rgba(26,58,92,.1); }
.dart-text-input.dart-shake { animation: dartShake .4s; }
@keyframes dartShake {
  0%,100% { transform:none; }
  20%,60% { transform:translateX(-5px); }
  40%,80% { transform:translateX(5px); }
}

.dart-textarea-wrap { flex-direction: column; }
.dart-textarea { width: 100%; box-sizing: border-box; resize: vertical; font-size: 14px; }

/* ── DSGVO ── */
.dart-dsgvo-wrap { display: flex; flex-direction: column; gap: 10px; }
.dart-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.dart-checkbox-label input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }

/* ── Summary ── */
.dart-summary { padding: 16px; background: #f8f9fb; border: 1px solid #dde3ea; border-top: none; }
.dart-summary-box {}
.dart-summary-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.dart-summary-table th { background: #1a3a5c; color: #fff; padding: 8px 12px; text-align: left; }
.dart-summary-table td { padding: 8px 12px; border-bottom: 1px solid #eee; vertical-align: top; }
.dart-summary-table td.sum { text-align: right; white-space: nowrap; }
.dart-summary-table tfoot td { background: #f0f8e8; font-weight: bold; }
td.total { font-size: 17px; color: #1a3a5c; }
.dart-contact-info, .dart-notes-info {
  margin-top: 8px;
  font-size: 13px;
  color: #555;
  background: #fff;
  border: 1px solid #eee;
  padding: 8px 12px;
  border-radius: 4px;
}

/* ── Success ── */
.dart-success { border: 1px solid #dde3ea; border-top: none; }
.dart-success-box {
  padding: 28px;
  text-align: center;
  background: #fff;
  border-radius: 0 0 12px 12px;
}
.dart-success-icon { font-size: 52px; margin-bottom: 8px; }
.dart-success-box h3 { color: #27ae60; font-size: 22px; margin: 0 0 12px; }
.dart-usage-box {
  background: #f0f4f8;
  border: 1px solid #dde3ea;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px auto;
  max-width: 420px;
  font-size: 14px;
}
.dart-usage-box code {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: #1a3a5c;
  margin-top: 6px;
  word-break: break-all;
}
.dart-reminder { color: #c0392b; font-weight: bold; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .dart-header { padding: 18px 16px; }
  .dart-header h2 { font-size: 18px; }
  .dart-chat, .dart-input-area { padding: 14px 12px; }
  .dart-btn { padding: 9px 14px; font-size: 13px; }
}

/* ── Payment notice step ── */
.dart-payment-notice { padding: 0; }
.dart-notice-box {
  background: #fff8e1;
  border-left: 4px solid #f39c12;
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.dart-notice-box p { margin: 4px 0; }

.dart-notice-inline {
  background: #fff8e1;
  border: 1px solid #f39c12;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 13px;
  margin-top: 8px;
  color: #7d5a00;
}

.dart-reminder-box {
  background: #fff3cd;
  border: 1px solid #e6a817;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 16px auto;
  max-width: 460px;
  font-size: 14px;
  color: #7d5a00;
  line-height: 1.6;
}
.dart-reminder-box small { display: block; margin-top: 6px; color: #c0392b; font-size: 12px; }
