#btn-toggle-3d { display: none !important; }
.mobile-top-brand-bar, .mobile-floating-search-bar, .mobile-bottom-sheet { display: none; }

#left-sidebar.agm-light-menu {
  background: #ffffff !important;
  color: #1e293b !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 6px 0 24px rgba(15, 23, 42, 0.14);
  z-index: 1260 !important;
}
#left-sidebar.agm-light-menu span,
#left-sidebar.agm-light-menu label,
#left-sidebar.agm-light-menu summary {
  color: #1e293b;
}
#left-sidebar.agm-light-menu h2,
#left-sidebar.agm-light-menu .agm-menu-sec-title {
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
#left-sidebar.agm-light-menu .basemap-dropdown-trigger {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 700 !important;
}
#left-sidebar.agm-light-menu .basemap-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
}
#left-sidebar.agm-light-menu .basemap-mode-tabs { background: #f1f5f9 !important; border: 1px solid #cbd5e1 !important; }
#left-sidebar.agm-light-menu .basemap-mode-tab { color: #475569 !important; }
#left-sidebar.agm-light-menu .basemap-mode-tab.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12) !important;
}
#left-sidebar.agm-light-menu .basemap-card { color: #334155 !important; border-radius: 8px; }
#left-sidebar.agm-light-menu .basemap-card span { color: inherit; }
#left-sidebar.agm-light-menu .basemap-card:hover { background: #f8fafc !important; }
#left-sidebar.agm-light-menu .basemap-card.active {
  background: #eff6ff !important;
  border-color: #3b82f6 !important;
  color: #1d4ed8 !important;
}
#left-sidebar.agm-light-menu select,
#left-sidebar.agm-light-menu .input-dark {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}
#left-sidebar.agm-light-menu .agm-menu-tool-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
#left-sidebar.agm-light-menu .agm-menu-tool-btn:hover { background: #f1f5f9 !important; }

.agm-menu-call-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; border-radius: 9px; background: #ef2323; color: #ffffff !important;
  font-weight: 800; font-size: 13px; text-decoration: none; border: none;
}
.agm-menu-chat-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; border-radius: 9px; background: #0a4999; color: #ffffff !important;
  font-weight: 800; font-size: 13px; border: none; cursor: pointer;
}

