/* Base */
.mobile-header-logo {
  right: 50%; bottom: 90%; transform: translate(50%,50%); position: absolute;
  top: 2.55rem;
  display: block;
  width: 220px;
  margin: 12px auto 0;
  text-align: center;
}
.mobile-header-logo img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
  opacity: .98;
}
@media only screen and (max-width: 767.98px) {
  /* Logo fijo y reducido en móvil */
  .mobile-header-logo {
    position: fixed;
    top: .55rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    width: 160px;
    pointer-events: none;
    margin: 0;
  }
  .mobile-header-logo img {
    max-width: 160px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
    opacity: .95;
  }
  /* Oculta el logo cuando el sidebar está abierto en móvil */
  #sidebar-wrapper:not(.sidebar-compact) + #page-content-wrapper .mobile-header-logo {
    display: none !important;
  }
}
@media only screen and (min-width: 768px) {
  .mobile-header-logo { width: 260px; }
  .mobile-header-logo img { max-width: 260px; }
  #boxshadow { width: 400px; }
}