/* ==========================================================
   Audiovox Reklamation WordPress Plugin — Scoped Styles
   Matches audiovox.dk design system (Noto Sans, 15px base,
   17px button radius, #00487e primary, blue filled buttons).
   All rules scoped under #avox-reklamation-wrapper.
   ========================================================== */

#avox-reklamation-wrapper {
  --avox-primary: #00487e;
  --avox-primary-dark: #003460;
  --avox-primary-light: #e8f0f7;
  --avox-accent: #10B981;
  --avox-accent-dark: #059669;
  --avox-red: #cf2e2e;
  --avox-red-light: #fef2f2;
  --avox-orange-light: #fffbeb;
  --avox-gray-50: #f9fafb;
  --avox-gray-100: #f3f4f6;
  --avox-gray-200: #e5e7eb;
  --avox-gray-300: #d1d5db;
  --avox-gray-400: #9ca3af;
  --avox-gray-500: #6b7280;
  --avox-gray-600: #4b5563;
  --avox-gray-700: #374151;
  --avox-gray-800: #1f2937;
  --avox-white: #ffffff;
  --avox-radius: 15px;
  --avox-radius-lg: 15px;

  font-family: noto-sans, 'Noto Sans', sans-serif;
  font-size: 15px;
  color: #000000;
  line-height: 1.3;
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto;
}

#avox-reklamation-wrapper *, #avox-reklamation-wrapper *::before, #avox-reklamation-wrapper *::after {
  box-sizing: border-box;
}

#avox-reklamation-wrapper a { color: var(--avox-primary); text-decoration: none; }
#avox-reklamation-wrapper a:hover { text-decoration: underline; }

/* --- Intro section --- */
.avox-intro {
  margin-bottom: 2rem;
}
.avox-intro-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--avox-gray-800);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}
.avox-intro-text {
  color: #808080;
  margin: 0 0 0.75rem 0;
  font-size: 15px;
  line-height: 1.3;
}
.avox-intro-text:last-child {
  margin-bottom: 0;
}

/* --- Process Steps (intro cards) --- */
.avox-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.avox-process-card {
  background: var(--avox-white);
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.avox-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--avox-primary);
  color: var(--avox-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.avox-process-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--avox-gray-800);
  margin-bottom: 0.4rem;
}
.avox-process-card p {
  font-size: 14px;
  color: var(--avox-gray-500);
  margin: 0;
}

/* --- Help text --- */
.avox-help-text {
  max-width: 720px;
  margin: 1.5rem auto 0;
  text-align: center;
}
.avox-help-text p {
  color: var(--avox-gray-400);
  font-size: 14px;
}

/* ==========================================================
   WIZARD CONTAINER
   ========================================================== */
#avox-reklamation-wrapper #wizard-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--avox-white);
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius-lg);
  overflow: hidden;
}

/* --- Progress Bar --- */
#avox-reklamation-wrapper .wizard-progress {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--avox-gray-50);
  border-bottom: 1px solid #cccccc;
  position: relative;
}
#avox-reklamation-wrapper .wizard-progress::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--avox-gray-200);
  width: 100%;
}
#avox-reklamation-wrapper #progress-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--avox-primary);
  width: 0%;
  transition: width 0.4s ease;
  z-index: 1;
}
#avox-reklamation-wrapper .progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--avox-gray-400);
  font-weight: 500;
  transition: color .2s;
}
#avox-reklamation-wrapper .progress-step .step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--avox-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  background: var(--avox-white);
  line-height: 1;
}
#avox-reklamation-wrapper .progress-step.active .step-dot {
  border-color: var(--avox-primary);
  background: var(--avox-primary);
  color: var(--avox-white);
}
#avox-reklamation-wrapper .progress-step.active { color: var(--avox-primary); }
#avox-reklamation-wrapper .progress-step.completed .step-dot {
  border-color: var(--avox-accent);
  background: var(--avox-accent);
  color: var(--avox-white);
}
#avox-reklamation-wrapper .progress-step.completed { color: var(--avox-accent-dark); }

