@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
  --main-color: #dd2f6e;
  --color-dark: #1d2231;
  --text-grey: #8390a2;
  --rojo: #e20d2a;
  --verde: #03c455;
  --naranja: #e2840d;
  --azul: rgb(0, 151, 232);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.cont_pendiente {
  position: relative;
}

.boton_mas {
  background-color: var(--azul);
  padding: 0px 5px !important;
  transition: all 0.3s ease;
}

.boton_mas:hover {
  cursor: pointer;
  box-shadow: 0px 0px 5px var(--azul);
}

.boton_mas span {
  display: inline-block;
  transition: all 0.3s ease;
}

.boton_mas:hover span {
  transform: scale(1.5);
}

.boton_mas {
  background-color: var(--azul);
  padding: 0px 5px !important;
}

.intermitente {
  -webkit-animation-name: blinker;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;

  -moz-animation-name: blinker;
  -moz-animation-duration: 1s;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;

  animation-name: blinker;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@-moz-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.espera_orange {
  color: white;
  font-size: 20px;
  background: orange;
  border-radius: 50%;
  padding: 5px;
  margin-right: 10px;
}

.estado_orange {
  display: block;
  width: 10px;
  height: 10px;
  color: white;
  font-size: 20px;
  background: orange;
  border-radius: 50%;
  padding: 5px;
  margin-right: 10px;
}

.estado_green {
  display: block;
  width: 10px;
  height: 10px;
  color: white;
  font-size: 20px;
  background: #00e712;
  border-radius: 50%;
  padding: 5px;
  margin-right: 10px;
}

.espera_green {
  color: white;
  font-size: 20px;
  background: #00e712;
  border-radius: 50%;
  padding: 5px;
  margin-right: 10px;
}

.espera_apro {
  color: white;
  font-size: 20px;
  background: var(--main-color);
  border-radius: 50%;
  padding: 5px;
  margin-right: 10px;
}

#myBar {
  width: 0%;
  height: 30px;
  background-color: var(--main-color);
  text-align: center; /* To center it horizontally (if you want) */
  line-height: 30px; /* To center it vertically */
  color: white;
}

.sidebar {
  width: 250px;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  background: var(--main-color);
  z-index: 100;
  transition: all 300ms;
  overflow-y: auto;
}

.sidebar-brand {
  height: 90px;
  padding: 1rem 0rem 1rem 2rem;
  color: #fff;
}

.sidebar-brand span {
  display: inline-block;
  padding-right: 1rem;
}

.sidebar-menu {
  margin-top: 1rem;
}
.sidebar-menu li {
  width: 100%;
  padding-left: 1rem;
}

.sidebar-menu a {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem 0rem 1rem 1rem;
}

ul li.active a,
ul li a:hover,
ul li a:active {
  background: #fff;
  /*padding-left: 1rem;*/
  color: var(--main-color);
  border-radius: 30px 0px 0px 30px;
}

.sidebar-menu a span:first-child {
  font-size: 1.5rem;
  padding-right: 1rem;
}

#nav-toggle:checked + .sidebar {
  width: 70px;
}

#nav-toggle:checked + .sidebar .sidebar-brand,
#nav-toggle:checked + .sidebar li {
  padding-left: 1rem;
  text-align: center;
}

#nav-toggle:checked + .sidebar li a {
  padding-left: 0rem;
}

#nav-toggle:checked + .sidebar .sidebar-brand h2 span:last-child,
#nav-toggle:checked + .sidebar li a span:last-child {
  display: none;
}

#nav-toggle:checked ~ .main-content {
  margin-left: 70px;
}

#nav-toggle:checked ~ .main-content header {
  width: calc(100% - 70px);
  left: 70px;
}

.main-content {
  transition: all 300ms;
  margin-left: 250px;
}

/*
.contenedor_busqueda_citas{
	display: flex;
	z-index: 100;
}
*/

header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  left: 250px;
  width: calc(100% - 250px);
  top: 0;
  z-index: 100;
  transition: all 300ms;
}

header h2 {
  color: #222;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header h2 label {
  flex: 0 0 auto;
  min-width: 40px;
  min-height: 40px;
}

header h2 #titulo {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1 1 auto;
}

header label span {
  /*font-size: 1.7rem;*/
  padding-right: 1rem;
}

.search-wrapper {
  border: 1px solid #ccc;
  border-radius: 30px;
  height: 50px;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  flex: 0 1 640px;
  min-width: 150px;
  max-width: 300px;
}

.search-wrapper span {
  display: inline-block;
  padding: 0rem 1rem;
  font-size: 1.5rem;
}

.search-wrapper input {
  height: 100%;
  padding: 0.5rem;
  border: none;
  outline: none;
  width: 100%;
  min-width: 0;
}

.user-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  min-width: 0;
  flex: 0 0 auto;
  gap: 4px;
}

.header-shortcuts {
  display: flex;
  align-items: center;
}

