/* ==========================================================================
   HIGH MOUNTAINS – PREMIUM TRAVEL USER DASHBOARD
   Design System: Electric Blue & Dark Navy | Premium Travel-Tech Interface
   ========================================================================== */

:root {
  --hm-dash-bg: #f8fafc;
  --hm-dash-card-bg: #ffffff;
  --hm-dash-primary: #0284c7;
  --hm-dash-primary-hover: #0369a1;
  --hm-dash-primary-light: #e0f2fe;
  --hm-dash-navy: #0f172a;
  --hm-dash-navy-light: #1e293b;
  --hm-dash-text: #334155;
  --hm-dash-text-muted: #64748b;
  --hm-dash-border: #e2e8f0;
  --hm-dash-border-light: #f1f5f9;
  --hm-dash-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --hm-dash-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  --hm-dash-shadow-hover: 0 20px 30px -8px rgba(15, 23, 42, 0.08), 0 12px 14px -6px rgba(15, 23, 42, 0.04);
  --hm-dash-radius: 20px;
  --hm-dash-radius-sm: 12px;
}

/* Base Dashboard Container */
.hm-dashboard-wrapper {
  background-color: var(--hm-dash-bg);
  background-image: radial-gradient(at 0% 0%, rgba(224, 242, 254, 0.45) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, rgba(240, 249, 255, 0.6) 0px, transparent 50%);
  min-height: 100vh;
  padding: 24px 0 60px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--hm-dash-text);
}

.hm-dashboard-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP NAVIGATION BAR (DASHBOARD TOPBAR)
   ========================================================================== */
.hm-dash-topbar {
  background: var(--hm-dash-card-bg);
  border-radius: var(--hm-dash-radius);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--hm-dash-shadow);
  border: 1px solid var(--hm-dash-border);
  margin-bottom: 24px;
  position: relative;
  z-index: 50;
}

/* Search Bar */
.hm-dash-search-box {
  position: relative;
  flex: 1;
  max-width: 420px;
}
.hm-dash-search-input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--hm-dash-navy);
  transition: all 0.2s ease;
  outline: none;
}
.hm-dash-search-input:focus {
  background: #ffffff;
  border-color: var(--hm-dash-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.hm-dash-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}
.hm-dash-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
  padding: 8px 0;
  display: none;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
}
.hm-dash-search-dropdown.show {
  display: block;
}
.hm-dash-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  color: var(--hm-dash-navy);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s;
}
.hm-dash-search-item:hover {
  background: #f0f7ff;
  color: var(--hm-dash-primary);
}
.hm-dash-search-item img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

/* Quick Nav Links */
.hm-dash-quick-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hm-dash-quick-links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.hm-dash-quick-links a:hover,
.hm-dash-quick-links a.active {
  color: var(--hm-dash-primary);
  background: #f0f9ff;
}

/* Topbar Actions */
.hm-dash-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hm-dash-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--hm-dash-navy);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hm-dash-icon-btn:hover {
  background: #e0f2fe;
  color: var(--hm-dash-primary);
  transform: translateY(-2px);
}
.hm-dash-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--hm-dash-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  line-height: 1;
}

/* Profile Dropdown Pill */
.hm-dash-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.hm-dash-user-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.hm-dash-user-pill-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}
.hm-dash-user-pill-info {
  text-align: left;
  line-height: 1.2;
}
.hm-dash-user-pill-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-dash-navy);
  display: block;
}
.hm-dash-user-pill-role {
  font-size: 11px;
  color: #0284c7;
  font-weight: 600;
}
.hm-dash-pill-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  border: 1px solid #e2e8f0;
  min-width: 210px;
  padding: 8px 0;
  display: none;
  z-index: 100;
}
.hm-dash-pill-menu.show {
  display: block;
}
.hm-dash-pill-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  color: #334155;
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.15s;
}
.hm-dash-pill-menu a:hover {
  background: #f0f7ff;
  color: var(--hm-dash-primary);
}
.hm-dash-pill-menu a i {
  width: 16px;
  color: #64748b;
}

