@import url("https://fonts.googleapis.com/css2?family=Barlow&display=swap");

.telcos-botton-duplicar {
  position: absolute;
  width: 20px;
  border-radius: 50%;
  padding: 0%;
  margin-left: -1%;
}
a:hover {
  text-decoration: none;
}

.border-left {
  border-left: 2px solid var(--danger) !important;
}

.list-group-item.active {
  background-color: #cd1f1d !important;
  color: white !important;
}

.sidebar {
  top: 0;
  left: 0;
  z-index: 100;
  overflow-y: auto;
}

.overlay {
  background-color: rgb(0 0 0 / 45%);
  z-index: 99;
}

/* sidebar for small screens */
@media screen and (max-width: 767px) {
  .sidebar {
    max-width: 18rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  ul.breadcrumb {
    margin-top: -7%;
  }
}

#close-sidebar {
  position: absolute;
  z-index: 999;
  margin-left: 84%;
  margin-top: -20%;
}

.btn:focus,
.btn:hover {
  background: transparent !important;
  cursor: pointer;
}

ul.breadcrumb {
  padding: 8px 16px;
  list-style: none;
  background-color: #eee;
  margin-top: -4%;
}

ul.breadcrumb li {
  display: inline;
}

ul.breadcrumb li + li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

ul.breadcrumb a:link,
ul.breadcrumb a:visited {
  text-decoration: none;
  color: black;
}

ul.breadcrumb li.active {
  color: #4caf50;
  font-weight: bold;
}

ul.breadcrumb li.active:hover {
  color: #397f3b;
  font-weight: bold;
}

.card-body a {
  color: white !important;
}

.card-body a:hover {
  color: black !important;
}

.alert-message {
  line-height: 20px;
  font-size: 15px;
  padding-bottom: 12px;
}

h1 {
  color: #e35154 !important;
  font-size: 18px;
  margin-left: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

body a,
body #test {
  color: black;
}

.unstyled {
  margin: 0;
  list-style: none;
}

.unstyled a,
.unstyled #test {
  width: 120px;
  text-decoration: none;
  padding: 0.5em 1em;
  background-color: #213347;
  border-radius: 4px;
  display: block;
  margin-bottom: 0.5em;
  font-size: 15px;
  font-weight: 300;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.unstyled a:hover,
.unstyled #test:hover {
  background-color: #f25c5d;
}

.cf,
.alert {
  *zoom: 1;
}

.cf:before,
.alert:before,
.cf:after,
.alert:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after,
.alert:after {
  clear: both;
}

#alerts {
  width: 400px;
  top: 12px;
  position: fixed;
  z-index: 9999;
  list-style: none;
}

.alert {
  width: 100%;
  margin-bottom: 8px;
  display: block;
  position: relative;
  border-left: 4px solid;
  right: -50px;
  opacity: 0;
  line-height: 1;
  padding: 0;
  transition: right 400ms, opacity 400ms, line-height 300ms 100ms,
    padding 300ms 100ms;
  display: table;
}

.alert:hover {
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.open {
  right: 0;
  opacity: 1;
  line-height: 2;
  padding: 3px 15px;
  transition: line-height 200ms, padding 200ms, right 350ms 200ms,
    opacity 350ms 200ms;
}

.alert-title {
  font-weight: bold;
}

.alert-block {
  width: 80%;
  width: -webkit-calc(100% - 10px);
  width: calc(100% - 10px);
  text-align: left;
}

.alert-block em,
.alert-block small {
  font-size: 0.75em;
  opacity: 0.75;
  display: block;
}

.alert i {
  font-size: 2em;
  width: 1.5em;
  max-height: 48px;
  top: 50%;
  margin-top: -12px;
  display: table-cell;
  vertical-align: middle;
}

.alert-success {
  color: #fff;
  border-color: #539753;
  background-color: #8fbf2f;
}

.alert-error {
  color: #fff;
  border-color: #dc4a4d;
  background-color: #f25c5d;
}

.alert-trash {
  color: #fff;
  border-color: #dc4a4d;
  background-color: #f25c5d;
}

.alert-info {
  color: #fff;
  border-color: #076d91;
  background-color: #3397db;
}

.alert-warning {
  color: #fff;
  border-color: #dd6137;
  background-color: #f7931d;
}

.error {
  border: 1px solid red !important;
}

.no_mostrar {
  display: none;
}

.btn:hover {
  color: black !important;
}

button:focus:not(:focus-visible) {
  color: black;
}

.telcos-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.telcos-blue {
  background-color: #23266a;
  color: white;
  padding: 7px;
  margin-top: 6px;
}

.select2-search__field {
  width: 100% !important;
  color: rgb(0, 0, 0) !important;
  background-clip: padding-box !important;
  border: 1px solid #ced4da !important;
}

.select2-selection--multiple .select2-selection__choice {
  background-color: #201f49 !important;
  color: white !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  color: #e78415 !important;
  padding: 2px !important;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid transparent !important;
}

.telcos-info {
  color: red;
  font-size: 10px;
  justify-content: center;
  text-align: center;
  width: 100%;
  cursor: pointer;
}

.telcos-info i {
  font-size: 30px;
}

@media (min-width: 650px) {
  .table-responsive {
    display: inline-table !important;
  }
}

@media (max-width: 650px) {
  .table-responsive {
    display: block !important;
  }
}

.telcos-text {
  background-color: #fff;
  /* Fondo blanco */
  border: none;
  /* Sin bordes */
  outline: none;
  /* Sin borde de enfoque */
  resize: none;
  /* Deshabilita el redimensionamiento */
  padding: 10px;
  /* Espacio interno */
  font-size: 16px;
  /* Tamaño de fuente */
  color: #000;
  /* Color del texto */
  box-shadow: none;
  /* Sin sombra */
}

.telcos_tipo_trabajo_border {
  margin-top: 8px;
  border: 1px solid black;
  height: 27px;
  z-index: 1;
}

.telcos_tipo_trabajo_border_blue label.title {
  font-size: 15px;
  color: #305496;
  font-weight: 400;
}

.telcos_tipo_trabajo_border_blue {
  border: 1px solid #305496;
  z-index: 1;
  padding-top: 5px;
}

.telcos-h-50-font-10 {
  height: 25px;
  font-size: 10px;
}

.telcos-w-100 {
  width: 100px;
}

.telcos-align-left {
  display: flex;
  justify-content: flex-start;
}

.telcos-align-left textarea {
  resize: none !important;
}

.telcos-tipo-trabajo-general {
  margin-left: 20px;
  display: flex;
  flex-wrap: wrap;
  /* Espacio entre los elementos, ajustable */
}

.inicio_tipo_trabajo {
  /* Ancho del 50% sin espacio entre los elementos */
  box-sizing: border-box;
  /* Asegura que el borde y el padding se incluyan en el ancho */
  margin: 0;
  /* Elimina el margen entre los elementos */
  padding: 0;
  /* Elimina cualquier padding adicional */
}

/* ESTILOS FORMATOS TABLAS */

.tabla-trabajadores {
  letter-spacing: 1.5px;
}

.tabla-trabajadores th {
  border: 2px solid white;
  height: 100px;
}

.tabla-trabajadores td {
  border: 1px solid black;
  height: 30px;
}

.border-white {
  border-bottom: 2px solid white !important;
  border-top: 1px solid transparent !important;
}

.bg-telcos {
  background-color: #23266a;
  font-family: Arial, sans-serif;
  /* Arial como fuente principal, sans-serif como fuente secundaria */
  font-size: 10.67px;
  /* Tamaño de fuente de 8 píxeles */
  color: white;
  padding: 5px;
  text-align: center;
}

.bg-telcos p {
  color: white !important;
  font-size: 12px;
  padding: 0px 30px 0px 30px;
}
.bg-telcos-gray {
  background-color: #808080;
  font-family: Arial, sans-serif;
  /* Arial como fuente principal, sans-serif como fuente secundaria */
  font-size: 10.67px;
  /* Tamaño de fuente de 8 píxeles */
  color: white;
  padding: 5px;
  text-align: center;
}

.bg-telcos-gray p {
  color: white !important;
  font-size: 12px;
  padding: 0px 30px 0px 30px;
}

.bg-telcos-gray {
  background-color: #aaaaae;
  font-family: Arial, sans-serif;
  /* Arial como fuente principal, sans-serif como fuente secundaria */
  font-size: 10.67px;
  /* Tamaño de fuente de 8 píxeles */
  color: white;
  padding: 5px;
  text-align: center;
}

.rotate {
  color: white;
  font-size: 10px;
  font-weight: 900;
  margin-top: 10%;
  margin-left: 10%;
  height: 60px;
  width: 100px;
  max-width: 100px;
  transform: rotate(-90deg);
}

td.selected {
  position: relative;
  text-align: center;
  vertical-align: middle;
  padding: 0;
}

td.selected::before {
  content: "✔";
  font-size: 24px;
  /* Ajusta el tamaño según sea necesario */
  color: black;
  /* Color de la X */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.selected {
  position: relative;
  text-align: center;
  vertical-align: middle;
  padding: 0;
}

div.selected::before {
  content: "✔";
  font-size: 24px;
  /* Ajusta el tamaño según sea necesario */
  color: rgba(0, 0, 0, 0.685);
  /* Color de la X */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telcos-blue-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.telcos-blue-table th,
.telcos-blue-table td {
  border: 1px solid #305496;
  padding: 2px;
  color: #305496;
}

.telcos-blue-color {
  font-weight: 900;
}

.telcos-back-blue {
  background: #305496;
  text-align: center;
}

.telcos-back-blue p {
  color: white;
}

@media (max-width: 800px) {
  .telcos-tipo-trabajo-general {
    widows: 100%;
    overflow: scroll;
  }

  .telcos-align-left {
    flex-direction: column;
  }

  .inicio_tipo_trabajo {
    flex: 100%;
    width: 600px;
  }

  .inicio_tipo_trabajo .hr {
    position: relative !important;
  }

  .telcos-mt-09 {
    margin-top: 3% !important;
  }
}

.platform-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #d9534f;
  /* Rojo suave para resaltar el título */
  margin-bottom: 30px;
}

.role-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

.role-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.role-header {
  background-color: #4a90e2;
  padding: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-icon {
  font-size: 36px;
  color: #ffffff;
}

.role-body {
  padding: 20px;
  flex-grow: 1;
}

.role-title {
  font-size: 20px;
  color: #333;
  font-weight: bold;
  margin: 10px 0;
}

.role-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.role-link {
  color: #4a90e2;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.role-link:hover {
  color: #357ab8;
}

[rel="next"] svg {
  width: 10px;
}
[rel="prev"] svg {
  width: 10px;
}

svg.w-5.h-5 {
  width: 10px;
}

span[aria-current="page"] {
  color: #201f49;
}

[role="navigation"] {
  margin-top: 5%;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  /* Permite que las etiquetas salten de línea si no caben */
  gap: 16px;
  /* Espaciado horizontal entre etiquetas */
  font-family: Arial, sans-serif;
}

.tag {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Espaciado entre el cuadro de color y el texto */
}

.color-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  /* Bordes redondeados */
  display: inline-block;
}

.tag-label {
  font-size: 14px;
  color: #333;
  /* Color del texto */
}

/* Ajustes para pantallas pequeñas */

.input-bx-telcos {
  position: relative;
  width: 300px;
}

.input-bx-telcos input {
  width: 100%;
  padding: 10px;
  border: 2px solid #7f8fa6;
  border-radius: 5px;
  outline: none;
  font-size: 1rem;
  transition: 0.6s;
}

.input-bx-telcos span {
  position: absolute;
  left: 0;
  padding: 10px;
  font-size: 0.8rem;
  color: #7f8fa6;
  text-transform: uppercase;
  pointer-events: none;
  transition: 0.6s;
}

.input-bx-telcos input:focus ~ span,
.input-bx-telcos input:not(:placeholder-shown) ~ span {
  color: #353872;
  transform: translateX(10px) translateY(-7px);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0 10px;
  background: #fff;
  letter-spacing: 0.1rem;
}

/* formulario por pasos */
.step_telcos {
  display: none;
}

.step_telcos.active {
  display: block;
}

.step_telcos-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.step_telcos-header {
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #3742fa;
}

.form-label {
  font-weight: bold;
}

.form-control {
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.step_telcos-indicator {
  font-size: 1rem;
  color: #6c757d;
}

.step_telcos-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.step_telcos-nav .step_telcos-item {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: #6c757d;
  padding: 10px 20px;
  cursor: pointer;
  flex: 1;
  text-align: center;
  position: relative;
  justify-content: center;
}

.step_telcos-nav .step_telcos-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background-color: #e9ecef;
}

.step_telcos-nav .step_telcos-item.active {
  font-weight: bold;
  color: #007bff;
  border-bottom: 2px solid #007bff;
}

.step_telcos-nav .step_telcos-item i {
  margin-right: 10px;
}

#prevBtn.hidden {
  display: none;
}

.textarea-telcos {
  border-color: #3742fa;
  width: 200%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .step_telcos-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .step_telcos-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .textarea-telcos {
    width: 100% !important;
  }
  .step_telcos-nav .step_telcos-item {
    justify-content: flex-start;
    padding: 10px;
  }

  .step_telcos-nav .step_telcos-item:not(:last-child)::after {
    display: none;
  }
}

.button13 {
  position: relative;
  margin: 0;
  padding: 0.8em 1em;
  outline: none;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  background-color: #153747;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 300;
  font-size: 18px;
  font-family: inherit;
  z-index: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.button13:hover {
  animation: sh0 0.5s ease-in-out both;
}

@keyframes sh0 {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }

  25% {
    transform: rotate(7deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-7deg) translate3d(0, 0, 0);
  }

  75% {
    transform: rotate(1deg) translate3d(0, 0, 0);
  }

  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

.button13:hover span {
  animation: storm 0.7s ease-in-out both;
  animation-delay: 0.06s;
}

.button13::before,
.button13::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1),
    opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1);
  z-index: -1;
  transform: translate(100%, -25%) translate3d(0, 0, 0);
}