.user-wrapper .cont_foto {
  margin: auto;
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.user-wrapper img {
  display: inline;
  margin: 0 auto;
  width: 40px;
  height: 40px;
  width: auto;
}

.user-wrapper small {
  display: inline-block;
  color: var(--text-grey);
}

/*
	ENTREGA DE PILAS

*/
.content_pilas {
  display: flex;
}
.content_pilas .audifono {
  width: 100%;
  padding: 20px 5px 5px 5px;
  margin: 5px;
  background: #f7f7f7;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.content_pilas .audifono h4 {
  text-align: center;
}

.content_fechas_pilas {
  display: flex;
}

.content_fechas_pilas .entregas {
  width: 100%;
  background: #fff;
  padding: 5px;
  margin: 5px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 300ms;
}
.content_fechas_pilas .entregas:hover {
  background: #dfe7ff;
}

.content_fechas_pilas .entregas .ti_entrega {
  font-size: 10px;
  font-weight: 700;
}

.content_fechas_pilas .entregas button {
  padding: 0px 10px;
  border-radius: 5px;
  background: rgb(0, 151, 232);
  color: white;
  border: none;
}

.content_fechas_pilas .entregas button:hover {
  cursor: pointer;
  background: rgb(0, 151, 300);
}

.const_ajuste {
  display: flex;
}

.tipo_contrato {
  margin-right: 20px;
}

.tipo_contrato label:first-child {
  font-weight: bold;
}

main {
  margin-top: 45px;
  padding: 2rem 1.5rem;
  background: #f1f5f9;
  min-height: calc(100vh - 90px);
}

/*Indice notificacion de seguimientos*/
.notificacion-cont {
  float: right;
  margin-right: 8px;
}

.notificacion-cont #notificaciones_cant {
  background: radial-gradient(5px -9px, circle, white 8%, red 26px);
  background-color: red;
  border-radius: 12px; /* one half of ( (border * 2) + height + padding ) */
  box-shadow: 1px 1px 1px black;
  color: white;
  font:
    bold 10px/13px Helvetica,
    Verdana,
    Tahoma;
  height: 16px;
  min-width: 14px;
  padding: 4px 3px 3px 3px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem;
  margin-top: 1rem;
}

.card-single {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  transition: all 300ms;
}

.card-single:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.card-single div:last-child span {
  font-size: 3rem;
  color: var(--main-color);
}

.card-single div:first-child span {
  color: var(--text-grey);
}

.card-single:last-child {
  background: var(--main-color);
}

.card-single:last-child h1,
.card-single:last-child div:first-child span,
.card-single:last-child div:last-child span {
  color: #fff;
}

/*TABLAS*/

.recent-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: 65% auto;
}

.recent-grid.recent-grid-sin-personal {
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  border-radius: 5px;
}

.card-header,
.card-body {
  padding: 1rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.card-header button {
  background: var(--main-color);
  border-radius: 10px;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--main-color);
}

/*	HOVER DESCRIPCION */

.middle {
  transition: 0.5s ease;
  position: absolute;
  top: -100%;
  left: 50%;
  width: 300px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  visibility: collapse;
  display: none;
  z-index: 1000;
}

.cont_pendiente {
  transition: 0.5s ease;
  position: absolute;
  top: -28%;
  left: 90%;
  width: 20px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  visibility: visible;
  display: block;
  z-index: 100;
}

.cont_pendiente label {
  color: black;
  font-size: 8px;
  margin: 0px;
}

.triangulo {
  clip-path: polygon(50% 100%, 100% 0, 0 0);
  height: 10px;
  width: 20px;
  background: red;
}

