/* ==========================================================================
   WOOGU - REISE- & NOTFALLRATGEBER
   Design System & Styling (Warm, Human & Organic Travel Companion Aesthetic)
   ========================================================================== */

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-color: #d97706;
  --accent-warm: #f59e0b;
  --accent-soft: #fef3c7;
  --emergency-color: #e11d48;
  --emergency-bg: #fff1f2;
  --bg-color: #faf8f5;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-warm: #eae3d9;
  --radius: 16px;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 6px 16px -2px rgba(15, 23, 42, 0.04);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-color);
  background-image: radial-gradient(80% 50% at 50% 0%, #ffffff 0%, #faf8f5 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.app-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a8a 100%);
  color: #ffffff;
  padding: 2.25rem 0 4.5rem 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.app-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  pointer-events: none;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.header-brand-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.main-header-logo {
  height: 170px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.main-header-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.65));
}

.header-info-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  text-align: right;
}

.subtitle {
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 400;
  max-width: 440px;
  line-height: 1.45;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Header Notfallpass Button */
.ice-pass-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.65rem 1.1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ice-pass-btn .btn-icon {
  width: 18px;
  height: 18px;
  color: #38bdf8;
}

.ice-pass-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Sprachumschalter */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Filter Card - Schwebend über dem Header */
.filter-section {
  background: var(--card-bg);
  border: 1px solid var(--border-warm);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-top: -2.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

/* Welcome Hero Banner auf der Startseite */
.welcome-hero {
  background: linear-gradient(135deg, #ffffff 0%, #fffdfa 100%);
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-color);
  border: 1px solid #fde68a;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.hero-badge-icon {
  width: 15px;
  height: 15px;
  color: var(--accent-color);
}

.hero-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 1.35rem auto;
  line-height: 1.5;
}

.quick-destinations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}

.quick-dest-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.quick-dest-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quick-dest-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
}

.quick-dest-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

/* Live-Suche Box */
.search-box {
  margin-bottom: 1.25rem;
}

.search-box label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.label-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  background-color: #f8fafc;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.search-box input:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.clear-btn {
  position: absolute;
  right: 0.85rem;
  background: #e2e8f0;
  border: none;
  color: #64748b;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.clear-btn:hover {
  background: #cbd5e1;
  color: var(--text-main);
}

/* GPS Button */
.auto-location-wrapper {
  margin-bottom: 1.5rem;
}

.auto-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #166534;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.location-icon {
  width: 18px;
  height: 18px;
  color: #16a34a;
}

.auto-location-btn:hover {
  background: #dcfce7;
  border-color: #86efac;
  transform: translateY(-1px);
}

