body {
  margin: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #000e33;
  color: #ffffff;
  overflow-x: hidden;
}.profile-container {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-container .avatar {
  cursor: pointer;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #000e33;
  border-radius: 12px;
  padding: 8px 0;
  min-width: 180px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
  z-index: 1100;
}

/* Invisible bridge between avatar and dropdown */
.profile-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.profile-container:hover .profile-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.profile-dropdown a i {
  width: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.profile-dropdown a:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
}

.guest-nav-left {
  align-items: center;
  gap: 32px;
  justify-content: center;
  grid-column: 2;
      margin: 0;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #ffffff;
}

/* ───── NAVBAR ───── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  height: 80px;
  padding-bottom: 20px !important;
  padding: 0 48px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(0, 14, 51, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  grid-column: 2;
}

.nav-logo {
  width: 225px;
  height: auto;
  grid-column: 1;
  justify-self: start;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  grid-column: 3;
  justify-self: end;
}

.nav-item {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  position: relative;
}

.nav-item i {
  font-size: 0.65rem;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0066ff, #c27aff);
  opacity: 0;
  transform: translateY(4px);
  transition: 0.2s ease;
}

.nav-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
}

.create-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.menu-toggle {
  display: none;
}

a {
  text-decoration: none;
  color: white;
}
.hamburger {
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(0, 14, 51, 0.96);
  padding: 20px 24px;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
}

.menu-toggle:checked ~ .mobile-menu {
  display: flex;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #000e33;
  border-radius: 12px;
  padding: 10px 0;
  min-width: 200px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

.dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown a:hover {
  background: linear-gradient(135deg, #0066ff, #c27aff);
}

/* ───── NAVBAR RESPONSIVE ───── */

@media (max-width: 1100px) {
  .navbar {
    padding: 0 32px;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-logo {
    width: 180px;
  }

  .nav-left {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }

  .controls-right .create-btn {
    font-size: 12px;
    width: 50%;
    white-space: nowrap;
  }
  .nav-logo {
    width: 170px;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-right .create-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

a {
  text-decoration: none;
}

.avatar:hover,
.create-btn:hover,
.notification-bell:hover,
.submit-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

/* ───── NOTIFICATIONS ───── */

.notification-container {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2000001 !important;
}

.notification-bell {
  position: relative;
}

.rr-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;

  /* 🔑 FIX */
  z-index: 100000;
}


.rr-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.group-monogram-placeholder {
  background: #000e33 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-monogram-placeholder span {
  color: #ffffff;
  font-size: 48px;
  font-weight: bold;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  display: none;
  box-shadow: 0 0 0 2px #000e33;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding-right: 4px;
  margin-bottom: 14px;
}
.close-icon {
  font-size: 22px;
  line-height: 1;
  color: #1a1a1a;
  opacity: 0.7;
}
#shareModalContent {
  position: relative;
}
.close-modal:hover {
  transform: rotate(90deg);
}
#shareModal {
  display: none; /* you already toggle this */
  position: fixed;
  inset: 0;
  z-index: 9999;
}


.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.confirm-modal.active {
  display: flex;
}

.confirm-modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  text-align: center;
}

.confirm-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 59, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #ff3b30;
}

.confirm-modal-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
}

.confirm-modal-message {
  margin: 0 0 28px;
  font-size: 1rem;
  color: #000e33;
  opacity: 0.7;
  line-height: 1.5;
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-delete-btn,
.confirm-cancel-btn {
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirm-delete-btn {
  background: #ff3b30;
  color: white;
}

.confirm-delete-btn:hover {
  background: #e02d21;
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.3);
}

.confirm-cancel-btn {
  background: transparent;
  border: 1px solid rgba(0, 14, 51, 0.2);
  color: #000e33;
}

.confirm-cancel-btn:hover {
  background: rgba(0, 14, 51, 0.05);
}

@media (max-width: 480px) {
  .confirm-modal-content {
    padding: 24px;
  }

    .notification-modal {
  position: absolute;
  top: 52px;
  right: 50px !important;
  width: 320px;
  max-height: 420px;
  background: rgba(2, 8, 32, 0.98);
  border-radius: 16px;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 2000001 !important;
}

  .confirm-modal-actions {
    flex-direction: column-reverse;
  }

  .confirm-delete-btn,
  .confirm-cancel-btn {
    width: 100%;
    justify-content: center;
  }

  .sort-dropdown label {
    display: none;
  }

  .search-bar {
    width: 90% !important;
  }
}


#shareModalContent {
  width: min(560px, calc(100vw - 32px));
  margin: 8vh auto;
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}


.modal-close {
      position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-size: 26px;
    line-height: 34px;
}

.modal-close:hover {
  transform: rotate(90deg) !important;
}
.user-modal-body {
  padding: 16px 28px 28px;
  overflow-y: auto;
  flex: 1;
}


.share-rec-close:hover i {
  transform: rotate(90deg);
}/* subtle rotate on hover */
.rr-modal-close:hover i{
  transform: rotate(90deg) scale(1.05);
  opacity: 0.8;
}
.share-profile-close:hover i {
  transform: rotate(90deg);
}