.descipcion {
  background: rgba(76, 76, 76, 1);
  background: -moz-linear-gradient(
    45deg,
    rgba(76, 76, 76, 1) 0%,
    rgba(89, 89, 89, 1) 12%,
    rgba(102, 102, 102, 1) 25%,
    rgba(71, 71, 71, 1) 39%,
    rgba(44, 44, 44, 1) 47%,
    rgba(52, 63, 79, 1) 61%,
    rgba(17, 17, 17, 1) 65%,
    rgba(43, 43, 43, 1) 76%,
    rgba(18, 50, 66, 1) 91%,
    rgba(19, 19, 19, 1) 100%
  );
  background: -webkit-gradient(
    left bottom,
    right top,
    color-stop(0%, rgba(76, 76, 76, 1)),
    color-stop(12%, rgba(89, 89, 89, 1)),
    color-stop(25%, rgba(102, 102, 102, 1)),
    color-stop(39%, rgba(71, 71, 71, 1)),
    color-stop(47%, rgba(44, 44, 44, 1)),
    color-stop(61%, rgba(52, 63, 79, 1)),
    color-stop(65%, rgba(17, 17, 17, 1)),
    color-stop(76%, rgba(43, 43, 43, 1)),
    color-stop(91%, rgba(18, 50, 66, 1)),
    color-stop(100%, rgba(19, 19, 19, 1))
  );
  background: -webkit-linear-gradient(
    45deg,
    rgba(76, 76, 76, 1) 0%,
    rgba(89, 89, 89, 1) 12%,
    rgba(102, 102, 102, 1) 25%,
    rgba(71, 71, 71, 1) 39%,
    rgba(44, 44, 44, 1) 47%,
    rgba(52, 63, 79, 1) 61%,
    rgba(17, 17, 17, 1) 65%,
    rgba(43, 43, 43, 1) 76%,
    rgba(18, 50, 66, 1) 91%,
    rgba(19, 19, 19, 1) 100%
  );
  background: -o-linear-gradient(
    45deg,
    rgba(76, 76, 76, 1) 0%,
    rgba(89, 89, 89, 1) 12%,
    rgba(102, 102, 102, 1) 25%,
    rgba(71, 71, 71, 1) 39%,
    rgba(44, 44, 44, 1) 47%,
    rgba(52, 63, 79, 1) 61%,
    rgba(17, 17, 17, 1) 65%,
    rgba(43, 43, 43, 1) 76%,
    rgba(18, 50, 66, 1) 91%,
    rgba(19, 19, 19, 1) 100%
  );
  background: -ms-linear-gradient(
    45deg,
    rgba(76, 76, 76, 1) 0%,
    rgba(89, 89, 89, 1) 12%,
    rgba(102, 102, 102, 1) 25%,
    rgba(71, 71, 71, 1) 39%,
    rgba(44, 44, 44, 1) 47%,
    rgba(52, 63, 79, 1) 61%,
    rgba(17, 17, 17, 1) 65%,
    rgba(43, 43, 43, 1) 76%,
    rgba(18, 50, 66, 1) 91%,
    rgba(19, 19, 19, 1) 100%
  );
  background: linear-gradient(
    45deg,
    rgba(76, 76, 76, 1) 0%,
    rgba(89, 89, 89, 1) 12%,
    rgba(102, 102, 102, 1) 25%,
    rgba(71, 71, 71, 1) 39%,
    rgba(44, 44, 44, 1) 47%,
    rgba(52, 63, 79, 1) 61%,
    rgba(17, 17, 17, 1) 65%,
    rgba(43, 43, 43, 1) 76%,
    rgba(18, 50, 66, 1) 91%,
    rgba(19, 19, 19, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313', GradientType=1 );

  color: #ebebeb;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 0.5em;
}

.titulo_style {
  color: white;
}

.imagenyeah1:hover .middle {
  visibility: visible;
  display: block;
}

.imagenyeah1 {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

thead tr {
  border-top: 1px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
}

thead td {
  font-weight: 700;
}

td {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #222;
}

tbody .por_vencer {
  color: #e2840d;
  font-weight: 700;
}

tbody .vencido {
  color: #f30030;
  font-weight: 700;
}

tbody .vigente {
  color: #00c117;
  font-weight: 700;
}

td a {
  background: var(--main-color);
  color: #fff;
  padding: 5px;
  border-radius: 5px;
}

.table-responsive {
  width: 100%;
  max-height: 400px;
  overflow: auto;
}

#miModal_tipo_ordenes .table-responsive {
  max-height: none;
}

/* Reusable table skin for acordeon/history lists */
.table-responsive.clean-table-wrap {
  border: 1px solid #e7ebf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.table-clean {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-clean thead td,
.table-clean thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e2e8f0;
}

.table-clean td,
.table-clean th {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.table-clean tbody tr:nth-child(even) {
  background: #fcfdff;
}

.table-clean tbody tr:hover {
  background: #f8fbff;
}

.table-clean tbody tr:last-child td {
  border-bottom: 0;
}

.table-clean .boton_ver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.table-clean.table-agendamiento td:nth-child(1) {
  min-width: 150px;
}

.table-clean.table-agendamiento td:nth-child(2) {
  min-width: 140px;
}

.table-clean.table-agendamiento td:nth-child(4) {
  min-width: 220px;
  max-width: 340px;
  white-space: normal;
  word-break: break-word;
}

.table-clean.table-agendamiento td:nth-child(5) {
  min-width: 180px;
}

.customer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.7rem;
}

.info {
  display: flex;
  align-items: center;
}

.info img {
  border-radius: 50%;
  margin-right: 1rem;
}

.info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #222;
}

.info small {
  font-weight: 600;
  color: var(--text-grey);
}

.contact span {
  font-size: 1.2rem;
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--main-color);
}

/*Tarjeta Seguimientos*/
.cont_seguimientos {
  background-color: #fff;
  padding: 5px;
  border-radius: 5px;
  border: 2px solid var(--main-color);
  margin-bottom: 5px;
}

.cont_seguimientos .row_head {
  width: 100%;
  display: flex;
  border-bottom: 1px solid #ffb2dd;
}

.cont_seguimientos .row_head span.fecha_seguimiento {
  /*background-color: var(--main-color);*/
  color: #fff;
  padding: 5px 5px 5px 5px;
  border-top-left-radius: 5px;
}

.cont_seguimientos .row_head span:nth-child(2) {
  width: 70%;
  border-right: 1px solid #ffb2dd;
  border-left: 1px solid #ffb2dd;
  padding: 5px 0px 5px 10px;
  color: var(--main-color);
}

.cont_seguimientos .row_head a {
  width: 10%;
  font-size: 20px;
  color: var(--main-color);
  cursor: pointer;
  text-align: center;
}

.cont_seguimientos .row_head a:hover {
  background-color: var(--main-color);
  color: #fff;
  border-radius: 0px 5px 0px 0px;
}

.cont_seguimientos .nombre {
  padding-left: 5px;
  font-weight: 600;
}

.cont_seguimientos .nombre_colaborador {
  padding-left: 5px;
}

/*Ventana Flotante*/

