.contentBodyPage {
  min-width: 100%;
  max-width: 100%;
  padding: 15px;
  overflow: auto;
}

.contentTableModal {
  min-width: 100%;
  max-width: 100%;
  max-height: 480px;
  overflow: auto;
}

.contentBodyRolPage {
  min-width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 90px);
  max-height: calc(100vh - 90px);
  padding: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-basis: auto;
}

.contentCardPage {
  min-width: 100%;
  max-width: 100%;
  padding: 15px;
  overflow: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  outline: none;
}

.columnStatusShipment {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  /* Que se estiren en altura */
  align-items: stretch;
  /* Que ocupen todo el ancho */
  max-width: 20px !important;
  min-width: 20px !important;
  height: 50px;
  /* O un alto fijo si lo prefieres */
}

.colorStatusColumn {
  flex: 1;
  /* Se reparten proporcionalmente */
  width: 100%;
  border-radius: 5px;
}

.contentStates {
  margin-left: 40px;
}

.infoStates {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  max-height: 20px !important;
  justify-content: flex-start;
  align-items: flex-end !important;
  gap: 5px;
}

.infoStates p {
  margin: 0;
}

.infoStates .columnStatusShipment {
  max-height: 20px !important;
}

.statusUpdate {
  background-color: #ff8c42;
  /* Naranja vibrante */
}

.statusIncident {
  background-color: #e63946;
  /* Rojo intenso */
}

.statusNotInit {
  background-color: #f1c40f;
  /* Amarillo más cálido y legible */
}

.statusOk {
  background-color: #27ae60;
  /* Verde equilibrado */
}

.activeRowTable {
  background-color: var(--toneBlueSky);
}

.columnFunctionTable {
  min-width: 55px;
  max-width: 55px !important;
}

.state-pending {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #e23434e7;
  margin: 0 auto;
}

.state-revalidate {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #e6b411e7;
  margin: 0 auto;
}

.state-validate {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(29, 209, 89, 0.911);
  margin: 0 auto;
}

table {
  min-width: 100%;
  border-radius: 10px;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0 15px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--toneBlueStrong);
}

thead > tr {
  position: sticky;
  top: -15px;
  background-color: var(--toneBlueStrong);
  color: var(--toneWhite);
  height: 40px;
}

tfoot tr {
  position: sticky;
  bottom: 0px;
  background-color: var(--toneBlueStrong);
  color: var(--background);
  height: 30px;
}

thead > tr > th {
  padding: 5px 10px;
  text-align: center;
}

thead th:first-child,
tfoot th:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

thead th:last-child,
tfoot th:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.tableModal > thead > tr {
  background-color: transparent;
  border-bottom: 2px solid var(--toneGrey);
}

.tableModal > thead > tr > th {
  color: var(--toneBlueStrong) !important;
}

.asc::after {
  content: " ▲";
  position: relative;
  right: 2px;
}

.desc::after {
  content: " ▼";
  position: relative;
  right: 2px;
}

tbody > tr {
  cursor: pointer;
  box-shadow: 0px 0px 8px rgba(30, 43, 64, 0.3);
  transition: all 0.3s ease-in-out;
  border-radius: 5px !important;
  height: 45px;
}

tbody > tr:hover {
  background-color: var(--toneWhite);
  color: var(--toneBlueStrong);
}

tbody > tr td {
  padding: 5px 5px;
  text-align: center;
  vertical-align: center;
}

.table-report thead > tr {
  position: sticky;
  top: -15px;
  background-color: var(--toneBlueSky);
  color: var(--toneBlueStrong);
  height: 30px;
}

.table-report thead > tr > th {
  padding: 2px 5px;
  text-align: center;
}

.table-report tbody > tr > td {
  padding: 5px 5px;
  text-align: left;
  vertical-align: center;
}

.btnFunctionTable {
  min-width: 45px !important;
  max-width: 45px !important;
  height: 26px;
  max-height: 26px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 23px 23px;
  cursor: pointer;
  border-radius: o 5px 5px 0;
  transition: all 0.3s ease-in-out;
  padding: 5px !important;
}

.btnEdith {
  background-image: url("../../img/iconos/editar.svg");
}

.btnFunctionTable:hover {
  transform: translateY(-2px);
}

.columnTextCenter {
  text-align: center !important;
}

.columPercentageLg {
  min-width: 50%;
}

.columnSmTable {
  min-width: 50px;
  padding: 8px 15px;
}

.columnMdTable {
  width: auto;
  min-width: 120px;
  max-width: 190px;
  padding: 8px 15px;
}

.columnLgTable {
  min-width: 190px;
  max-width: 280px;
  padding: 8px 15px;
}
.columnXlTable {
  min-width: 190px;
  padding: 8px 15px;
}

/* Style Card */

.container-card {
  width: clamp(260px, calc(100% / 4), 325px);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  border-radius: 7px;
  background-color: var(--toneGrey);
  font-family: "Montserrat", sans-serif !important;
  font-style: normal !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  max-height: 100vh !important;
  box-shadow: 0px 0px 8px var(--toneGreySolid);
}

.width-full {
  width: 100% !important;
}

.header-card label {
  color: var(--background);
}

.header-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  border-radius: 6px 6px 0px 0px;
  background-color: var(--toneBlueStrong);
  padding: 5px 10px;
}

.body-card {
  width: 100%;
  padding: 5px 10px;
  gap: 3px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  font-weight: 600 !important;
}

.body-card label {
  color: var(--toneGreySolid);
}

.body-card span {
  color: var(--toneBlueStrong);
}

.text-short {
  white-space: nowrap;
  /* evita que el texto salte de línea */
  overflow: hidden;
  /* oculta el texto que no cabe */
  text-overflow: ellipsis;
}

.functions-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 25px;
}

.btnFunctionCards {
  width: 35px;
  height: 35px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  color: var(--toneBlue);
  /* color inicial del ícono */
  font-size: 21px;
  transition: all 0.3s ease-in-out;
}

.btnFunctionCards:hover {
  transform: translateY(-3px);
}

.width-btn {
  width: 30px !important;
  max-width: 30px !important;
}
