.container-fluid {
  padding-top: 2%;
}

/* Estilo para el botón de visibilidad de columnas */
.dt-button-collection {
  background-color: #dc3545 !important;
  /* Rojo Bootstrap */
  color: white !important;
  border: none !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
}

.dt-button-collection:hover {
  background-color: #c82333 !important;
  /* Rojo más oscuro para hover */
  color: white !important;
}

/* Personalización del dropdown de "Column Visibility" */
.dt-button-collection .dt-button {
  background-color: #f4f4f4 !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}

.dt-button-collection .dt-button:hover {
  background-color: #dc3545 !important;
  /* Rojo */
  color: white !important;
}

/* Estilo para el dropdown cuando se abre */
.dt-button-collection .dropdown-menu {
  background-color: #f4f4f4 !important;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  /* Altura máxima para el dropdown */
  overflow-y: auto;
  /* Scroll vertical cuando excede el límite */
  width: 200px;
  /* Ancho fijo para el menú */
}

/* Estilo de los items dentro del dropdown */
.dt-button-collection .dropdown-menu .dt-button {
  background-color: #f4f4f4 !important;
  color: #333 !important;
  border: none !important;
  padding: 8px 12px;
}

.dt-button-collection .dropdown-menu .dt-button:hover {
  background-color: #dc3545 !important;
  /* Rojo */
  color: white !important;
}

/*form  step styles*/
#msform {
  text-align: center;
  position: relative;
  margin-top: 30px;
}

#msform fieldset {
  background: rgb(255, 255, 255);
  border: 0 none;
  border-radius: 0px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  box-sizing: border-box;
  width: 100%;
  /*margin: 0 10%;
  
    stacking fieldsets above each other*/
  position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

/*inputs*/
#msform input,
#msform textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 0px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  /*font-family: montserrat;*/
  color: #090909;
  font-size: 13px;
}

#msform input:focus,
#msform textarea:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: 1px solid #dc3545;
  outline-width: 0;
  transition: All 0.5s ease-in;
  -webkit-transition: All 0.5s ease-in;
  -moz-transition: All 0.5s ease-in;
  -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
  width: 100px;
  background: #dc3545;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 25px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #dc3545;
}

#msform .action-button-previous {
  width: 100px;
  background: #dc3545;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 25px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #dc3545;
}

/*headings*/
.fs-title {
  font-size: 18px;
  text-transform: uppercase;
  color: #2C3E50;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-weight: bold;
}

.fs-subtitle {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
}

#progressbar li {
  list-style-type: none;
  color: black;
  text-transform: uppercase;
  /*font-size: 30%;*/
  width: 33.33%;
  float: left;
  position: relative;
  letter-spacing: 1px;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 24px;
  height: 24px;
  line-height: 26px;
  display: block;
  font-size: 12px;
  color: #333;
  background: rgb(245, 197, 197);
  border-radius: 25px;
  margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: -50%;
  top: 9px;
  z-index: -1;
  /*put it behind the numbers*/
}

#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: #dc3545;
  color: white;
}


/* Not relevant to this form */
.dme_link {
  margin-top: 30px;
  text-align: center;
}

.dme_link a {
  background: #FFF;
  font-weight: bold;
  color: #dc3545;
  border: 0 none;
  border-radius: 25px;
  cursor: pointer;
  padding: 5px 25px;
  font-size: 12px;
}

.dme_link a:hover,
.dme_link a:focus {
  background: #C5C5F1;
  text-decoration: none;
}

#loader-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

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

.tabla-color-header thead {
  color: white;
}

.tabla-color-header2 thead {
  color: white;
}

.tabla-color-header thead th:nth-child(1) {
  background-color: #000000;
  /* rojo claro */
}

.tabla-color-header thead th:nth-child(2) {
  background-color: #000000;
  /* azul claro */
}

.tabla-color-header thead th:nth-child(3) {
  background-color: #b9188b;
  /* verde claro */
}

.tabla-color-header thead th:nth-child(4) {
  background-color: #250b63;
  /* amarillo claro */
}

.tabla-color-header thead th:nth-child(5) {
  background-color: #eeee1a;
  /* amarillo claro */
}

.tabla-color-header2 thead th:nth-child(1) {
  background-color: #000000;
  /* rojo claro */
}

.tabla-color-header2 thead th:nth-child(2) {
  background-color: #b9188b;
  /* azul claro */
}

.tabla-color-header2 thead th:nth-child(3) {
  background-color: #250b63;
  /* verde claro */
}

.tabla-color-header2 thead th:nth-child(4) {
  background-color: #eeee1a;
  /* amarillo claro */
}

#signature-pad {
  touch-action: none; /* mejora en pantallas táctiles */
  background-color: #fff;
  border-radius: 4px;
}