.modal {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all 0.5s;
  opacity: 0;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-contenido {
  background: #f1f5f9;
  width: 400px;
  margin: 10% auto;
  position: relative;
  border-radius: 20px;
  color: #222;
}

.modal-contenido.modal-estadisticas-index {
  width: min(96vw, 1400px) !important;
  height: 90vh;
  height: 90dvh;
  margin: 5vh auto !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-contenido.modal-estadisticas-index .cont_tipo_contrato {
  padding: 0 15px 15px;
  display: flex;
  flex: 1;
  min-height: 0;
}

.modal-contenido.modal-estadisticas-index #tabla_estadisticas_adaptados {
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.modal-contenido.modal-estadisticas-index #tabla_estadisticas_adaptados .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.modal-contenido.modal-estadisticas-index #tabla_estadisticas_adaptados .table-responsive {
  flex: 1;
  min-height: 0;
}

.modal-contenido.modal-estadisticas-index .cerrar {
  align-self: flex-end;
  float: none;
  display: inline-flex;
  width: auto;
}

.modal-contenido.modal-estadisticas-index > br {
  display: none;
}

.encabezado-estadisticas-modal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.encabezado-estadisticas-modal h2 {
  margin: 0;
  white-space: nowrap;
}

.encabezado-estadisticas-modal .filtro-atendido-modal {
  margin: 0;
  flex-wrap: nowrap;
}

.encabezado-estadisticas-modal .filtro-atendido-modal label {
  white-space: nowrap;
}

.encabezado-estadisticas-modal .filtro-atendido-modal select {
  min-width: 190px;
}

.accion-descargar-modal {
  margin-left: auto;
  color: green;
  font-size: 20px;
  white-space: nowrap;
}

.filtro-atendido-modal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.filtro-atendido-modal label {
  font-weight: 700;
  margin: 0;
}

.filtro-atendido-modal select {
  min-width: 220px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 6px 10px;
}

.torreta-adaptables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 18px 0 16px;
}

.torreta-adaptables-card {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease,
    border-color 0.28s ease;
}

.torreta-adaptables-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  opacity: 0.9;
  background: #94a3b8;
}

