/* ── Autobahn-Abo Plugin Styles ───────────────────────────────────────────── */

#aabo-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  width: 100%;
}

/* Erfolgs-Meldung */
#aabo-success {
  display: none;
  background: #edfaf3;
  border: 1px solid #b6e8cf;
  border-radius: 10px;
  padding: 28px 24px;
  font-size: 15px;
  color: #1a6638;
  text-align: center;
  line-height: 1.6;
}

.aabo-success-icon {
  font-size: 36px;
  margin: 0 0 10px;
}

/* Label-Zeile */
.aabo-field-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.aabo-required {
  color: #E8500A;
}

.aabo-ab-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.aabo-ab-actions button {
  font-size: 11px;
  color: #E8500A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aabo-divider {
  color: #ddd;
  font-size: 12px;
}

/* Autobahn Grid */
#aabo-ab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 6px;
  width: 100%;
  margin-bottom: 10px;
}

#aabo-ab-grid label {
  display: contents;
}

#aabo-ab-grid input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.aabo-ab-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  background: #f5f5f3;
  color: #444;
  border: 1px solid #e0deda;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  user-select: none;
  text-align: center;
  font-family: 'Courier New', monospace;
}

.aabo-ab-tag:hover {
  background: #ebebea;
  border-color: #bbb;
}

.aabo-ab-tag.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* Zähler */
.aabo-count {
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
  min-height: 16px;
}

.aabo-count strong {
  color: #E8500A;
}

/* Felder */
.aabo-field {
  margin-bottom: 16px;
}

.aabo-field input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.aabo-field input[type="email"]:focus {
  border-color: #1a1a1a;
}

/* DSGVO */
.aabo-dsgvo-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  font-weight: 400;
}

.aabo-dsgvo-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #1a1a1a;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.aabo-dsgvo-label a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit */
#aabo-submit {
  width: 100%;
  padding: 13px;
  background: #E8500A;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

#aabo-submit:hover   { background: #cc4508; }
#aabo-submit:active  { transform: scale(0.99); }
#aabo-submit:disabled { background: #ccc; cursor: not-allowed; }

/* Fehler */
#aabo-error {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: #c0392b;
  background: #fdf0ee;
  border-radius: 7px;
  padding: 10px 14px;
}

/* Hinweis */
.aabo-hinweis {
  margin-top: 12px;
  font-size: 11px;
  color: #bbb;
  text-align: center;
  line-height: 1.6;
}