.notification-modal {
  position: absolute;
  top: 52px;
  right: 0;
  width: 320px;
  max-height: 420px;
  background: rgba(2, 8, 32, 0.98);
  border-radius: 16px;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 2000001 !important;
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.notification-header h4 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.notif-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
  z-index: 2000001 !important;
}

.notification-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 2000001 !important;
}

.notification-entry.unread {
  background: rgba(0, 102, 255, 0.08);
}

.notification-empty {
  padding: 12px 16px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.notification-avatar.monogram {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  padding: 2px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar.monogram::after {
  content: attr(data-initials);
  background: #000e33;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-monogram {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #000e33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
}

.notification-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.notif-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.notif-name {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.notif-name:hover {
  text-decoration: underline;
}

.trip-link {
  color: #c27aff;
  text-decoration: none;
}
.invite-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.invite-actions button {
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.invite-actions button:first-child {
  background: #4b5bd5;
  color: #ffffff;
}

.invite-actions button:last-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

.invite-status {
  margin-top: 4px;
  font-size: 0.78rem;
  opacity: 0.8;
}

/* make dropdown nicer on mobile */
@media (max-width: 768px) {
  .notification-modal {
    right: 50%;
    transform: translateX(50%);
    width: min(360px, calc(100vw - 32px));
      z-index: 2000001 !important; /* above nav dropdowns */

  }
}


.trip-link:hover {
  text-decoration: underline;
}

.comment-timestamp {
  font-size: 0.75rem;
  opacity: 0.65;
}

.invite-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.invite-actions button {
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}

.invite-actions button:first-child {
  background: #4b5bd5;
  color: #ffffff;
}

.invite-actions button:last-child {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .notification-modal {
    right: 50%;
    transform: translateX(50%);
    width: min(360px, calc(100vw - 32px));
    z-index: 2000001 !important;
  }
}

/* ───── DESTINATIONS HERO ───── */
main {
    background-color: #fff;
}
.destinations-hero {
  padding: 60px 24px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.destinations-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000e33;
  margin: 0 0 16px;
}

.destinations-hero p {
  font-size: 1.1rem;
  color: #545459;
  opacity: 0.85;
  margin: 0 0 36px;
}

/* stack wrapper like the other page */
.destinations-search.search-stack{
  max-width: 600px;
  margin: 22px auto 0 auto;
}

/* main pill */
.destinations-search .search-bar{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;

  background: #ffffff;
  border-radius: 999px;
  padding: 12px 18px;

  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  border: 1px solid rgba(75, 91, 213, 0.18);
}

/* left icon circle */
.destinations-search .search-icon-circle{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #e1e4f0;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.destinations-search .search-icon-circle i{
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
}

/* keep your existing input id, but style it like the other page */
.destinations-search #groupSearch,
.destinations-search #destinationSearch{
  flex: 1;
  border: none;
  outline: none;
  background: transparent;

  font-size: 1rem;
  color: #000e33;
  padding: 0;             /* important: remove old padding */
  border-radius: 0;       /* important: remove old radius */
  box-shadow: none;
}

/* placeholder */
.destinations-search #groupSearch::placeholder,
.destinations-search #destinationSearch::placeholder{
  color: #9aa0b5;
    opacity: 1;             /* safari sometimes needs this */

}

/* focus ring on the whole pill, not the input */

/* clear button sits at the end */
.destinations-search .clear-search{
  background: transparent;
  border: none;
  cursor: pointer;

  width: 34px;
  height: 34px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #9aa0b5;
  flex-shrink: 0;
}


/* optional: if your hero is dark, this keeps the white pill readable */


.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

#destinationSearch {
  width: 100%;
  padding: 16px 56px 16px 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}



.clear-search {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.clear-search:hover {
  color: #ffffff;
}

/* ───── CONTROLS ───── */

.destinations-controls {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;  /* Changed from space-between */
  align-items: center;
  /* Removed: gap, flex-wrap */
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
    padding: 10px 18px;  /* Increased from 8px 16px */
  min-width: 180px;
}

.sort-dropdown label {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #000e33;
}

.sort-dropdown select {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #000e33;
  font-size: 0.9rem;
    border: 1px solid #545459;
  cursor: pointer;
}

.sort-dropdown select:focus {
  outline: none;
  border-color: #4b5bd5;
}

/* ───── DESTINATIONS GRID ───── */

.destinations-grid-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  min-height: 400px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.destination-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  color: #000e33;
  overflow: hidden;
  border: none;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255,255,255,0.06);

  transition: 0.3s ease;
  cursor: pointer;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(194, 122, 255, 0.35);
}.close-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}


.destination-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(194, 122, 255, 0.2));
}

.destination-info {
  padding: 16px;
  color: #000e33;
}

.destination-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  color: #000e33;
  margin-bottom: 12px;
}