.button13:hover::before,
.button13:hover::after {
  opacity: 0.15;
  transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1),
    opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.button13:hover::before {
  transform: translate3d(50%, 0, 0) scale(0.9);
}

.button13:hover::after {
  transform: translate(50%, 0) scale(1.1);
}

/* botones con tooltip */
.telcos_botones1 {
  display: flex;
  text-align: left !important;
}

.telcos_botones1 .icon-content {
  margin: 0 10px;
  position: relative;
}

.telcos_botones1 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.telcos_botones1 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.telcos_botones1 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 20%;
  color: #4d4d4d;
  background-color: #456777 !important;
  transition: all 0.3s ease-in-out;
}

.telcos_botones1 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 50%);
}

.telcos_botones1 .icon-content a:hover {
  color: white;
}

.telcos_botones1 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.telcos_botones1 .icon-content a:hover .filled {
  height: 100%;
}

.telcos_botones1 .icon-content a:hover i {
  color: white;
}

.telcos_botones1 .icon-content i {
  font-size: 1.5rem; /* Increase the icon size */
}

.telcos_botones1 .icon-content a[data-social="create"] .filled,
.telcos_botones1 .icon-content a[data-social="create"] ~ .tooltip {
  background-color: #1db954;
}

.telcos_botones1 .icon-content a[data-social="delete"] .filled,
.telcos_botones1 .icon-content a[data-social="delete"] ~ .tooltip {
  background-color: #bd081c;
}

.telcos_botones1 .icon-content a[data-social="read"] .filled,
.telcos_botones1 .icon-content a[data-social="read"] ~ .tooltip {
  background-color: #ea4c89;
}

.telcos_botones1 .icon-content a[data-social="view"] .filled,
.telcos_botones1 .icon-content a[data-social="view"] ~ .tooltip {
  background-color: #0088cc;
}

.telcos_animacion_blink {
  animation: grow-shrink 2s infinite;
}
@keyframes grow-shrink {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
/* carrusel modal */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #fc185a;
  border-radius: 50%;
  padding: 10px;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #990a32;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev {
  left: -4%;
}

.carousel-control-next {
  right: -4%;
}
/* barra scroll */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #bbe1fa;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #3282b8, #0f4c75);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #1b6ca8, #0a3d62);
}

.button_proccess {
  position: relative;
  margin: 0;
  padding: 0.8em 1em;
  outline: none;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  background-color: #187abb;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 300;
  font-size: 18px;
  font-family: inherit;
  z-index: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.button_proccess:hover {
  animation: sh0 0.5s ease-in-out both;
}

@keyframes sh0 {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }

  25% {
    transform: rotate(7deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-7deg) translate3d(0, 0, 0);
  }

  75% {
    transform: rotate(1deg) translate3d(0, 0, 0);
  }

  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

.button_proccess:hover span {
  animation: storm 0.7s ease-in-out both;
  animation-delay: 0.06s;
}

.button_proccess::before,
.button_proccess::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1),
    opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1);
  z-index: -1;
  transform: translate(100%, -25%) translate3d(0, 0, 0);
}

.button_proccess:hover::before,
.button_proccess:hover::after {
  opacity: 0.15;
  transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1),
    opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.button_proccess:hover::before {
  transform: translate3d(50%, 0, 0) scale(0.9);
}

.button_proccess:hover::after {
  transform: translate(50%, 0) scale(1.1);
}

.folder-tree-wrapper {
  background-color: #fff;
  width: 220px;
  min-height: 260px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.11);
  margin-left: 20px;
}

.folder-tree {
  list-style: none;
  cursor: pointer;
  padding-left: 20px;
}

.folder-tree li {
  margin-bottom: 10px;
  font-size: 14px;
  transition: all 0.4s ease;
  position: relative;
  color: black;
}

.folder-tree li:hover {
}

.folder-tree li i {
  color: rgb(242, 176, 53);
}

.folder-tree li ul {
  padding-left: 10px;
  padding-top: 8px;
}

.folder-tree ul {
  display: none;
  position: relative;
}

.folder-tree ul:before {
  position: absolute;
  content: "";
  left: -10px;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: transparent;
  border-left: dashed 1px #c2c2c2;
  border-bottom: dashed 1px #c2c2c2;
}

.folder-tree li ul li {
  display: block;
  margin-bottom: 8px;
}

.folder-tree .arrow {
  position: absolute;
  top: 4px;
  left: -14px;
  width: 8px;
  height: 8px;
  transition: all 0.4s ease;
  transform: rotate(-90deg);
}

.folder-tree .arrow i {
  color: #595959;
  transition: all 0.4s ease;
}

.folder-tree .arrow:hover i {
  color: #292929;
}

.folder-tree li.expanded > ul {
  display: block;
}

.folder-tree li.expanded > .arrow {
  transform: rotate(0deg);
}

.container2 {
  --transition: 350ms;
  --folder-W: 120px;
  --folder-H: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  height: calc(var(--folder-H) * 1.7);
  position: relative;
}

.folder {
  position: absolute;
  top: -20px;
  left: calc(50% - 60px);
  animation: float 2.5s infinite ease-in-out;
  transition: transform var(--transition) ease;
}

.folder:hover {
  transform: scale(1.05);
}

.folder .front-side,
.folder .back-side {
  position: absolute;
  transition: transform var(--transition);
  transform-origin: bottom center;
}

.folder .back-side::before,
.folder .back-side::after {
  content: "";
  display: block;
  background-color: white;
  opacity: 0.5;
  z-index: 0;
  width: var(--folder-W);
  height: var(--folder-H);
  position: absolute;
  transform-origin: bottom center;
  border-radius: 15px;
  transition: transform 350ms;
  z-index: 0;
}

.container2:hover .back-side::before {
  transform: rotateX(-5deg) skewX(5deg);
}

.container2:hover .back-side::after {
  transform: rotateX(-15deg) skewX(12deg);
}

.folder .front-side {
  z-index: 1;
}

