/* gpt-wizard.css – Instructions Wizard Modal */
#cb-gpt-wizard-modal {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(15,20,30,0.53);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .18s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cb-gpt-wizard-modal-inner {
  background: #fff;
  padding: 32px 28px 22px 28px;
  border-radius: 18px;
  box-shadow: 0 12px 40px #0f182040;
  max-width: 440px;
  width: 100%;
  position: relative;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.cb-gpt-wizard-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7d8795;
  cursor: pointer;
  transition: color .13s;
}
.cb-gpt-wizard-close:hover { color: #ff5a5f; }
.cb-gpt-wizard-body {
  margin-top: 10px;
}
.cb-gpt-wizard-question,
.cb-gpt-wizard-result-text {
  width: 100%;
  border-radius: 8px;
  border: 1.4px solid #cbe8dd;
  background: #f9fcfd;
  font-size: 1.07em;
  padding: 11px 13px;
  margin-bottom: 14px;
  transition: border .15s;
  resize: vertical;
}
.cb-gpt-wizard-question:focus,
.cb-gpt-wizard-result-text:focus {
  border-color: var(--cb-accent, #2563eb);
  outline: none;
}
.cb-gpt-wizard-ask,
.cb-gpt-wizard-apply {
  background: var(--cb-accent, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  padding: 11px 26px;
  font-size: 1.07em;
  margin: 0 4px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--cb-accent, #2563eb)12;
  transition: background .13s;
}
.cb-gpt-wizard-ask:hover,
.cb-gpt-wizard-apply:hover {
  background: #168b74;
}
.cb-gpt-wizard-loading {
  text-align: center;
  color: #888;
  margin: 12px 0 12px 0;
  font-weight: 500;
  font-size: 1.05em;
  letter-spacing: .02em;
}
.cb-gpt-wizard-result {
  margin-top: 10px;
}
.cb-gpt-wizard-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
}
@media (max-width: 600px) {
  .cb-gpt-wizard-modal-inner {
    max-width: 98vw;
    padding: 13px 5vw 10px 5vw;
  }
}
.cb-gpt-wizard-modal-inner.cb-gpt-wizard-large {
  max-width: 740px;
  min-width: 540px;
  min-height: 500px;
  padding: 40px 32px 28px 32px;
  font-size: 1.1em;
  box-shadow: 0 12px 60px rgba(0,0,0,0.21);
}

.cb-gpt-wizard-modal-inner.cb-gpt-wizard-large h2 {
  font-size: 2em;
  margin-bottom: 12px;
}

.cb-gpt-wizard-body {
  width: 100%;
  min-height: 320px;
}

.cb-gpt-wizard-modal-inner input,
.cb-gpt-wizard-modal-inner select,
.cb-gpt-wizard-modal-inner textarea {
  font-size: 1.09em;
  padding: 11px 13px;
  border-radius: 8px;
  margin-top: 5px;
  margin-bottom: 10px;
  width: 100%;
}

.cb-gpt-wizard-modal-inner textarea {
  min-height: 55px;
  max-width: 100%;
}

.cb-gpt-wizard-actions {
  display: flex;
  flex-direction: row;
  gap: 1em;
  margin-top: 14px;
}
.cb-gpt-wizard-apply,
.cb-gpt-wizard-revise {
  background: var(--cb-accent, #2563eb);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.07em;
  padding: 12px 34px;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(26,188,156,0.09);
  transition: background .13s, box-shadow .13s;
}
.cb-gpt-wizard-apply:hover,
.cb-gpt-wizard-revise:hover {
  background: #159f85;
}
@media (max-width: 900px) {
  .cb-gpt-wizard-modal-inner.cb-gpt-wizard-large { min-width: unset; width: 95vw; }
}
.cb-gpt-wizard-steps .wizard-next,
.cb-gpt-wizard-steps .wizard-prev {
  background: var(--cb-accent, #2563eb) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 18px !important;
  font-weight: 700 !important;
  padding: 11px 28px !important;
  font-size: 1.08em !important;
  margin: 15px 8px 0 0 !important;
  cursor: pointer !important;
  box-shadow: 0 1px 8px rgba(26,188,156,0.13) !important;
  transition: background 0.15s, box-shadow 0.15s, filter 0.14s !important;
  outline: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.cb-gpt-wizard-steps .wizard-next:hover,
.cb-gpt-wizard-steps .wizard-prev:hover {
  background: #179a7c !important;
  color: #e0fff7 !important;
  box-shadow: 0 4px 16px rgba(26,188,156,.21) !important;
}

.cb-gpt-wizard-steps .wizard-next:active,
.cb-gpt-wizard-steps .wizard-prev:active {
  filter: brightness(0.97) !important;
  transform: scale(0.97) !important;
}

.cb-gpt-wizard-steps .wizard-next:not(:last-child),
.cb-gpt-wizard-steps .wizard-prev:not(:last-child) {
  margin-right: 10px !important;
}

@media (max-width: 600px) {
  .cb-gpt-wizard-steps .wizard-next,
  .cb-gpt-wizard-steps .wizard-prev {
    width: 100% !important;
    margin: 12px 0 0 0 !important;
    font-size: 1.03em !important;
    padding: 13px 0 !important;
  }
}