.auto-loc-status {
  margin-top: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.auto-loc-status.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.auto-loc-status.info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Trennlinie */
.filter-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.filter-divider::before,
.filter-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.filter-divider span {
  padding: 0 1rem;
}

/* Filter Grid */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.filter-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.filter-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.filter-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

/* Content Area & Land-Karte */
.content-area {
  margin-bottom: 3rem;
}

.country-card {
  background: var(--card-bg);
  border: 1px solid var(--border-warm);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.country-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
}

.country-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.country-header-left h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.country-header-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-country-flag-badge {
  width: 140px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.big-country-flag-badge:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  border-color: var(--primary-color);
}

.big-country-flag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.big-country-flag-emoji {
  font-size: 3.8rem;
  line-height: 1;
}

.country-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.country-meta span strong {
  color: var(--text-main);
}

/* Landesgeschichte Box */
.history-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.history-section h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.history-section p {
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Practical Info Grid (Trinkwasser & Strom) */
.practical-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.practical-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.practical-card-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.practical-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.practical-card-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

/* Insider-Tipp Box */
.insider-section {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
}

.insider-section h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.insider-section p {
  color: #78350f;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Abschnitte */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-block h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Einklappbare Sektionen-Akkordeons */
details.section-accordion {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  border: 1.5px solid #e2e8f0;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.25s ease;
  gap: 0 !important;
  padding: 0 !important;
}

details.section-accordion[open] {
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

summary.section-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: #ffffff;
  transition: background-color 0.2s ease;
}

summary.section-accordion-summary:hover {
  background-color: #f8fafc;
}

summary.section-accordion-summary::-webkit-details-marker {
  display: none;
}

summary.section-accordion-summary h3 {
  margin: 0 !important;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.25;
}

summary.section-accordion-summary h3 svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex-shrink: 0;
  color: var(--primary-color);
  display: inline-block;
}

summary.section-accordion-summary .accordion-chevron {
  font-size: 0.85rem;
  color: #64748b;
  transition: transform 0.25s ease;
  font-weight: bold;
}

details.section-accordion[open] > summary.section-accordion-summary .accordion-chevron {
  transform: rotate(180deg);
}

.section-accordion-content {
  padding: 0.75rem 1.35rem 1.35rem 1.35rem;
  border-top: 1px solid #f1f5f9;
}

/* --- Spezialitäten Direct Cards --- */
.specialties-grid-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.specialty-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.specialty-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.specialty-card.tried {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.specialty-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.specialty-summary-main {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.specialty-icon {
  font-size: 1.35rem;
}

.specialty-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
}

.specialty-type-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.specialty-type-badge.food {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.specialty-type-badge.drink {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
}

.specialty-try-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.specialty-try-btn:hover, .specialty-try-btn.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.specialty-desc {
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.5;
}

.specialty-ask-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.specialty-ask-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.specialty-ask-phrase {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-color);
}

.specialty-ask-meaning {
  font-size: 0.88rem;
  color: #475569;
}

.specialty-audio-btn {
  align-self: flex-start;
  margin-top: 0.3rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  background: #eff6ff;
  color: var(--primary-color);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.specialty-audio-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* --- Feiertage Direct Cards --- */
.holiday-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.holiday-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.holiday-card:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.holiday-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.holiday-date {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color);
  background: #eff6ff;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
}

.holiday-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #1e293b;
}

.holiday-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin-top: 0.1rem;
}

/* --- Auto, Maut & Verkehrsregeln Sektion (High-End Dashboard) --- */
.driving-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

/* Speedometer Pills Bar */
.speed-limit-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 600px) {
  .speed-limit-dashboard {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.speed-pill {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.3rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.speed-pill:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.speed-pill.highlight {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.speed-pill-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.speed-icon {
  font-size: 1.1rem;
}

.speed-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.speed-main-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.2;
}

.speed-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.3;
}

/* Toll Hero Banner */
.toll-hero-banner {
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1.5px solid #e2e8f0;
}

.toll-hero-banner.required {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fde68a;
}

.toll-hero-banner.free {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #bbf7d0;
}

.toll-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.toll-badge {
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toll-hero-banner.required .toll-badge {
  background: #f59e0b;
  color: #ffffff;
}

.toll-hero-banner.free .toll-badge {
  background: #10b981;
  color: #ffffff;
}

.toll-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.toll-desc {
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.5;
}

/* Driving Cards Grid (2 balanced columns) */
.driving-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.driving-feature-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.card-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.card-icon-badge.yellow {
  background: #fef3c7;
}

.card-icon-badge.blue {
  background: #dbeafe;
}

.feature-card-header h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.driving-check-list, .driving-rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #334155;
}

.driving-check-list li, .driving-rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.rule-bullet {
  color: #3b82f6;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Footer Bar */
.driving-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.driving-updated-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.driving-official-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: #ffffff;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.driving-official-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Notrufnummern Grid */
.emergency-section {
  background: var(--emergency-bg);
  border: 1px solid #fecdd3;
  border-radius: 18px;
  padding: 1.5rem;
}

.emergency-section h3 {
  color: var(--emergency-color);
}

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.emergency-item {
  background: #ffffff;
  border: 1px solid #ffe4e6;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.emergency-item .label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #9f1239;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.number-link {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emergency-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.number-link:hover {
  color: #be123c;
  transform: translateX(2px);
}

/* Behörden Liste */
.authorities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.authority-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.authority-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.local-name {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-info {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Maps Navigation Button */
.maps-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.maps-nav-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.maps-icon {
  width: 16px;
  height: 16px;
}

/* Trinkgeld & Knigge */
.tipping-summary {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.tipping-details {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Rules Grid (Do's & Don'ts) */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.rules-column {
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
}

.dos-column {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.dos-column h4 {
  color: #166534;
  margin-bottom: 0.75rem;
}

.donts-column {
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.donts-column h4 {
  color: #9f1239;
  margin-bottom: 0.75rem;
}

.rules-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
}

/* Phrasen Tabelle & Hülle */
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.phrases-table {
  width: 100%;
  border-collapse: collapse;
}

.phrases-table th,
.phrases-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.phrases-table th {
  background: #f1f5f9;
  font-weight: 700;
  font-size: 0.85rem;
  color: #475569;
  text-transform: uppercase;
}

.phrase-local-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.phrase-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.audio-phrase-btn,
.copy-phrase-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audio-phrase-btn:hover,
.copy-phrase-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.audio-phrase-btn.playing {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
  animation: pulseAudio 1s infinite alternate;
}

@keyframes pulseAudio {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  100% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* Footer */
.app-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.25rem 0;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.link-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
}

.link-btn:hover {
  color: #ffffff;
}

/* MODAL STYLING */
dialog.legal-modal {
  margin: auto;
  border: none;
  border-radius: 24px;
  padding: 0;
  background: transparent;
  box-shadow: var(--shadow-lg);
  max-width: 95vw;
}

dialog.legal-modal::backdrop {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  background: #ffffff;
  padding: 2.25rem;
  border-radius: 24px;
  overflow-y: auto;
  max-height: 88vh;
  width: 100%;
  max-width: 620px;
}

.modal-container.ice-modal-container {
  max-width: 700px;
  padding: 2.5rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* ICE Pass & Doctor View Modal */
.ice-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.ice-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-badge {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #166534;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  box-shadow: 0 2px 6px rgba(22, 101, 52, 0.04);
}

.privacy-badge-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #15803d;
}

.privacy-badge-text {
  font-size: 0.86rem;
  color: #166534;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: break-word;
}

.privacy-subline {
  display: block;
  margin-top: 0.35rem;
}

/* ICE Modal Tab Navigation */
.ice-tab-navigation {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.ice-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ice-tab-btn:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.ice-tab-btn.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--primary-color);
}

/* Bodymap Container */
.bodymap-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bodymap-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.bodymap-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.bodymap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.bodymap-visual-card,
.bodymap-symptom-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.zone-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zone-buttons,
.symptom-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.body-zone-btn,
.symptom-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.body-zone-btn:hover,
.symptom-btn:hover {
  border-color: var(--primary-color);
  background: #f0f9ff;
  color: var(--primary-color);
}

.body-zone-btn.active,
.symptom-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.pain-scale-box {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.pain-scale-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.pain-scale-header strong {
  color: #dc2626;
  font-size: 0.95rem;
}

.pain-scale-box input[type="range"] {
  width: 100%;
  accent-color: #dc2626;
  cursor: pointer;
}

/* Bodymap Result Card (Arzt-Ansicht) */
.bodymap-result-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid #38bdf8;
  border-radius: 20px;
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.result-country-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.result-country-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
}

.bodymap-country-dropdown {
  background: #1e293b;
  border: 1.5px solid #38bdf8;
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.bodymap-result-card .result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.result-badge {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.result-audio-btn {
  background: #38bdf8;
  border: none;
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.result-audio-btn:hover {
  background: #7dd3fc;
  transform: translateY(-1.5px);
}

.result-translated {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.result-subtext {
  font-size: 0.9rem;
  color: #94a3b8;
}

.ice-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-section-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #334155;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.18s ease;
}

.chip-item:has(input:checked) {
  background: #eff6ff;
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
}

.ice-form-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: 12px;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.delete-btn {
  padding: 0.9rem 1.25rem;
  border: 1.5px solid #fecdd3;
  background: #fff1f2;
  color: var(--emergency-color);
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  background: #ffe4e6;
}

/* Doctor View Badge Layout */
.doctor-view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.doctor-view-header > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.doctor-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.doctor-view-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  word-break: break-word;
}

.doctor-card {
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doctor-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.doc-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.doc-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.doc-badge.blood {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  width: fit-content;
}

.alert-text {
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
}

.meds-text {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
}

.edit-ice-btn {
  padding: 0.55rem 1rem;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.edit-ice-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Kontakt Formular Vertikales Layout */
.contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.1rem;
  margin-top: 1.25rem;
  width: 100%;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  width: 100%;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.backup-section-card {
  background: #f1f5f9;
  border: 1.5px dashed #cbd5e1;
}

.backup-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.backup-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.backup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.backup-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #eff6ff;
}

.backup-btn.outline {
  background: transparent;
}

.doctor-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   PERFEKTE MOBIL- & SMARTPHONE-OPTIMIERUNG (Responsive Touch UI System)
   ========================================================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 0.85rem;
  }

  /* Header & Logo auf Smartphones */
  .app-header {
    padding: 1.25rem 0 3.25rem 0;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .header-brand-section {
    justify-content: center;
  }

  .main-header-logo {
    height: 110px;
    max-width: 260px;
  }

  .header-info-section {
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 0.75rem;
  }

  .subtitle {
    font-size: 0.88rem;
    max-width: 100%;
  }

  .header-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }

  .ice-pass-btn,
  .checklist-trigger-btn {
    font-size: 0.82rem;
    padding: 0.55rem 0.85rem;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
  }

  .lang-switcher {
    min-height: 44px;
    align-items: center;
  }

  /* Filter-Karte & Hero */
  .filter-section {
    padding: 1.25rem 0.95rem;
    margin-top: -2rem;
    border-radius: 20px;
  }

  .welcome-hero {
    padding: 1.25rem 0.95rem;
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-desc {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .quick-destinations {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .quick-dest-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .quick-dest-btn {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .search-box input {
    padding: 0.85rem 0.95rem;
    font-size: 0.92rem;
    border-radius: 12px;
  }

  .auto-location-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
    min-height: 44px;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Modals (ICE Pass, Lockscreen, Packliste, Impressum) */
  dialog.legal-modal {
    padding: 0;
    border: none;
    background: transparent;
  }

  .modal-container,
  .modal-container.ice-modal-container,
  .modal-container.wallpaper-modal-container {
    padding: 1.25rem 0.95rem !important;
    border-radius: 20px !important;
    max-height: 94vh !important;
    width: 95% !important;
    max-width: 100% !important;
    margin: 0 auto;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  /* Smarte Packliste Modal auf Smartphones (Maximaler Scrollbereich!) */
  .modal-container.checklist-modal-container {
    width: 95% !important;
    max-width: 100% !important;
    height: 94vh !important;
    max-height: 94vh !important;
    padding: 0.95rem 0.85rem 0.75rem 0.85rem !important;
    border-radius: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .checklist-modal-header {
    padding-right: 2.2rem !important;
    margin-bottom: 0.15rem !important;
  }

  .checklist-modal-header h2 {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .checklist-modal-header p {
    display: none !important;
  }

  .checklist-members-bar {
    margin-top: 0.25rem !important;
    gap: 0.2rem !important;
  }

  .members-bar-label {
    font-size: 0.76rem !important;
  }

  .members-pills {
    gap: 0.3rem !important;
  }

  .member-pill {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.75rem !important;
  }

  .checklist-progress-container {
    padding: 0.4rem 0.65rem !important;
    margin: 0.3rem 0 !important;
    border-radius: 10px !important;
  }

  .checklist-progress-info {
    font-size: 0.78rem !important;
    margin-bottom: 0.25rem !important;
  }

  .progress-bar-track {
    height: 6px !important;
  }

  .checklist-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 0.2rem !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
  }

  .checklist-add-custom-card {
    margin-top: 0.75rem !important;
    padding-top: 0.75rem !important;
    border-top: 1.5px dashed #cbd5e1 !important;
  }

  .checklist-add-custom-card label {
    font-size: 0.8rem !important;
    margin-bottom: 0.3rem !important;
  }

  .custom-item-input-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
  }

  .member-assign-select {
    padding: 0.4rem 0.45rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    flex: 1 1 100px !important;
  }

  .custom-item-input-group input {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    flex: 2 1 130px !important;
  }

  .custom-item-input-group button {
    width: 100% !important;
    min-height: 38px !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    margin-top: 0.15rem !important;
  }

  .checklist-action-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.3rem !important;
    padding-top: 0.4rem !important;
    margin-top: 0.35rem !important;
    border-top: 1px solid #e2e8f0 !important;
  }

  .action-btn {
    flex: 1 1 calc(33.33% - 0.3rem) !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0.4rem 0.25rem !important;
    font-size: 0.75rem !important;
    min-height: 36px !important;
    border-radius: 8px !important;
  }

  .checklist-modal-footer {
    margin-top: 0.3rem !important;
  }

  .checklist-modal-footer .delete-btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    min-height: 32px !important;
    border-radius: 8px !important;
    width: 100% !important;
  }

  /* Notfallpass (ICE) Privacy Badge (Strukturierte Überschrift & Text) */
  .privacy-badge {
    padding: 0.75rem 0.85rem !important;
    margin-bottom: 1rem !important;
    gap: 0.3rem !important;
  }

  .privacy-badge-header {
    font-size: 0.9rem !important;
  }

  .privacy-badge-text {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }

  .privacy-subline {
    display: block !important;
    margin-top: 0.3rem !important;
  }

  /* ICE Tabs & Formulare */
  .ice-modal-header {
    padding-right: 2.2rem;
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .ice-header-icon {
    width: 44px;
    height: 44px;
  }

  #ice-modal-title {
    font-size: 1.2rem;
  }

  .ice-tab-navigation {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
    width: 100% !important;
    padding-bottom: 0.4rem;
  }

  .ice-tab-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    padding: 0.55rem 0.4rem !important;
    min-height: 44px !important;
    text-align: center;
  }

  .form-section-card {
    padding: 1rem 0.85rem;
    border-radius: 14px;
  }

  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .chips-container {
    gap: 0.4rem;
  }

  .chip-item {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .ice-form-actions {
    flex-direction: column;
    gap: 0.65rem;
  }

  .submit-btn, .delete-btn {
    min-height: 46px;
    font-size: 0.92rem;
  }

  /* Doctor View Header & Actions */
  .doctor-view-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .doctor-header-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .doctor-header-actions button {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    padding: 0.5rem 0.3rem !important;
    min-height: 44px !important;
  }

  .doctor-card {
    padding: 1rem 0.85rem;
    border-radius: 14px;
  }

  .doc-val {
    font-size: 1rem;
  }

  /* Bodymap & Doctor Translate Card */
  .bodymap-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bodymap-visual-card,
  .bodymap-symptom-card {
    padding: 1rem 0.85rem;
    border-radius: 14px;
  }

  .body-zone-btn,
  .symptom-btn {
    min-height: 44px;
    font-size: 0.88rem;
    padding: 0.65rem 0.85rem;
  }

  .bodymap-result-card {
    padding: 1rem 0.85rem;
    border-radius: 16px;
  }

  .result-translated {
    font-size: 1.15rem;
  }

  /* Land-Karte & Content */
  .country-card {
    padding: 1.25rem 0.95rem;
    border-radius: 18px;
    gap: 1.25rem;
  }

  .country-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }

  .big-country-flag-badge {
    width: 100px;
    height: 65px;
    border-radius: 10px;
  }

  .country-header-left h2 {
    font-size: 1.55rem;
  }

  .practical-info-grid,
  .emergency-grid,
  .authorities-list,
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .specialty-summary {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
  }

  .specialty-name {
    font-size: 0.88rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-results-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .phrases-table th,
  .phrases-table td {
    padding: 0.65rem 0.6rem;
    font-size: 0.85rem;
  }

  .phrase-actions {
    display: flex;
    gap: 0.3rem;
  }

  .audio-phrase-btn,
  .copy-phrase-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.78rem;
    min-height: 38px;
  }
}

/* Feiertage & Kulturelle Anlässe (Akkordeon) */
.holiday-section {
  background: var(--card-bg);
}

.holiday-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.holiday-accordion {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.holiday-accordion[open] {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.holiday-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background 0.2s ease;
}

.holiday-summary::-webkit-details-marker {
  display: none;
}

.holiday-summary:hover {
  background: #f1f5f9;
}

.holiday-summary-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.holiday-date {
  background: #e2e8f0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.holiday-name {
  color: var(--text-main);
  font-size: 0.96rem;
  font-weight: 700;
}

.accordion-chevron {
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.25s ease;
}

.holiday-accordion[open] .accordion-chevron {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.holiday-content {
  padding: 0.85rem 1.1rem 1.1rem 1.1rem;
  border-top: 1px dashed #e2e8f0;
  background: #fafafa;
}

.holiday-content p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Lockscreen Wallpaper Generator Styles */
.wallpaper-gen-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.25);
  transition: all 0.2s ease;
}

.wallpaper-gen-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.35);
}

.wallpaper-modal-container {
  max-width: 520px;
  width: 92%;
  border-radius: 20px;
  padding: 1.5rem;
  background: #ffffff;
}

.wallpaper-modal-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.wallpaper-modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.wallpaper-privacy-notice {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
}

.wallpaper-confirm-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(22, 101, 52, 0.2);
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
  cursor: pointer;
  user-select: none;
}

.wallpaper-confirm-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #166534;
  cursor: pointer;
  flex-shrink: 0;
}

.download-wallpaper-link.disabled-btn {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: #94a3b8 !important;
  box-shadow: none !important;
}

.wallpaper-preview-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.25rem 0;
  background: #0f172a;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

#wallpaper-img-preview {
  max-height: 480px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid #334155;
}

.wallpaper-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.download-wallpaper-link {
  text-decoration: none;
  text-align: center;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.download-wallpaper-link:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* Smarte Packliste Button & Modal Styles */
.checklist-trigger-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.25);
  transition: all 0.2s ease;
}

.checklist-trigger-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.35);
}

.checklist-modal-container {
  max-width: 640px;
  width: 94%;
  border-radius: 24px;
  padding: 1.6rem;
  background: #ffffff;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.checklist-country-banner {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1e40af;
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-modal-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.checklist-modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.checklist-progress-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

.checklist-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.checklist-progress-info strong {
  font-weight: 800;
  color: var(--primary-color);
}

.progress-bar-track {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.4s ease, background 0.4s ease;
}

.checklist-body {
  overflow-y: auto;
  flex: 1;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.checklist-category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.checklist-category-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #f1f5f9;
}

.checklist-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.checklist-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checklist-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
  width: 100%;
}

.checklist-checkbox-label.checked {
  text-decoration: line-through;
  color: #94a3b8;
  opacity: 0.75;
}

.checklist-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #059669;
  cursor: pointer;
}

.delete-custom-item-btn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0.4rem;
  line-height: 1;
}

