/* Correctif mobile : logo centré et bouton menu 3 barres vertes */
@media (max-width: 900px) {
  .modern-topbar,
  .topbar.modern-topbar,
  .topbar {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 76px !important;
  }

  .topbar-left {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  #topMenuBtn {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(22,138,80,.22) !important;
    color: #168a50 !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.07) !important;
    z-index: 5 !important;
  }

  #topMenuBtn i {
    font-size: 2rem !important;
    line-height: 1 !important;
    color: #168a50 !important;
  }

  .topbar-app-icon {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    z-index: 2 !important;
  }

  .topbar-logo-img {
    max-width: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
  }

  .topbar-left > div:not(.topbar-app-icon) {
    display: none !important;
  }

  .sidebar .brand {
    text-align: center !important;
    justify-content: center !important;
  }
}