/* Mobile Sidebar Hamburger */
.hm-dash-sidebar-toggle {
  display: none;
  background: #f1f5f9;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--hm-dash-navy);
  font-size: 18px;
  cursor: pointer;
}

/* ==========================================================================
   3-COLUMN MAIN LAYOUT
   ========================================================================== */
.hm-dash-grid-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN – USER NAVIGATION SIDEBAR
   ========================================================================== */
.hm-dash-sidebar {
  background: var(--hm-dash-card-bg);
  border-radius: var(--hm-dash-radius);
  padding: 24px 20px;
  box-shadow: var(--hm-dash-shadow);
  border: 1px solid var(--hm-dash-border);
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Custom scrollbar for sidebar */
.hm-dash-sidebar::-webkit-scrollbar {
  width: 4px;
}
.hm-dash-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Sidebar Logo */
.hm-dash-sidebar-logo {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hm-dash-border-light);
}
.hm-dash-sidebar-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

/* User Profile Badge Card */
.hm-dash-profile-card {
  text-align: center;
  margin-bottom: 20px;
  padding: 16px 12px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid #e0f2fe;
}
.hm-dash-avatar-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
}
.hm-dash-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}
.hm-dash-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hm-dash-profile-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--hm-dash-navy);
  margin: 0 0 4px;
  line-height: 1.2;
}
.hm-dash-profile-email {
  font-size: 12px;
  color: var(--hm-dash-text-muted);
  margin: 0 0 10px;
  word-break: break-all;
}
.hm-dash-edit-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--hm-dash-primary);
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.hm-dash-edit-profile-btn:hover {
  background: var(--hm-dash-primary);
  color: #ffffff;
  border-color: var(--hm-dash-primary);
}

/* Sidebar Nav Menu (12 options) */
.hm-dash-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.hm-dash-nav-item {
  position: relative;
}
.hm-dash-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}
.hm-dash-nav-link i {
  width: 18px;
  font-size: 15px;
  color: #64748b;
  transition: color 0.2s;
  text-align: center;
}
.hm-dash-nav-link:hover {
  color: var(--hm-dash-primary);
  background: #f0f9ff;
}
.hm-dash-nav-link:hover i {
  color: var(--hm-dash-primary);
}
.hm-dash-nav-item.active .hm-dash-nav-link {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}
.hm-dash-nav-item.active .hm-dash-nav-link i {
  color: #ffffff;
}
.hm-dash-nav-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1;
  background: #f1f5f9;
  color: #475569;
}
.hm-dash-nav-item.active .hm-dash-nav-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.hm-dash-nav-badge.danger {
  background: #ef4444;
  color: #ffffff;
}

/* Logout Item */
.hm-dash-logout-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hm-dash-border-light);
}
.hm-dash-logout-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ef4444;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.hm-dash-logout-link:hover {
  background: #fef2f2;
}

/* ==========================================================================
   CENTER COLUMN – MAIN DASHBOARD CONTENT
   ========================================================================== */
.hm-dash-main-content {
  min-width: 0;
}

/* Tab Container Panels */
.hm-dash-tab-pane {
  display: none;
  animation: hmDashFadeIn 0.25s ease forwards;
}
.hm-dash-tab-pane.active {
  display: block;
}

@keyframes hmDashFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   TAB 1: OVERVIEW (HERO + STATS + POPULAR TRIPS + FEATURED DESTINATIONS)
   ========================================================================== */

/* Welcome Hero Banner */
.hm-dash-hero {
  position: relative;
  border-radius: var(--hm-dash-radius);
  overflow: hidden;
  padding: 38px 40px;
  margin-bottom: 24px;
  box-shadow: var(--hm-dash-shadow);
  color: #ffffff;
  background-image: linear-gradient(135deg, rgba(11, 19, 43, 0.84) 0%, rgba(2, 132, 199, 0.65) 100%),
                    url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center 35%;
}
.hm-dash-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #e0f2fe;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hm-dash-hero-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.25;
  color: #ffffff;
}
.hm-dash-hero-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  margin: 0 0 20px;
  font-weight: 400;
  max-width: 520px;
}
.hm-dash-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
  transition: all 0.25s ease;
}
.hm-dash-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.5);
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  color: #ffffff;
}
.hm-dash-hero-cta i {
  transition: transform 0.2s;
}
.hm-dash-hero-cta:hover i {
  transform: translateX(4px);
}

