
/* === FINAL OVERRIDES (load this LAST) === */

/* POLO alert colors (success/danger) */
#content .alert.alert-success,
.alert.alert-success {
  background-color: #81c868 !important;
  border-color: #81c868 !important;
  color: #fff !important;
}
#content .alert.alert-danger,
.alert.alert-danger {
  background-color: #CE041C !important;
  border-color: #CE041C !important;
  color: #fff !important;
}

/* Make ALL toast text white, always */
.bootstrap-notify .alert,
.bootstrap-notify .alert *,
.bootstrap-notify [data-notify="message"],
.bootstrap-notify [data-notify="message"] * {
  color: #fff !important;
}

/* Align the close “X” nicely on toasts */
.bootstrap-notify .alert {
  position: relative;
  padding-right: 3rem;
  border-radius: .6rem;
}
.bootstrap-notify [data-notify="dismiss"],
.bootstrap-notify .alert .close,
.bootstrap-notify .alert .btn-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .85;
  line-height: 1;
}
.bootstrap-notify [data-notify="dismiss"]:hover,
.bootstrap-notify .alert .close:hover,
.bootstrap-notify .alert .btn-close:hover { opacity: 1; }

/* Kill lingering red field borders (highest priority) */
.widget-contact-form input.error,
.widget-contact-form textarea.error,
.widget-contact-form input.form-control-error,
.widget-contact-form textarea.form-control-error,
.widget-contact-form .is-invalid,
.widget-contact-form .has-error input,
.widget-contact-form .has-error textarea {
  border-color: #ced4da !important; /* default Bootstrap gray border */
  box-shadow: none !important;
}