.container2:hover .front-side {
  transform: rotateX(-40deg) skewX(15deg);
}

.folder .tip {
  background: linear-gradient(135deg, #ff9a56, #ff6f56);
  width: 80px;
  height: 20px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -10px;
  z-index: 2;
}

.folder .cover {
  background: linear-gradient(135deg, #ffe563, #ffc663);
  width: var(--folder-W);
  height: var(--folder-H);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.custom-file-upload {
  font-size: 1.1em;
  color: #ffffff;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background var(--transition) ease;
  display: inline-block;
  width: 100%;
  padding: 10px 35px;
  position: relative;
}

.custom-file-upload:hover {
  background: rgba(255, 255, 255, 0.4);
}

.custom-file-upload input[type="file"] {
  display: none;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}
/* //loader */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: 160px;
  height: 100px;
  margin-left: -80px;
  margin-top: -50px;
  border-radius: 5px;
  background: #1e3f57;
  animation: dot1_ 3s cubic-bezier(0.55, 0.3, 0.24, 0.99) infinite;
}

.loader:nth-child(2) {
  z-index: 11;
  width: 150px;
  height: 90px;
  margin-top: -45px;
  margin-left: -75px;
  border-radius: 3px;
  background: #3c517d;
  animation-name: dot2_;
}

.loader:nth-child(3) {
  z-index: 12;
  width: 40px;
  height: 20px;
  margin-top: 50px;
  margin-left: -20px;
  border-radius: 0 0 5px 5px;
  background: #6bb2cd;
  animation-name: dot3_;
}

@keyframes dot1_ {
  3%,
  97% {
    width: 160px;
    height: 100px;
    margin-top: -50px;
    margin-left: -80px;
  }

  30%,
  36% {
    width: 80px;
    height: 120px;
    margin-top: -60px;
    margin-left: -40px;
  }

  63%,
  69% {
    width: 40px;
    height: 80px;
    margin-top: -40px;
    margin-left: -20px;
  }
}

@keyframes dot2_ {
  3%,
  97% {
    height: 90px;
    width: 150px;
    margin-left: -75px;
    margin-top: -45px;
  }

  30%,
  36% {
    width: 70px;
    height: 96px;
    margin-left: -35px;
    margin-top: -48px;
  }

  63%,
  69% {
    width: 32px;
    height: 60px;
    margin-left: -16px;
    margin-top: -30px;
  }
}

@keyframes dot3_ {
  3%,
  97% {
    height: 20px;
    width: 40px;
    margin-left: -20px;
    margin-top: 50px;
  }

  30%,
  36% {
    width: 8px;
    height: 8px;
    margin-left: -5px;
    margin-top: 49px;
    border-radius: 8px;
  }

  63%,
  69% {
    width: 16px;
    height: 4px;
    margin-left: -8px;
    margin-top: -37px;
    border-radius: 10px;
  }
}

#content {
  display: none;
  color: black;
}

.hidden {
  display: none;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* formlario altutas  */
.tabla_alturas {
  border: 2px solid #000000;
  width: auto;
  /* Allows the table to shrink dynamically */
  max-width: 1000px;
  /* Limits the table width on larger screens */
  margin: 0 auto;
  /* Centers the table */
}

.tabla_alturas th,
.tabla_alturas td {
  overflow: hidden;
  /* Hides overflowing text */
  text-overflow: ellipsis;
  /* Adds ellipsis for overflowing text */
  white-space: normal;
  /* Allows text wrapping */
  word-wrap: break-word;
  /* Breaks long words */
  text-align: center;
  /* Centers text */
}

.tabla_alturas th {
  background-color: #adb8bd;
  color: #000;
  border: 2px solid #000000;
}

.tabla_alturas td {
  background-color: #ffffff;
  border: 2px solid #000000;
}

@media (max-width: 768px) {
  .tabla_alturas th,
  .tabla_alturas td {
    font-size: 14px;
  }
}

.form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #007bff; /* Change the color of the checkbox */
  border: 2px solid #adb8bd;
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: #007bff;
  border-color: #0056b3;
}

.form-check-input:hover {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* boton de descarga */
.telcos-button-descargar {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.label {
  background-color: transparent;
  border: 2px solid #0a3d62;
  display: flex;
  align-items: center;
  border-radius: 50px;
  width: 160px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
}

.label::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  width: 8px;
  height: 8px;
  transition: all 0.4s ease;
  border-radius: 100%;
  margin: auto;
  opacity: 0;
  visibility: hidden;
}

.label .input {
  display: none;
}

.label .title {
  font-size: 17px;
  color: #000000;
  transition: all 0.4s ease;
  position: absolute;
  right: 18px;
  bottom: 2px !important;
  text-align: center;
}

.label .title:last-child {
  opacity: 0;
  visibility: hidden;
}

.label .circle {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background-color: #0a3d62;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  overflow: hidden;
}

.label .circle .icon {
  color: #fff;
  width: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label .circle .square {
  aspect-ratio: 1;
  width: 15px;
  border-radius: 2px;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.label .circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0a3d62;
  width: 100%;
  height: 0;
  transition: all 0.4s ease;
}

.label:has(.input:checked) {
  width: 57px;
  animation: installed 0.4s ease 3.5s forwards;
}

.label:has(.input:checked)::before {
  animation: rotate 3s ease-in-out 0.4s forwards;
}

.label .input:checked + .circle {
  animation: pulse 1s forwards, circleDelete 0.2s ease 3.5s forwards;
  rotate: 180deg;
}

.label .input:checked + .circle::before {
  animation: installing 3s ease-in-out forwards;
}

.label .input:checked + .circle .icon {
  opacity: 0;
  visibility: hidden;
}

.label .input:checked ~ .circle .square {
  opacity: 1;
  visibility: visible;
}

.label .input:checked ~ .title {
  opacity: 0;
  visibility: hidden;
}

.label .input:checked ~ .title:last-child {
  animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
  0% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    scale: 1;
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }
  100% {
    scale: 0.95;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes installing {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(-90deg) translate(27px) rotate(0);
    opacity: 1;
    visibility: visible;
  }
  99% {
    transform: rotate(270deg) translate(27px) rotate(270deg);
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes installed {
  100% {
    width: 150px;
    border-color: rgb(35, 174, 35);
  }
}

@keyframes circleDelete {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes showInstalledMessage {
  100% {
    opacity: 1;
    visibility: visible;
    right: 56px;
  }
}

/* checkbox telcos  */
.telcos_checkbox-wrapper input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.telcos_checkbox-wrapper *,
.telcos_checkbox-wrapper ::after,
.telcos_checkbox-wrapper ::before {
  box-sizing: border-box;
  user-select: none;
}

.telcos_checkbox-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.telcos_checkbox-wrapper .telcos_label {
  background-color: transparent;
  border: 1px solid #0a3d62;
  display: flex;
  align-items: center;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 5px;
  position: relative;
  width: auto;
  min-width: 160px;
}

.telcos_checkbox-wrapper .telcos_label span {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
}

.telcos_checkbox-wrapper .telcos_label svg {
  width: 45px !important;
  height: 45px !important;
  flex-shrink: 0;
}

.telcos_checkbox-wrapper .telcos_path1 {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: 0.5s stroke-dashoffset;
  opacity: 0;
}

.telcos_checkbox-wrapper .telcos_check:checked + .telcos_label svg g path {
  stroke-dashoffset: 0;
  opacity: 1;
}

/* City and Cargo Wrapper */
.telcos_city-cargo-wrapper {
  border: 1px solid #ddd;
  border-radius: 8px;
  border: 2px solid #0a3d62;
  padding: 16px;
  margin-bottom: 16px;
  background-color: #f9f9f9;
}

.telcos_cargo-wrapper {
  margin-top: 16px;
  border: 1px solid #ddd;
  border: 1px solid #0a3d62;
  border-radius: 8px;
  padding: 16px;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.telcos_cargo-wrapper:hover {
  background-color: #f1f1f1;
}
.telcos_title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer {
  height: 4rem !important;
}

.floating-button {
  position: fixed;
  bottom: 70px; /* Ajustado para estar un poco más arriba */
  right: 35px;
  width: 50px;
  height: 50px;
  background-color: #181f4a;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.floating-button span {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 60px;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.floating-button:hover span {
  visibility: visible;
  opacity: 1;
}
/* Solo en pantallas pequeñas */
@media (max-width: 576px) {
  .floating-button {
    right: 20px;
    bottom: 20px; /* Más abajo solo en móviles */
  }
}

/*estilos aplicados a carpetas de plan padrino:*/

.carpeta-item {
  list-style: none;
  margin: 10px 0;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease-in-out;
}

.carpeta-item:hover {
  background-color: #f7f7f7;
}

.carpeta-icon {
  color: #f4b400;
  margin-right: 8px;
}

.carpeta-nombre {
  font-weight: 600;
  color: #333;
}

.arrow-carpeta {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.subcarpeta-lista {
  list-style: none;
  padding-left: 25px;
  margin-top: 8px;
}

.subcarpeta-item {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555;
  font-size: 14px;
}

.subcarpeta-icon {
  color: #ccc;
}

.edit-button {
  margin-left: 10px;
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.edit-button:hover {
  text-decoration: underline;
}

/* modal buscar */
#modalBuscador .modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto; /* centrado en pantallas pequeñas también */
  width: 90%; /* responsive */
}

@media (max-width: 576px) {
  #modalBuscador .modal-dialog {
    max-width: 100%;
    margin: 2rem auto; /* más espacio en móviles */
  }

  #modalBuscador .modal-content {
    padding: 1rem !important;
  }

  #modalBuscador .form-control {
    font-size: 1rem;
    padding-left: 2.5rem;
  }

  #modalBuscador .search-icon {
    left: 0.9rem;
  }
}

#modalBuscador .modal-content {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  animation: scaleIn 0.25s ease-in-out;
}

#modalBuscador .form-control {
  border-radius: 50px;
  border: 1px solid #ddd;
  padding-left: 2.5rem;
}

#modalBuscador .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

#modalBuscador .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  z-index: 10;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* button hover */
.button_telcos_hover {
  position: relative;
  display: inline-block;
  margin: 10px;
  padding: 10px 15px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #181f4a;
  background: transparent;
  cursor: pointer;
  transition: 0.5s ease-out;
  border: 2px solid #181f4a;
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 #181f4a;
}

.button_telcos_hover:hover {
  color: #fff;
  box-shadow: inset 0 -100px 0 0 #181f4a;
}

.button_telcos_hover:active {
  transform: scale(0.9);
}

/* Estilos exclusivos para .button_delete_telcos */
.button_delete_telcos {
  width: 150px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: #e62222;
  border: none;
  border-radius: 5px;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.15);
  position: relative;
}

.button_delete_telcos, 
.button_delete_telcos span {
  transition: 200ms;
}

.button_delete_telcos .text {
  transform: translateX(35px);
  color: white;
  font-weight: bold;
}

.button_delete_telcos .icon {
  position: absolute;
  border-left: 1px solid #c41b1b;
  transform: translateX(110px);
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button_delete_telcos svg {
  width: 15px;
  fill: #eee;
}

.button_delete_telcos:hover {
  background: #ff3636;
}

.button_delete_telcos:hover .text {
  color: transparent;
}

.button_delete_telcos:hover .icon {
  width: 150px;
  border-left: none;
  transform: translateX(0);
}

.button_delete_telcos:focus {
  outline: none;
}

.button_delete_telcos:active .icon svg {
  transform: scale(0.8);
}


/* boton de liminar 2 */
.button2_delete_telcos {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);
  cursor: pointer;
  transition-duration: .3s;
  overflow: hidden;
  position: relative;
}

.button2_delete_telcos .svgIcon {
  width: 12px;
  transition-duration: .3s;
}

.button2_delete_telcos .svgIcon path {
  fill: white;
}

.button2_delete_telcos:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: .3s;
  background-color: red;
  align-items: center;
}