/* --- Wizard Content --- */
#avox-reklamation-wrapper #wizard-content {
  padding: 2rem 2rem 1rem;
  min-height: 300px;
  transition: opacity 0.15s ease;
}
#avox-reklamation-wrapper .wizard-step h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--avox-gray-800);
  margin-bottom: 0.25rem;
}
#avox-reklamation-wrapper .step-description {
  color: #808080;
  font-size: 15px;
  margin-bottom: 1.5rem;
}

/* --- Wizard Navigation --- */
#avox-reklamation-wrapper .wizard-nav {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem 1.5rem;
}

/* --- Form Elements --- */
#avox-reklamation-wrapper fieldset {
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background: transparent;
}
#avox-reklamation-wrapper legend {
  font-weight: 600;
  font-size: 15px;
  color: var(--avox-primary);
  padding: 0 0.5rem;
}
#avox-reklamation-wrapper .form-group {
  margin-bottom: 1rem;
}
#avox-reklamation-wrapper .form-group label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #808080;
  margin-bottom: 0.35rem;
}
#avox-reklamation-wrapper .form-group input[type="text"],
#avox-reklamation-wrapper .form-group input[type="email"],
#avox-reklamation-wrapper .form-group input[type="tel"],
#avox-reklamation-wrapper .form-group textarea,
#avox-reklamation-wrapper .form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius);
  font-size: 15px;
  font-family: inherit;
  color: #808080;
  background: var(--avox-white);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
#avox-reklamation-wrapper .form-group input:focus,
#avox-reklamation-wrapper .form-group textarea:focus,
#avox-reklamation-wrapper .form-group select:focus {
  outline: none;
  border-color: var(--avox-primary);
  box-shadow: 0 0 0 3px rgba(0,72,126,.12);
}
#avox-reklamation-wrapper .form-group textarea { resize: vertical; padding: 8px 12px; }
#avox-reklamation-wrapper .form-hint {
  display: block;
  font-size: 13px;
  color: var(--avox-gray-400);
  margin-top: 0.3rem;
}
#avox-reklamation-wrapper .input-error {
  border-color: var(--avox-red) !important;
  box-shadow: 0 0 0 3px rgba(207,46,46,.1) !important;
}
#avox-reklamation-wrapper .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
#avox-reklamation-wrapper .input-with-button {
  display: flex;
  gap: 0.5rem;
}
#avox-reklamation-wrapper .input-with-button input { flex: 1; }
#avox-reklamation-wrapper .checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  cursor: pointer;
}
#avox-reklamation-wrapper .checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--avox-primary);
}

/* --- Problem Type Cards --- */
#avox-reklamation-wrapper .problem-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
#avox-reklamation-wrapper .problem-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border: 1px solid var(--avox-gray-200);
  border-radius: var(--avox-radius-lg);
  background: var(--avox-white);
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  font-size: inherit;
}
#avox-reklamation-wrapper .problem-type-card:hover {
  border-color: var(--avox-primary);
  background: var(--avox-primary-light);
}
#avox-reklamation-wrapper .problem-type-card.selected {
  border-color: var(--avox-primary);
  background: var(--avox-primary-light);
  box-shadow: 0 0 0 2px rgba(0,72,126,.15);
}
#avox-reklamation-wrapper .problem-icon { font-size: 1.6rem; }
#avox-reklamation-wrapper .problem-label { font-size: 14px; font-weight: 500; color: var(--avox-gray-700); text-align: center; }

/* --- Review --- */
#avox-reklamation-wrapper .review-section { display: flex; flex-direction: column; gap: 1rem; }
#avox-reklamation-wrapper .review-block {
  background: var(--avox-gray-50);
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius);
  padding: 1.25rem;
}
#avox-reklamation-wrapper .review-block h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--avox-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
#avox-reklamation-wrapper .review-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 14px;
}
#avox-reklamation-wrapper .review-label {
  font-weight: 500;
  color: var(--avox-gray-500);
  min-width: 110px;
  flex-shrink: 0;
}
#avox-reklamation-wrapper .review-value { color: var(--avox-gray-800); }

/* --- Badges --- */
#avox-reklamation-wrapper .badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
#avox-reklamation-wrapper .badge-green { background: #d1fae5; color: #065f46; }
#avox-reklamation-wrapper .badge-red { background: #fee2e2; color: #991b1b; }

