/* ── WSP MODAL: pregunta tipo de negocio ── */
.wsp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.wsp-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.wsp-modal {
  background: #1a1a2e;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 480px;
  width: 100%;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s ease;
  position: relative;
}

.wsp-modal-overlay.active .wsp-modal {
  transform: translateY(0) scale(1);
}

.wsp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  font-size: 18px;
  line-height: 1;
}

.wsp-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.wsp-modal h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.wsp-modal p {
  color: #999;
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.wsp-modal-rubros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.wsp-modal-rubro {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: #FFD700;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.wsp-modal-rubro:hover,
.wsp-modal-rubro.selected {
  background: rgba(255, 215, 0, 0.2);
  border-color: #FFD700;
}

.wsp-modal-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.wsp-modal-custom::placeholder {
  color: #666;
}

.wsp-modal-custom:focus {
  border-color: rgba(255, 215, 0, 0.4);
}

.wsp-modal-send {
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
}

.wsp-modal-send:hover {
  background: #1fb855;
}

.wsp-modal-send:active {
  transform: scale(0.98);
}

.wsp-modal-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wsp-modal-send svg {
  flex-shrink: 0;
}

@media (max-width: 500px) {
  .wsp-modal {
    padding: 24px 20px;
  }
  .wsp-modal-rubro {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}
