:root {
  --app-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --app-header-height: 58px;
  --app-bottom-nav-height: 65px;
}

/* ===================================================
   MOBILE VIEWPORT & GLOBAL ADAPTIVE APP SHELL
   =================================================== */
.mobile-app-shell {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.mobile-view-padding {
  padding-bottom: calc(var(--app-bottom-nav-height) + 15px) !important;
}

/* ===================================================
   HEADER & NAVIGATION STYLES
   =================================================== */
.mobile-app-header {
  height: var(--app-header-height);
  z-index: 1020;
  background: #111827 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.header-icon-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.header-icon-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.2);
}

.mobile-bottom-nav {
  z-index: 1030 !important;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  height: var(--app-bottom-nav-height);
}

.nav-item-link {
  transition: color 0.15s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-label {
  font-size: 10px;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

.active-nav {
  color: #2563eb !important;
  font-weight: 700 !important;
}

.guest-signin-nav {
  color: #2563eb !important;
  font-weight: 600;
}

.mobile-offcanvas {
  max-width: 84% !important;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;
}

.offcanvas-menu-item {
  transition: all 0.2s ease-in-out;
}

.offcanvas-menu-item:active {
  transform: scale(0.97);
  background-color: rgba(var(--bs-primary-rgb), 0.08) !important;
}

.header-profile-avatar {
  width: 36px;
  height: 36px;
}

.drawer-gradient-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

/* ===================================================
   GLASSMORPHISM & SERVICES GRID
   =================================================== */
.glass-section-card {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 20px;
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.service-icon-box.flights-bg {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7 !important;
}

.service-icon-box.hotels-bg {
  background: linear-gradient(135deg, #fef3c7 0%, #fde047 100%);
  color: #d97706 !important;
}

.service-icon-box.groups-bg {
  background: linear-gradient(135deg, #dcfce7 0%, #86efac 100%);
  color: #16a34a !important;
}

.service-icon-box.more-bg {
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
  color: #475569 !important;
}

.service-icon-box:active {
  transform: scale(0.93);
}

/* ===================================================
   OFFERS CAROUSEL & CARDS
   =================================================== */
.horizontal-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 14px;
  padding: 4px 4px 12px 4px;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none;
}

.offer-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease;
}

/* ===================================================
   MANAGE & DASHBOARD STYLES
   =================================================== */
.mobile-menu-header {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-radius: 0 0 24px 24px;
}

.profile-card-floating {
  margin-top: -35px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.menu-category-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #8c98a4;
  margin-bottom: 10px;
  padding-left: 4px;
}

.menu-item-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #f0f2f5;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #2b3445;
  transition: all 0.2s ease;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.menu-item-card:active {
  transform: scale(0.98);
  background-color: #f8f9fa;
}

.menu-item-card.active {
  border-color: #0d6efd;
  background-color: #f0f5ff;
}

.menu-item-card.active .icon-box {
  background-color: #0d6efd;
  color: #ffffff;
}

.menu-item-card.active .menu-title {
  color: #0d6efd;
  font-weight: 700;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.icon-blue { background-color: #e7f1ff; color: #0d6efd; }
.icon-teal { background-color: #e6f7f5; color: #0d9488; }
.icon-purple { background-color: #f3e8ff; color: #7e22ce; }
.icon-orange { background-color: #fff3eb; color: #f97316; }
.icon-green { background-color: #dcfce7; color: #15803d; }
.icon-red { background-color: #ffe4e6; color: #e11d48; }
.icon-gray { background-color: #f1f5f9; color: #475569; }

/* Sticky Mobile Bar */
.mobile-floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  padding: 10px 16px;
}

/* Modals Bottom Sheets */
.modal-bottom-sheet .modal-dialog {
  margin: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 100%;
}

.modal-bottom-sheet .modal-content {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 24px !important;
  border-top-right-radius: 24px !important;
  border: none;
  background-color: #ffffff !important;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-drag-handle {
  width: 40px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 10px;
  margin: 8px auto 0 auto;
}

/* Suppress AI Assistant widgets on mobile */
@media (max-width: 991.98px) {
  .ai-assistant-wrapper,
  .ai-trigger-btn,
  .ai-chat-window,
  #ai-travel-assistant,
  .ai-chat-bubble {
    display: none !important;
  }
}

