/* validacion de campos */

.input-error {
  border: 1px solid red !important;
}

.dropdown-error .dropdown-rounded-handler {
  border: 1px solid red !important;
  border-radius: 6px;
}

.d-flex-example {
  display: flex;
  position: absolute;
  right: 0px;
  font-size: 14px;
}

.d-flex-example svg:hover path {
  fill: #f8660c !important;
}



/* tooltip custom */

.icon-with-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.icon-with-tooltip .tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px); /* pequeño offset inicial */
  opacity: 0;
  visibility: hidden;
  padding: 4px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.icon-with-tooltip .tooltip img {
  max-width: 500px;
  max-height: 500px;
  height: auto;
  display: block;
}

/* Hover / show */
.icon-with-tooltip:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0); /* posición final */
}

@media (max-width: 768px) {
  .icon-with-tooltip .tooltip {
    bottom: 110%;
    right: 0;
    left: auto;
    transform: translateY(-5px);
    width: 90vw;
    max-width: none;
  }

  .icon-with-tooltip:hover .tooltip {
    transform: translateY(0);
  }

  .icon-with-tooltip .tooltip img {
    width: 100%;
    height: auto;
  }
}


/* grid custom */
.grid-custom-1-4{
    display: grid;
    grid-template-columns: 25% 70%;
    gap: 5%;
}


.padding-13-5{
    padding: 13.5px 12px !important;
}