.torreta-adaptables-card.is-active {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.torreta-adaptables-card.is-updating {
  transform: translateY(-4px) scale(1.01);
}

.torreta-adaptables-card.estado-total::after {
  background: linear-gradient(90deg, #0f172a, #475569);
}

.torreta-adaptables-card.estado-compra::after {
  background: linear-gradient(90deg, #15803d, #22c55e);
}

.torreta-adaptables-card.estado-prestamo::after {
  background: linear-gradient(90deg, #c2410c, #fb923c);
}

.torreta-adaptables-card.estado-no-compra::after {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.torreta-adaptables-card.estado-prestamo-vencido::after {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.torreta-adaptables-card.estado-prestamo-con-venta::after {
  background: linear-gradient(90deg, #5b21b6, #8b5cf6);
}

.torreta-adaptables-etiqueta {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.torreta-adaptables-valor {
  margin-top: 10px;
  color: #0f172a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.torreta-adaptables-detalle {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.table-responsive#adaptables_panel_dinamico {
  transition: opacity 0.28s ease, transform 0.28s ease;
  transform-origin: top center;
}

.table-responsive#adaptables_panel_dinamico.is-filtering {
  opacity: 0.72;
  transform: translateY(6px);
}

.fila-estado-adaptable td {
  transition: background-color 0.2s ease;
}

.fila-estado-adaptable.estado-compra td {
  background: #dbfce7;
}

.fila-estado-adaptable.estado-prestamo td {
  background: #ffedd5;
}

.fila-estado-adaptable.estado-no-compra td {
  background: #fee2e2;
}

.fila-estado-adaptable.estado-prestamo-vencido td {
  background: #ede9fe;
}

.fila-estado-adaptable.estado-prestamo-con-venta td {
  background: #ddd6fe;
}

.estado-adaptable-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.estado-adaptable-badge.estado-compra {
  background: #16a34a;
  color: #fff;
}

.estado-adaptable-badge.estado-prestamo {
  background: #f97316;
  color: #fff;
}

.estado-adaptable-badge.estado-no-compra {
  background: #dc2626;
  color: #fff;
}

.estado-adaptable-badge.estado-prestamo-vencido {
  background: #a78bfa;
  color: #fff;
}

.estado-adaptable-badge.estado-prestamo-con-venta {
  background: #7c3aed;
  color: #fff;
}

.modal-contenido.amplio {
  width: 850px;
  margin: 10px auto;
}

@media (max-width: 768px) {
  .torreta-adaptables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .torreta-adaptables-card {
    padding: 14px 14px 12px;
  }

  .torreta-adaptables-valor {
    font-size: 28px;
  }
}

.modal-contenido .content_eliminar {
  padding: 20px;
  display: -block;
}

.modal-contenido .content_eliminar button {
  float: right;
  margin-left: 10px;
  padding: 3px 5px 3px 5px;
  border-radius: 5px;
  background-color: default;
  cursor: pointer;
  border: 2px solid #333;
}

.modal-contenido .content_eliminar .eliminar_btn {
  background-color: var(--rojo);
  color: #fff;
  border: 2px solid var(--rojo);
}

.modal .modal-contenido .cerrar {
  display: inline-block;
  float: right;
  padding: 5px 10px 5px 10px;
  border-radius: 10px;
  color: var(--main-color);
  cursor: pointer;
  margin: 5px;
  font-weight: 700;
  border: solid 2px transparent;
  transition: all 300ms;
}

.modal .modal-contenido .cerrar:hover {
  border: solid 2px var(--main-color);
}

.modal .modal-contenido form {
  padding: 0px 10px 20px 10px;
}

.modal .modal-contenido label {
  font-size: 16px;
}

.modal .modal-contenido input {
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  border-style: none;
  padding: 8px;
}

.modal .modal-contenido input[type="password"],
.modal .modal-contenido input[type="text"],
.modal .modal-contenido input[type="number"],
.modal .modal-contenido input[type="date"],
.modal .modal-contenido input[type="time"],
.modal .modal-contenido input[type="email"],
.modal .modal-contenido input[type="tel"],
.modal .modal-contenido input[type="color"] {
  background: #ccc;
}

.modal .modal-contenido input[type="submit"] {
  background: var(--main-color);
  cursor: pointer;
  color: #fff;
}

.modal .modal-contenido input[type="file"] {
  cursor: pointer;
  margin: 0px 0px 5px 0px;
}

.modal-contenido.amplio input[type="number"],
.modal-contenido.amplio select {
  width: 60px;
  height: 20px;
  margin: 0px;
  padding: 0px 5px;
}

.modal-contenido.amplio input[type="date"] {
  margin-bottom: 5px !important;
}

.modal-calendario-ajuste .modal-contenido-calendario {
  width: min(92vw, 520px);
  margin: max(10px, 4vh) auto;
  max-height: 88vh;
  overflow-y: auto;
}

.modal-calendario-ajuste .cont_tipo_contrato {
  padding: 12px;
}

.modal-calendario-ajuste select {
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 6px 8px;
}

.modal-calendario-ajuste .input-calendario-nombre[disabled] {
  background: #e5e7eb !important;
  color: #111827;
  opacity: 1;
}

.modal-contenido.amplio .cont_perdida {
  width: 100%;
  display: flex;
  margin: 5px 0px 5px 0px;
  gap: 5px;
}

.modal-contenido.amplio .cont_perdida .cont_derecho label,
.modal-contenido.amplio .cont_perdida .cont_izquierdo label {
  display: inline-block;
  width: auto;
  font-size: 12px !important;
}

.modal-contenido.amplio .cont_perdida .cont_derecho {
  width: 50%;
  min-width: 0;
  float: none;
}

.modal-contenido.amplio .cont_perdida .cont_izquierdo {
  width: 50%;
  min-width: 0;
  float: none;
}

.modal-contenido.amplio .cont_perdida input[type="radio"] {
  width: 20px;
  cursor: pointer;
}

.modal-contenido .cont_tipo_contrato {
  padding: 10px;
}

.modal-contenido .tipo_contrato {
  width: 100%;
  color: #fff;
  border-radius: 5px;
  border: 2px solid var(--main-color);
  margin-top: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 300ms;
}

.modal-contenido .tipo_contrato:hover {
  box-shadow: 5px 5px 5px #999;
  /*transform: scale(1.1);*/
}

.modal-contenido h3 {
  color: #222;
  font-weight: 900;
}

.modal-contenido p {
  color: #222;
}

/* Elegir serie nueva- Cambio por Garantía*/

.modal-contenido #id_audifono,
.modal-contenido #id_audifono2,
.modal-contenido #id_receptor,
.modal-contenido #id_receptor2 {
  border: 2px solid rgba(0, 0, 0, 0);
  margin: 5px 0px 5px 0px;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer !important;
}

.modal-contenido #id_audifono *,
.modal-contenido #id_audifono2 *,
.modal-contenido #id_receptor *,
.modal-contenido #id_receptor2 * {
  cursor: pointer !important;
}

.modal-contenido #id_audifono:hover,
.modal-contenido #id_audifono2:hover,
.modal-contenido #id_receptor:hover,
.modal-contenido #id_receptor2:hover {
  box-shadow: 5px 5px 5px #999;
}

.modal-contenido #value_serie_audifono,
.modal-contenido #value_serie_receptor,
.modal-contenido #value_serie_audifono2,
.modal-contenido #value_serie_receptor2 {
  background-color: #ccc;
  padding-left: 10px;
  font-weight: 700;
}

/*CUMPLEAÑOS*/

.cumpleañeros {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modal-contenido.modal-talent {
  width: 500px;
}

.talento-recordatorio {
  text-align: center;
  padding: 0 20px 25px 20px;
}

.talento-recordatorio h3 {
  margin: 5px 0 8px 0;
}

.talento-recordatorio p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.talento-faltantes {
  margin-top: 12px;
  max-height: 140px;
  overflow-y: auto;
  text-align: left;
  background: #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
}

.talento-faltantes ul {
  margin: 0;
  padding-left: 20px;
}

.talento-faltantes li {
  font-size: 13px;
  margin-bottom: 4px;
}

.talento-acciones {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.talento-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.talento-btn-principal {
  background: var(--main-color);
  color: #fff;
}

.talento-btn-secundario {
  background: #fff;
  border-color: #94a3b8;
  color: #334155;
}

/*
#cumple_container{
	width: auto;
	margin: 0px 10px;
	box-shadow: 1px 3px 5px rgba(0, 0, 0, .5);
	border-radius: 10px 10px 0px 0px;
	position: fixed;
	bottom: 0;
	right: 15px;
	z-index: 9;
	color: white;
	font-family: '', cursive;
	padding: 5px 20px;
}

#cumple_lottie{
	width: auto;
	margin: 0px 10px;
	position: fixed;
	bottom: 0;
	right: 15px;
	z-index: 9;
	color: white;
	padding: 5px 20px;
}

#cumple_titulo{
	width: auto;
	margin: 0px 10px;
	box-shadow: 1px 3px 5px rgba(0, 0, 0, .5);
	border-radius: 10px 10px 0px 0px;
	background: var(--main-color);
	position: fixed;
	bottom: 0;
	right: 15px;
	z-index: 9;
	color: white;
	font-family: '', cursive;
	padding: 5px 20px;
}
*/

/*CALENDARIO*/

.modal-contenido.medio {
  width: 600px;
}

.modal .modal-header {
  background: var(--main-color);
  padding: 15px 10px;
  color: #fff;
  display: flex;
  border-radius: 20px 20px 0px 0px;
  font-size: 20px;
}

.modal .modal-header button {
  position: absolute;
  right: 0;
  padding: 5px;
  margin: 13px;
  top: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 900;
  color: #ccc;
}

.modal .modal-header button:hover {
  color: #fff;
}

.modal .modal-body {
  background: white;
  padding: 10px;
}

.modal .modal-contenido input[type="color"] {
  width: 100%;
  padding: 0;
  border-radius: 0px 0px 5px 5px;
}

.modal .modal-footer {
  background: white;
  border-radius: 0px 0px 5px 5px;
  display: flex;
  margin: 10px;
}

.modal .modal-footer button {
  width: 80px;
  padding: 10px;
  cursor: pointer;
  margin: 10px 5px;
}

/*Buscador de personas*/
#result,
#result2,
#result3,
#result6,
#result_doc,
#result_edit,
#result_ced {
  position: absolute;
  width: 100%;
  max-width: 870px;
  cursor: pointer;
  overflow-y: auto;
  max-height: 400px;
  box-sizing: border-box;
  z-index: 1001;
  background-color: #fff;
  border-radius: 3px;
  /*box-shadow: 1px 1px 5px 3px rgba(0,0,0,0.2);*/
}

#result li,
#result2 li,
#result3 li,
#result6 li,
#result_edit li,
#result_ced li,
#result_doc li {
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

#busqueda_citas {
  top: 70px;
  position: absolute;
  width: 50%;
  overflow: hidden;
  max-width: 600px;
  cursor: pointer;
  background-color: #fff;
  z-index: 1001;
  border-radius: 3px;
  box-sizing: border-box;
  /*box-shadow: 1px 1px 5px 3px rgba(0,0,0,0.2);*/
}

#busqueda_citas li {
  border-bottom: 1px solid #ccc;
  width: 100%;
  height: 50px;
  padding: 10px;
  overflow: hidden;
}

.link-class:hover {
  background-color: #f1f1f1;
}

.btn {
  width: 100px !important;
}

.btn.btn-reagendar {
  background: var(--naranja);
  color: #fff;
  border: none;
  border-radius: 10px;
  float: right;
  margin-left: auto;
}

.btn.btn-success {
  background: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  float: right;
}

.btn.btn-danger {
  background: var(--rojo);
  border: none;
  color: #fff;
  border-radius: 10px;
  float: right;
}
.btn span {
  font-size: 16px;
}

.btn.btn-default {
  color: #111;
  border-radius: 10px;
  border: none;
  float: right;
}
.btn.btn-success:hover,
.btn.btn-danger:hover,
.btn.btn-default:hover,
.btn.btn-danger:hover,
.btn.btn-reagendar:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  transition: all 300ms;
}

.inputs-khz {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  width: 100%;
}

.khz-labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-bottom: 4px;
}

