
/* IPERC_AFECTA_A_MISMA_CONFIG_V171 */
.iperc-afecta-cell-v171 {
  cursor: pointer !important;
  background: linear-gradient(135deg, rgba(79, 70, 229, .16), rgba(255, 255, 255, .02)) !important;
}

.iperc-afecta-cell-v171:hover {
  background-color: #e0e7ff !important;
}

.iperc-afecta-cell-content-v171 {
  width: 100% !important;
  min-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  pointer-events: none !important;
}

.iperc-afecta-cell-content-v171 b {
  font-size: 8px !important;
  color: #4f46e5 !important;
  line-height: 1 !important;
}

.iperc-afecta-editor-v171 {
  position: absolute !important;
  z-index: 1000050 !important;
  width: 285px !important;
  background: #ffffff !important;
  border: 1px solid #6366f1 !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .32) !important;
  padding: 10px !important;
}

.iperc-afecta-v171-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 7px !important;
}

.iperc-afecta-v171-title {
  font-size: 11px !important;
  font-weight: 950 !important;
  color: #312e81 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

#iperc-afecta-v171-x {
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  border: 1px solid #c7d2fe !important;
  background: #ffffff !important;
  color: #4f46e5 !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.iperc-afecta-v171-options {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
}

.iperc-afecta-v171-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 8px 9px !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  color: #1e293b !important;
  cursor: pointer !important;
}

.iperc-afecta-v171-option:hover {
  border-color: #818cf8 !important;
  background: #eef2ff !important;
}

.iperc-afecta-v171-option input {
  width: 15px !important;
  height: 15px !important;
}

.iperc-afecta-v171-note {
  margin-top: 8px !important;
  font-size: 10px !important;
  color: #475569 !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 6px !important;
  font-weight: 800 !important;
}

.iperc-afecta-v171-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin-top: 9px !important;
}

.iperc-afecta-v171-actions button {
  border: 1px solid #c7d2fe !important;
  border-radius: 9px !important;
  padding: 7px 10px !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

#iperc-afecta-v171-aplicar {
  background: #4f46e5 !important;
  color: #ffffff !important;
}

#iperc-afecta-v171-cancelar {
  background: #ffffff !important;
  color: #475569 !important;
}

/* Ocultar selectores previos para que no compitan */
#iperc-afecta-selector-v170,
#iperc-afecta-core-selector-v169,
#afecta-multi-selector-v168,
#afecta-celda-selector-v167,
#dropdown-afecta-celda-v166,
#dropdown-afecta-celda-v163 {
  display: none !important;
}