.agm-min-modal-backdrop {
  position: fixed; inset: 0; z-index: 2600;
  background: rgba(15, 23, 42, 0.52); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.agm-min-modal-backdrop.hidden { display: none !important; }
.agm-min-modal-card {
  width: min(420px, 95vw); max-height: 90vh; overflow-y: auto;
  background: #ffffff !important; color: #0f172a !important; border-radius: 18px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.32);
}
.agm-min-modal-card span,
.agm-min-modal-card label,
.agm-min-modal-card div { color: inherit; }
.agm-min-modal-hdr {
  padding: 13px 16px; border-bottom: 1px solid #e2e8f0; background: #ffffff;
  color: #0f172a !important; display: flex; align-items: center; justify-content: space-between;
}
.agm-min-close-btn {
  width: 28px; height: 28px; border-radius: 9999px;
  border: 1px solid #cbd5e1; background: #f8fafc; color: #334155 !important;
  font-weight: 700; cursor: pointer; flex-shrink: 0;
}
.agm-gtab-bar {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #e2e8f0; background: #f8fafc;
}
.agm-gtab-btn {
  padding: 10px 8px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: #475569 !important; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.agm-gtab-btn.active {
  background: #ffffff; color: #1d72e8 !important; border-bottom-color: #1d72e8; font-weight: 800;
}
.agm-min-input {
  width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1px solid #cbd5e1; background: #ffffff !important; color: #0f172a !important;
  font-size: 13px; outline: none;
}
.agm-min-input:focus { border-color: #1d72e8; box-shadow: 0 0 0 3px rgba(29, 114, 232, 0.14); }
.agm-min-btn-primary {
  padding: 9px 14px; border-radius: 10px; border: none;
  background: #1d72e8; color: #ffffff !important; font-weight: 700; font-size: 13px; cursor: pointer;
}
.agm-min-btn-secondary {
  padding: 9px 14px; border-radius: 10px; border: 1px solid #cbd5e1;
  background: #f8fafc; color: #1e293b !important; font-weight: 700; font-size: 13px; cursor: pointer;
}
.agm-google-oauth-btn {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #cbd5e1;
  background: #ffffff; color: #0f172a !important; font-weight: 700; font-size: 13px;
  cursor: pointer; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.agm-kyc-banner { padding: 9px 11px; border-radius: 10px; font-size: 12px; line-height: 1.45; }
.agm-kyc-banner.pending { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e !important; }
.agm-kyc-banner.verified { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46 !important; }
.agm-profile-info-grid {
  display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px;
  background: #f8fafc; border: 1px solid #e2e8f0; color: #1e293b !important; font-size: 12.5px;
}
.agm-avatar-initials {
  width: 100%; height: 100%; border-radius: 9999px; background: #1d72e8; color: #ffffff !important;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
}

.agm-vn2k-card {
  background: #ffffff !important; color: #0f172a !important; border-radius: 16px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.35); overflow: hidden; display: flex; flex-direction: column;
}
.agm-vn2k-hdr {
  padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #0f172a !important;
}
.agm-vn2k-title { margin: 0; font-size: 16px; font-weight: 800; color: #0f172a !important; }
.agm-vn2k-sub { margin: 2px 0 0; font-size: 11.5px; color: #475569 !important; }
.agm-vn2k-tabs {
  display: flex; border-bottom: 1px solid #e2e8f0; background: #ffffff;
  padding: 0 12px; overflow-x: auto; gap: 4px;
}
.agm-vn2k-tab {
  padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent;
  color: #475569 !important; font-size: 12.5px; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.agm-vn2k-tab.active { color: #1d72e8 !important; border-bottom-color: #1d72e8 !important; font-weight: 800; }
.agm-vn2k-body { padding: 15px; overflow-y: auto; flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; color: #0f172a !important; font-size: 13px; }
.agm-vn2k-prov-bar {
  padding: 12px; border-radius: 12px; background: #eff6ff; border: 1px solid #bfdbfe;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; color: #0f172a !important;
}
.agm-vn2k-two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.agm-vn2k-xy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.agm-vn2k-box {
  padding: 13px; border-radius: 12px; border: 1px solid #cbd5e1; background: #ffffff;
  display: flex; flex-direction: column; gap: 9px; color: #0f172a !important;
}
.agm-vn2k-sec-title { font-size: 13.5px; font-weight: 800; color: #0f172a !important; }
.agm-vn2k-lbl { display: block; font-size: 11.5px; font-weight: 700; color: #334155 !important; margin-bottom: 4px; }
.agm-vn2k-desc { margin: 0; font-size: 12px; line-height: 1.45; color: #475569 !important; }
.agm-vn2k-hint { padding: 8px 10px; border-radius: 9px; background: #f8fafc; border: 1px solid #e2e8f0; color: #334155 !important; font-size: 12px; }

.msheet-grid-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px; text-align: center; }
.msheet-grid-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px; text-align: center; }
.msheet-item-btn {
  background: transparent; border: 0; padding: 3px 2px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
}
.msheet-lbl-pri { font-size: 13px; font-weight: 700; color: #0f172a !important; line-height: 1.25; }
.msheet-lbl-sec { font-size: 12px; font-weight: 600; color: #1e293b !important; line-height: 1.25; }
.msheet-divider { border-top: 1px solid #e2e8f0; margin: 12px 0; }

@media (max-width: 1023px) {
  #left-sidebar.agm-light-menu {
    position: fixed !important; top: 56px !important; bottom: 0 !important; left: 0 !important;
    width: min(312px, 88vw) !important; z-index: 1260 !important; transform: translateX(0);
  }
  #left-sidebar.agm-light-menu.-translate-x-full,
  #left-sidebar.agm-light-menu.sidebar-collapsed {
    transform: translateX(-105%) !important;
  }
}

@media (max-width: 767px) {
  body > header, #mobile-left-gps-dock, #hotline-chat-dock, #btn-expand-left-sidebar, .leaflet-control-zoom {
    display: none !important;
  }
  #left-sidebar.agm-light-menu { top: 50px !important; }
  .mobile-top-brand-bar {
    height: 50px; padding: 0 14px; background: #ffffff; border-bottom: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: space-between; z-index: 1270; flex-shrink: 0;
  }
  .mobile-download-pill {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 15px; border-radius: 9999px; background: #1d72e8; color: #ffffff !important;
    font-weight: 700; font-size: 13px; text-decoration: none; box-shadow: 0 2px 8px rgba(29, 114, 232, 0.28);
  }
  .mobile-floating-search-bar {
    position: absolute; top: 10px; left: 12px; right: 12px; height: 46px;
    padding: 0 8px 0 14px; border-radius: 9999px; background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.9); box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
    display: flex; align-items: center; gap: 10px; z-index: 1080;
  }
  .mobile-floating-input {
    flex: 1 1 auto; min-width: 0; border: none; outline: none;
    background: transparent; color: #0f172a; font-size: 13.5px;
  }
  .mobile-floating-input::placeholder { color: #64748b; font-style: italic; }
  .mobile-avatar-btn {
    width: 34px; height: 34px; border-radius: 9999px; border: 1px solid #e2e8f0;
    background: #f8fafc; padding: 0; display: inline-flex; align-items: center;
    justify-content: center; overflow: hidden; cursor: pointer; flex-shrink: 0;
  }
  .mobile-bottom-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1180;
    background: #ffffff; color: #0f172a; border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.18);
    transform: translateY(calc(100% - 34px));
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
  }
  .mobile-bottom-sheet.expanded { transform: translateY(0); }
  .mobile-sheet-handle-zone {
    height: 34px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; cursor: pointer; user-select: none;
  }
  .mobile-sheet-pill { width: 38px; height: 4.5px; border-radius: 9999px; background: #cbd5e1; }
  .msheet-primary-circle {
    width: 50px; height: 50px; border-radius: 9999px; background: #1d72e8; color: #ffffff !important;
    display: inline-flex; align-items: center; justify-content: center; border: none;
    box-shadow: 0 4px 12px rgba(29, 114, 232, 0.28);
  }
  .msheet-secondary-circle {
    width: 46px; height: 46px; border-radius: 9999px; background: #ffffff; color: #0f172a !important;
    border: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .leaflet-bottom.leaflet-left, .leaflet-bottom.leaflet-right {
    margin-bottom: 36px !important; margin-left: 4px !important;
  }
}