/* --- Alerts --- */
#avox-reklamation-wrapper .alert {
  padding: 0.85rem 1rem;
  border-radius: var(--avox-radius);
  font-size: 14px;
  margin-bottom: 1rem;
}
#avox-reklamation-wrapper .alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
#avox-reklamation-wrapper .alert-warning { background: var(--avox-orange-light); color: #92400e; border: 1px solid #fde68a; }
#avox-reklamation-wrapper .alert-error { background: var(--avox-red-light); color: #991b1b; border: 1px solid #fecaca; }

/* --- Confirmation --- */
#avox-reklamation-wrapper .wizard-confirmation { text-align: center; padding: 2rem 1rem; }
#avox-reklamation-wrapper .confirmation-icon {
  width: 64px;
  height: 64px;
  background: var(--avox-accent);
  color: var(--avox-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}
#avox-reklamation-wrapper .next-steps-box {
  background: var(--avox-gray-50);
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius);
  padding: 1.25rem 1.5rem;
  text-align: left;
  max-width: 450px;
  margin: 1.5rem auto 0;
}
#avox-reklamation-wrapper .next-steps-box h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--avox-gray-800);
  margin-bottom: 0.5rem;
}
#avox-reklamation-wrapper .next-steps-box ol {
  padding-left: 1.25rem;
  font-size: 14px;
  color: var(--avox-gray-600);
}
#avox-reklamation-wrapper .next-steps-box li { margin-bottom: 0.4rem; }
#avox-reklamation-wrapper .avox-ref-display {
  font-size: 18px;
  background: var(--avox-primary-light);
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: var(--avox-radius);
  margin-bottom: 0.5rem;
}
#avox-reklamation-wrapper .avox-ref-display strong {
  color: var(--avox-primary);
  font-size: 20px;
  letter-spacing: 0.5px;
}
#avox-reklamation-wrapper .avox-confirmation-contact {
  margin-top: 1.5rem;
  font-size: 14px;
  color: var(--avox-gray-500);
}
#avox-reklamation-wrapper .avox-confirmation-contact a {
  color: var(--avox-primary);
  font-weight: 600;
}
#avox-reklamation-wrapper .alert-warning {
  background: var(--avox-orange-light);
  border: 1px solid #f59e0b;
  color: #92400e;
  padding: 0.75rem 1rem;
  border-radius: var(--avox-radius);
  font-size: 14px;
}

/* --- Buttons (matches audiovox.dk: blue bg, white text, 17px radius, 1px border) --- */
#avox-reklamation-wrapper .avox-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 17px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--avox-primary);
  transition: all .15s;
  line-height: 1.4;
  text-decoration: none;
  text-transform: none;
}
#avox-reklamation-wrapper .avox-btn-primary {
  background: var(--avox-primary);
  color: var(--avox-white);
  border-color: var(--avox-primary);
}
#avox-reklamation-wrapper .avox-btn-primary:hover {
  background: var(--avox-primary-dark);
  border-color: var(--avox-primary-dark);
  color: var(--avox-white);
  text-decoration: none;
}
#avox-reklamation-wrapper .avox-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#avox-reklamation-wrapper .avox-btn-outline {
  background: var(--avox-white);
  color: var(--avox-primary);
  border-color: var(--avox-primary);
}
#avox-reklamation-wrapper .avox-btn-outline:hover {
  background: var(--avox-primary);
  border-color: var(--avox-primary);
  color: var(--avox-white);
  text-decoration: none;
}
#avox-reklamation-wrapper .avox-btn-text {
  background: none;
  border: none;
  color: var(--avox-primary);
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 14px;
  text-transform: none;
}
#avox-reklamation-wrapper .avox-btn-text:hover { text-decoration: underline; }
#avox-reklamation-wrapper .avox-btn-large { padding: 1rem 2.5rem; font-size: 15px; }
#avox-reklamation-wrapper .avox-btn-ghost {
  background: transparent;
  color: var(--avox-gray-500);
  border-color: #cccccc;
  text-transform: none;
}
#avox-reklamation-wrapper .avox-btn-ghost:hover {
  color: var(--avox-gray-700);
  border-color: var(--avox-gray-400);
  background: transparent;
}