.button2_delete_telcos:hover .svgIcon {
  width: 50px;
  transition-duration: .3s;
  transform: translateY(60%);
}

.button2_delete_telcos::before {
  position: absolute;
  top: -20px;
  content: "Eliminar";
  color: white;
  transition-duration: .3s;
  font-size: 2px;
}

.button2_delete_telcos:hover::before {
  font-size: 13px;
  opacity: 1;
  transform: translateY(30px);
  transition-duration: .3s;
}



.button_telcos_hover_delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  color: red;
  background: transparent;
  border: 2px solid red;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease-out;
  box-shadow: inset 0 0 0 0 red;
  text-decoration: none;
}

.button_telcos_hover_delete:hover {
  color: #fff;
  box-shadow: inset 0 -100px 0 0 red;
}

.button_telcos_hover_delete:active {
  transform: scale(0.9);
}


/* === Menú contextual estilo macOS === */
.context-menu-macos {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    overflow: hidden;
    animation: fadeIn 0.15s ease-in-out;
}

/* Header superior macOS */
.menu-header-macos {
    background: #f5f5f7;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding-left: 6px;
}

/* Circulitos macOS */
.menu-header-macos span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    box-shadow: inset 0 0 1px rgba(0,0,0,0.25);
    transition: background 0.2s ease;
}

/* Rojo (cerrar) */
.menu-header-macos .close-btn-macos {
    background: #ff5f56;
}
.menu-header-macos .close-btn-macos:hover {
    background: #e0443e;
}

/* Amarillo (minimizar decorativo) */
.menu-header-macos .min-btn-macos {
    background: #ffbd2e;
}
.menu-header-macos .min-btn-macos:hover {
    background: #e0a722;
}

/* Verde (maximizar decorativo) */
.menu-header-macos .max-btn-macos {
    background: #27c93f;
}
.menu-header-macos .max-btn-macos:hover {
    background: #1da836;
}

/* Lista */
.context-menu-macos ul {
    margin: 0;
    padding: 0;
}
.context-menu-macos li {
    list-style: none;
}

/* Opciones */
.context-menu-macos .menu-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
    border-radius: 6px;
}

.context-menu-macos .menu-option:hover {
    background: #f2f2f7; /* gris claro estilo macOS */
    color: #000;
}

/* Iconos */
.context-menu-macos i {
    font-size: 14px;
    color: #666;
}
.text-danger i {
    color: #e74c3c !important;
}

/* Animación fadeIn */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-5px);}
    to   {opacity: 1; transform: translateY(0);}
}
.context-menu-macos .disabled-option {
    color: #aaa !important;
    pointer-events: none
    cursor: not-allowed;
}
.context-menu-macos .disabled-option i {
    color: #aaa !important;
}

/* boton telcos */
    .button_telcos_hover_2 {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        border: none;
        background: none;
        color: #0f1923;
        cursor: pointer;
        position: relative;
        padding: 8px;
        margin-bottom: 20px;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 14px;
        transition: all .15s ease;
    }

    .button_telcos_hover_2::before,
    .button_telcos_hover_2::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        left: 0;
        height: calc(50% - 5px);
        border: 1px solid #7D8082;
        transition: all .15s ease;
    }

    .button_telcos_hover_2::before {
        top: 0;
        border-bottom-width: 0;
    }

    .button_telcos_hover_2::after {
        bottom: 0;
        border-top-width: 0;
    }

    .button_telcos_hover_2:active,
    .button_telcos_hover_2:focus {
        outline: none;
    }

    .button_telcos_hover_2:active::before,
    .button_telcos_hover_2:active::after {
        right: 3px;
        left: 3px;
    }

    .button_telcos_hover_2:active::before {
        top: 3px;
    }

    .button_telcos_hover_2:active::after {
        bottom: 3px;
    }

    .button_telcos_hover_2_lg {
        position: relative;
        display: block;
        padding: 10px 20px;
        color: #fff;
        background-color: #0f1923;
        overflow: hidden;
        box-shadow: inset 0px 0px 0px 1px transparent;
    }

    .button_telcos_hover_2_lg::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 2px;
        height: 2px;
        background-color: #0f1923;
    }

    .button_telcos_hover_2_lg::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        width: 4px;
        height: 4px;
        background-color: #0f1923;
        transition: all .2s ease;
    }

    .button_telcos_hover_2_sl {
        display: block;
        position: absolute;
        top: 0;
        bottom: -1px;
        left: -8px;
        width: 0;
        background-color: #ff4655;
        transform: skew(-15deg);
        transition: all .2s ease;
    }

    .button_telcos_hover_2_text {
        position: relative;
    }

    .button_telcos_hover_2:hover {
        color: #0f1923;
    }

    .button_telcos_hover_2:hover .button_telcos_hover_2_sl {
        width: calc(100% + 15px);
    }

    .button_telcos_hover_2:hover .button_telcos_hover_2_lg::after {
        background-color: #fff;
    }
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #6b7280;
  --line: #e6eaf0;
  --ring: #c7d2fe;
  --primary2: #2563eb;
  --primary-2: #1d4ed8;
  --secondary: #f3f4f6;
  --secondary-2: #e5e7eb;
  --ok-bg: #e9fbef;
  --ok-line: #a7f3d0;
  --ok-ink: #14532d;
  --err-bg: #fff5f5;
  --err-line: #fecaca;
  --err-ink: #b91c1c;
  --badge: #0ea5e9;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
}