/* Quick Access Statistics Cards (4 Cards) */
.hm-dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.hm-dash-stat-card {
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--hm-dash-shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid;
  position: relative;
  overflow: hidden;
}
.hm-dash-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-dash-shadow-hover);
}

/* Card 1: Upcoming Trips (Subtle Blue) */
.hm-dash-stat-card.blue {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.hm-dash-stat-card.blue .hm-stat-icon-wrap {
  background: #dbeafe;
  color: #1d4ed8;
}
.hm-dash-stat-card.blue .hm-stat-action-btn {
  color: #1d4ed8;
  background: #ffffff;
  border-color: #bfdbfe;
}

/* Card 2: Wishlist (Subtle Pink) */
.hm-dash-stat-card.pink {
  background: #fff1f2;
  border-color: #fecdd3;
}
.hm-dash-stat-card.pink .hm-stat-icon-wrap {
  background: #ffe4e6;
  color: #e11d48;
}
.hm-dash-stat-card.pink .hm-stat-action-btn {
  color: #e11d48;
  background: #ffffff;
  border-color: #fecdd3;
}

/* Card 3: My Cart (Subtle Light Yellow) */
.hm-dash-stat-card.yellow {
  background: #fffbeb;
  border-color: #fef08a;
}
.hm-dash-stat-card.yellow .hm-stat-icon-wrap {
  background: #fef3c7;
  color: #d97706;
}
.hm-dash-stat-card.yellow .hm-stat-action-btn {
  color: #b45309;
  background: #ffffff;
  border-color: #fef08a;
}

/* Card 4: Travel Wallet (Subtle Light Green) */
.hm-dash-stat-card.green {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.hm-dash-stat-card.green .hm-stat-icon-wrap {
  background: #dcfce7;
  color: #16a34a;
}
.hm-dash-stat-card.green .hm-stat-action-btn {
  color: #15803d;
  background: #ffffff;
  border-color: #bbf7d0;
}

.hm-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hm-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.hm-stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--hm-dash-text-muted);
}
.hm-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--hm-dash-navy);
  margin: 0 0 14px;
  line-height: 1;
}
.hm-stat-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.hm-stat-action-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

/* Section Titles */
.hm-dash-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hm-dash-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--hm-dash-navy);
  margin: 0 0 4px;
}
.hm-dash-section-subtitle {
  font-size: 13.5px;
  color: var(--hm-dash-text-muted);
  margin: 0;
}
.hm-dash-view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-dash-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.hm-dash-view-all-link:hover {
  gap: 8px;
  color: var(--hm-dash-primary-hover);
}