/* --- Loading Spinner --- */
#avox-reklamation-wrapper .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--avox-gray-200);
  border-top-color: var(--avox-primary);
  border-radius: 50%;
  animation: avox-spin 0.6s linear infinite;
  margin: 1rem auto;
}
@keyframes avox-spin { to { transform: rotate(360deg); } }

/* --- Ear Zone Selector (pasform matrix) --- */
#avox-reklamation-wrapper .avox-ear-zone-section {
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius-lg);
  background: var(--avox-gray-50);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
#avox-reklamation-wrapper .avox-ear-intro {
  font-size: 14px;
  color: var(--avox-gray-600);
  margin-bottom: 1rem;
}
#avox-reklamation-wrapper .avox-ear-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
#avox-reklamation-wrapper .avox-ear-diagram {
  flex: 0 0 200px;
  max-width: 200px;
}
#avox-reklamation-wrapper .avox-ear-photo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2.5rem; /* align with table zone rows (skip header height) */
}
#avox-reklamation-wrapper .avox-ear-matrix {
  flex: 1;
  min-width: 0;
}
#avox-reklamation-wrapper .avox-zone-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
#avox-reklamation-wrapper .avox-zone-table thead th {
  font-weight: 600;
  color: var(--avox-gray-700);
  padding: 0.4rem 0.3rem;
  text-align: center;
  font-size: 13px;
  white-space: nowrap;
}
#avox-reklamation-wrapper .avox-zone-table thead tr:first-child th {
  font-size: 13px;
  color: var(--avox-primary);
  padding-bottom: 0.15rem;
  border-bottom: none;
}
#avox-reklamation-wrapper .avox-zone-table thead tr:last-child th {
  font-size: 12px;
  color: var(--avox-gray-500);
  padding-top: 0;
  border-bottom: 2px solid var(--avox-gray-200);
}
#avox-reklamation-wrapper .avox-zone-table tbody td {
  padding: 0.5rem 0.3rem;
  text-align: center;
  border-bottom: 1px solid var(--avox-gray-200);
}
#avox-reklamation-wrapper .avox-zone-table tbody td.avox-zone-label {
  text-align: left;
  padding-left: 0;
  width: 36px;
}
#avox-reklamation-wrapper .avox-zone-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--avox-primary);
  cursor: pointer;
}
#avox-reklamation-wrapper .avox-zone-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--avox-primary);
  color: var(--avox-white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Bluetooth Sub-Section (defekt-bluetooth subcategories) --- */
#avox-reklamation-wrapper .avox-bluetooth-sub-section {
  border: 1px solid #cccccc;
  border-radius: var(--avox-radius-lg);
  background: var(--avox-gray-50);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
#avox-reklamation-wrapper .avox-bluetooth-intro {
  font-size: 14px;
  color: var(--avox-gray-600);
  margin-bottom: 1rem;
}
#avox-reklamation-wrapper .avox-bluetooth-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
#avox-reklamation-wrapper .avox-bluetooth-sub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  border: 1px solid var(--avox-gray-200);
  border-radius: var(--avox-radius-lg);
  background: var(--avox-white);
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  font-size: inherit;
}
#avox-reklamation-wrapper .avox-bluetooth-sub-card:hover {
  border-color: var(--avox-primary);
  background: var(--avox-primary-light);
}
#avox-reklamation-wrapper .avox-bluetooth-sub-card.selected {
  border-color: var(--avox-primary);
  background: var(--avox-primary-light);
  box-shadow: 0 0 0 2px rgba(0,72,126,.15);
}
#avox-reklamation-wrapper .avox-bluetooth-sub-icon {
  font-size: 1.4rem;
}
#avox-reklamation-wrapper .avox-bluetooth-sub-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--avox-gray-700);
  text-align: center;
}
#avox-reklamation-wrapper .avox-bluetooth-charging-guide {
  margin-top: 1rem;
  border: 1px solid #fde68a;
  border-radius: var(--avox-radius);
  background: var(--avox-orange-light);
  padding: 1rem 1.25rem;
}
#avox-reklamation-wrapper .avox-charging-guide-text {
  font-size: 14px;
  color: #92400e;
  margin-bottom: 1rem;
  line-height: 1.5;
}
#avox-reklamation-wrapper .avox-charging-question {
  margin-top: 0.5rem;
}
#avox-reklamation-wrapper .avox-charging-question-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--avox-gray-700);
  margin-bottom: 0.5rem;
}
#avox-reklamation-wrapper .avox-charging-options {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.4rem;
}
#avox-reklamation-wrapper .avox-charging-radio-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 14px;
  color: var(--avox-gray-700);
  cursor: pointer;
}
#avox-reklamation-wrapper .avox-charging-radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--avox-primary);
  cursor: pointer;
}
#avox-reklamation-wrapper .avox-charging-guide-title {
  font-size: 14px;
  color: #92400e;
  margin-bottom: 0.5rem;
}
#avox-reklamation-wrapper .avox-charging-guide-steps {
  font-size: 14px;
  color: #92400e;
  padding-left: 1.25rem;
  margin: 0 0 1rem 0;
  line-height: 1.6;
}
#avox-reklamation-wrapper .avox-charging-guide-steps li {
  margin-bottom: 0.35rem;
}
#avox-reklamation-wrapper .avox-charger-warning {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--avox-red-light);
  border: 1px solid #fecaca;
  border-radius: var(--avox-radius);
  font-size: 14px;
  color: #991b1b;
  line-height: 1.5;
}

