/* ------------------------------
   GLOBAL BACKGROUND
------------------------------ */
#strategy-studio-root.ss-theme-dark {
    background: radial-gradient(circle at 30% 20%, #1a143f 0%, #0f0d28 40%, #050412 100%);
    color: #f2f3f7;
    padding: 40px;
    border-radius: 20px;
}

/* ------------------------------
   TYPOGRAPHY
------------------------------ */
#strategy-studio-root h1,
#strategy-studio-root h2,
#strategy-studio-root label {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(129, 94, 255, 0.35);
}

#strategy-studio-root p {
    color: #d1d4e0;
}

/* ------------------------------
   FORM CARDS — GLASSY PANELS
------------------------------ */
.ss-form-card,
.ss-intro,
.ss-result-card,
.ss-loading-card,
.ss-error-card {
    background: rgba(22, 18, 45, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 32px;
    border: 1px solid rgba(140, 110, 255, 0.25);
    box-shadow:
        0 0 18px rgba(120, 82, 255, 0.22),
        inset 0 0 18px rgba(80, 40, 160, 0.20);
}

/* ------------------------------
   INPUT FIELDS — ROUNDED + GLOW
------------------------------ */
.ss-form input[type="text"],
.ss-form input[type="email"],
.ss-form input[type="url"],
.ss-form input[type="number"],
.ss-form textarea,
.ss-form select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(140,110,255,0.32);
    padding: 12px 16px;
    width: 100%;
    color: #ffffff;
    border-radius: 14px;
    margin-bottom: 14px;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 8px rgba(90, 45, 200, 0.25);
}

.ss-form input:focus,
.ss-form textarea:focus,
.ss-form select:focus {
    border-color: #8b69ff;
    box-shadow:
        0 0 10px rgba(139,105,255,0.45),
        inset 0 0 10px rgba(139,105,255,0.35);
    outline: none;
}

/* ------------------------------
   CTA BUTTONS — PURPLE GLOW
------------------------------ */
.ss-btn,
#ss_submit_btn,
#ss_next_step,
#ss_prev_step,
#ss_start_over,
#ss_download_pdf,
#ss_download_html {
    background: linear-gradient(135deg, #9f7bff 0%, #6d4bff 100%);
    border: none;
    padding: 14px 28px;
    border-radius: 16px;
    color: #ffffff !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 14px rgba(122, 85, 255, 0.45);
}

.ss-btn:hover,
#ss_submit_btn:hover,
#ss_next_step:hover,
#ss_prev_step:hover,
#ss_start_over:hover,
#ss_download_pdf:hover,
#ss_download_html:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 20px rgba(140,110,255,0.75),
        0 0 30px rgba(90,40,180,0.35);
}

/* ------------------------------
   NAV CHIPS — GLOW TABS
------------------------------ */
.ss-chip {
    background: rgba(255,255,255,0.07);
    color: #dcdffc;
    border-radius: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(140,110,255,0.35);
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.25s ease;
}

.ss-chip-active {
    background: linear-gradient(135deg,#9f7bff 0%, #7d5cff 100%);
    color: #fff;
    box-shadow: 0 0 14px rgba(140,110,255,0.6);
}

/* ------------------------------
   LOADING CARD WITH ANIMATED GLOW
------------------------------ */
.ss-loading-card {
    animation: ssGlowPulse 3s ease-in-out infinite;
}

@keyframes ssGlowPulse {
    0% {
        box-shadow: 0 0 14px rgba(100,70,200,0.35);
    }
    50% {
        box-shadow: 0 0 26px rgba(150,110,255,0.55);
    }
    100% {
        box-shadow: 0 0 14px rgba(100,70,200,0.35);
    }
}
/* Force placeholder text to be white inside Strategy Studio */
#strategy-studio-root ::placeholder {
  color: rgba(255, 255, 255, 0.85) !important;
  opacity: 1 !important;
}

/* Safari/webkit-specific to ensure compatibility */
#strategy-studio-root input::-webkit-input-placeholder,
#strategy-studio-root textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.85) !important;
}

#strategy-studio-root input::-moz-placeholder,
#strategy-studio-root textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.85) !important;
}

#strategy-studio-root input:-ms-input-placeholder,
#strategy-studio-root textarea:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.85) !important;
}
/* Mobile typography adjustments (max 768px) */
@media (max-width: 768px) {
  #strategy-studio-root input,
  #strategy-studio-root select,
  #strategy-studio-root textarea {
    font-size: 15px !important;
    padding: 12px 14px !important;
  }

  #strategy-studio-root label {
    font-size: 14px !important;
  }

  #strategy-studio-root .ss-btn,
  #strategy-studio-root button {
    font-size: 15px !important;
    padding: 14px 16px !important;
  }

  #strategy-studio-root h2 {
    font-size: 22px !important;
    line-height: 1.3;
  }

  #strategy-studio-root .ss-section {
    padding: 18px !important;
  }
}
#strategy-studio-root input,
#strategy-studio-root select,
#strategy-studio-root textarea {
  color: #ffffff !important;
}