/* Popular Trips For You Cards (Horizontal Grid) */
.hm-dash-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}
.hm-dash-pkg-card {
  background: var(--hm-dash-card-bg);
  border-radius: 18px;
  border: 1px solid var(--hm-dash-border);
  box-shadow: var(--hm-dash-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hm-dash-pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-dash-shadow-hover);
}
.hm-dash-pkg-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.hm-dash-pkg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hm-dash-pkg-card:hover .hm-dash-pkg-img {
  transform: scale(1.05);
}
.hm-dash-pkg-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.hm-dash-wishlist-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
  z-index: 5;
}
.hm-dash-wishlist-toggle:hover {
  transform: scale(1.1);
  color: #e11d48;
}
.hm-dash-wishlist-toggle.is-active {
  color: #e11d48;
}
.hm-dash-wishlist-toggle.is-active i {
  font-weight: 900;
  animation: hmHeartBeat 0.4s ease;
}
@keyframes hmHeartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.hm-dash-pkg-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hm-dash-pkg-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hm-dash-pkg-duration {
  font-size: 12px;
  font-weight: 600;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hm-dash-pkg-rating {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hm-dash-pkg-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hm-dash-navy);
  margin: 0 0 14px;
  line-height: 1.35;
}
.hm-dash-pkg-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hm-dash-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hm-dash-pkg-price-col {
  line-height: 1.2;
}
.hm-dash-pkg-from {
  font-size: 11px;
  color: var(--hm-dash-text-muted);
  display: block;
}
.hm-dash-pkg-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--hm-dash-navy);
}
.hm-dash-pkg-view-btn {
  background: #f0f9ff;
  color: var(--hm-dash-primary);
  border: 1px solid #bae6fd;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.hm-dash-pkg-view-btn:hover {
  background: var(--hm-dash-primary);
  color: #ffffff;
  border-color: var(--hm-dash-primary);
}

/* Featured Destinations (6 Image Tiles) */
.hm-dash-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.hm-dash-dest-card {
  position: relative;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--hm-dash-shadow-sm);
  text-decoration: none;
  display: block;
}
.hm-dash-dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hm-dash-dest-card:hover .hm-dash-dest-img {
  transform: scale(1.08);
}
.hm-dash-dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.78) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}
.hm-dash-dest-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px;
  color: #ffffff;
}
.hm-dash-dest-cta {
  font-size: 11.5px;
  font-weight: 600;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.hm-dash-dest-card:hover .hm-dash-dest-cta {
  gap: 7px;
  color: #7dd3fc;
}

/* ==========================================================================
   RIGHT COLUMN – SIDEBAR WIDGETS
   ========================================================================== */
.hm-dash-widgets-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hm-dash-widget-card {
  background: var(--hm-dash-card-bg);
  border-radius: var(--hm-dash-radius);
  padding: 22px;
  box-shadow: var(--hm-dash-shadow);
  border: 1px solid var(--hm-dash-border);
}

/* Widget 1: Traveler Rewards */
.hm-rewards-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #fef3c7;
  color: #b45309;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hm-rewards-points-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hm-rewards-points-count {
  font-size: 26px;
  font-weight: 800;
  color: var(--hm-dash-navy);
}
.hm-rewards-points-label {
  font-size: 12.5px;
  color: var(--hm-dash-text-muted);
}
.hm-rewards-progress-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.hm-rewards-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-radius: 999px;
  transition: width 0.5s ease;
}
.hm-rewards-target-text {
  font-size: 12px;
  color: var(--hm-dash-text-muted);
  line-height: 1.4;
}

/* Widget 2: Refer & Earn */
.hm-refer-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hm-refer-code {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--hm-dash-primary);
  letter-spacing: 1px;
}
.hm-refer-copy-btn {
  background: var(--hm-dash-primary);
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.hm-refer-copy-btn:hover {
  background: var(--hm-dash-primary-hover);
}
.hm-refer-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background: #25d366;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.hm-refer-whatsapp-btn:hover {
  background: #20bd5a;
  color: #ffffff;
}
.hm-refer-summary {
  font-size: 12px;
  color: var(--hm-dash-text-muted);
  text-align: center;
}

/* Widget 3: Plan Custom Trip Promo */
.hm-widget-custom-trip {
  position: relative;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(2, 132, 199, 0.75) 100%),
                    url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}
.hm-widget-custom-trip h4 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}
.hm-widget-custom-trip p {
  font-size: 12.5px;
  color: #e2e8f0;
  margin: 0 0 16px;
}
.hm-widget-custom-cta {
  background: #ffffff;
  color: var(--hm-dash-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.hm-widget-custom-cta:hover {
  background: #f0f7ff;
  color: var(--hm-dash-primary-hover);
  transform: translateY(-2px);
}

/* Widget 4: Recent Searches */
.hm-recent-search-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.hm-recent-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.hm-recent-search-item:hover {
  background: #f1f5f9;
}
.hm-recent-search-item img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.hm-recent-search-info {
  flex: 1;
  line-height: 1.3;
}
.hm-recent-search-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-dash-navy);
}
.hm-recent-search-duration {
  font-size: 11.5px;
  color: var(--hm-dash-text-muted);
}