/* --- Customer Type Toggle --- */
#avox-reklamation-wrapper .avox-customer-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--avox-primary);
  border-radius: 17px;
  overflow: hidden;
}
#avox-reklamation-wrapper .avox-toggle-btn {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: none;
  background: var(--avox-white);
  color: var(--avox-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
#avox-reklamation-wrapper .avox-toggle-btn:first-child {
  border-right: 1px solid var(--avox-primary);
}
#avox-reklamation-wrapper .avox-toggle-btn.active {
  background: var(--avox-primary);
  color: var(--avox-white);
}
#avox-reklamation-wrapper .avox-toggle-btn:hover:not(.active) {
  background: var(--avox-primary-light);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 768px) {
  .avox-process-steps { grid-template-columns: 1fr 1fr; }

  #avox-reklamation-wrapper .wizard-progress { padding: 1rem; gap: 0.25rem; flex-wrap: wrap; }
  #avox-reklamation-wrapper .progress-step .step-label { display: none; }
  #avox-reklamation-wrapper #wizard-content { padding: 1.25rem; }
  #avox-reklamation-wrapper .wizard-nav { padding: 0.75rem 1.25rem 1.25rem; }

  #avox-reklamation-wrapper .form-row { grid-template-columns: 1fr; }
  #avox-reklamation-wrapper .problem-type-grid { grid-template-columns: 1fr 1fr; }

  #avox-reklamation-wrapper .review-row { flex-direction: column; gap: 0.15rem; }
  #avox-reklamation-wrapper .review-label { min-width: unset; }

  #avox-reklamation-wrapper .avox-ear-layout { flex-direction: column; gap: 1rem; }
  #avox-reklamation-wrapper .avox-ear-diagram { flex: none; max-width: 180px; margin: 0 auto; }
  #avox-reklamation-wrapper .avox-zone-table thead th { font-size: 11px; }
  #avox-reklamation-wrapper .avox-zone-table thead tr:first-child th { font-size: 11px; }

  #avox-reklamation-wrapper .avox-charging-options { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 480px) {
  .avox-process-steps { grid-template-columns: 1fr; }
  #avox-reklamation-wrapper .problem-type-grid { grid-template-columns: 1fr; }

  /* Ear zone matrix: prevent overflow on narrow screens */
  #avox-reklamation-wrapper .avox-ear-zone-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #avox-reklamation-wrapper .avox-zone-table { font-size: 12px; min-width: 320px; }
  #avox-reklamation-wrapper .avox-zone-table thead th { font-size: 10px; white-space: normal; padding: 0.3rem 0.15rem; }
  #avox-reklamation-wrapper .avox-zone-table thead tr:first-child th { font-size: 10px; }
  #avox-reklamation-wrapper .avox-zone-table tbody td { padding: 0.4rem 0.15rem; }
  #avox-reklamation-wrapper .avox-zone-table input[type="checkbox"] { width: 16px; height: 16px; }
  #avox-reklamation-wrapper .avox-zone-table tbody td.avox-zone-label { width: 28px; }
}