.destination-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.trending-badge {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}.visibility-toggle {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  margin-top: 4px;
}

.vis-pill {
  border: none;
  background: transparent;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
  color: #4b5563;
  transition: all 0.2s;
}

.vis-pill.active {
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
}
.destination-region {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0 0 12px;
}

.destination-stats {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

.stat i {
  color: #4b5bd5;
  font-size: 0.9rem;
}

/* ───── LOADING & EMPTY STATES ───── */

.loading-spinner {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner i {
  font-size: 3rem;
  color: #4b5bd5;
  margin-bottom: 16px;
}

.loading-spinner p {
  font-size: 1rem;
  opacity: 0.7;
  color: #000e33
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: #000e33;
}


.no-results i {
  font-size: 4rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.no-results h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.no-results p {
  font-size: 1rem;
  opacity: 0.7;
  margin: 0;
}

/* ───── RESPONSIVE DESTINATIONS ───── */

@media (max-width: 768px) {
  .destinations-hero h1 {
    font-size: 2rem;
  }

  .destinations-hero p {
    font-size: 1rem;
  }

  .destinations-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-chips {
    justify-content: center;
  }

  .sort-dropdown {
    justify-content: space-between;
  }

  .destinations-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .destination-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .destinations-grid {
    grid-template-columns: 1fr;
  }


  .mobile-menu .create-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .filter-chips {
    width: 100%;
  }
html, body { overflow-x: hidden; }

  .filter-chip {
    flex: 1;
    text-align: center;
  }
}

/* ─────────── FOOTER ─────────── */
    /* ====== Footer ====== */
  /* ====== RoamRecs Footer (system style) ====== */
.rr-footer{
  background: #000e33; /* match hero base */
  color: rgba(255,255,255,0.88);
  padding: 28px 0 56px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* subtle hero-like glow */
.rr-footer::before{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  background:
    radial-gradient(900px 420px at 18% 10%, rgba(0,102,255,0.18), transparent 60%),
    radial-gradient(900px 520px at 85% 25%, rgba(194,122,255,0.16), transparent 62%);
  filter: blur(40px);
  opacity: 0.8;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Logo + tagline */
.footer-logo-wrapper{
  text-align: left;
  margin-bottom: 26px;
}

.footer-logo{
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline{
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

/* Columns */
.footer-columns{
  display: flex;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.footer-col{
  min-width: 160px;
}

.footer-col h4{
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.footer-col a{
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(203,213,225,0.90); /* slate-ish */
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.footer-col a:hover{
  color: #ffffff;
  transform: translateX(1px);
}

/* Divider */
.footer-divider{
  margin: 34px 0 26px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-app-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-badges img {
  width: 130px;
}
/* App badges row + CTA */
.footer-app-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}


.footer-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;

  background: linear-gradient(90deg, #0066ff, #c27aff);
  box-shadow: 0 16px 40px rgba(75,91,213,0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}

.footer-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(75,91,213,0.34);
}

/* Bottom row */
.footer-bottom{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
}

.footer-socials a{
  margin-left: 12px;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}

.footer-socials a:hover{
  opacity: 0.8;
  transform: translateY(-1px);
}

.mycollections-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px; /* nice */
}

.destination-cta {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #4b5bd5;
  font-size: 14px;
  text-align: left;
  transition: color 0.2s ease;
}



/* ✅ Push actions to the bottom */
/* ✅ Make card a flex container */
.destination-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}


/* ✅ Ensure consistent bio height */
.group-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  min-height: 2.8em; /* ✅ This ensures even empty bios take up 2 lines of space */
  max-height: 2.8em;
  margin: 0.5rem 0;
}
/* ✅ Group image container for positioning badge */
.group-image-container {
  position: relative;
  width: 100%;
}

/* ✅ Privacy badge on card image */
.privacy-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.privacy-badge i {
  font-size: 11px;
}

/* ✅ Privacy filter toggle */
.controls-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.privacy-filter {
  display: flex;
  align-items: center;
}

.privacy-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  color: #000e33;
}

.privacy-toggle-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.privacy-toggle-label input[type="checkbox"]:hover {
  border-color: #c27aff;
}

.privacy-toggle-label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  border-color: transparent;
}

.privacy-toggle-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.privacy-toggle-label span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.privacy-toggle-label i {
  color: #000e33;
  font-size: 13px;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .destinations-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .controls-left {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .sort-dropdown,
  .privacy-filter {
    width: 100%;
  }
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.seo-destinations-links {
  padding: 56px 0px;
  color: #000e33;
    background: radial-gradient(circle at top left, #E8F1FF 0, #ffffff 45%, #faf5ff 100%);

}


.seo-destinations-links .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.seo-destinations-links h2 {
  margin-bottom: 12px;
}

.seo-destinations-links p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #666;
  line-height: 1.7;
}

.seo-destinations-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

.seo-destinations-links a {
  color: #4b5bd5;
  text-decoration: none;
  font-weight: 500;
}

.seo-destinations-links a:hover {
  text-decoration: underline;
}