/* ==========================================================================
   GENERIC CARD PANELS & SUB-PAGE SECTIONS
   ========================================================================== */
.hm-dash-card {
  background: var(--hm-dash-card-bg);
  border-radius: var(--hm-dash-radius);
  padding: 28px;
  box-shadow: var(--hm-dash-shadow);
  border: 1px solid var(--hm-dash-border);
  margin-bottom: 24px;
}
.hm-dash-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--hm-dash-navy);
  margin: 0 0 6px;
}
.hm-dash-card-desc {
  font-size: 13.5px;
  color: var(--hm-dash-text-muted);
  margin: 0 0 24px;
}

/* Filter Subtabs */
.hm-dash-filter-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--hm-dash-border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.hm-dash-filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.hm-dash-filter-btn:hover {
  background: #e2e8f0;
}
.hm-dash-filter-btn.active {
  background: #e0f2fe;
  color: var(--hm-dash-primary);
  border-color: #bae6fd;
}

/* Trip Cards in My Trips */
.hm-dash-trip-item {
  border: 1px solid var(--hm-dash-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  transition: all 0.2s;
}
.hm-dash-trip-item:hover {
  border-color: #bae6fd;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.hm-dash-trip-thumb {
  width: 140px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.hm-dash-trip-details {
  flex: 1;
}
.hm-dash-trip-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--hm-dash-text-muted);
}
.hm-dash-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
}
.hm-dash-status-pill.confirmed {
  background: #dcfce7;
  color: #15803d;
}
.hm-dash-status-pill.completed {
  background: #e0f2fe;
  color: #0369a1;
}
.hm-dash-trip-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--hm-dash-navy);
  margin: 0 0 8px;
}
.hm-dash-trip-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hm-dash-action-btn-sm {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.2s;
}
.hm-dash-action-btn-sm.primary {
  background: var(--hm-dash-primary);
  color: #ffffff;
  border-color: var(--hm-dash-primary);
}
.hm-dash-action-btn-sm.primary:hover {
  background: var(--hm-dash-primary-hover);
}
.hm-dash-action-btn-sm.outline {
  background: #ffffff;
  color: #475569;
  border-color: #cbd5e1;
}
.hm-dash-action-btn-sm.outline:hover {
  background: #f8fafc;
  color: var(--hm-dash-navy);
}

/* My Bookings Table */
.hm-dash-table-wrap {
  overflow-x: auto;
}
.hm-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.hm-dash-table th {
  text-align: left;
  padding: 12px 16px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hm-dash-border);
}
.hm-dash-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hm-dash-border-light);
  color: var(--hm-dash-navy);
}
.hm-dash-table tr:hover td {
  background: #f8fafc;
}

/* Empty State */
.hm-dash-empty-state {
  text-align: center;
  padding: 48px 24px;
}
.hm-dash-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0f7ff;
  color: var(--hm-dash-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 16px;
}
.hm-dash-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hm-dash-navy);
  margin: 0 0 6px;
}
.hm-dash-empty-text {
  font-size: 13.5px;
  color: var(--hm-dash-text-muted);
  max-width: 440px;
  margin: 0 auto 20px;
}

/* Cart & Wishlist Rows */
.hm-dash-cart-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--hm-dash-border);
  border-radius: 16px;
  margin-bottom: 14px;
}
.hm-dash-cart-img {
  width: 100px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}
