/* 
 * Audovo Call Flow Interactive Demo Styles
 * Inherits and extends variables from midcentury.css
 */

/* ── Container Layout ────────────────────────────────────────────── */
.demo-studio-container {
  display: grid;
  grid-template-columns: 320px 1fr 340px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  align-items: start;
}

@media (max-width: 1200px) {
  .demo-studio-container {
    grid-template-columns: 1fr 1fr;
  }
  .demo-flow-diagram-col {
    grid-column: span 2;
    order: -1;
  }
}

@media (max-width: 768px) {
  .demo-studio-container {
    grid-template-columns: 1fr;
  }
  .demo-flow-diagram-col {
    grid-column: span 1;
  }
}

/* ── Phone Simulator (Softphone) ────────────────────────────────── */
.demo-phone-wrapper {
  background: #102F28;
  border-radius: 40px;
  border: 8px solid #232B29;
  box-shadow: 0 20px 50px rgba(16, 47, 40, 0.3), 0 0 0 1px rgba(250, 246, 238, 0.1);
  padding: 16px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 580px;
  display: flex;
  flex-direction: column;
  color: #FAF6EE;
  font-family: 'Outfit', sans-serif;
  user-select: none;
}

/* Speaker notch */
.demo-phone-notch {
  width: 110px;
  height: 18px;
  background: #232B29;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Screen area */
.demo-phone-screen {
  background: #133931;
  border-radius: 28px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 12px;
  padding-top: 20px;
}

/* Caller info */
.demo-phone-header {
  text-align: center;
  margin: 20px 0 10px;
}
.demo-phone-biz {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FAF6EE;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.demo-phone-num {
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.6);
  letter-spacing: 0.5px;
}
.demo-phone-status {
  font-size: 0.78rem;
  color: #E2A63B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #E2A63B;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.active {
  background-color: #5B7B43;
  box-shadow: 0 0 8px #5B7B43;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Ringing animation */
.ringing-waves {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ringing-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(200, 83, 42, 0.15);
  position: absolute;
  animation: ring-wave-animation 2s infinite ease-out;
  border: 1.5px solid rgba(200, 83, 42, 0.3);
}
.ringing-circle:nth-child(2) {
  animation-delay: 0.6s;
}
.ringing-circle:nth-child(3) {
  animation-delay: 1.2s;
}
.ringing-icon {
  width: 50px;
  height: 50px;
  background: var(--color-terracotta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(200, 83, 42, 0.4);
}

@keyframes ring-wave-animation {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Dialer Grid */
.demo-dialer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
  padding: 10px 10px;
  margin-top: auto;
}

.dial-btn {
  background: rgba(250, 246, 238, 0.08);
  border: 1px solid rgba(250, 246, 238, 0.1);
  color: #FAF6EE;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Outfit', sans-serif;
}

.dial-btn:hover {
  background: rgba(250, 246, 238, 0.18);
  border-color: rgba(250, 246, 238, 0.3);
  transform: scale(1.05);
}

.dial-btn:active, .dial-btn.active {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 83, 42, 0.4);
  transform: scale(0.95);
}

.dial-digit {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.dial-letters {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.4);
  font-weight: 500;
}

.dial-btn.active .dial-letters {
  color: rgba(255, 255, 255, 0.7);
}

/* Call Actions */
.demo-phone-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  padding-bottom: 10px;
}
.btn-phone-action {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-phone-action:hover {
  transform: scale(1.08);
}
.btn-phone-action.hangup {
  background: #e74c3c;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.35);
}
.btn-phone-action.answer {
  background: var(--color-olive);
  box-shadow: 0 4px 12px rgba(91, 123, 67, 0.35);
}
.btn-phone-action.replay {
  background: var(--color-dusty-teal);
  box-shadow: 0 4px 12px rgba(111, 150, 146, 0.35);
}

/* Option Cards (Alternate Keypad selection) */
.options-overlay {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 12px;
  border-radius: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}
.options-overlay::-webkit-scrollbar {
  width: 4px;
}
.options-overlay::-webkit-scrollbar-track {
  background: transparent;
}
.options-overlay::-webkit-scrollbar-thumb {
  background: rgba(250, 246, 238, 0.2);
  border-radius: 2px;
}
.options-overlay.show {
  opacity: 1;
}
.options-title {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #E2A63B;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  pointer-events: none;
}
.option-card-btn {
  background: rgba(16, 47, 40, 0.94);
  border: 1px solid rgba(250, 246, 238, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 6px;
  text-align: left;
  color: #FAF6EE;
  font-size: 0.74rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.option-card-btn:hover {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
}
.option-card-badge {
  background: #E2A63B;
  color: #102F28;
  font-weight: 700;
  border-radius: 5px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Captions display */
.phone-caption-area {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(250, 246, 238, 0.95);
  text-align: center;
  min-height: 70px;
  margin: 15px 0;
  border-left: 3px solid var(--color-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SMS Chat Panel */
.phone-sms-panel {
  display: flex;
  flex-direction: column;
  height: 380px;
  padding: 4px;
  overflow-y: auto;
}
.sms-bubble {
  max-width: 85%;
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  line-height: 1.4;
  position: relative;
  word-wrap: break-word;
}
.sms-bubble.sent {
  background: var(--color-forest-pill);
  color: #FAF6EE;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.sms-bubble.received {
  background: #FAF6EE;
  color: #232B29;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.sms-label {
  font-size: 0.6rem;
  color: rgba(250, 246, 238, 0.45);
  margin-bottom: 2px;
  text-transform: uppercase;
}
.sms-bubble.received .sms-label {
  color: rgba(35, 43, 41, 0.5);
}

/* SMS Input Bar */
.sms-input-bar {
  display: flex;
  gap: 8px;
  background: rgba(250, 246, 238, 0.08);
  border: 1px solid rgba(250, 246, 238, 0.15);
  border-radius: 20px;
  padding: 6px 12px;
  margin-top: auto;
  margin-bottom: 4px;
  align-items: center;
}
.sms-input-bar input {
  background: transparent;
  border: none;
  color: #FAF6EE;
  font-size: 0.8rem;
  flex: 1;
  outline: none;
}
.sms-input-bar input::placeholder {
  color: rgba(250, 246, 238, 0.4);
}
.sms-input-bar button {
  background: var(--color-terracotta);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 0.2s;
}
.sms-input-bar button:hover {
  background: var(--color-terracotta-hover);
}


/* Voicemail Recorder state */
.phone-voicemail-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 250px;
  text-align: center;
}
.vm-tape-anim {
  width: 90px;
  height: 45px;
  background: rgba(250, 246, 238, 0.05);
  border: 2.5px solid rgba(250, 246, 238, 0.25);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
}
.vm-reel {
  width: 24px;
  height: 24px;
  border: 2px dashed rgba(250, 246, 238, 0.4);
  border-radius: 50%;
  animation: spin 3s linear infinite;
}
.vm-reel.paused {
  animation-play-state: paused;
}
.vm-bar-visualizer {
  display: flex;
  gap: 3px;
  height: 30px;
  align-items: center;
  margin-top: 10px;
}
.vm-visual-bar {
  width: 3px;
  height: 5px;
  background: var(--color-terracotta);
  border-radius: 2px;
  animation: sound-bounce 0.8s ease infinite alternate;
}
.vm-visual-bar:nth-child(2) { animation-delay: 0.15s; }
.vm-visual-bar:nth-child(3) { animation-delay: 0.3s; }
.vm-visual-bar:nth-child(4) { animation-delay: 0.45s; }
.vm-visual-bar:nth-child(5) { animation-delay: 0.1s; }

@keyframes sound-bounce {
  0% { height: 5px; }
  100% { height: 26px; }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ── Live Call-Flow Diagram ──────────────────────────────────────── */
.demo-flow-diagram-col {
  background: #FAF6EE;
  border: var(--border-midcentury);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-midcentury);
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

.flow-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.flow-nodes-container {
  position: relative;
  flex: 1;
  z-index: 2;
  min-height: 480px;
}

.flow-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1.5px solid rgba(16, 47, 40, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(16, 47, 40, 0.04);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-forest);
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-node i {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Node statuses styling */
.flow-node.active {
  background: #102F28;
  color: #FAF6EE;
  border-color: var(--color-terracotta);
  box-shadow: 0 8px 24px rgba(16, 47, 40, 0.15), 0 0 0 4px rgba(200, 83, 42, 0.2);
  transform: translate(-50%, -50%) scale(1.08);
}

.flow-node.inactive {
  background: #EAE5DB;
  color: rgba(16, 47, 40, 0.45);
  border-color: rgba(16, 47, 40, 0.08);
  box-shadow: none;
  opacity: 1;
}

.flow-node[style*="cursor: pointer"] {
  transition: all 0.25s ease;
}

.flow-node[style*="cursor: pointer"]:hover {
  border-color: var(--color-terracotta);
  background: #fff;
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 6px 18px rgba(200, 83, 42, 0.15);
  z-index: 999 !important;
}

/* Connections styling */
.flow-connection-path {
  fill: none;
  stroke: rgba(16, 47, 40, 0.12);
  stroke-width: 2.5;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.flow-connection-path.active {
  stroke: var(--color-terracotta);
  stroke-width: 3.5;
  stroke-dasharray: 6 4;
  animation: flow-dash-move 0.8s linear infinite;
}

@keyframes flow-dash-move {
  to {
    stroke-dashoffset: -20;
  }
}

/* Type icons mapping colors */
.flow-node[data-type="incoming"] i { color: var(--color-dusty-teal); }
.flow-node[data-type="menu"] i { color: var(--color-mustard); }
.flow-node[data-type="team"] i { color: var(--color-olive); }
.flow-node[data-type="schedule"] i { color: var(--color-coral); }
.flow-node[data-type="escalation"] i { color: var(--color-terracotta); }
.flow-node[data-type="connected"] i { color: var(--color-olive); }
.flow-node[data-type="voicemail"] i { color: var(--color-coral); }
.flow-node[data-type="sms"] i { color: var(--color-dusty-teal); }

.flow-node.active i {
  color: #fff !important;
}

/* ── Activity Panel ──────────────────────────────────────────────── */
.demo-activity-panel {
  background: #102F28;
  border-radius: 20px;
  border: 1px solid rgba(250, 246, 238, 0.08);
  box-shadow: 0 10px 30px rgba(16, 47, 40, 0.15);
  display: flex;
  flex-direction: column;
  height: 580px;
  color: #FAF6EE;
  font-family: 'Courier New', monospace;
  overflow: hidden;
}

.activity-header {
  background: rgba(255,255,255,0.04);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.activity-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FAF6EE !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5B7B43;
  box-shadow: 0 0 8px #5B7B43;
}

.activity-logs {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  font-size: 0.78rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-row {
  opacity: 0;
  transform: translateY(6px);
  animation: log-fade-in 0.3s forwards ease-out;
}

@keyframes log-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

.log-time {
  color: #A3C6C2;
  font-weight: bold;
  margin-right: 8px;
}

.log-msg {
  color: rgba(250, 246, 238, 0.88);
}

.log-sys {
  color: #E2A63B;
  font-weight: bold;
}

/* ── Result Cards ───────────────────────────────────────────────── */
.closing-result-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(16,47,40,0.12);
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(16,47,40,0.08);
  margin-top: 10px;
  animation: scale-up 0.4s ease-out;
}

@keyframes scale-up {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.result-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: #102F28 !important;
}
.result-check-item span {
  color: #102F28 !important;
}
.result-check-item i {
  color: var(--color-olive) !important;
  font-size: 1.1rem;
  margin-top: 2px;
}

/* ── Opening Card ────────────────────────────────────────────────── */
.opening-scene-card {
  background: #FAF6EE;
  border: var(--border-midcentury);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 580px;
  margin: 60px auto;
  box-shadow: var(--shadow-midcentury);
  animation: scale-up 0.45s ease-out;
}

.opening-scene-logo {
  color: var(--color-terracotta);
  height: 28px;
  margin-bottom: 24px;
  display: inline-block;
}
.opening-scene-logo svg {
  height: 100%;
}

.opening-icon-graphic {
  font-size: 3rem;
  color: var(--color-terracotta);
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ── Studio 16:9 Capture Canvas View ───────────────────────────────── */
.studio-canvas-mode {
  background: #FAF6EE;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.studio-aspect-ratio-box {
  width: 1920px;
  height: 1080px;
  background: #FAF6EE;
  position: relative;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  padding: 48px 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.studio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.studio-header-title h2 {
  font-family: 'Fraunces', serif !important;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: var(--color-forest) !important;
  margin: 0;
}
.studio-header-title p {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.1rem !important;
  color: var(--color-dusty-teal) !important;
  margin: 4px 0 0 0;
  font-weight: 500;
}

.studio-grid {
  display: grid;
  grid-template-columns: 440px 1fr 440px;
  gap: 40px;
  flex: 1;
  min-height: 0; /* allows columns to shrink correctly */
}

/* Scaling elements for video capture legibility */
.studio-canvas-mode .demo-phone-wrapper {
  max-width: 440px;
  height: 720px;
  border-width: 12px;
  border-radius: 50px;
  padding: 24px;
}
.studio-canvas-mode .demo-phone-screen {
  border-radius: 36px;
  padding: 20px;
}
.studio-canvas-mode .demo-phone-biz {
  font-size: 1.6rem;
}
.studio-canvas-mode .demo-phone-num {
  font-size: 1.1rem;
}
.studio-canvas-mode .demo-phone-status {
  font-size: 1rem;
}
.studio-canvas-mode .phone-caption-area {
  font-size: 1.15rem;
  line-height: 1.5;
  min-height: 100px;
  padding: 14px 18px;
}
.studio-canvas-mode .dial-digit {
  font-size: 1.8rem;
}
.studio-canvas-mode .dial-letters {
  font-size: 0.75rem;
}
.studio-canvas-mode .sms-bubble {
  font-size: 1.15rem;
}
.studio-canvas-mode .sms-label {
  font-size: 0.8rem;
}
.studio-canvas-mode .vm-tape-anim {
  width: 130px;
  height: 65px;
}
.studio-canvas-mode .vm-reel {
  width: 34px;
  height: 34px;
}

.studio-canvas-mode .demo-flow-diagram-col {
  min-height: 720px;
  padding: 32px;
}
.studio-canvas-mode .flow-node {
  font-size: 1.15rem;
  padding: 14px 20px;
  border-radius: 16px;
}
.studio-canvas-mode .flow-node.active {
  box-shadow: 0 12px 30px rgba(16, 47, 40, 0.2), 0 0 0 6px rgba(200, 83, 42, 0.25);
}

.studio-canvas-mode .demo-activity-panel {
  height: 720px;
}
.studio-canvas-mode .activity-title {
  font-size: 1.25rem !important;
}
.studio-canvas-mode .activity-logs {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ── Recording Toolbar ───────────────────────────────────────────── */
.studio-toolbar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16, 47, 40, 0.95);
  border: 1px solid rgba(250, 246, 238, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 24px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 100000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.studio-toolbar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.toolbar-btn {
  background: transparent;
  border: none;
  color: #FAF6EE;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
}

.toolbar-btn:hover {
  background: rgba(250, 246, 238, 0.15);
  color: var(--color-mustard);
}

.toolbar-btn:active {
  transform: scale(0.95);
}

.toolbar-btn.active {
  color: var(--color-mustard);
  background: rgba(250, 246, 238, 0.1);
}

.toolbar-separator {
  width: 1px;
  height: 24px;
  background: rgba(250, 246, 238, 0.15);
}

.toolbar-select {
  background: rgba(250, 246, 238, 0.08);
  border: 1px solid rgba(250, 246, 238, 0.15);
  color: #FAF6EE;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

.toolbar-select option {
  background: #102F28;
  color: #FAF6EE;
}

/* Mouse cursor hiding helper */
.hide-cursor {
  cursor: none !important;
}
.hide-cursor * {
  cursor: none !important;
}

/* ── Interactive Scenario selector grid ─────────────────────────── */
.scenario-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 992px) {
  .scenario-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .scenario-selector-grid {
    grid-template-columns: 1fr;
  }
}

.scenario-card {
  background: #fff;
  border: var(--border-midcentury);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-midcentury);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-dusty-teal);
  transition: background 0.25s ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(16, 47, 40, 0.08);
}

.scenario-card:hover::before, .scenario-card.active::before {
  background: var(--color-terracotta);
}

.scenario-card.active {
  border-color: var(--color-terracotta);
  box-shadow: 0 12px 36px rgba(200, 83, 42, 0.06);
  background: #FAF6EE;
}

.scenario-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(111, 150, 146, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dusty-teal);
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.scenario-card.active .scenario-card-icon {
  background: rgba(200, 83, 42, 0.1);
  color: var(--color-terracotta);
}

.scenario-card-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 8px;
}

.scenario-card-desc {
  font-size: 0.85rem;
  color: var(--color-charcoal);
  opacity: 0.8;
  line-height: 1.5;
  flex: 1;
}

/* ── Generic Utilities ─────────────────────────────────────────── */
.disclaimer-banner {
  background: rgba(226,166,59,0.06);
  border: 1px solid rgba(226,166,59,0.2);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-charcoal);
  margin-bottom: 24px;
}

.tp-btn.sm-btn {
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  border-radius: 6px !important;
}

.demo-fullscreen-overlay {
  background: rgba(16,47,40,0.98);
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FAF6EE;
  text-align: center;
}
