/*Temp solution to avoid inline CSS*/

.subtract-warning{
  background-color: #F85656;
  color: white;
}

.minus-container{
  display: flex;
  align-items: center;
}

.fas.fa-minus {
  padding-right: 10px;
  padding-left: 10px;
}

.dataTables_wrapper .dataTables_processing {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30%;
  height: 40px;
  margin-left: -20%;
  margin-top: -25px;
  padding-top: 20px;
  text-align: center;
  font-size: 1.2em;
  background: none;
}

.lightRed {
  background-color: #f7cfcf !important
}

.check-certificate {
  display: block;
  margin-bottom: 2px;
}

.check-certificate input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.check-certificate label {
  position: relative;
  cursor: pointer;
  font-size: 14px;
}

.check-certificate label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  /* border: 2px solid red; */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 5px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.error-check:before {
  border: 2px solid red;
}

.ok-check:before {
  border: 2px solid green;
}

.check-certificate input:checked + label:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid green;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.check-certificate input:checked + .error:after {
  border: solid red;
  border-width: 0 2px 2px 0;
}

.status-certificate {
  display: flex;
  width: 120px;
  height: auto;
  font-size: 14px;
  border-radius: 5px;
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 5px;
  font-weight: bold;
}

.tdcenter-status {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email_receiver_suggested {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  padding: 5px;
  border-radius: 5px;
}

.btn-add-suggested {
  padding: 2px; 
  background-color: #f36f21; 
  font-size: 15px;
}

.btn-archive_certificate {
  background: transparent;
}
.btn-archive_certificate:hover {
  background: transparent;
}

.cont-error{
  margin-top: 10px;
  color: #F85656;;
  border: 1px dashed #F85656;;
  display: none;
  border-radius: 5px;
  padding: 5px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 350px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;

  top: -5px;
  bottom: auto;
  right: 110%;
  padding: 5px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  font-size: 15px;
}

.tooltip-left::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent black;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cursor-none {
  pointer-events: none;
}

.badge-temporary {
  font-size: 10px;
  margin: 1px 0 5px 4px;
  background: #FF7979;
  width: 100px;
  height: 20px;
  padding: 2px;
  border-radius: 3px;
  color: white;
  display: flex;
  align-items: center;
}

.badge-temporary i {
  color: white !important;
  margin-right: 5px;
}

.center-flex {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-error {
  color: #F85656;
}

.text-white {
  color: white !important;
}

.bg-fraudalent {
  background: #F85656;
  color: white;
  padding: 5px;
  border-radius: 5px;
  width: 100px;
  font-size: 10px;
  /* display: flex;
  align-items: center;
  justify-content: center; */
}

.bg-fraudalent i {
  font-size: 10px;
  margin-right: 3px;
}

.text-center {
  text-align: center;
}

.alert_fraudalent_certificate {
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  font-size: 60px;
  z-index: 0;
  display: none;
}

.alert_pending_cancel {
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  font-size: 60px;
  z-index: 0;
  display: none;
}

.alert_late_pmt {
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  font-size: 60px;
  z-index: 0;
  display: none;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-fraudalent-alert {
  font-size: 90px;
  color: #f77373;
  opacity: 0.6;
}

.text-fraudalent-alert {
  color: #f77373;
  font-size: 22px
}

.btn_certificate_direct {
  background: #759BD3;
  color: white;
  padding: 6px;
  border-radius: 15px;
  display: inline;
  font-size: 15px;
  margin-left: 15px;
  cursor: pointer;
}

.d-inline {
  display: inline;
}

.ml-1 {
  margin-left: 1rem;
}

.pointer {
  cursor: pointer !important;
}

.font-15 {
  font-size: 15px;
}

.text-blue {
  color: #759BD3;
}

.mt-1 {
  margin-top: 1rem !important;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.ml-1 {
  margin-left: 1rem;;
}

.d-flex-between {
  display: flex; 
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.d-flex-center {
  display: flex; 
  justify-content: center;
}

.d-flex {
  display: flex; 
}

.w-80 {
  width: 80px;
}

.btn-assignment-agent {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 0;
  width: 100%;
  background-color: #f36f21;
}

.w1_5 {
  width: 19%;
  margin-right: 1%;
  float: left;
  position: relative;
}

.pending_renew_assignment {
  width: 160px;
}

.button-sm {
  padding: 5px 10px;
  font-size: 14px;
}

.generate_quote {
  color: #f36f21;
}

.text-primary {
  color: #759BD3 !important;
}

.badge-status {
  display: flex;
  width: 120px;
  height: auto;
  font-size: 14px;
  border-radius: 5px;
  color: white;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 5px;
  font-weight: bold;
  text-transform: uppercase;
}

.icon-btn {
  color: #759bd3;
  padding: 5px;
}

.btn-filter {
  width: 100px;
  display: unset !important;
}

.pointer-none {
  pointer-events: none;
}

.column-producer {
  display: none;
}

.column-platform {
  display: none;
}

/* Message para Pending Cancel en Certificados */
.msg-warning{
  color: #e74c3c;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  display: none;
}
.msg-warning i {
  font-size: 2em; color: #e74c3c;
  vertical-align: middle;
  margin-right: 10px;
}
.btn-check-document {
  height: 40px;
}

.display-flex-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.text-note-error {
  color: #F85656 !important;
  font-size: 12px;
  margin-top: 5px;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 1rem !important;
}


.quote_renewal_assignment_sales {
  width: 200px !important;
}

.bg-unusual {
  background: #f36f21;
  color: white;
  padding: 5px;
  border-radius: 5px;
  width: 100px;
  font-size: 10px;
  /* display: flex;
  align-items: center;
  justify-content: center; */
}

.bg-unusual i {
  font-size: 10px;
  margin-right: 3px;
}

.alert_unusual_certificate {
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  font-size: 40px;
  z-index: 0;
  display: none;
}

.d-none {
  display: none;
}

.policy-canceled-sales {
    border: 2px dotted red;
    padding: 3px;
    display: inline-block; /* Para que el borde se ajuste al contenido */
    border-radius: 5px;
}

.id-policy-internal {
color: #888; 
font-size: 11px; 
margin-right: 18px;
}

.container-id-policy {
  display: flex; 
  justify-content: flex-end; 
  align-items: center; 
  margin-bottom: 10px;
}


/* Alinear selector (Show entries) y contador (info) en la misma línea */
.top-table {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

/* Mover el contador (info) justo al lado del selector */
.top-table .dataTables_length,
.top-table .dataTables_info {
  display: flex;
}

.top-table .dataTables_info {
  margin-left: 10px; /* separa un poco del select */
}

/* Ajustar buscador a la derecha */
.dataTables_filter {
  margin-left: auto;
  display: flex;
}

.d-unset {
  display: unset !important;
}

.multi-filter {
  position: relative;
}

.multi-filter:hover .filterDropdown {
  display: block;
}

.filterDropdown {
  display:none;
  position:absolute;
  top:35px; left:0;
  background:white;
  border:1px solid #ccc;
  width:100%;
  max-height:200px;
  overflow-y:auto;
  padding:10px;
  z-index: 999;
}
.pb-4 {
  padding-bottom: 4rem;
}
.text-second {
  color: #f36f21;
}

.tdleft {
  text-align: left;
}

/* Style global toggles */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: .3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .3s;
}

.switch input:checked + .slider {
  background-color: #759BD3;
}

.switch input:checked + .slider:before {
  transform: translateX(22px);
}
.d-unset {
  display: unset !important;
}

.multi-filter {
  position: relative;
}

.multi-filter:hover .filterDropdown {
  display: block;
}

.filterDropdown {
  display:none;
  position:absolute;
  top:35px; left:0;
  background:white;
  border:1px solid #ccc;
  width:100%;
  max-height:200px;
  overflow-y:auto;
  padding:10px;
  z-index: 999;
}
.pb-4 {
  padding-bottom: 4rem;
}

.alert {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;

  display: flex;
  align-items: center;
  gap: 8px;

  background-color: #fef2f2;      /* rojo suave */
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

.textarea{
  resize: both;
}

.text-danger {
  color: #F85656;
}

.text-gray {
  color: gray;
}

@media (max-width: 767px) {
  .sm-d-flex {
    display: block;
  }
}

.d-flex-around{
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 5px;
}

.date_range_btn {
  margin-top: 1.4rem !important;
}
