* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter Tight', Arial, Helvetica, sans-serif;
  background: linear-gradient(160deg, #0a0a0a 0%, #1a0a2e 40%, #0d0d1a 70%, #0a0a0a 100%);
  min-height: 100vh;
  color: rgba(255,255,255,0.85);
}

/* ===== TOP NAV BAR ===== */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: hsl(240 10% 7%);
  border-bottom: 1px solid hsl(240 8% 15%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  backdrop-filter: blur(16px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo {
  width: 100px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 1;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: hsl(240 8% 15%);
}

.nav-title {
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(135deg, #fff 0%, #bd00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-right {
  flex-shrink: 0;
}

/* ===== WIZARD PROGRESS (inline in nav) ===== */

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 0;
}

.wizard-progress .step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: default;
  opacity: 0.35;
  transition: all 0.2s ease;
  font-family: inherit;
}

.wizard-progress .step.active {
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

.wizard-progress .step.completed {
  opacity: 0.7;
}

.wizard-progress .step.disabled {
  opacity: 0.2;
}

.wizard-progress .step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s ease;
}

.wizard-progress .step.active .step-number {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

.wizard-progress .step.completed .step-number {
  background: rgba(16,185,129,0.15);
  border-color: rgba(16,185,129,0.4);
  color: #10b981;
}

.wizard-progress .step-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.wizard-progress .step.active .step-label {
  color: rgba(255,255,255,0.85);
}

.wizard-progress .step.completed .step-label {
  color: rgba(255,255,255,0.5);
}

.step-connector {
  width: 24px;
  height: 1px;
  background: hsl(240 8% 15%);
}

/* ===== STATUS INDICATOR (nav right) ===== */

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: default;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s ease;
}

.status-indicator.healthy .status-dot {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.4);
}

.status-indicator.unhealthy .status-dot {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239,68,68,0.4);
}

.status-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

.status-indicator.healthy .status-label {
  color: rgba(255,255,255,0.5);
}

.status-indicator.unhealthy .status-label {
  color: rgba(239,68,68,0.7);
}

/* ===== APP CONTENT ===== */

.app-content {
  padding-top: 56px;
  min-height: 100vh;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 40px;
}

/* ===== SECTION HEADER ===== */

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ===== CONTENT GRID (two-column layout) ===== */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.content-primary {
  min-width: 0;
}

.content-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-panel {
  background: hsl(240 10% 9%);
  border: 1px solid hsl(240 8% 15%);
  border-radius: 10px;
  padding: 20px;
}

.sidebar-panel h3 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.sidebar-panel pre {
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.85);
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 12px;
}

.sidebar-panel code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
}

/* ===== HEADINGS ===== */

h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.35rem;
  font-weight: 500;
}

h3 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

/* ===== FILE INPUT ===== */

.file-input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

input[type="file"] {
  position: absolute;
  left: -9999px;
}

label[for="file-input"] {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}

label[for="file-input"]:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

label[for="file-input"]:active {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 100%);
  transform: translateY(0);
}

label[for="file-input"] .material-symbols-outlined {
  margin-right: 6px;
  font-size: 18px;
}

#file-name {
  margin-left: 12px;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  font-size: 14px;
}

#file-name.active {
  color: #ffffff;
  font-weight: 500;
  font-style: normal;
}

/* ===== REQUIREMENTS BOX ===== */

.requirements {
  background: rgba(255,255,255,0.02);
  border: 1px solid hsl(240 8% 15%);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.requirements p {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.requirements strong {
  color: rgba(255,255,255,0.85);
}

.requirements ul {
  margin-left: 20px;
  margin-bottom: 8px;
}

.requirements li {
  margin-bottom: 4px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.requirements code {
  background: rgba(169,0,255,0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #d580ff;
  font-weight: 600;
}

.example-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

/* ===== BUTTONS ===== */

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #e8e8ec 100%);
  color: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.15);
  flex: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.8);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f2 100%);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.btn-primary:active:not(:disabled) {
  background: linear-gradient(180deg, #e4e4e8 0%, #ededf0 100%);
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 2px rgba(0,0,0,0.06);
}

.btn-primary:disabled {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.15);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.10);
  flex: 0 0 auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.05) 100%);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

.btn-secondary:active {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.06) 100%);
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Submit button (step 1) */
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8ec 100%);
  color: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.8);
}

button[type="submit"]:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f2 100%);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