.delete-custom-item-btn:hover {
  color: #b91c1c;
}

.checklist-add-custom-card {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.checklist-add-custom-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.35rem;
}

.custom-item-input-group {
  display: flex;
  gap: 0.5rem;
}

.custom-item-input-group input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.88rem;
}

.checklist-modal-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

/* Live Lobby Banner & Controls */
.checklist-live-banner {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePulse 1.6s infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.live-banner-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.live-expiry-tag {
  font-size: 0.74rem;
  font-weight: 700;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
  white-space: nowrap;
}

.live-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-copy-lobby-link {
  background: #ffffff;
  border: 1px solid #f87171;
  color: #991b1b;
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-lobby-link:hover {
  background: #fee2e2;
}

.btn-stop-lobby {
  background: #ffffff;
  border: 1px solid #ef4444;
  color: #dc2626;
  border-radius: 8px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-stop-lobby:hover {
  background: #fef2f2;
}

.btn-discover-woogu {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: none;
  color: #ffffff;
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2);
}

.btn-discover-woogu:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
}

/* Mitreisende-Auswahl Bar & Pills */
.checklist-members-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.members-bar-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.members-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.member-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.member-pill:hover {
  background: #e2e8f0;
}

.member-pill.active {
  background: #059669;
  border-color: #047857;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.member-pill-add {
  background: #ffffff;
  border: 1.5px dashed #059669;
  color: #059669;
  font-weight: 700;
}

.member-pill-add:hover {
  background: #ecfdf5;
}

.member-pill-remove {
  font-size: 0.7rem;
  opacity: 0.7;
  cursor: pointer;
  padding: 0 2px;
}

.member-pill-remove:hover {
  opacity: 1;
  color: #ef4444;
}

.item-member-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  margin-left: 0.4rem;
  white-space: nowrap;
}

