/* ============================================================
 * Wizard Modal – 2:3 Portrait Layout mit Hintergrundbild
 * File: HeroX\assets\css\create_wizard_modal.css
 * ============================================================ */

/* Modal-Dialog: Schmal, zentriert, max-height begrenzt */

.wizard-modal-dialog {
  max-width: 400px;
}

/* Modal-Content: 2:3 Verhältnis, overflow hidden */
.wizard-modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  min-height: 560px;
  /* Flexbox für vertikales Layout */
  display: flex;
  flex-direction: column;
}

/* Hintergrundbild – füllt gesamtes Modal */
.wizard-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  transition: background-image 0.5s ease;
}

/* Dunkler Gradient-Overlay für Lesbarkeit */
.wizard-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.30) 60%,
    rgba(0,0,0,0.75) 100%
  );
  backdrop-filter: none;
}

/* Form-Inputs: Stärkerer eigener Hintergrund für Lesbarkeit */
.wizard-input {
  background: rgba(0,0,0,0.55) !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: #fff !important;
  backdrop-filter: blur(6px);
}
.wizard-input::placeholder {
  color: rgba(255,255,255,0.5) !important;
}
.wizard-input:focus {
  background: rgba(0,0,0,0.65) !important;
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25) !important;
}

/* Labels: Text-Shadow für Lesbarkeit auf jedem Bild */
.wizard-modal-content .form-label,
.wizard-modal-content h6,
.wizard-modal-content .modal-title {
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Summary Card: Stärkerer Hintergrund */
.wizard-summary-card {
  background: rgba(0,0,0,0.50);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* Alert: Ebenfalls stärker */
.wizard-alert {
  background: rgba(25,135,84,0.25);
  border-color: rgba(25,135,84,0.4);
  color: #fff;
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Step-Indicators: Eigener Kontrast */

/* Alert transparent */
.wizard-alert {
  background: rgba(25,135,84,0.15);
  border-color: rgba(25,135,84,0.3);
  color: rgba(255,255,255,0.9);
}

/* Step-Indicators: Alle States */
.wizard-step {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  background: rgba(0,0,0,0.45);
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  transition: all 0.25s ease;
}
.wizard-step.active {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(13,110,253,0.4);
}
.wizard-step.completed {
  background: var(--bs-success);
  border-color: var(--bs-success);
  color: #fff;
}
.wizard-line {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.15);
  transition: background 0.25s ease;
}
.wizard-line.completed {
  background: var(--bs-success);
}

/* Footer Buttons */
.wizard-modal-content .modal-footer {
  background: transparent;
}

/* Responsive: Auf sehr kleinen Screens etwas anpassen */
@media (max-height: 650px) {
  .wizard-modal-content {
    min-height: 480px;
  }
}