.khz-labels span {
  text-align: center;
  font-size: 12px;
  white-space: nowrap;
}

.inputs-khz input[type="number"] {
  width: 100% !important;
  min-width: 0;
}

.form-row {
  width: 100%;
  display: flex;
  gap: 10px;
}

.form-row .col-mod-6 {
  width: 50%;
}

.form-row .col-mod-12 {
  width: 100%;
}

/* Confirmación */
#justificar_estado_confirmacion {
  background-color: rgba(50, 55, 67, 0.1); /* #323743 */
  border-left: 4px solid #323743;
  padding: 10px;
  border-radius: 4px;
}

/* No se asesoró */
#justificar_estado_no_aseso {
  background-color: rgba(183, 186, 0, 0.15); /* #b7ba00 */
  border-left: 4px solid #b7ba00;
  padding: 10px;
  border-radius: 4px;
}

/* Canceló */
#justificar_estado_cancelo {
  background-color: rgba(255, 23, 23, 0.12); /* #ff1717 */
  border-left: 4px solid #ff1717;
  padding: 10px;
  border-radius: 4px;
}

/*BLOQUEO DE MAYUSCULAS*/

#nombre,
#nacionalidad,
#ciudad,
#direccion,
#profesion,
#nombre_facturado,
#cotiz_nombre,
#molde_nombre,
#medida_nombre,
#micro_nombre,
#nombre_doctor,
#txttitle {
  text-transform: uppercase;
}

.color-row {
  display: flex;
  gap: 0px;
  width: 100%;
  margin-bottom: 5px;
}

/* El select ocupa el 80% restante */
.color-row select {
  flex: 1 !important;
  padding: 5px !important;
  border-radius: 0px 5px 5px 0px !important;
}