.wrap {
  max-width: 980px;
  margin: 24px auto 48px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

h1 {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.sub {
  color: var(--muted);
  margin: 0 0 18px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  margin: 14px 0 10px;
}

@media (max-width: 720px) {
  .toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

.button_telcos_hover:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  background: linear-gradient(#f7f7f7, #efefef);
  color: #9ca3af;
  border-color: #e9eef5;
}

.badge_huella {
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: #e6f6ff;
  color: #075985;
  border: 1px solid #cdeafe;
}

.badge_success_huella {
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: #e6f6ff;
  color: #078546;
  border: 1px solid #cdeafe;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--badge);
  display: inline-block;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.small {
  font-size: 12px;
  color: var(--muted);
}

textarea {
  width: 100%;
  min-height: 140px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f9fafb;
  color: #111827;
  padding: 10px;
}

textarea:focus {
  outline: 0;
  box-shadow: 0 0 0 3px var(--ring);
  border-color: #c7d2fe;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin: 10px 0;
  border: 1px solid transparent;
}

.alert.ok {
  background: var(--ok-bg);
  border-color: var(--ok-line);
  color: var(--ok-ink);
}

.alert.err,
.error {
  background: var(--err-bg);
  border-color: var(--err-line);
  color: var(--err-ink);
  padding: 12px 14px;
  border-radius: 12px;
  border-width: 1px;
}

#imagediv {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-style: dashed;
  border-color: var(--line);
  background: #fafcff;
  border-width: 1px;
  border-radius: 12px;
}

#preview {
  display: none;
  max-width: 100%;
  height: auto;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.statusbar {
  height: 10px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 10px;
}

.statusbar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width 0.25s ease;
}

.fp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.fp-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fp-modal {
  width: min(520px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.18);
  animation: none;
}

.fp-modal.animate-pop {
  animation: pop 0.16s ease-out;
}

@keyframes pop {
  from {
    transform: scale(0.985);
    opacity: 0.8;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fp-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Círculo de animación */
.fp-pulse {
  width: 96px;
  height: 96px;
  margin: 8px auto 10px;
  border-radius: 999px;
  border: 3px dashed var(--primary2);
  animation: pulse 1.2s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG huella dentro */
.fp-pulse svg {
  width: 48px;
  height: 48px;
  fill: var(--primary2);
  opacity: 0.9;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }

  70% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.85;
  }
}

.fp-foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

/* tarjetas telcos */
.telcos_container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 60px 0;
  gap: 60px;
}

.telcos_container .telcos_box {
  position: relative;
  width: 300px;
  height: 350px;
  background: #cacfd6;
  border-radius: 18px;
  border: 2.5px solid #111;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: box-shadow 0.3s, background 0.5s;
}

.telcos_container .telcos_box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 80px;
  width: 80px;
  height: 80px;
  background: var(--clr);
  border-radius: 50%;
  transform: translate(-50%, 0) scale(0);
  transition: transform 0.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
  z-index: 0;
  opacity: 0.93;
  pointer-events: none;
}

.telcos_container .telcos_box:hover::after {
  transform: translate(-50%, -40px) scale(6.2);
}

/* Borde superior decorativo */
.telcos_container .telcos_box::before {
  content: "";
  position: absolute;
  inset: -10px 50px;
  border-top: 4px solid var(--clr);
  border-bottom: 4px solid var(--clr);
  z-index: 2;
  border-radius: 18px;
  transform: skewY(15deg);
  transition: 0.5s;
}

.telcos_container .telcos_box:hover::before {
  transform: skewY(0deg);
  inset: -10px 40px;
}

.telcos_container .telcos_box .content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  padding: 0 20px;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.telcos_container .telcos_box .content .text a {
  position: relative;
  z-index: 4;
}

.telcos_container .telcos_box .content .icon {
  color: var(--clr);
  width: 80px;
  height: 80px;
  box-shadow: 0 0 0 4px #18191a, 0 0 0 6px var(--clr);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
  background: #18191a;
  transition: background 0.5s, color 0.5s, box-shadow 0.5s;
  border-radius: 50%;
  z-index: 3;
}

.telcos-alert-blocked-mini {
  background: #fffbe8;
  color: #b95a0b;
  border-left: 3px solid #ffc107;
  border-radius: 5px;
  padding: 3px 7px 3px 7px;
  margin-top: 7px;
  font-size: 11.3px;
  font-weight: 500;
  box-shadow: none;
  text-align: left;
  display: flex;
  align-items: center;
  max-width: 97%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  letter-spacing: 0.01em;
  min-height: 20px;
  gap: 3px;
}

.telcos-alert-blocked-mini i {
  font-size: 13px;
  margin-right: 4px;
  margin-left: 2px;
  color: #e07c11;
  flex-shrink: 0;
}

.telcos-alert-blocked-mini span {
  display: inline-block;
  white-space: normal;
  word-break: break-word;
}

.telcos_container .telcos_box:hover .content .icon {
  background: #fff;
  color: var(--clr);
  box-shadow: 0 0 0 4px #fff, 0 0 0 10px #fff2;
}

.telcos_container .telcos_box .content .text h3,
.telcos_container .telcos_box .content .text p,
.telcos_container .telcos_box .content .text small {
  transition: color 0.5s;
  z-index: 3;
}

.telcos_container .telcos_box .content .text h3 {
  font-size: 1.5em;
  color: #0c0c0c;
  font-weight: 600;
  white-space: normal !important;
  word-break: break-word;
  text-align: center;
}

.telcos_container .telcos_box:hover .content .text h3,
.telcos_container .telcos_box:hover .content .text p,
.telcos_container .telcos_box:hover .content .text small {
  color: #0f0e0e !important;
}

.telcos_container .telcos_box .content .text p,
.telcos_container .telcos_box .content .text small {
  color: #080808;
  font-size: 1.02em;
  white-space: normal !important;
  word-break: break-word;
  text-align: center;
}

.telcos_container .telcos_box .content .text a {
  position: relative;
  background: var(--clr);
  color: #111 !important;
  padding: 8px 15px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.5s, color 0.5s, border 0.5s;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
  border: none;
  z-index: 3;
}

.telcos_container .telcos_box:hover .content .text a {
  background: #fff;
  color: #111 !important;
  border: 1.2px solid #fff;
}

@media (max-width: 950px) {
  .telcos_container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 40px 0;
  }

  .telcos_container .telcos_box {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  /* === Botón Estado Lector === */
  #btnEstadoLector {
    position: fixed;
    top: 86px;
    margin-left: 1428px;
    z-index: 2050;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 60%, #60a5fa 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.18),
      0 1.5px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    outline: none;
  }

  #btnEstadoLector:hover,
  #btnEstadoLector:focus {
    background: linear-gradient(135deg, #1d4ed8 70%, #3b82f6 100%);
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.28),
      0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px) scale(1.06);
  }

  #btnEstadoLector .lector-badge {
    position: absolute;
    bottom: 7px;
    right: 7px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.18);
    pointer-events: none;
    transition: background 0.2s;
  }

  #btnEstadoLector.lector-off .lector-badge {
    background: #e11d48;
  }

  #btnEstadoLector .fa-fingerprint {
    font-size: 28px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  }
}

