


/* === Overlay Container === */
#investor-wizard-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 10010;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease;
}

/* Active state (JS adds .active when overlay should show) */
#investor-wizard-container.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* === Inner Box === */
.investor-wizard-box {
  background: none;
  color: #ffffff;
  width: 95%;
  border-radius: 12px;
  padding: 30px 15px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

:root[data-theme='dark'] .investor-wizard-box {
  color: #e0e0e0;
}

/* === Close Button === */
#investor-wizard-close {
  position: absolute;
  top: -40px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

:root[data-theme='dark'] #investor-wizard-close {
  color: #ffffff;
}

/* === Step Sections === */
.iw-step {
  margin-bottom: 2rem;
}

.iw-step h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.iw-step p,
.iw-hint {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* === Input Styling === */
.iw-step input[type="text"],
.iw-step input[type="number"] {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

:root[data-theme='dark'] .iw-step input[type="text"],
:root[data-theme='dark'] .iw-step input[type="number"] {
  background: #1e1e1e;
  border: 1px solid #333;
  color: #eee;
}

.iw-sub-label {
  display: block;
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* === Buttons === */
.iw-next-btn,
.iw-back-btn {
  margin-top: 1rem;
  background-color: #ff4500;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.iw-next-btn:hover,
.iw-back-btn:hover {
  background-color: #e03e00;
}

.iw-btn-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

/* === Chip Grid === */
.iw-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 1rem;
}

.iw-chip {
  background: #f5f5f5;
  color: #333;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.iw-chip:hover {
  background: #eee;
}

.iw-chip.selected {
  background: #ff4500;
  color: #fff;
  font-weight: bold;
  border: 1px solid #ff4500;
}

:root[data-theme='dark'] .iw-chip {
  background: #2a2a2a;
  color: #ddd;
}

:root[data-theme='dark'] .iw-chip:hover {
  background: #333;
}

:root[data-theme='dark'] .iw-chip.selected {
  background: #ff4500;
  color: #fff;
}

/* === Loading === */
.iw-loading {
  font-size: 1.25rem;
  text-align: center;
  padding: 2rem 1rem;
  animation: iwPulse 1.2s infinite ease-in-out;
  color: #ff4500;
}

@keyframes iwPulse {
  0%   { opacity: 0.3; }
  50%  { opacity: 1; }
  100% { opacity: 0.3; }
}

/* === Mascot Bounce === */
.homeboy-bounce {
  width: 60px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
  animation: homeboyBounce 1.6s ease-in-out 6;
}

@keyframes homeboyBounce {
  0%, 100% { transform: translateY(0); }
  25%      { transform: translateY(-8px); }
  50%      { transform: translateY(0); }
  75%      { transform: translateY(-4px); }
}

/* === Summary Output === */
#iw-ai-output {
  margin-top: 1rem;
}

/* Paragraph spacing inside AI output */
#iw-ai-output p {
  margin-bottom: 16px;
}


/* === Full-Width Option Blocks for Asset Class === */
.iw-fullwidth-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 1rem;
}

.iw-fullwidth-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f5f5f5;
  color: #333;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.iw-fullwidth-option:hover {
  background: #ebebeb;
}

.iw-fullwidth-option.selected {
  background: #ff4500;
  color: #fff;
  border: 1px solid #ff4500;
}

.iw-fullwidth-option strong {
  font-size: 1.1rem;
  margin-bottom: 4px;
  display: block;
}

:root[data-theme='dark'] .iw-fullwidth-option {
  background: #2a2a2a;
  color: #ddd;
}

:root[data-theme='dark'] .iw-fullwidth-option:hover {
  background: #333;
}

:root[data-theme='dark'] .iw-fullwidth-option.selected {
  background: #ff4500;
  color: #fff;
}