/* El input color ocupa EXACTAMENTE el 20% */
.color-row input[type="color"] {
  width: 20% !important;
  height: 30.5px;
  padding: 0;
  -webkit-appearance: none;
  border: none !important;
  outline: none !important;
  cursor: pointer;
  border-radius: 5px 0px 0px 5px !important;
}

.dropzone {
  width: 400px;
  height: 400px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fafafa;
  margin: auto;
}

/* EFECTO HOVER */
.dropzone.hover {
  background: #e6f7ff;
  border-color: #00aaff;
}

/* IMAGEN DENTRO DE DROPZONE */
.dropzone img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px !important;

  object-fit: cover !important;
  object-position: center !important;

  position: absolute !important;
  top: 0 !important;
  left: 0 !important;

  z-index: 2 !important;
  display: none; /* se activa cuando hay imagen */

  pointer-events: none !important; /* 👉 SOLUCIÓN */
}

/* CONTENEDOR PDF */
.dropzone .previewPdf1 {
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px !important;

  position: absolute !important;
  top: 0 !important;
  left: 0 !important;

  z-index: 3 !important;
  display: none;
}

/* PLACEHOLDER */
.dropzone .placeholder {
  position: absolute;
  z-index: 1;
  color: #666;
  pointer-events: none;
  text-align: center;
}

/* HOVER - OVERLAY OSCURO */
.dropzone:hover .placeholder {
  opacity: 1 !important;
  z-index: 4 !important;
  background: rgba(0, 0, 0, 0.3);
  color: white;
}

/* CONTENEDOR PDF WRAPPER */
.pdf-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* PDF (embed) */
.pdf-embed {
  width: 140%; /* zoom suave pero nítido */
  height: auto;
  border: none;
}

