.lp-auto {
  margin: 12px auto;
  width: 100%;
  max-width: 1200px;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .lp-auto {
    margin: 10px auto;
  }
}
@media (max-width: 600px) {
  .lp-auto {
    margin: 6px auto;
  }
}

/* ===== SEITENSTRUKTUR ===== */
main {
  padding-top: 12px;
}

/* ===== CONTAINER ===== */
.importer-container {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 18px;
  max-width: 800px;
  margin: 0 auto 18px;
}

/* ===== HEADER ===== */
.importer-header {
  margin-bottom: 18px;
}
.importer-header h1, .importer-header h2, .importer-header h3 {
  color: var(--color-text-primary);
  margin: 0 0 10px 0;
}

/* ===== INFO BOXES ===== */
.info-box {
  background: rgba(66, 133, 244, 0.1);
  border-left: 4px solid #4285f4;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 12px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.info-box strong {
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 6px;
}
.info-box code {
  background: var(--color-bg-body);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  color: #e89c0a;
  font-size: 13px;
}
.info-box a {
  color: #4285f4;
  text-decoration: none;
  font-weight: 600;
}
.info-box a:hover {
  text-decoration: underline;
}

/* ===== ERROR BOX ===== */
.error-box {
  background: rgba(220, 53, 69, 0.1);
  border-left: 4px solid #dc3545;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 12px;
  color: #dc3545;
  font-weight: 500;
}

/* ===== FORMULAR ===== */
.importer-form {
  margin-bottom: 18px;
}
.importer-form .form-group {
  margin-bottom: 12px;
}
.importer-form .form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  font-size: 14px;
}
.importer-form .form-group input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.importer-form .form-group input[type="text"]::placeholder {
  color: var(--color-text-muted);
}
.importer-form .form-group input[type="text"]:hover {
  border-color: #e89c0a;
}
.importer-form .form-group input[type="text"]:focus {
  outline: none;
  border-color: #e89c0a;
  box-shadow: 0 0 0 3px rgba(232, 156, 10, 0.2);
}

/* ===== BUTTONS ===== */
.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.button-group button, .button-group a {
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.button-group button:focus-visible, .button-group a:focus-visible {
  outline: 2px solid #e89c0a;
  outline-offset: 2px;
}
.button-group button svg, .button-group a svg {
  width: 16px;
  height: 16px;
}
.button-group button[type="submit"] {
  background-color: #e89c0a;
  color: white;
  border: 2px solid #e89c0a;
}
.button-group button[type="submit"]:hover {
  background-color: #c18208;
  border-color: #c18208;
}

/* ===== HINWEIS TEXT ===== */
.hint-text {
  color: var(--color-text-secondary);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.6;
}
.hint-text strong {
  color: var(--color-text-primary);
}

/* ===== BEISPIEL BILD ===== */
.example-image {
  margin-top: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
  height: auto;
  display: block;
}
.example-image:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

/* ===== HELPER CLASSES ===== */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

.mb-lg {
  margin-bottom: 12px;
}

.mt-lg {
  margin-top: 12px;
}

/* ===== DARK MODE ANPASSUNGEN ===== */
html[data-theme="dark"] .info-box {
  background: rgba(66, 133, 244, 0.15);
}
html[data-theme="dark"] .error-box {
  background: rgba(220, 53, 69, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .importer-container {
    padding: 12px;
  }

  .button-group {
    flex-direction: column;
  }
  .button-group button, .button-group a {
    width: 100%;
  }
}
