/* === XL === */

@media only screen and (min-width: 1200px) {

  .sticky-header.fixed-header {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .w-xl-auto {
    width: auto !important;
  }

}

@media (max-width: 1199px) {

  header .container {
    max-width: 100%;
  }

  .border-x-white {
    background: none !important;
    color: var(--bs-primary);
    border: none !important;
  }

  .no-border {
    border: none !important;
  }

  .navbar-collapse.floating-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 205%;
    background: #fff;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    margin-top: 8px;
  }

  #navbarToggler ul>li>a:hover,
  #navbarToggler ul>li.active>a {
    border-bottom: 2px solid transparent;
  }

  .navbar-collapse.floating-menu.show {
    display: block;
  }

  .navbar {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar .nav-item {
    width: 100%;
    text-align: left;
    margin: 0;
    border-bottom: 1px solid #eee;
    padding: 7px 0;
  }
}

/* === LG === */

@media (min-width: 992px) {}

@media (max-width: 991px) {

  .responsive-table tbody td {
    text-align: left !important;
  }

  #sidebar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    transition: max-height 0.3s ease;
    margin-top: 0;
  }

  #sidebar.active {
    overflow: scroll;
  }

  .responsive-table table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table th,
  .responsive-table td,
  .responsive-table tr {
    display: block;
    width: 100%;
  }

  .responsive-table thead tr {
    display: none;
    /* Ocultar encabezado en mobile */
  }

  .responsive-table tbody tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    padding: .5rem;
  }

  .responsive-table tbody td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #dee2e6;
  }

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

  .responsive-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    padding-left: .75rem;
    font-weight: 600;
    text-align: left;
  }

}

/* === MD === */

@media (max-width: 767.98px) {
}