/* Nova Panel Network — required fields + SMM-style dropdowns (2026-12-05).
   Live-only overlay: the built SPA bundle is untouched; this file only
   styles the wizard (role=dialog). Dropdowns follow the SMM RH Panel look:
   white background, purple border, purple focus ring. Blue theme elsewhere
   is unchanged. No pink anywhere. */

/* --- required markers + inline errors --- */
.npn-req-star { color: #dc2626; font-weight: 800; }
.npn-field-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #dc2626;
}
.npn-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

/* --- SMM-style dropdowns inside the wizard --- */
div[role="dialog"] select.npn-smm-select,
div[role="dialog"] input.npn-combo-input {
  width: 100%;
  min-height: 44px;
  background: #fff;
  border: 2px solid #7c3aed;
  border-radius: 16px;
  color: #1e1b4b;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
div[role="dialog"] select.npn-smm-select:focus,
div[role="dialog"] input.npn-combo-input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25);
}
div[role="dialog"] select.npn-smm-select option {
  background: #fff;
  color: #1e1b4b;
}

/* --- searchable combobox (live search, like SMM Services/Category) --- */
.npn-combo { position: relative; }
.npn-combo-list {
  position: absolute;
  z-index: 60;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 2px solid #7c3aed;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(30, 27, 75, 0.18);
  max-height: 240px;
  overflow-y: auto;
  display: none;
}
.npn-combo-list.open { display: block; }
.npn-combo-list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1e1b4b;
  background: none;
  border: 0;
  cursor: pointer;
}
.npn-combo-list button:hover,
.npn-combo-list button.npn-active { background: #f5f3ff; }
.npn-combo-list .npn-muted {
  padding: 9px 12px;
  font-size: 13px;
  color: #6b6884;
  cursor: default;
}
.npn-combo-hint {
  margin-top: 4px;
  font-size: 12px;
  color: #6b6884;
}
