/* CLINICAS MOBILE HEADER V2; no afecta escritorio */
#clinicasMoreActions { display: none; }
@media screen and (max-width: 900px) {
  header.goes-style-topbar {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    padding: 6px 8px !important;
    gap: 6px !important;
    min-height: 52px;
  }
  header.goes-style-topbar > .goes-style-left {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    min-width: 0 !important;
    flex: 1 1 auto;
  }
  header.goes-style-topbar .goes-style-logo,
  header.goes-style-topbar .goes-style-logo.nubis-logo {
    height: 34px !important;
    min-width: 0 !important;
  }
  header.goes-style-topbar .goes-style-brand,
  header.goes-style-topbar .goes-style-title { display: none !important; }
  #clinicasMoreActions {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 9px 11px;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 9px;
    background: #0a527b;
    color: white;
    font-weight: 750;
    font-size: 13px;
    cursor: pointer;
    z-index: 30002;
    touch-action: manipulation;
  }
  #clinicasMoreActions[aria-expanded="true"] { background: #137bb0; }
  header.goes-style-topbar > .goes-style-actions {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 5px) !important;
    right: 8px !important;
    left: auto !important;
    z-index: 30001 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: min(310px, calc(100vw - 16px)) !important;
    max-height: min(72vh, 480px);
    padding: 11px !important;
    overflow: auto !important;
    background: #003e62 !important;
    color: #fff;
    border: 1px solid #8eb2c8;
    border-radius: 12px;
    box-shadow: 0 16px 42px rgba(0,0,0,.35);
  }
  header.goes-style-topbar > .goes-style-actions.clinicas-actions-open {
    display: flex !important;
  }
  header.goes-style-topbar > .goes-style-actions .goes-nav-button {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 42px;
    text-align: left !important;
    white-space: normal !important;
    color: #fff;
    border: 1px solid #9ab6c8;
    background: #0a547d;
    border-radius: 8px;
    padding: 10px 12px;
  }
  header.goes-style-topbar > .goes-style-actions .station-live-status {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    color: #fff !important;
    padding: 4px 6px;
  }
}
