/* Inspire Design — Wizards (chestionar per cameră înainte de generare) */

.iw-wiz {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
.iw-wiz.is-open { opacity: 1; visibility: visible; }

.iw-wiz__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
}

.iw-wiz__dialog {
  position: relative;
  background: #fff;
  border-radius: 24px;
  width: min(560px, 94%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}

.iw-wiz__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: #888;
  font-size: 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.iw-wiz__close:hover { background: #f5f5f5; color: #1a1a1a; }

.iw-wiz__progress {
  height: 3px;
  background: #f0f0f0;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.iw-wiz__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1a1a1a, #ff5555);
  width: 0%;
  transition: width .3s cubic-bezier(.4,0,.2,1);
}

.iw-wiz__head {
  padding: 24px 32px 16px;
}
.iw-wiz__step {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 8px;
}
.iw-wiz__title {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.iw-wiz__hint {
  font-size: 12px;
  color: #888;
  font-weight: 300;
  margin: 0;
  line-height: 1.5;
}

.iw-wiz__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 32px 16px;
  display: grid;
  gap: 8px;
}

.iw-wiz__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #1a1a1a;
  transition: border-color .15s, background .15s;
}
.iw-wiz__opt:hover { border-color: #1a1a1a; background: #fafafa; }
.iw-wiz__opt input { accent-color: #1a1a1a; flex-shrink: 0; }
.iw-wiz__opt:has(input:checked) {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}
.iw-wiz__opt:has(input:checked) input { accent-color: #fff; }

/* Multi-input fields */
.iw-wiz__inputs {
  display: grid;
  gap: 12px;
}
.iw-wiz__input-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 14px;
  align-items: center;
}
.iw-wiz__input-row > span {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 400;
}
.iw-wiz__input-row input {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  outline: 0;
  background: #fff;
}
.iw-wiz__input-row input:focus { border-color: #1a1a1a; }

.iw-wiz__textarea {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  min-height: 100px;
  resize: vertical;
  outline: 0;
}
.iw-wiz__textarea:focus { border-color: #1a1a1a; }

.iw-wiz__foot {
  display: flex;
  gap: 8px;
  padding: 16px 32px 24px;
  border-top: 1px solid #f0f0f0;
}
.iw-wiz__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 999px;
  padding: 11px 22px;
  border: 0;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.iw-wiz__btn--ghost {
  background: transparent;
  color: #888;
}
.iw-wiz__btn--ghost:hover { background: #f5f5f5; color: #1a1a1a; }
.iw-wiz__btn--primary {
  background: #1a1a1a;
  color: #fff;
  margin-left: auto;
}
.iw-wiz__btn--primary:hover { transform: translateY(-1px); }
.iw-wiz__btn.is-shake {
  animation: iw-shake .35s;
  background: #ff5555 !important;
}
@keyframes iw-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

body.iw-wiz-open { overflow: hidden; }

@media (max-width: 540px) {
  .iw-wiz__dialog { border-radius: 18px; width: 96%; }
  .iw-wiz__head { padding: 20px 20px 12px; }
  .iw-wiz__body { padding: 8px 20px 12px; }
  .iw-wiz__foot { padding: 12px 20px 18px; flex-wrap: wrap; }
  .iw-wiz__title { font-size: 19px; }
  .iw-wiz__input-row { grid-template-columns: 1fr; gap: 4px; }
}