button[type="submit"]:active:not(:disabled) {
  background: linear-gradient(180deg, #e4e4e8 0%, #ededf0 100%);
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 1px 2px rgba(0,0,0,0.06);
}

button[type="submit"]:disabled {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.15);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== LOADING SPINNER ===== */

.loading {
  text-align: center;
  padding: 24px;
  margin-top: 20px;
}

.loading.hidden {
  display: none;
}

.spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  border: 3px solid hsl(240 8% 15%);
  border-top: 3px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.loading p {
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  font-size: 14px;
}

/* ===== RESULT MESSAGES ===== */

.result {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  animation: slideIn 0.2s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.result.hidden {
  display: none;
}

.result.success {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
}

.result.error {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
}

.result h3 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.result.success h3 {
  color: #10b981;
}

.result.error h3 {
  color: #ef4444;
}

.result p {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.batch-info {
  background: rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: 6px;
  margin: 12px 0;
}

.batch-info p {
  font-size: 14px;
}

.batch-id {
  background: rgba(169,0,255,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #d580ff;
  font-weight: 600;
}

.error-details {
  margin-top: 8px;
  padding: 12px;
  background: rgba(239,68,68,0.04);
  border-radius: 6px;
}

.error-details ul {
  margin-left: 20px;
  margin-top: 6px;
}

.error-details li {
  margin-bottom: 4px;
  color: #ef4444;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.next-step,
.help-text {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.info-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== STEP CONTENT ===== */

.step-content {
  animation: fadeIn 0.3s ease;
}

.step-content.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ICP SECTION ===== */

.batch-summary {
  margin-bottom: 24px;
}

.summary-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid hsl(240 8% 15%);
  border-radius: 8px;
  padding: 16px 20px;
}

.summary-card h3 {
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.summary-card p {
  margin-bottom: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.summary-card code {
  background: rgba(169,0,255,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #d580ff;
  font-weight: 600;
}

.summary-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 8px !important;
}

/* ===== FORM STYLING ===== */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.form-group input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid hsl(240 8% 15%);
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
  background: rgba(0,0,0,0.2);
  color: #ffffff;
}

.form-group input[type="text"]:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
}

.field-hint {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ===== BUTTON GROUP ===== */

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .top-nav {
    height: auto;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 8px;
  }

  .nav-center {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-right {
    margin-left: auto;
  }

  main {
    padding: 20px 16px;
  }

  .app-content {
    padding-top: 100px;
  }

  .wizard-progress .step-label {
    display: none;
  }

  .step-connector {
    width: 16px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  button[type="submit"] {
    width: 100%;
  }
}

/* ===== SIGNAL CONFIGURATION ===== */

.signals-section {
  background: transparent;
}

.signal-counter {
  background: rgba(255,255,255,0.02);
  border: 1px solid hsl(240 8% 15%);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.signal-counter #signal-count {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}

.recommendation {
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
}

.recommendation.success {
  background: rgba(16,185,129,0.08);
  color: #10b981;
}

.recommendation.warning {
  background: rgba(245,158,11,0.08);
  color: #f59e0b;
}

.recommendation.error {
  background: rgba(239,68,68,0.08);
  color: #ef4444;
}

.signals-container {
  margin-bottom: 24px;
}

.signal-category {
  margin-bottom: 24px;
}

.category-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid hsl(240 8% 13%);
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signal-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid hsl(240 8% 13%);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.signal-option:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

.signal-option input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.signal-option input[type="checkbox"]:checked ~ .signal-content {
  opacity: 1;
}

.signal-content {
  flex: 1;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.signal-option input[type="checkbox"]:checked ~ .signal-content {
  opacity: 1;
}

.signal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 10px;
}

.signal-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 13px;
}

.signal-question {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  line-height: 1.4;
}

.badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.priority-disqualify {
  background: rgba(217,119,6,0.12);
  color: #f59e0b;
}

.priority-low {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
}

.priority-normal {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
}

.priority-high {
  background: rgba(239,68,68,0.10);
  color: #ef4444;
}

/* Selected state */
.signal-option:has(input:checked) {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
}

/* Mobile responsiveness for signals */
@media (max-width: 768px) {
  .signal-counter {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .signal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge {
    align-self: flex-start;
  }
}

/* ===== CUSTOM SIGNAL FORM ===== */

.custom-signal-section {
  margin: 24px 0;
}

.btn-add-custom {
  width: 100%;
  padding: 10px 20px;
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-add-custom:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.7);
}

.btn-add-custom:active {
  background: rgba(255,255,255,0.02);
}

.custom-signal-form {
  margin-top: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid hsl(240 8% 15%);
  border-radius: 8px;
}

.custom-signal-form h3 {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 14px;
}

.custom-signal-form .help-text {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

.custom-signal-form .form-group {
  margin-bottom: 16px;
}

.custom-signal-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.custom-signal-form input[type="text"],
.custom-signal-form textarea,
.custom-signal-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid hsl(240 8% 15%);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: rgba(0,0,0,0.2);
  color: #ffffff;
}

.custom-signal-form input[type="text"]:focus,
.custom-signal-form textarea:focus,
.custom-signal-form select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
}

.custom-signal-form textarea {
  resize: vertical;
}

.validation-feedback {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
}

.validation-success {
  color: #10b981;
  font-weight: 600;
}

.validation-error {
  color: #ef4444;
  font-weight: 500;
}

/* Custom signal display */
.signal-custom {
  position: relative;
  background: rgba(169,0,255,0.04);
  border-color: rgba(169,0,255,0.15);
}

.signal-context-display {
  margin-top: 6px;
  padding: 6px 8px;
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.btn-remove-signal {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(239,68,68,0.1);
  color: rgba(239,68,68,0.7);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.signal-custom:hover .btn-remove-signal {
  opacity: 1;
}

.btn-remove-signal:hover {
  background: rgba(239,68,68,0.2);
  color: #ef4444;
}

.badge-custom {
  background: rgba(189,0,255,0.1);
  color: #d580ff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 6px;
}

/* Adjust signal option padding when remove button is present */
.signal-custom {
  padding-right: 40px;
}

/* Starter Pack Header */
.starter-pack-header {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid hsl(240 8% 13%);
}

.starter-pack-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.starter-pack-header .help-text {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  margin-bottom: 16px;
}