.member-assign-select {
  padding: 0.45rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.82rem;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}

/* Aktions-Toolbar (Teilen, Export, Import, Live-Lobby) */
.checklist-action-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.action-btn {
  flex: 1;
  min-width: 100px;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.action-btn.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.action-btn.btn-whatsapp:hover {
  background: #1da851;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.action-btn.btn-export {
  background: #0284c7;
  color: #ffffff;
}

.action-btn.btn-export:hover {
  background: #0369a1;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.action-btn.btn-json {
  background: #475569;
  color: #ffffff;
}

.action-btn.btn-json:hover {
  background: #334155;
}

.action-btn.btn-live-lobby {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.action-btn.btn-live-lobby:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* Tipping & Bill Splitter Calculator Widget Styles */
.tipping-calculator-card {
  margin-top: 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.calc-card-header h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.calc-field-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.35rem;
}

.calc-input-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
}

.calc-input-wrapper input {
  width: 100%;
  border: none;
  background: none;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  outline: none;
}

.calc-currency-symbol {
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1rem;
  margin-left: 0.35rem;
}

.tip-percent-grid {
  display: flex;
  gap: 0.35rem;
}

.tip-pct-btn {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tip-pct-btn:hover, .tip-pct-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.people-stepper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.25rem 0.5rem;
  justify-content: space-between;
}

.stepper-btn {
  background: #e2e8f0;
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
}

.stepper-btn:hover {
  background: #cbd5e1;
}

.people-count-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #334155;
}

