/* ==========================================================================
   MISTER FAST — SHARED CANONICAL MINI BOTTOM NAV (standalone MINI pages)
   Source of truth values: LiveMapChat MINI Home/Map bottom nav
   (modules/livemapchat/assets/mf-mini-mobile-phase1.css + views/mini.php).
   Use on MINI pages that do NOT load the LiveMapChat stylesheet (e.g. Food).
   Markup: <nav class="mf-mini-bottom-nav"> a|button (+ img + span),
           .mf-bottom-center-action > .mf-center-btn-circle > .mf-center-plus
   Not scoped to body.mf-mini so it works on any MINI shell.
   ========================================================================== */
.mf-mini-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 430px !important;
  height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  box-shadow: 0 -4px 20px rgba(0, 44, 120, 0.08) !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  align-items: center !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
}

.mf-mini-bottom-nav button,
.mf-mini-bottom-nav a,
.mf-mini-bottom-nav a:link,
.mf-mini-bottom-nav a:visited,
.mf-mini-bottom-nav a:hover,
.mf-mini-bottom-nav a:active {
  min-width: 0 !important;
  min-height: 48px !important;
  border: 0 !important;
  border-style: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  color: #64748B !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: all 0.15s ease !important;
}

.mf-mini-bottom-nav span {
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
}

.mf-mini-bottom-nav img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  opacity: 0.65 !important;
  transition: all 0.15s ease !important;
  display: block !important;
}

.mf-mini-bottom-nav button.is-active,
.mf-mini-bottom-nav a.is-active,
.mf-mini-bottom-nav a.is-active:link,
.mf-mini-bottom-nav a.is-active:visited {
  color: #0057B8 !important;
}

.mf-mini-bottom-nav button.is-active img,
.mf-mini-bottom-nav a.is-active img {
  opacity: 1 !important;
  filter: none !important;
}

.mf-mini-bottom-nav .mf-nav-icon-wrap {
  position: relative;
  display: inline-block;
}
.mf-mini-bottom-nav .mf-chat-unread-badge {
  position: absolute;
  top: -3px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #EF4444;
  color: #FFF;
  font-size: 9.5px;
  font-weight: 800;
  text-align: center;
  line-height: 16px;
  padding: 0 2px;
}

/* Elevated center (+) action */
.mf-mini-bottom-nav .mf-bottom-center-action,
.mf-mini-bottom-nav a.mf-bottom-center-action:link,
.mf-mini-bottom-nav a.mf-bottom-center-action:visited,
.mf-mini-bottom-nav a.mf-bottom-center-action:hover,
.mf-mini-bottom-nav a.mf-bottom-center-action:active {
  position: relative !important;
  min-width: 56px !important;
  min-height: 56px !important;
  transform: translateY(-10px) !important;
  text-decoration: none !important;
  z-index: 1001 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.mf-mini-bottom-nav .mf-center-btn-circle {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  border-radius: 50% !important;
  background: #FFC400 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border: 3px solid #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.45) !important;
  transition: transform 0.15s ease !important;
  box-sizing: border-box !important;
}

.mf-mini-bottom-nav .mf-center-plus {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #002C78 !important;
  line-height: 1 !important;
  display: block !important;
  margin-top: -1px !important;
  border: none !important;
  background: none !important;
}

.mf-mini-bottom-nav .mf-center-text,
.mf-mini .mf-mini-bottom-nav .mf-center-text {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  color: #002C78 !important;
  line-height: 1 !important;
  margin-top: 1px !important;
  display: block !important;
}

.mf-mini-bottom-nav .mf-bottom-center-action.is-active .mf-center-btn-circle {
  background: #FFC400 !important;
  border: 3px solid #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(255, 196, 0, 0.55) !important;
  transform: scale(1.05) !important;
}

.mf-mini-bottom-nav [data-mf-chat-unread][hidden],
.mf-mini-bottom-nav .mf-chat-unread-badge[hidden] {
  display: none !important;
}

.mf-mini-bottom-nav .mf-bottom-center-action img {
  display: none !important;
}

@media (max-width: 360px) {
  .mf-mini-bottom-nav .mf-bottom-center-action {
    min-width: 54px !important;
    transform: translateY(-5px) !important;
  }
  .mf-mini-bottom-nav .mf-center-btn-circle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* ==========================================================================
   CANONICAL QUICK SERVICES V1.1 (STANDALONE BOTTOM SHEET & CARDS)
   ========================================================================== */
.mf-create-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  z-index: 998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}
.mf-create-backdrop.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.mf-create-pane.mf-create-sheet {
  position: fixed !important;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(20px) !important;
  width: 100% !important;
  max-width: 430px !important;
  max-height: calc(85vh - 64px) !important;
  background: #FFFFFF !important;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  box-shadow: 0 -8px 32px rgba(0, 44, 120, 0.16) !important;
  border: 1px solid #E2E8F0 !important;
  border-bottom: none !important;
  z-index: 999 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s ease !important;
}

.mf-create-pane.mf-create-sheet.is-open {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mf-create-pane-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 14px 20px !important;
  box-sizing: border-box !important;
}

.mf-create-header {
  width: 100% !important;
  max-width: 460px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
  padding: 0 2px !important;
  box-sizing: border-box !important;
}

.mf-create-title-wrap {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
}

.mf-create-title-bolt {
  font-size: 20px !important;
  line-height: 1 !important;
}

.mf-create-title-text {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  letter-spacing: -0.3px !important;
}

.mf-create-title-sub {
  font-size: 13px !important;
  color: #64748B !important;
  font-weight: 500 !important;
}

.mf-create-close-btn {
  background: transparent !important;
  border: none !important;
  color: #94A3B8 !important;
  font-size: 18px !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 8px !important;
  line-height: 1 !important;
}

.mf-create-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 460px !important;
  box-sizing: border-box !important;
}

@media (max-width: 359px) {
  .mf-create-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

.mf-create-card {
  background: #FFFFFF !important;
  border: 1.5px solid #EEF2F7 !important;
  border-radius: 16px !important;
  padding: 12px 6px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
  position: relative !important;
  text-decoration: none !important;
  color: inherit !important;
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 124px !important;
  width: 100% !important;
  -webkit-tap-highlight-color: transparent !important;
}

.mf-create-card:active {
  transform: scale(0.96) !important;
  background: #F8FAFC !important;
}

.mf-create-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 8px !important;
  flex-shrink: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03) !important;
}

.mf-create-icon img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  display: block !important;
}

.mf-create-card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  text-align: left !important;
  padding: 0 2px !important;
  margin-top: 4px !important;
  box-sizing: border-box !important;
}

.mf-create-card-text {
  flex: 1 !important;
  min-width: 0 !important;
}

.mf-create-arrow {
  color: #94A3B8 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin-left: 4px !important;
  flex-shrink: 0 !important;
}

.mf-create-card b {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  display: block !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
  word-break: break-word !important;
}

.mf-create-card small {
  font-size: 10.5px !important;
  color: #64748B !important;
  display: block !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