/* === Botón Estado Lector === */
#btnEstadoLector {
  position: fixed;
  top: 86px;
  margin-left: 1460px;
  z-index: 2050;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 60%, #60a5fa 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.18),
    0 1.5px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  outline: none;
}
#btnEstadoLector:hover,
#btnEstadoLector:focus {
  background: linear-gradient(135deg, #1d4ed8 70%, #3b82f6 100%);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.28), 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px) scale(1.06);
}
#btnEstadoLector .lector-badge {
  position: absolute;
  bottom: 1px;
  right: 1px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(34, 197, 94, 0.18);
  pointer-events: none;
  transition: background 0.2s;
}
#btnEstadoLector.lector-off .lector-badge {
  background: #e11d48;
}
#btnEstadoLector .fa-fingerprint {
  font-size: 28px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
} /* === Botón Estado Lector en Header === */
.btn-lector-header {
  position: relative;
  margin-right: 10px;
  padding: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 60%, #60a5fa 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  outline: none;
  vertical-align: middle;
}
.btn-lector-header:hover,
.btn-lector-header:focus {
  background: linear-gradient(135deg, #1d4ed8 70%, #3b82f6 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18);
  transform: scale(1.07);
}
.btn-lector-header .lector-badge {
  position: absolute;
  bottom: 7px;
  right: 7px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(34, 197, 94, 0.18);
  pointer-events: none;
  transition: background 0.2s;
}
.btn-lector-header.lector-off .lector-badge {
  background: #e11d48;
}
.btn-lector-header .fa-fingerprint {
  font-size: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Roboto,
    sans-serif;
}

/* === Título principal mejorado estilo macOS === */
.mac-main-title {
  font-family: "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto,
    sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 35px 0 45px !important;
  color: #1d1d1f !important;
  position: relative !important;
  letter-spacing: 0.6px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  background: linear-gradient(180deg, #1d1d1f, #2c2c2e) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.mac-main-title::after {
  content: "" !important;
  position: absolute !important;
  bottom: -10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 70px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #0071e3, #34c759) !important;
  /* azul → verde */
  border-radius: 3px !important;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.3) !important;
  transition: all 0.4s ease !important;
}

/* Hover con expansión suave */
.mac-main-title:hover::after {
  width: 120px !important;
  background: linear-gradient(90deg, #34c759, #0071e3) !important;
}

.mac-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.mac-col-small {
  flex: 1;
  min-width: 280px;
}

.mac-col-large {
  flex: 2;
  min-width: 380px;
}

.mac-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* === Títulos mejorados estilo macOS === */
.mac-title {
  font-family: "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto,
    sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  letter-spacing: 0.4px;
  text-align: center;
}

.mac-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 3px;
  background: #0071e3;
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Al hacer hover: el subrayado ocupa el ancho del texto */
.mac-card:hover .mac-title::after {
  width: 100%;
}

/* Texto con gradiente para mejor contraste */
.mac-title span {
  background: linear-gradient(90deg, #1d1d1f, #2c2c2e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === Botones estilo macOS mejorados === */
.mac-btn {
  background: linear-gradient(180deg, #0071e3, #005bbf);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(0, 113, 227, 0.35);
}

.mac-btn:hover {
  background: linear-gradient(180deg, #005bbf, #004799);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 91, 191, 0.45);
}

.mac-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* === Tabla estilo macOS Finder con header === */
.macos-table-wrapper {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e0e0e0 !important;
  margin-top: 20px !important;
}

.macos-table-header {
  background: #f5f5f7 !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.macos-buttons {
  display: flex !important;
  gap: 8px !important;
}

.macos-btn {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}

.macos-btn:hover {
  transform: scale(1.1) !important;
}

.macos-btn.red {
  background: #ff5f57 !important;
}

.macos-btn.yellow {
  background: #ffbd2f !important;
}

.macos-btn.green {
  background: #28c840 !important;
}

/* === Contenedor de scroll responsivo === */
.macos-table-scroll {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  max-height: 60vh !important;
  /* límite de alto con scroll vertical */
  overflow-y: auto !important;
}

.macos-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-family: "SF Pro Text", "Helvetica Neue", sans-serif !important;
  min-width: 600px !important;
}

/* Estado maximizado limpio para la tabla */
.macos-table-wrapper.maximized {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 90% !important;
  height: 90% !important;
  z-index: 9999 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
  background: #fff !important;
}

.macos-table th {
  text-align: left !important;
  background: #fafafa !important;
  color: #333 !important;
  padding: 12px 16px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  font-size: 14px !important;
}

.macos-table td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-size: 14px !important;
  color: #444 !important;
}

.macos-table tr:hover td {
  background: #f9f9f9 !important;
}

/* === Modal estilo macOS === */
.mac-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.mac-modal-content {
  background: #fff;
  border-radius: 12px;
  width: 750px;
  max-width: 95%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.25s ease;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.mac-modal-content.maximized {
  width: 90% !important;
  height: 90% !important;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.mac-modal-header {
  background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.mac-empty {
  text-align: center;
  padding: 40px;
  color: #8e8e93;
  font-style: italic;
}

.mac-dot:hover {
  transform: scale(1.15);
}

.dot-red {
  background: radial-gradient(circle at 30% 30%, #ff9a8b, #ff5f56);
}

.dot-yellow {
  background: radial-gradient(circle at 30% 30%, #fff3a3, #ffbd2e);
}

.dot-green {
  background: radial-gradient(circle at 30% 30%, #a8f5b6, #27c93f);
}

/* Body normal */
.mac-modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Body en maximizado */
.mac-modal-content.maximized .mac-modal-body {
  flex: 1;
  max-height: none;
  height: calc(100% - 50px);
  /* resta header */
  overflow-y: auto;
  padding: 30px;
}

/* === Tabs modernas estilo macOS === */
.mac-tabs {
  display: flex;
  gap: 50px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 18px;
  padding: 0 10px;
  position: relative;
}

.mac-tab {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  color: #6e6e73;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.mac-tab:hover {
  color: #1d1d1f;
}

.mac-tab.active {
  color: #0071e3;
}

/* Subrayado animado */
.mac-underline {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: #0071e3;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mac-tab.active::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -12px;
  width: 8px;
  height: 8px;
  background: #0071e3;
  border-radius: 50%;
}

/* Contenido con transición */
.mac-tab-content {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.35s ease;
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
}

.mac-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Contenido en maximizado (se expande completo) */
.mac-modal-content.maximized .mac-tab-content {
  max-height: none;
  height: auto;
}

.mac-checkbox {
  accent-color: #0071e3;
  transform: scale(1.1);
  margin-right: 8px;
}

.mac-empty {
  text-align: center;
  padding: 40px;
  color: #8e8e93;
  font-style: italic;
}

/* === Tabla estilo macOS Finder === */
.mac-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mac-table th {
  background: #f9f9fb;
  padding: 14px;
  text-align: left;
  font-weight: 600;
  color: #1d1d1f;
  border-bottom: 1px solid #e5e5ea;
}

.mac-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f2f2f7;
  font-size: 15px;
  color: #3a3a3c;
}

.mac-table tr:hover td {
  background: #f5f5f7;
}

/* === Dock Minimizado === */
#dockMinimizedContainer {
  display: flex;
  flex-wrap: wrap;
  /* se ajustan automáticamente */
  gap: 10px;
  /* separación entre docks */
}

.dock-card {
  display: none;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: slideIn 0.3s ease forwards;
  white-space: nowrap;
  /* evita que se parta en 2 líneas */
}

.dock-card:hover {
  background: #f2f2f7;
}

/* Animación de entrada */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mac-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease;
}

.mac-search:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.15);
}

.dot-status {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

/* Colores de estado */
.dot-status.sobre {
  background-color: #28c840;
}

.dot-status.bien {
  background-color: #0071e3;
}

.dot-status.medio {
  background-color: #ffbd2f;
}

.dot-status.bajo {
  background-color: #ff5f57;
}

.stock-legend {
  display: flex;
  gap: 20px;
  margin: 10px 0 20px;
  font-size: 14px;
  color: #444;
}

.stock-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.telcos-alert-warning-custom {
  background: #f7fafd !important;
  color: #222f43 !important;
  border-left: 4px solid #2563eb !important;
  border-radius: 1rem !important;
  font-size: 0.98rem;
  font-weight: 500;
  box-shadow: 0 2px 12px #2563eb13;
  padding: 0.7rem 1.5rem 0.7rem 1.3rem;
  min-width: 300px;
  max-width: 410px;
  width: 100%;
  margin-top: 22px;
  margin-bottom: 18px;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInDown 0.4s both;
}

.telcos-card {
  border-radius: 1.15rem !important;
  background: #fff !important;
  box-shadow: 0 3px 14px #2563eb09 !important;
  border: 1px solid #e4eaf3 !important;
  transition: box-shadow 0.18s, border-color 0.16s;
  width: 100%;
  min-width: 320px;
  max-width: 860px;
}

.telcos-hover-option {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 0.98em;
  padding: 0.74rem 0 0.74rem 0 !important;
  color: #334155;
  border-radius: 0.6rem;
  transition: background 0.13s, color 0.13s, transform 0.13s, box-shadow 0.13s;
  cursor: pointer;
}

.telcos-hover-option:hover {
  background: #f0f6ff !important;
  color: #2563eb !important;
  font-weight: 500;
  box-shadow: 0 1px 6px #2563eb10;
  transform: translateY(-1px) scale(1.014);
}

.telcos-hover-option i {
  transition: color 0.13s, transform 0.13s;
}

.telcos-hover-option:hover i {
  color: #2563eb !important;
  transform: scale(1.08) rotate(-6deg);
}

.icon-pill-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f2ff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  margin-right: 2px;
}

.icon-pill-blue i {
  color: #2563eb;
  font-size: 1.15rem;
  font-weight: bold;
}

.mac-pagination-wrapper {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 30px;
  /* Queda pegado a la tabla, espacio inferior y superior */
}

.mac-pagination {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-right: 5px;
  font-family: "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto,
    sans-serif;
}


/* tour mac os  */
#telcos-tour-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(20,25,38,0.19); z-index: 9999; display: none;
    justify-content: center; align-items: center;
    transition: background .22s;
}

.telcos-tour-img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    margin-top: 2px;
}
.telcos-tour-img-mac {
    max-width: 350px;
    max-height: 190px;
    border-radius: 10px;
    box-shadow: 0 3px 16px #99b5f026;
    object-fit: contain;
    background: #eef3fa;
}

.telcos-tour-tooltip-mac {
    min-width: 340px; max-width: 375px; background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 44px #4186e520, 0 2px 9px #28315f22;
    padding: 22px 28px 18px 28px;
    position: absolute; z-index: 10000;
    display: flex; flex-direction: column; align-items: flex-start;
    font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    animation: fadeInTour .36s cubic-bezier(.7,.4,.13,1.18);
    border: 1.6px solid #e0e6ee;
}
@keyframes fadeInTour { from {opacity:0; transform: scale(.96);} to {opacity:1;} }
.tour-mac-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.mac-dot-mac {
    width: 14px; height: 14px; border-radius: 50%;
    display: inline-block;
    margin-right: 2px;
    box-shadow: 0 1.2px 5px #7772;
}
.dot-mac-red    { background: #fc605b; border: 1px solid #e34133; }
.dot-mac-yellow { background: #ffbd44; border: 1px solid #f3c23a; }
.dot-mac-green  { background: #2cd94c; border: 1px solid #28a941; }
.telcos-tour-title-mac {
    font-size: 1.18rem;
    font-weight: 700;
    color: #28305d;
    margin-bottom: 8px;
    margin-top: 4px;
    letter-spacing: 0.01em;
}
.telcos-tour-desc-mac {
    font-size: 1.06rem;
    color: #333d54;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.95;
}
.telcos-tour-btns-mac { display: flex; gap: 13px; margin-top: 5px; }
.telcos-tour-btn-mac {
    padding: 7px 17px;
    border: none;
    border-radius: 8px;
    background: #f2f4fa;
    color: #265ab7;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 1.5px 5px #2966d60d;
    transition: background .13s, color .13s, box-shadow .16s;
    outline: none;
}
.telcos-tour-btn-mac:active {
    background: #e3e7f4;
}
.telcos-tour-btn-mac[disabled] {
    background: #e8ebf3;
    color: #c0c3d0;
    cursor: not-allowed;
    box-shadow: none;
}
.btn-tour-finish-mac {
    background: #31d455 !important;
    color: #fff !important;
    font-weight: 800;
}
.telcos-tour-highlight {
    box-shadow: 0 0 0 5px #3e9cffae, 0 0 38px 8px #b0e1ff60 !important;
    border-radius: 14px !important;
    position: relative !important;
    z-index: 10001 !important;
    background: #ffffffee !important;
    transition: box-shadow .18s, background .17s;
}
.telcos-tour-glow {
    animation: glowTourPro 1.45s infinite;
}
@keyframes glowTourPro {
    0%   { box-shadow: 0 0 0 5px #3e9cffae, 0 0 38px 8px #b0e1ff60;}
    53%  { box-shadow: 0 0 0 12px #aee9ff64, 0 0 60px 16px #43a5f366;}
    100% { box-shadow: 0 0 0 5px #3e9cffae, 0 0 38px 8px #b0e1ff60;}
}
@media (max-width: 650px) {
    .telcos-tour-tooltip-mac {
        min-width: 96vw; max-width: 99vw;
        padding: 14px 4vw 12px 4vw;
    }
}


.telcos-tour-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(100deg, #f3f6ff 70%, #e8f2fc 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px #4c8aa018, 0 1px 4px #4682c012;
    padding: 11px 19px 10px 14px;  
    margin: 22px 0 20px 0;
    border: 1.2px solid #e0e6ee;
    position: relative;
}

.telcos-tour-card-icon {
    background: linear-gradient(135deg, #2563eb 70%, #60a5fa 100%);
    border-radius: 12px;
    width: 36px; height: 36px; 
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.45rem;
    box-shadow: 0 1px 8px #2563eb19;
}

.telcos-tour-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.telcos-tour-card-title {
    font-size: 1.01rem;         
    font-weight: 600;
    color: #232d46;
    letter-spacing: .01em;
    line-height: 1.18;
}

.telcos-tour-card-desc {
    font-size: 0.91rem;      
    color: #41609a;
    opacity: .92;
    line-height: 1.13;
}

.telcos-tour-card-btn {
    background: linear-gradient(135deg, #2563eb 85%, #60a5fa 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.97rem;      
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 5px #2563eb12;
    padding: 6px 15px;     
    cursor: pointer;
    transition: background .15s, box-shadow .13s, transform .12s;
}
.telcos-tour-card-btn:hover, .telcos-tour-card-btn:focus {
    background: linear-gradient(135deg, #265cc7 80%, #4ea6ff 100%);
    box-shadow: 0 2px 10px #2563eb25;
    transform: translateY(-1px) scale(1.03);
    color: #fff;
}

@media (max-width: 650px) {
    .telcos-tour-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding: 10px 7px 9px 7px;
        margin: 12px 0 12px 0;
    }
    .telcos-tour-card-btn { width: 100%; text-align: center; }
    .telcos-tour-card-icon { margin-bottom: 3px; }
}

.form-group {
    margin-bottom: 15px;
}

.required {
    color: red;
    font-size: 18px;
}

.column {
    flex: 1;
    padding: 15px;
}

label {
    font-weight: bold;
    color: #555;
}

.imagen {
    width: 50% !important;
    height: 80%;
}

.button12 {
    position: relative;
    font-size: 1.2em;
    padding: 0.7em 1.4em;
    background-color: #153747;
    text-decoration: none;
    border: none;
    border-radius: 0.5em;
    color: #fff !important;
    box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.3);
}

.button12::before {
    position: absolute;
    content: '';
    height: 0;
    width: 0;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 1) 0%, rgba(33, 33, 33, 1) 50%, #153747, #3c84a5 60%);
    border-radius: 0 0 0.5em 0;
    box-shadow: 0.2em 0.2em 0.2em rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.button12:hover::before {
    width: 1.6em;
    height: 1.6em;
}

.button12:active {
    box-shadow: 0.2em 0.2em 0.3em rgba(0, 0, 0, 0.3);
    transform: translate(0.1em, 0.1em);
}

.button2 {
    border: none;
    width: 15em;
    height: 5em;
    border-radius: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #153747;
    cursor: pointer;
    transition: all 450ms ease-in-out;
}

.sparkle {
    fill: #AAAAAA;
    transition: all 800ms ease;
}

.text {
    font-weight: 600;
    color: #AAAAAA;
    font-size: medium;
}

.button2:hover {
    background: linear-gradient(0deg, #548ea8, #153747);
    box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4),
        inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2),
        0px 0px 0px 4px rgba(255, 255, 255, 0.2),
        0px 0px 180px 0px #013750;
    transform: translateY(-2px);
}

.button2:hover .text {
    color: white;
}

.button2:hover .sparkle {
    fill: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .imagen {
        width: 80% !important;
        height: auto;
        display: block;
        /* Hace que las imágenes se apilen una debajo de otra */
        margin: 0 auto;
        /* Centra las imágenes */
    }
}

@media (max-width: 480px) {
    .imagen {
        width: 100% !important;
        height: auto;
        display: block;
        /* Hace que las imágenes se apilen una debajo de otra */
        margin: 0 auto;
        /* Centra las imágenes */
    }
}
/* === DataTables Responsive Wrapper, centrado y ancho limitado === */
.dataTables_wrapper {
  width: 98% !important;
  margin: 0 auto !important;
  background: transparent !important;
  border-radius: 18px !important;
  overflow: visible !important;
  font-family: "SF Pro Display", "Helvetica Neue", Arial, sans-serif !important;
}

/* === TABLA MACOS CON DATATABLES === */
.dataTables_wrapper table.dataTable {
  width: 100% !important;
  min-width: 100% !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07) !important;
  border: 1px solid #e0e0e0 !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.dataTables_wrapper table.dataTable th {
  background: #f5f5f7 !important;
  color: #222 !important;
  font-weight: 600 !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  border-bottom: 1.7px solid #e0e0e0 !important;
  text-align: left !important;
  letter-spacing: 0.01em !important;
  border-top: none !important;
}
.dataTables_wrapper table.dataTable td {
  background: #fff !important;
  color: #3a3a3c !important;
  padding: 12px 18px !important;
  font-size: 15px !important;
  border-bottom: 1px solid #f0f0f0 !important;
}
.dataTables_wrapper table.dataTable tbody tr:hover td {
  background: #f5f5f7 !important;
  transition: background 0.15s !important;
}

/* ====== DataTables Length & Select ====== */
.dataTables_length, .dataTables_length label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 16.5px !important;
  font-weight: 400 !important;
  color: #474c56 !important;
  margin-bottom: 20px !important;
  margin-top: 10px !important;
  background: none !important;
  opacity: 0.90 !important;
  text-shadow: 0 1px 0 #fff4, 0 0.5px 1px #e9f2ff22 !important;
}
.dataTables_length select {
  padding: 8px 30px 8px 14px !important;
  border-radius: 13px !important;
  border: 1.6px solid #dae5f4 !important;
  background: rgba(255,255,255,0.77) !important;
  box-shadow: 0 3px 18px #e9f2ff2a, 0 1.5px 6px #c4d1e61b, 0 0.5px 0.5px #fff8 inset !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
  outline: none !important;
  appearance: none !important;
  min-width: 70px !important;
  cursor: pointer !important;
  border-right: 14px solid transparent !important;
  transition: border 0.15s, box-shadow 0.16s, background 0.16s, color 0.12s !important;
  backdrop-filter: blur(2.2px) !important;
  -webkit-backdrop-filter: blur(2.2px) !important;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 13px center !important;
  background-size: 22px 22px !important;
}
.dataTables_length select:focus {
  border: 1.8px solid #2563eb !important;
  background: rgba(255,255,255,0.98) !important;
  color: #2563eb !important;
  box-shadow: 0 2px 16px #2563eb16, 0 0 0 2px #c2d8ff33 !important;
}
.dataTables_length select:hover {
  border: 1.8px solid #92b9fa !important;
  box-shadow: 0 2px 14px #2563eb0c !important;
}
.dataTables_length select option {
  color: #222f43 !important;
  font-weight: 500 !important;
  background: #f7fafd !important;
}
.dataTables_length select:active {
  transition: none !important;
  filter: brightness(0.99) !important;
}
@media (max-width: 600px) {
  .dataTables_wrapper { width: 98% !important; min-width: 0 !important; }
  .dataTables_length, .dataTables_length label { font-size: 15px !important; }
  .dataTables_length select { min-width: 44px !important; font-size: 13px !important; padding: 6px 22px 6px 8px !important; border-radius: 10px !important; }
}

/* ====== DataTables Paginador ====== */
.dataTables_paginate {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 16px !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}
.dataTables_paginate .paginate_button {
  min-width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #222f43 !important;
  background: #fafafd !important;
  border-radius: 8px !important;
  margin: 0 1px !important;
  text-decoration: none !important;
  border: 1px solid #e4eaf3 !important;
  box-shadow: 0 2px 8px #e9f2ff36 !important;
  transition: background 0.15s, color 0.15s, border 0.18s, transform 0.15s !important;
  cursor: pointer !important;
  outline: none !important;
  position: relative !important;
  z-index: 1 !important;
}
.dataTables_paginate .paginate_button:hover {
  background: #f2f6fd !important;
  color: #2563eb !important;
  border-color: #b7d4fc !important;
  transform: translateY(-1px) scale(1.05) !important;
}
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover {
  background: #2563eb18 !important;
  color: #2563eb !important;
  font-weight: bold !important;
  pointer-events: none !important;
  border: 1.5px solid #2563eb70 !important;
  box-shadow: 0 3px 18px #2563eb10 !important;
  z-index: 2 !important;
}
.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover {
  background: #f6f7fa !important;
  color: #c0c4cc !important;
  pointer-events: none !important;
  opacity: 0.7 !important;
  border: 1px solid #edeef2 !important;
}
.dataTables_paginate .ellipsis {
  background: transparent !important;
  color: #adb5bd !important;
  cursor: default !important;
  box-shadow: none !important;
  border: none !important;
  min-width: 32px !important;
  text-align: center !important;
}

/* ====== DataTables Search ====== */
.dataTables_filter {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-bottom: 14px !important;
}
.dataTables_filter label {
  display: flex !important;
  font-size: 0 !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 500 !important;
  color: #444 !important;
  margin-bottom: 0 !important;
}
.dataTables_filter input[type="search"] {
  width: 270px !important;
  max-width: 100% !important;
  padding: 8px 14px 8px 38px !important;
  border: 1.5px solid #e4eaf3 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  background: #fafafd !important;
  outline: none !important;
  color: #222f43 !important;
  transition: border 0.18s, background 0.14s !important;
  font-family: "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif !important;
  box-shadow: 0 1.5px 6px #e9f2ff12 !important;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23b1b1b3' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M16.5 16.5L21 21'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 12px center !important;
  background-size: 17px 17px !important;
}
.dataTables_filter input[type="search"]:focus {
  border: 1.5px solid #2563eb !important;
  background: #fff !important;
}
.dataTables_filter input[type="search"]::placeholder {
  color: #b1b1b3 !important;
  font-size: 14px !important;
  letter-spacing: 0.04em !important;
}

/* ====== Botones DataTables ====== */
.dataTables_wrapper .dt-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  margin-left: 15px !important;
  margin-top: 5px !important;
}
.dt-buttons button,
.dt-buttons .dropdown-item {
  background-color: #f5f6fa !important;
  color: #2563eb !important;
  border: 1.5px solid #e4eaf3 !important;
  padding: 7px 16px !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 1px 6px #e9f2ff10 !important;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s !important;
  outline: none !important;
  margin-right: 5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 42px !important;
  text-transform: none !important;
}
.dt-buttons button i, .dt-buttons .dropdown-item i { font-size: 18px !important; opacity: 0.92; margin-right: 0px; }
.dt-buttons .btn-pdf      { background-color: #f5e7e9 !important; color: #d62946 !important; }
.dt-buttons .btn-excel    { background-color: #e6faef !important; color: #22996c !important; }
.dt-buttons .btn-csv      { background-color: #fcf9e4 !important; color: #d2aa4a !important; }
.dt-buttons .btn-print    { background-color: #ecebfa !important; color: #2d3576 !important; }
.dt-buttons .btn-colvis   { background-color: #f5f6fa !important; color: #3b3f5c !important; }
.dt-buttons button:hover, .dt-buttons .dropdown-item:hover {
  filter: brightness(0.95);
  color: #1a3495 !important;
  box-shadow: 0 2px 14px #e0eaff55;
  transform: translateY(-1px) scale(1.05);
}
.dt-buttons button:focus, .dt-buttons .dropdown-item:focus {
  border-color: #2563eb !important;
  box-shadow: 0 2px 14px #b3d0f999;
  color: #2563eb !important;
}
.dt-buttons .dropdown-menu {
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
  box-shadow: 0 2px 18px #c6d2e833;
  margin-top: 7px;
}

/* ====== MODERNIZA Y SUAVIZA EL COLVIS (Column Visibility) ====== */
div.dt-button-collection {
  background: #fff !important;
  border: 1.5px solid #e4eaf3 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px #b0c9f318 !important;
  padding: 16px 20px 16px 10px !important;
  min-width: 240px !important;
  max-width: 320px !important;
  z-index: 29999 !important;
  position: absolute !important;
  top: 50px !important;
  left: auto !important;
  right: auto !important;
}
div.dt-button-collection .dt-button {
  display: flex !important;
  align-items: center !important;
  background: #f3f8ff !important;
  color: #2563eb !important;
  border-radius: 13px !important;
  padding: 8px 18px 8px 10px !important;
  font-size: 15.2px !important;
  font-weight: 500 !important;
  margin-bottom: 7px !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  border: none !important;
  box-shadow: 0 2px 12px #2563eb13 !important;
  cursor: pointer !important;
  transition: background 0.16s, color 0.14s;
  position: relative !important;
}
div.dt-button-collection .dt-button.active, div.dt-button-collection .dt-button:active {
  background: #e9f2ff !important;
  color: #2563eb !important;
  font-weight: bold !important;
  border: none !important;
}
div.dt-button-collection .dt-button:hover {
  background: #e0e9fa !important;
  color: #1a3495 !important;
}
div.dt-button-collection .dt-button:before {
  content: "";
  display: inline-block;
  min-width: 22px !important;
  min-height: 22px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  border: 2.2px solid #bfd2fa !important;
  background: #fff !important;
  margin-right: 13px !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s !important;
  background-image: none !important;
}
div.dt-button-collection .dt-button.active:before {
  background: linear-gradient(130deg,#50b9ff 55%,#b6e0ff 100%) !important;
  border-color: #2563eb !important;
  box-shadow: 0 2px 8px #2563eb16;
  position: relative !important;
}
div.dt-button-collection .dt-button.active:after {
  content: "";
  position: absolute !important;
  left: 19px !important;
  top: 13px !important;
  width: 7px !important;
  height: 13px !important;
  border: solid #fff !important;
  border-width: 0 2.5px 2.5px 0 !important;
  border-radius: 1.7px !important;
  transform: rotate(45deg) !important;
  pointer-events: none !important;
  opacity: 1 !important;
}
div.dt-button-collection .dt-button:active:before,
div.dt-button-collection .dt-button:focus:before {
  border-color: #2563eb !important;
  box-shadow: 0 2px 9px #2563eb0a;
}
div.dt-button-collection .dt-button span {
  margin-left: 0 !important;
  color: #222f43 !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em;
}
div.dt-button-collection input[type="checkbox"] { display: none !important; }
/* ============================== */

/* ======= Otros estilos ======= */
/* Pequeños utilitarios o efectos suaves (opcional, no interfieren con tabla) */
.small-text { font-size: 10px; line-height: 1.2; color: #b6b0b0; }
.round-btn { border-radius: 35%; padding: 10px; }
.dataTables_wrapper table.dataTable th,
.dataTables_wrapper table.dataTable td {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px;
}
.dataTables_wrapper table.dataTable th:hover,
.dataTables_wrapper table.dataTable td:hover { position: relative; }
.dataTables_wrapper table.dataTable th:hover::after,
.dataTables_wrapper table.dataTable td:hover::after {
  content: attr(title); position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background-color: #333; color: #fff; padding: 5px 10px; border-radius: 8px;
  font-size: 12px; white-space: nowrap; z-index: 1000; opacity: 1; visibility: visible; transition: opacity 0.2s ease-in-out;
}
.dataTables_wrapper table.dataTable th::after,
.dataTables_wrapper table.dataTable td::after { opacity: 0; visibility: hidden; }
/* ============================= */


.operations-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    position: relative;
}

.operations-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.no-operations {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.no-operations i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.add-operation-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid #2c2c54;
    color: #2c2c54;
    font-size: 0.75rem;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(44, 44, 84, 0.1);
    z-index: 10;
}

.add-operation-btn:hover {
    background: #2c2c54;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 44, 84, 0.2);
}

.add-operation-btn:focus {
    box-shadow: 0 0 0 3px rgba(44, 44, 84, 0.2);
}

.operations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.operation-count {
    background: #007bff;
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
}

.operation-tag {
    display: inline-flex;
    align-items: center;
    margin: 4px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    min-width: 120px;
    justify-content: flex-start;
}

.operation-tag.operation-primary {
    background: linear-gradient(135deg, #2c2c54, #1a1a3a);
    color: white;
    border: 2px solid #1a1a3a;
}

.operation-tag.operation-success {
    background: linear-gradient(135deg, #3d3d6b, #252547);
    color: white;
    border: 2px solid #252547;
}

.operation-tag.operation-danger {
    background: linear-gradient(135deg, #4e4e82, #323254);
    color: white;
    border: 2px solid #323254;
}

.operation-tag.operation-warning {
    background: linear-gradient(135deg, #5f5f99, #3f3f61);
    color: white;
    border: 2px solid #3f3f61;
}

.operation-tag.operation-info {
    background: linear-gradient(135deg, #7070b0, #4c4c6e);
    color: white;
    border: 2px solid #4c4c6e;
}

.operation-tag.operation-secondary {
    background: linear-gradient(135deg, #8181c7, #59597b);
    color: white;
    border: 2px solid #59597b;
}


.operation-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.operation-tag.expanded .operation-content {
    justify-content: flex-start;
    margin-right: 40px;
}
/* FIXED: Combined duplicate rules */
.operation-tag.expanded {
    min-width: 180px;
    animation: expandPulse 0.4s ease-out;
}

.operation-content {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
}



.operation-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delete-section {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.operation-tag.expanded .delete-section {
    right: 8px;
    opacity: 1;
}

.delete-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
}

.operation-tag.operation-warning .delete-divider {
    background: rgba(0, 0, 0, 0.2);
}

.delete-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: inherit;
    font-size: 12px;
}

.delete-btn:hover {
    background: rgba(220, 53, 69, 0.8);
    color: white;
    transform: scale(1.1);
}

/* ADDED: Missing loading states */
.operation-tag.deleting {
    opacity: 0.7;
    pointer-events: none;
}

.operation-tag.deleting .delete-btn {
    animation: spin 1s linear infinite;
}

.operations-title .btn {
    font-size: 0.75rem;
    padding: 4px 12px;
}

.operations-title .btn-outline-primary {
    background: transparent;
    border: 1px solid #2c2c54;
    color: #2c2c54;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.operations-title .btn-outline-primary:hover {
    background: #2c2c54;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 44, 84, 0.2);
}

.operations-title .btn-outline-primary:focus {
    box-shadow: 0 0 0 2px rgba(44, 44, 84, 0.2);
}

#operationPreview .operation-tag {
    pointer-events: none;
    cursor: default;
}

/* Modal centering and styling */
.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 1rem);
}

#addOperationModal .modal-content {
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(44, 44, 84, 0.15);
    overflow: hidden;
}

#addOperationModal .modal-header {
    background: linear-gradient(135deg, #2c2c54, #1a1a3a);
    color: white;
    border-radius: 0;
    border-bottom: 2px solid #1a1a3a;
    padding: 20px 24px;
}

#addOperationModal .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

#addOperationModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#addOperationModal .modal-body {
    padding: 24px;
    background: #fafafa;
    border-left: 2px solid #e5e7eb;
    border-right: 2px solid #e5e7eb;
}

#addOperationModal .modal-footer {
    border-top: 1px solid #e5e5e5;
    padding: 16px 24px;
    background: #fafafa;
    border-top: 2px solid #e5e7eb;
    border-left: 2px solid #e5e7eb;
    border-right: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
    border-radius: 0 0 10px 10px;
}

/* Form styling in modal */
#addOperationModal .form-label {
    color: #2c2c54;
    font-weight: 500;
    margin-bottom: 8px;
}

#addOperationModal .form-select {
    border-radius: 6px;
    border: 2px solid #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 10px 12px;
    transition: all 0.2s ease;
    background: white;
    color: #374151;
}

#addOperationModal .form-select:focus {
    border-color: #2c2c54;
    box-shadow: 0 0 0 2px rgba(44, 44, 84, 0.1);
    outline: none;
}

/* Preview tag in modal */
#operationPreview {
    background: white;
    padding: 16px;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 16px;
}

#operationPreview .form-label {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

#operationPreview .operation-tag {
    pointer-events: none;
    cursor: default;
    margin: 0;
}

/* Button styling - Telcos style */
#addOperationModal .btn-secondary {
    background: #6b7280;
    border: 2px solid #6b7280;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#addOperationModal .btn-secondary:hover {
    background: #4b5563;
    border-color: #4b5563;
}

#addOperationModal .btn-primary {
    background: linear-gradient(135deg, #2c2c54, #1a1a3a);
    border: 2px solid #2c2c54;
    box-shadow: 0 2px 4px rgba(44, 44, 84, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

#addOperationModal .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #1a1a3a, #0f0f2a);
    border-color: #1a1a3a;
    transform: translateY(-1px);
}

#addOperationModal .btn-primary:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading state */
#confirmAddOperation .fa-spinner {
    margin-right: 6px;
}

/* Responsive modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem 0.5rem;
        min-height: calc(100vh - 1rem);
    }
    
    #addOperationModal .modal-body {
        padding: 20px;
    }
    
    #addOperationModal .modal-footer {
        padding: 16px 20px;
    }
}

@keyframes expandPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.operation-tag.removing {
    animation: slideOut 0.4s ease-in-out forwards;
}

.telcos-exit-btn {
    background: linear-gradient(135deg, #2c2c54, #1a1a3a);
    border: 1px solid #2c2c54;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 120px;
}

.telcos-exit-btn:hover {
    background: linear-gradient(135deg, #1a1a3a, #0f0f2a);
    border-color: #1a1a3a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 44, 84, 0.2);
}

.telcos-exit-btn:focus {
    box-shadow: 0 0 0 3px rgba(44, 44, 84, 0.2);
    color: white;
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: scale(1);
        max-width: 200px;
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
        max-width: 0;
        margin: 0;
        padding: 0;
    }

}