.hm-dash-cart-info {
  flex: 1;
}
.hm-dash-pax-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 4px;
}
.hm-dash-pax-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: #ffffff;
  color: var(--hm-dash-navy);
  font-weight: 700;
  cursor: pointer;
}
.hm-dash-pax-val {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

/* Form Controls (Profile & Preferences) */
.hm-dash-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.hm-dash-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hm-dash-form-group.full {
  grid-column: span 2;
}
.hm-dash-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-dash-navy);
}
.hm-dash-input,
.hm-dash-select,
.hm-dash-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--hm-dash-navy);
  background: #ffffff;
  transition: all 0.2s;
}
.hm-dash-input:focus,
.hm-dash-select:focus,
.hm-dash-textarea:focus {
  outline: none;
  border-color: var(--hm-dash-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* Preference Tag Selector */
.hm-dash-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.hm-dash-tag-choice {
  padding: 7px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.hm-dash-tag-choice.selected {
  background: #e0f2fe;
  color: var(--hm-dash-primary);
  border-color: #7dd3fc;
  font-weight: 600;
}

/* Notifications List */
.hm-dash-notif-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--hm-dash-border-light);
  margin-bottom: 12px;
  transition: background 0.15s;
}
.hm-dash-notif-item.unread {
  background: #f0f9ff;
  border-color: #bae6fd;
}
.hm-dash-notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--hm-dash-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hm-dash-notif-content {
  flex: 1;
}
.hm-dash-notif-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--hm-dash-navy);
  margin: 0 0 4px;
}
.hm-dash-notif-text {
  font-size: 13px;
  color: var(--hm-dash-text);
  margin: 0 0 6px;
  line-height: 1.4;
}
.hm-dash-notif-time {
  font-size: 11px;
  color: var(--hm-dash-text-muted);
}

/* Help & Support Cards */
.hm-dash-support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.hm-dash-support-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  cursor: pointer;
}
.hm-dash-support-box:hover {
  background: #ffffff;
  border-color: #bae6fd;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.hm-dash-support-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Modal Popup System */
.hm-dash-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hm-dash-modal.show {
  display: flex;
}
.hm-dash-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  animation: hmModalZoom 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes hmModalZoom {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.hm-dash-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hm-dash-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--hm-dash-navy);
}
.hm-dash-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
}
.hm-dash-modal-body {
  padding: 24px;
}

/* Toast Notifications */
.hm-dash-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--hm-dash-navy);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hm-dash-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Sticky Bottom Nav */
.hm-dash-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 8px 12px;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  justify-content: space-around;
}
.hm-dash-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #64748b;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}
.hm-dash-bottom-nav-item i {
  font-size: 18px;
}
.hm-dash-bottom-nav-item.active {
  color: var(--hm-dash-primary);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .hm-dash-grid-layout {
    grid-template-columns: 260px 1fr;
  }
  .hm-dash-widgets-col {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hm-dash-grid-layout {
    grid-template-columns: 1fr;
  }
  .hm-dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 100001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    max-height: 100vh;
  }
  .hm-dash-sidebar.open {
    transform: translateX(0);
  }
  .hm-dash-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: none;
  }
  .hm-dash-sidebar-overlay.show {
    display: block;
  }
  .hm-dash-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hm-dash-quick-links {
    display: none;
  }
  .hm-dash-widgets-col {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .hm-dash-popular-grid {
    grid-template-columns: 1fr;
  }
  .hm-dash-dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-dash-form-grid {
    grid-template-columns: 1fr;
  }
  .hm-dash-form-group.full {
    grid-column: span 1;
  }
  .hm-dash-support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-dash-bottom-nav {
    display: flex;
  }
  .hm-dashboard-wrapper {
    padding-bottom: 90px;
  }
}

@media (max-width: 580px) {
  .hm-dash-stats-grid {
    grid-template-columns: 1fr;
  }
  .hm-dash-dest-grid {
    grid-template-columns: 1fr;
  }
  .hm-dash-support-grid {
    grid-template-columns: 1fr;
  }
  .hm-dash-hero {
    padding: 24px 20px;
  }
  .hm-dash-hero-title {
    font-size: 22px;
  }
  .hm-dash-trip-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .hm-dash-trip-thumb {
    width: 100%;
    height: 160px;
  }
}