.calc-results-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.result-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.result-item strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
}

.result-item.highlight strong {
  color: var(--primary-color);
  font-size: 1.15rem;
}

.calc-eur-conv-info {
  margin-top: 0.75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  color: #1e40af;
}

.rate-source-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: #3b82f6;
  margin-left: 0.35rem;
}

/* Landestypische Spezialitäten (Ausklappbares Akkordeon) */
.specialties-section {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.05);
}

.specialties-section h3 {
  color: #c2410c;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.specialties-sub {
  font-size: 0.88rem;
  color: #7c2d12;
  margin-bottom: 1rem;
}

.specialties-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.specialty-accordion {
  background: #fffcf5;
  border: 1.5px solid #ffedd5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.specialty-accordion:hover {
  border-color: #f97316;
}

.specialty-accordion[open] {
  background: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08);
}

.specialty-accordion.tried {
  background: #f0fdf4;
  border-color: #86efac;
}

.specialty-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  gap: 0.75rem;
}

.specialty-summary::-webkit-details-marker {
  display: none;
}

.specialty-summary-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.specialty-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.specialty-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.specialty-summary-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.specialty-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  white-space: nowrap;
}

.specialty-type-badge.food {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.specialty-type-badge.drink {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.specialty-try-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.specialty-try-btn:hover {
  background: #ffedd5;
  border-color: #f97316;
  color: #c2410c;
}

.specialty-try-btn.active,
.specialty-accordion.tried .specialty-try-btn {
  background: #16a34a;
  border-color: #15803d;
  color: #ffffff;
}

.specialty-accordion .accordion-chevron {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.specialty-accordion[open] .accordion-chevron {
  transform: rotate(180deg);
  color: #ea580c;
}

.specialty-content {
  padding: 0 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid #ffedd5;
  margin-top: 0.2rem;
  padding-top: 0.85rem;
}

.specialty-desc {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

/* KI Audio-Nachfrage für Kellner / Passanten */
.specialty-ask-box {
  background: #fff8f0;
  border: 1px dashed #fdba74;
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.specialty-ask-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #c2410c;
}

.specialty-ask-phrase {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.35;
}

.specialty-ask-meaning {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}

.specialty-audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1.5px solid #ea580c;
  background: #ffffff;
  color: #c2410c;
  cursor: pointer;
  transition: all 0.2s ease;
}

.specialty-audio-btn:hover {
  background: #ea580c;
  color: #ffffff;
  transform: scale(1.02);
}

.specialty-audio-btn.playing {
  background: #16a34a;
  border-color: #15803d;
  color: #ffffff;
}

/* Header Passport Trigger Button */
.passport-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #fbbf24;
  color: #fbbf24;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.15);
}

.passport-trigger-btn:hover {
  background: #fbbf24;
  color: #0f172a;
  transform: translateY(-1.5px);
}

/* GPS Standort Widget */
.gps-location-card {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid #38bdf8;
  border-radius: 18px;
  padding: 1.25rem;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.gps-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gps-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.gps-header strong {
  font-size: 1.05rem;
  color: #38bdf8;
  display: block;
  margin-bottom: 0.2rem;
}

.gps-header p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.gps-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #38bdf8;
  color: #0f172a;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gps-btn:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
}

.gps-result-box {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
}

.gps-addr-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.gps-coords-text {
  font-size: 0.88rem;
  color: #38bdf8;
  font-family: monospace;
  margin-bottom: 0.85rem;
}

.gps-copy-btn {
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.gps-copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gps-manual-divider {
  margin: 0.85rem 0 0.65rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gps-manual-row {
  display: flex;
  gap: 0.5rem;
}

.gps-manual-input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.gps-manual-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.gps-manual-input::placeholder {
  color: #64748b;
}

.gps-manual-btn {
  padding: 0.6rem 0.95rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.gps-manual-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* Notfall Adress Autocomplete Dropdown */
.gps-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.35rem;
  background: #0f172a;
  border: 1.5px solid #38bdf8;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 99;
  max-height: 220px;
  overflow-y: auto;
}

.gps-autocomplete-item {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 0.15s ease;
}

.gps-autocomplete-item:last-child {
  border-bottom: none;
}

.gps-autocomplete-item:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

/* Offline-Phrasen Dolmetscher */
/* Notfall Quick-Dock Leiste oben im Land */
.emergency-quick-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.quick-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
}

.quick-dock-btn .dock-icon {
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.quick-dock-btn .dock-label-short {
  display: none;
}

.quick-dock-btn .dock-label-full {
  display: inline;
}

.quick-dock-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dock-btn-sos {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

.dock-btn-sos:hover {
  background: #dc2626;
  border-color: #b91c1c;
  color: #ffffff;
}

.dock-btn-phrases {
  background: #f0fdf4;
  border-color: #86efac;
  color: #16a34a;
}

.dock-btn-phrases:hover {
  background: #16a34a;
  border-color: #15803d;
  color: #ffffff;
}

.dock-btn-auth {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
}

.dock-btn-auth:hover {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
}

@media (max-width: 640px) {
  .emergency-quick-dock {
    gap: 0.35rem;
  }
  .quick-dock-btn {
    padding: 0.65rem 0.2rem;
    font-size: 0.78rem;
  }
  .quick-dock-btn .dock-label-full {
    display: none;
  }
  .quick-dock-btn .dock-label-short {
    display: inline;
  }
}

/* Compact 1-Zeilen Notfall-Phrasen Liste */
.phrases-section-block {
  margin-top: 1.5rem;
}

.phrases-compact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.phrase-row-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  border-left: 4px solid #3b82f6;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.phrase-row-item:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.phrase-row-item.cat-medical {
  border-left-color: #ef4444;
}

.phrase-row-item.cat-police {
  border-left-color: #f59e0b;
}

.phrase-row-item.cat-general {
  border-left-color: #3b82f6;
}

.phrase-row-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.phrase-cat-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.phrase-row-item.cat-medical .phrase-cat-pill {
  background: #ffe4e6;
  color: #e11d48;
}

.phrase-row-item.cat-police .phrase-cat-pill {
  background: #fef3c7;
  color: #d97706;
}

.phrase-row-item.cat-general .phrase-cat-pill {
  background: #dbeafe;
  color: #2563eb;
}

.phrase-row-texts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.phrase-row-trans {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  word-break: break-word;
}

.phrase-row-orig {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.phrase-row-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .phrase-row-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .phrase-row-actions {
    justify-content: flex-end;
  }
}

.phrase-btn-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-audio-phrase {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #16a34a;
}

.btn-audio-phrase:hover {
  background: #16a34a;
  border-color: #15803d;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-audio-phrase.playing {
  background: #15803d;
  color: #ffffff;
}

.btn-fs-phrase {
  background: #0f172a;
  border: 1.5px solid #0f172a;
  color: #ffffff;
}

.btn-fs-phrase:hover {
  background: #1e293b;
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-1px);
}

.phrase-btn-action:hover {
  background: #eff6ff;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Fullscreen Riesentext Modal */
.phrase-fullscreen-container {
  max-width: 600px;
  width: 94%;
  background: #0f172a;
  color: #ffffff;
  border: 2px solid #38bdf8;
  border-radius: 24px;
  padding: 2.25rem;
  text-align: center;
}

.phrase-badge-country {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.phrase-fs-text-translated {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.phrase-fs-text-original {
  font-size: 1.1rem;
  color: #94a3b8;
  font-style: italic;
}

/* Reisepass-Stempelbuch */
.passport-modal-container {
  max-width: 640px;
}

.passport-stamp-form {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.passport-stamp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.passport-stamp-card {
  position: relative;
  background: #fefce8;
  border: 2.5px dashed #ca8a04;
  border-radius: 18px;
  padding: 1.15rem;
  transform: rotate(-1.5deg);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(202, 138, 4, 0.12);
}

.passport-stamp-card:nth-child(even) {
  transform: rotate(1.8deg);
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.passport-stamp-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.stamp-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.stamp-country-flag {
  font-size: 1.8rem;
}

.stamp-official-tag {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a16207;
  border: 1px solid #ca8a04;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.stamp-country-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1e293b;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stamp-dates {
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
  font-family: monospace;
}

.stamp-delete-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.6;
}

.stamp-delete-btn:hover {
  opacity: 1;
}

.passport-backup-toolbar {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* PDF Print & Export Styles */
.pdf-modal-container {
  max-width: 580px;
}

.pdf-preview-box {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: #0f172a;
  max-height: 300px;
  overflow-y: auto;
}

@media print {
  body * {
    visibility: hidden;
  }
  #pdf-preview-box, #pdf-preview-box * {
    visibility: visible;
  }
  #pdf-preview-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none;
  }
}