.coltax-fecha {
  padding-right: 2.35rem !important;
  /* Algunas vistas usan background abreviado; conservar solo el icono y dejar
     que cada módulo defina el color de fondo de sus campos. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364728b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18m-14 4h2m4 0h2'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.65rem center !important;
  background-size: 18px !important;
}

.coltax-fecha + .ti-calendar-event {
  display: none;
}

.input-group:has(.btn-calendario-pico) > .coltax-fecha {
  background-image: none !important;
}

.air-datepicker.coltax-calendario {
  --adp-font-family: "Figtree", sans-serif;
  --adp-font-size: 14px;
  --adp-width: 300px;
  --adp-z-index: 2100;
  --adp-padding: 10px;
  --adp-border-radius: 16px;
  --adp-border-color: #e2e8f0;
  --adp-box-shadow: 0 12px 36px rgb(25 36 72 / 18%);
  --adp-color: #334155;
  --adp-color-secondary: #64748b;
  --adp-accent-color: #4263eb;
  --adp-color-current-date: #4263eb;
  --adp-cell-background-color-selected: #4263eb;
  --adp-cell-background-color-selected-hover: #344fcb;
  --adp-cell-background-color-hover: #edf2ff;
  --adp-cell-border-radius: 9px;
  --adp-day-name-color: #64748b;
  --adp-day-cell-height: 38px;
  --adp-nav-height: 42px;
  --adp-buttons-height: 38px;
  --adp-btn-color: #4263eb;
  max-width: calc(100vw - 20px);
}

.coltax-calendario .air-datepicker-nav--title {
  font-weight: 700;
  gap: 5px;
}

.coltax-calendario .air-datepicker-nav--title i {
  color: #64748b;
  font-weight: 500;
}

.coltax-calendario .air-datepicker-body--day-name {
  font-size: 11px;
  font-weight: 700;
}

.coltax-calendario .air-datepicker-button {
  font-weight: 600;
}

.coltax-calendario .air-datepicker-cell.-current-:not(.-selected-) {
  box-shadow: inset 0 0 0 1px #b7c5ff;
}

@media (max-width: 576px) {
  .air-datepicker.coltax-calendario {
    --adp-width: 340px;
    --adp-day-cell-height: 42px;
    --adp-font-size: 15px;
  }
}