/* EXTRA: El contenedor original NO debe bloquear eventos */
.pdf_dropzone {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.btn-cambiar {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 12px 50px;
  background: rgb(40, 40, 40);
  color: white;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
}

.btn-cambiar:hover {
  background: rgba(12, 12, 12, 0.9);
}

/* OTROS */
.parametros_audiometria {
  display: flex;
}

.controladores_audiometria {
  margin-top: 10px;
}

.controladores_audiometria .guardar {
  padding: 20px !important;
  border-radius: 30px !important;
}

/*ENCUENSTA LO MAS IMPORTANTE  FICHA INICIO*/
.encuesta-audifonos {
  margin: 20px 0px;
  background-color: var(--main-color);
  padding: 10px;
  border-radius: 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 320px repeat(auto-fill, minmax(260px, 1fr));
  gap: 15px;
  align-items: stretch;
}

/* CARD INTRO */
.card-intro {
  background: linear-gradient(135deg, #f5f7fa, #eef1f5);
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;

  /* 🔹 CLAVE PARA CENTRADO VERTICAL */
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* opcional */
  min-height: 100%;
}

.card-intro h2 {
  margin-bottom: 5px;
}

.card-intro p {
  margin-bottom: 15px;
  color: #555;
}

.leyenda div {
  margin-bottom: 6px;
}

/* CARDS NORMALES */
.card-opcion {
  background: #fff;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  user-select: none;
}

.card-opcion.oculta {
  display: none;
}

.card-opcion:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: #cfd8dc;
}

.card-opcion img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.img-wrap {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 10px;
}

.img-wrap img {
  width: 100%;
  transition: transform 0.4s ease;
}

.card-opcion:hover .img-wrap img {
  transform: scale(1.05);
}

.prioridad {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.prioridad label {
  margin: 0 6px;
}

.pill {
  cursor: pointer;
}

.pill input {
  display: none;
}

.pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 36px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-weight: 600;
  color: #555;
  background: #fafafa;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.pill span:hover {
  background: #f0f4f8;
  transform: translateY(-1px);
}

.pill input:checked + span {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: #fff;
  box-shadow: 0 6px 14px rgba(76, 175, 80, 0.35);
  transform: translateY(-2px);
}

.card-opcion:has(input:checked) {
  border-color: #4caf50;
  box-shadow: 0 10px 22px rgba(76, 175, 80, 0.15);
}

/* OCULTAR */
.card-opcion.oculta {
  display: none;
}

/* VER MÁS */
.card-ver-mas {
  border: 2px dashed #aaa;
  cursor: pointer;
  color: #555;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icono-ojo {
  font-size: 38px;
}

/*ENCUENSTA LO MAS IMPORTANTE FICHA FIN*/

.motivacion-box {
  background: var(--azul);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.motivacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 15px;
}

/* columnas */
.motivacion-left,
.motivacion-right {
  display: flex;
  flex-direction: column;
}

/* textarea más protagonista */
.motivacion-right .input-text {
  min-height: 120px;
}

.titul_en {
  width: 100% !important;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px !important;
}

.titulo-secundario {
  width: 100% !important;
  font-weight: 600;
  display: block;
  font-size: 16px !important;
  color: white !important;
}

.escala-labels {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 12px !important;
  color: #f1f1f1 !important;
}

.escala-labels span {
  width: 150px !important;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-row input[type="range"] {
  flex: 1;
  height: 50px;
}
/* 📱 Responsive: en móvil se apila */
@media (max-width: 768px) {
  .motivacion-grid {
    grid-template-columns: 1fr;
  }

  .titulo-secundario {
    margin-top: 15px;
    padding-top: 0;
  }
}

@keyframes temblorSuave {
  0% {
    transform: translateX(0) scale(1);
  }
  20% {
    transform: translateX(-2px) scale(1.05);
  }
  40% {
    transform: translateX(2px) scale(1.05);
  }
  60% {
    transform: translateX(-1px) scale(1.05);
  }
  80% {
    transform: translateX(1px) scale(1.05);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

.valor {
  min-width: 28px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 30px !important;
}

.valor.temblar {
  animation: temblorSuave 0.25s ease;
}

#motivacion {
  width: 100%;
  appearance: none;
  height: 12px;
  border-radius: 6px;
  outline: none;

  /* 🔹 líneas verticales */
  background:
    repeating-linear-gradient(
      to right,
      #999 0px,
      #999 1px,
      transparent 1px,
      transparent calc(100% / 10)
    ),
    #ddd;
}

/* Botón */
#motivacion::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  background: #e91e63;
  border-radius: 50%;
  cursor: pointer;
}

#motivacion::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #e91e63;
  border-radius: 50%;
  cursor: pointer;
}

.input-text {
  width: 100%;
  min-height: 50px; /* 🔹 más alto */
  padding: 12px 14px; /* 🔹 más aire */
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

/*ENCUENSTA LO MAS DIFICIL  INICIO*/
.encuesta-dificultades {
  background-color: var(--azul);
  padding: 10px;
  border-radius: 20px;
}
.encuesta-dificultades img,
.encuesta-audifonos img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  pointer-events: none;
}

.card-check {
  cursor: pointer;
  position: relative;
}

.card-check input[type="checkbox"] {
  display: none;
}

/* Estado seleccionado */
.card-check:has(input:checked) {
  border-color: #1976d2;
  box-shadow: 0 10px 22px rgba(25, 118, 210, 0.18);
}

/* Check visual */
.card-check::after {
  content: "✔";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: #1976d2;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  display: none;
  align-items: center;
  justify-content: center;
}

.card-check:has(input:checked)::after {
  display: flex;
}

/*ENCUENSTA LO MAS DIFICIL  FIN*/

.btn-guardar-flotante {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;

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

  padding: 14px 18px;
  border-radius: 50px;

  background: var(--main-color);
  color: #fff;
  border: none;

  font-size: 15px;
  font-weight: 600;
  cursor: pointer;

  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.btn-guardar-flotante:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}

.btn-guardar-flotante:active {
  transform: scale(0.97);
}

/* Icono */
.btn-guardar-flotante .icono {
  font-size: 30px;
}

/* Responsive: solo icono en móvil */
@media (max-width: 600px) {
  .btn-guardar-flotante .texto {
    display: none;
  }

  .btn-guardar-flotante {
    width: 56px;
    height: 56px;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
  }
}

/*Fin  Ventana Flotante*/
@media only screen and (max-width: 1200px) {
  .sidebar {
    width: 70px;
  }

  .sidebar .sidebar-brand,
  .sidebar li {
    padding-left: 1rem;
    text-align: center;
  }

  .sidebar li a {
    padding-left: 0rem;
  }

  .sidebar .sidebar-brand h2 span:last-child,
  .sidebar li a span:last-child {
    display: none;
  }

  .main-content {
    margin-left: 70px;
  }

  .main-content header {
    width: calc(100% - 70px);
    left: 70px;
  }
}

@media only screen and (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .recent-grid {
    grid-template-columns: 60% 40%;
  }
}

@media only screen and (max-width: 768px) {
  .modal-contenido.medio {
    width: 100%;
  }

  .modal-title {
    font-size: 14px !important;
    max-width: 300px;
    max-height: 20px;
    overflow: hidden;
  }

  .modal-contenido.medio label {
    font-size: 14px;
  }

  .modal-contenido.medio .enviar_what {
    font-size: 9px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .recent-grid {
    grid-template-columns: 100%;
  }

  .oculto_to_cell {
    display: none;
  }

  .cont_check_bonito {
    font-size: 10px;
  }

  .sidebar {
    left: -100% !important;
  }

  header h2 {
    display: flex;
    align-items: center;
  }

  header h2 label {
    display: inline-block;
    background: var(--main-color);
    padding-right: 0rem;
    margin-right: 1rem;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center !important;
  }

  header h2 span {
    text-align: center;
    padding-right: 0rem;
  }

  header h2 {
    font-size: 1.1rem;
  }

  .main-content {
    width: 100%;
    margin-left: 0rem;
  }

  header {
    width: 100% !important;
    left: 0 !important;
  }

  .header-shortcuts {
    display: none !important;
  }

  .search-wrapper {
    max-width: none;
    flex: 1 1 auto;
  }

  #nav-toggle:checked + .sidebar {
    left: 0 !important;
    z-index: 100;
    width: 250px;
  }

  #nav-toggle:checked + .sidebar .sidebar-brand,
  #nav-toggle:checked + .sidebar li {
    padding-left: 2rem;
    text-align: left;
  }

  #nav-toggle:checked + .sidebar li a {
    padding-left: 1rem;
  }

  #nav-toggle:checked + .sidebar .sidebar-brand h2 span:last-child,
  #nav-toggle:checked + .sidebar li a span:last-child {
    display: inline;
  }

  #nav-toggle:checked ~ .main-content {
    margin-left: 0rem !important;
  }
}

@media only screen and (max-width: 560px) {
  .cards {
    grid-template-columns: 100%;
  }

  .table-responsive td#movil {
    display: none;
  }
}
