

  body {
    margin: 0;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #000e33;
    color: #ffffff;
  }

/* ── Guest / non-auth nav visibility ──────────────────── */
body:not(.authenticated) .mobile-menu,
body:not(.authenticated) .notification-container,
body:not(.authenticated) .profile-container,
body:not(.authenticated) .nav-right > a[href="save-rec.html"] {
  display: none !important;
}
body:not(.authenticated) .nav-left { display: none !important; }
.guest-nav-left { display: none; }
body:not(.authenticated) .guest-nav-left { display: flex !important; }
.guest-nav-actions { display: none; gap: 10px; align-items: center; }
body:not(.authenticated) .guest-nav-actions { display: flex; }

.guest-login-btn {
  padding: 10px 20px; border-radius: 999px; font-size: 0.95rem; font-weight: 500;
  color: #fff; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s ease; text-decoration: none; cursor: pointer;
}
.guest-login-btn:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4);
}
.guest-signup-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: #fff;
  background: linear-gradient(135deg,#0066ff,#c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35); text-decoration: none;
}
.guest-signup-btn:hover {
  box-shadow: 0 0 12px rgba(194,122,255,0.6), 0 0 6px rgba(0,102,255,0.6);
}

.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.auth-modal {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: authSlideUp 0.4s ease;
  position: relative;
}

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

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: transparent;
  color: #000e33;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: 0.2s ease;
}

.auth-modal-close:hover {
  background: rgba(0, 14, 51, 0.05);
  transform: rotate(90deg);
}

.auth-modal-content h2 {
  margin: 0 0 15px 0;
  color: #000e33;
  font-size: 28px;
}

.auth-modal-content p {
  margin: 0 0 30px 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.auth-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-modal-buttons .primary-btn,
.auth-modal-buttons .secondary-btn {
  width: 100%;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.auth-modal-buttons .primary-btn {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: white;
  border: none;
}

.auth-modal-buttons .primary-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
}

.auth-modal-buttons .secondary-btn {
  background: white;
  color: #4b5bd5;
  border: 2px solid #4b5bd5;
}

.auth-modal-buttons .secondary-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
}

/* Hide navbar auth elements for non-authenticated users */
body:not(.authenticated) .notification-container,
body:not(.authenticated) .create-btn,
body:not(.authenticated) #navAvatar,
body:not(.authenticated) .nav-left,
body:not(.authenticated) .profile-container {
  display: none !important;
}
/* But show create-btn inside the guest mobile menu */
body:not(.authenticated) .guest-mobile-menu .create-btn {
  display: block !important;
}


  body {
    margin: 0;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #000e33;
    color: #ffffff;
    overflow-x: hidden; /* 🔒 prevent stray horizontal scroll */
  }


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

  .profile-container {
    position: relative;
    display: flex;
    align-items: center;
  }

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

  /* Profile dropdown menu */
  .profile-dropdown {
    position: absolute;
    top: calc(100% + 8px); /* Reduced gap from 12px to 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;
  }

  /* Add invisible bridge between avatar and dropdown */
  .profile-dropdown::before {
    content: '';
    position: absolute;
    top: -12px; /* Covers the gap */
    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; /* Increased from 10px to 12px for easier clicking */
    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);
  }

  /* ───── NAVBAR ───── */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 2000;
    height: 80px;
    padding: 0 48px 20px;
    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;
  }

  .guest-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;
  }
  body.authenticated .guest-mobile-menu { display: none !important; }
  body:not(.authenticated) .menu-toggle:checked ~ .guest-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);
  }

  /* ───── PROFILE DROPDOWN ───── */
  .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);
  }

  /* ───── RESPONSIVE BREAKPOINTS ───── */
  @media (max-width: 1100px) {
    .navbar {
      padding: 0 32px 20px;
    }
  }

  @media (max-width: 900px) {
    .navbar {
      padding: 0 20px 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 20px;
    }

    .nav-logo {
      width: 170px;
    }

    .nav-left {
      display: none;
    }

    .guest-nav-left,
    body:not(.authenticated) .guest-nav-left {
      display: none !important;
    }

    .guest-nav-actions,
    body:not(.authenticated) .guest-nav-actions {
      display: none !important;
    }

    .nav-right {
      gap: 10px;
    }

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

    .hamburger {
      display: block;
    }
  }

  /* ───── HOVER EFFECTS ───── */
  a {
    text-decoration: none;
  }

  .avatar:hover,
  .create-btn:hover,
  .notification-bell:hover,
  .group-btn-primary: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;
  }

  .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;
  }

  .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;
  }

  .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);
  }

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

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

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

  .user-location {
    font-size: 0.85rem;
    color: #4b5bd5;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

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

  .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;
  }

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

  /* Gradient fallback avatar */
  .gradient-avatar {
    background: linear-gradient(135deg, #0066ff, #c27aff);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
  }




  .rr-footer {
    background: #000e33;
    color: #ffffff;
    padding: 30px 0 0px;   /* extra top space for the overlap */
    position: relative;
    z-index: 1;
  }


  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
  }

  .footer-brand img {
    width: auto;
    height: 70%;
  }

  .footer-columns {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
  }

  .footer-col h4 {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 700;
  }

  .footer-col a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #cbd5e1;
    text-decoration: none;
  }

  .footer-col a:hover {
    color: #ffffff;
  }

  .footer-divider {
    margin: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .footer-app-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
  }

  .footer-badges img {
    width: 130px;
  }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-legal {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 500px;
  }

  .footer-links a {
    color: #cbd5e1;
    margin-left: 16px;
    font-size: 0.9rem;
    text-decoration: none;
  }

  .footer-links a:hover {
    color: #ffffff;
  }

  .footer-socials a {
    margin-left: 12px;
    font-size: 1.2rem;
    color: #ffffff;
  }

  .footer-socials a:hover {
    opacity: 0.8;
  }

  .footer-logo-wrapper {
    text-align: left;       /* or center if you want it centered */
  }

  .footer-logo {
    height: 150px;
    width: auto;
  }

  .footer-divider {
    margin: 40px 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .footer-columns {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* ═══════════════════════════════════════════════════════
    BASE STYLES
    ═══════════════════════════════════════════════════════ */


  /* ═══════════════════════════════════════════════════════
    HERO SECTION
    ═══════════════════════════════════════════════════════ */
  .creator-hero {
    padding: 60px 0px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
  }

  main {
      background-color: #ffffff;
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
  }

  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
  }

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

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

  /* ═══════════════════════════════════════════════════════
    SEARCH SECTION
    ═══════════════════════════════════════════════════════ */
 .search-section {
  background: #ffffff;
  padding: 0px 48px;
  top: 80px;
  z-index: 100;
  backdrop-filter: blur(12px);
  align-items: center;
}
.toggle-sort-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  padding-left: 60px;
  padding-right: 60px;
  gap: 20px;
}

  /* Toggle Buttons - Updated to match destination style */
  .view-toggle {
    display: flex;
    gap: 12px;
    padding-top: 40px;
    padding-left: 60px;
    /* Remove background and padding */
  }

  .toggle-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid #4b5bd5;
    background: transparent;
    color: #4b5bd5;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }

  .toggle-btn i {
    font-size: 0.85rem;
  }

  .toggle-btn.active {
    color: #fff;
    border: none;
    background: linear-gradient(90deg, #2f6cff 0%, #5c6cff 45%, #a06cff 100%);
    box-shadow: 0 8px 22px rgba(92,108,255,0.45),
                inset 0 1px 0 rgba(255,255,255,0.35);
  }

  .toggle-btn:hover:not(.active) {
    background: rgba(75, 91, 213, 0.1);
    color: #4b5bd5;
  }


  /* Filter Tags */
  .filter-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .filter-tag {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .filter-tag:hover {
    border-color: #4b5bd5;
    color: #4b5bd5;
    background: rgba(75, 91, 213, 0.05);
  }

  .filter-tag.active {
    background: linear-gradient(135deg, #0066ff, #c27aff);
    color: #ffffff;
    border-color: transparent;
  }

  /* ═══════════════════════════════════════════════════════
    RESULTS SECTION
    ═══════════════════════════════════════════════════════ */
  .results-section {
    padding: 60px 48px 100px;
    min-height: 60vh;
  }

  .results-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .content-view {
    display: none;
    animation: fadeIn 0.4s ease;
  }

  .content-view.active {
    display: block;
  }

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

  .results-header {
    margin-bottom: 32px;
  }

  /* Add creator-search styling to match destinations */
  /* Add creator-search styling to match destinations */
  /* Add creator-search styling to match destinations */
  .creator-search.search-stack {
    max-width: 45%;  /* Increased from 60% */
    margin: 0 auto;
    align-items: center;
  }

  .creator-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);
  }

  .creator-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;
  }

  .creator-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;
  }

  .creator-search #searchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;

    font-size: 1rem;
    color: #000e33;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .creator-search #searchInput::placeholder {
    color: #9aa0b5;
    opacity: 1;
  }

  .creator-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;
    transition: all 0.2s ease;
  }

  .creator-search .clear-search:hover {
    background: #f3f4f6;
    color: #64748b;
  }


  .results-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000e33;
    margin: 0;
  }
  /* Collections Grid */
  .collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }

  /* ───── COLLECTION CARD (3-IMAGE LAYOUT) ───── */
  .collection-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    color: #000e33 !important;
    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;
  }

  .collection-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);
  }

  /* Image section wrapper */
  .collection-card-image {
    position: relative;
    height: 240px;
  }

  .collection-card-images{
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;

    height: 240px;

    /* ❌ remove this */
    /* padding: 14px; */

    box-sizing: border-box;
  }

  /* shared “slot” wrapper */
  .collection-image-slot{
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
  }


  /* Main image spans both rows */
  .collection-main-image {
    grid-row: 1 / 3;
  }

  /* Minis: each is a square-ish block */
  .collection-mini-images {
    display: contents;
  }

  /* Image fill */
  .collection-image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Gradient fallback */
  .collection-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.25s ease, transform 0.25s ease;
  }

  .collection-card:hover .collection-image-gradient {
    filter: brightness(0.95) saturate(1.05);
    transform: scale(1.02);
  }

  /* Icon sizing */
  .collection-image-gradient i {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.45);
  }

  .collection-mini-slot .collection-image-gradient i {
    font-size: 1.35rem;
  }

  /* ───── OVERLAY ACTIONS ───── */
  .collection-card-overlay{
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
  }

  /* Show overlay on hover */
  .collection-card:hover .collection-card-overlay{
    opacity: 1;
    pointer-events: auto;
  }

  /* Rec Options Dropdown */
  .rec-options-dropdown,
  .collection-options-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 14, 51, 0.15);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .rec-options-dropdown.active,
  .collection-options-dropdown.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .rec-options-dropdown-item,
  .collection-options-dropdown-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.9rem;
    color: #000e33;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
  }

  .rec-options-dropdown-item:first-child,
  .collection-options-dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
  }

  .rec-options-dropdown-item:last-child,
  .collection-options-dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
  }

  .rec-options-dropdown-item:hover,
  .collection-options-dropdown-item:hover {
    background: rgba(75, 91, 213, 0.12); /* soft indigo wash */
      color: #4b5bd5;}

  .rec-options-dropdown-item.delete:hover,
  .collection-options-dropdown-item.delete:hover{
    background: rgba(255, 59, 48, 0.08);
    color: #ff3b30;
  }

  .rec-options-dropdown-item i,
  .collection-options-dropdown-item i {
    width: 16px;
    text-align: center;
  }
  /* Saved bookmark styling */
  .rec-save-stat.saved {
    color: #ff1744; /* Hot pink */
  }

  .rec-save-stat.saved i {
    color: #ff1744;
  }

  .collection-card-action{
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: rgba(10, 10, 15, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: grid;
    place-items: center;
  }

  .collection-card-actions{
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 10px;
  }


  .collection-card-action:hover {
    background: linear-gradient(135deg, #0066ff, #c27aff);
    transform: scale(1.1);
  }

  /* ───── CONTENT SECTION ───── */
  .collection-card-content {
    padding: 20px;
  }

  /* ✅ Better hover state for creator bar */
  .collection-creator-bar {
    cursor: pointer !important;
    user-select: none;
  }

  .collection-creator-bar:hover .collection-creator-name {
    color: #667eea;
  }
  /* ✅ FIXED: Collection creator bar - no weird padding */
  .collection-creator-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .collection-creator-bar,
  .collection-creator-link {
    position: relative;
    z-index: 500;
  }

  .collection-creator-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    padding: 4px 8px;
    margin: -4px -8px; /* Negative margin to expand clickable area */
    border-radius: 6px;
    transition: background 0.15s ease;
    cursor: pointer;
  }

  .collection-creator-link:hover {
    background: rgba(102, 126, 234, 0.08);
  }

  .collection-creator-link:hover .collection-creator-name {
    color: #667eea;
  }

  .collection-creator-name {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
  }

  .collection-creator-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #0066ff, #c27aff);
    padding: 2px;
  }

  .collection-creator-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #000e33;
  }

  .collection-creator-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000e33;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
  }

  .collection-creator-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #545459;
  }

  /* Creator badge */
  .creator-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
  }

  .creator-badge i {
    font-size: 10px;
  }

  /* ✅ Animation on hover */
  .collection-creator-bar:hover .creator-badge {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(102, 126, 234, 0.4);
  }
.collection-creator-bar {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

  .creator-badge {
    transition: all 0.2s ease;
  }

  /* Title and location */
  .collection-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000e33;
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .collection-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #4b5bd5;
    margin-bottom: 16px;
  }

  .collection-card-location i {
    color: #4b5bd5;
    font-size: 0.85rem;
  }

  /* Stats row */
  /* Stats row */
  .collection-card-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #000e33 !important;

  }

  .collection-card-stats > span {
    display: flex;
    align-items: center;
    gap: 6px;
      color: #000e33 !important;

  }

  .collection-card-stats i {
    font-size: 0.9rem;
    color: #000e33;
      opacity: 0.75;

  }/* Sort dropdown styling */
.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Remove padding and min-width */
}

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

.sort-select {
  padding: 8px 12px;
  border-radius: 8px;
  background: white;
  color: #000e33;
  font-size: 0.9rem;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  min-width: 160px;
}

.sort-select option {
  background: #ffffff;
  color: #000e33;
}

/* Saved state styling */
.collection-save-stat.saved {
  color: #ff1744 !important;
}

.collection-save-stat.saved i {
  color: #ff1744 !important;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #64748b;
}

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

.loading-spinner p {
  font-size: 1rem;
  margin: 0;
}
.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;
}


  /* ✅ Add to creator-collections.css */
.collection-save-stat.saved {
  color: #ff1744; /* Hot pink */
}

.collection-save-stat.saved i {
  color: #ff1744;
}
  .collection-save-count,
  .collection-comment-count,
  .collection-rec-count {
    color: #000e33 !important;
      opacity: 0.75;

  }
  .rec-card-stats{
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    opacity: 0.75;
  }

  .rec-card-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .comment-entry {
  display: flex;
  }


  .rr-comment-body{ min-width: 0; flex: 1; }
  .rr-comment-head{
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
  }
  .rr-comment-name{ font-weight: 800; color: #0b1b3a; }
  .rr-comment-time{ color: rgba(11,27,58,0.55); font-size: 14px; }
  .rr-comment-text{ color: rgba(11,27,58,0.85); font-size: 18px; line-height: 1.35; }


  .rec-comment-avatar-fallback {
    width: 36px;
    height: 36px;
    border-radius: 50%;

    /* text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    text-transform: uppercase;

    /* gradient border */
    border: 2px solid transparent;
    background:
      linear-gradient(#000e33, #000e33) padding-box,
      linear-gradient(135deg, #0066ff 0%, #c27aff 100%) border-box;
  }




  .rec-comment-row {
    display: flex;
    gap: 12px;
    padding: 12px 14px; /* ✅ Increased from 8px 10px */
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(107, 95, 255, 0.14);
    box-shadow: 0 10px 20px rgba(10, 12, 30, 0.08);
  }

  .rec-comment-author {
    margin: 0;
  }


  .rec-comment-avatar,
  .comment-avatar{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid transparent;
    background:
      linear-gradient(#000e33, #000e33) padding-box,
      linear-gradient(135deg, #0066ff 0%, #c27aff 100%) border-box;
  }


  .rec-comment-actions{
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .rec-comment-delete-btn,
  .rec-comment-report-btn{
    border: 1px solid rgba(20, 20, 30, 0.10);
    background: rgba(255, 255, 255, 0.75);
    color: rgba(20, 20, 30, 0.70);
    padding: 6px 12px; /* ✅ Use padding instead of fixed height */
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }
  .rec-comment-delete-btn:hover{
    background: rgba(255, 107, 107, 0.10);
    border-color: rgba(255, 107, 107, 0.25);
    transform: translateY(-1px);
  }
  .rec-comment-report-btn:hover{
    background: rgba(107, 95, 255, 0.10);
    border-color: rgba(107, 95, 255, 0.22);
    transform: translateY(-1px);
  }

  .rec-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
  }

  .rec-comment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .rec-comment-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px; /* ✅ Increased from 2px to 4px */
  }

  .rec-comment-header{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0 !important;
  }

  .rec-comment-actions{
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
  }

  .rec-comment-time {
    font-size: 12px;
    line-height: 0;
    color: rgba(20, 20, 30, 0.45);
  }

  .rec-comment-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: #000e33;
    margin: 0;
  }

  .rec-comment-name:hover{
    color: #4b5bd5;
  }


  .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) {


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

  .hero-subtitle {
    font-size: 1.1rem;
    color: #545459;
    opacity: 0.85;
    margin: 0 0 0px !important;
  }
    .confirm-modal-content {
      padding: 24px;
    }

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

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


  .rr-modal-card{
    position: relative;
    width: min(520px, calc(100vw - 32px));
    margin: 10vh auto 0;
  }

  /* Make textarea match rr-input sizing */
  .rr-textarea{
    height: auto;
    min-height: 96px;
    padding: 12px 14px;
    line-height: 1.35;
  }

  /* Select sometimes looks different across browsers—this helps */
  .rr-input select,
  select.rr-input{
    appearance: none;
    -webkit-appearance: none;
    background-image:
      linear-gradient(45deg, transparent 50%, rgba(11,27,58,0.55) 50%),
      linear-gradient(135deg, rgba(11,27,58,0.55) 50%, transparent 50%);
    background-position:
      calc(100% - 18px) 19px,
      calc(100% - 12px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
  }

  .rr-input::placeholder,
  .rr-textarea::placeholder {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    color: rgba(11,27,58,0.45);
  }


  .rr-input,
  .rr-textarea,
  select.rr-input {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.25;

    /* 🔑 fixes “weird typing” look */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    letter-spacing: -0.01em;
  }

  .rr-textarea {
      padding-top: 10px !important;
  }

  .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);
  }

  /* Select sometimes looks different across browsers—this helps */
  .rr-input select,
  select.rr-input{
    appearance: none;
    -webkit-appearance: none;
    background-image:
      linear-gradient(45deg, transparent 50%, rgba(11,27,58,0.55) 50%),
      linear-gradient(135deg, rgba(11,27,58,0.55) 50%, transparent 50%);
    background-position:
      calc(100% - 18px) 19px,
      calc(100% - 12px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
  }

  .rr-input::placeholder,
  .rr-textarea::placeholder {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    color: rgba(11,27,58,0.45);
  }


  .rr-input::placeholder,
  .rr-textarea::placeholder {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    color: rgba(11,27,58,0.45);
  }


  .rr-input,
  .rr-textarea,
  select.rr-input {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.25;

    /* 🔑 fixes “weird typing” look */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    letter-spacing: -0.01em;
  }
  .rr-input,
  .rr-textarea,
  select.rr-input {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.25;

    /* 🔑 fixes “weird typing” look */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    letter-spacing: -0.01em;
  }

  .rr-modal-actions{
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 22px;
  }

  .rr-btn{
    height: 50px;
    border-radius: 18px;
    padding: 0 18px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .rr-btn-ghost{
    background: rgba(11,27,58,0.06);
    color: rgba(11,27,58,0.85);
  }

  .rr-btn-primary{
    background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  }

  .rr-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* Segmented visibility toggle (refined) */
  .rr-seg-toggle{
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(11,27,58,0.06);
    border: 1px solid rgba(11,27,58,0.10);
  }

  .rr-seg-btn{
    border: 0;
    background: transparent;
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1;             /* key: prevents vertical bloat */
    cursor: pointer;
    color: rgba(11,27,58,0.6);
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
  }

  .rr-seg-btn.active{
    background: #fff;
    color: rgba(11,27,58,0.95);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border: 1px solid rgba(11,27,58,0.12);
  }
  .comment-meta {
  flex: 1;
  }



  .modal-comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }



  .modal-comment-form textarea {
    width: 95%;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 8px;
    resize: none;
  }

  .modal-comment-form button {
    align-self: flex-end;
    background: #C2A15A;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    margin-right: 10px;
    cursor: pointer;
  }

  .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
  }


  .comment-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
  }



  .comment-body {
    font-size: 14px;
  }



  .comment-body {
    flex: 1;
    min-width: 0;
    display: flex;
    padding-bottom: 5px;
    flex-direction: column;
  }

  .comment-body a {
    font-weight: 600;
    text-decoration: none;
    color: #222;
    display: block;
  }


  #recDetailModal .saved-by-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 8px;
    font-size: 14px;
    color: #5a5f7b;
  }

  #recDetailModal .saved-by-avatars {
    display: flex;
    align-items: center;
  }


  .rec-comments-panel{
    margin-top: 10px;
    border-radius: 22px;
    border: 1px solid rgba(107, 95, 255, 0.16);
    background: rgba(107, 95, 255, 0.04);
    box-shadow: 0 14px 30px rgba(10, 12, 30, 0.10);
    overflow: hidden;
  }

  .rec-comments-scroll{
    max-height: 220px;
    overflow-y: auto;
    padding: 14px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .rec-comments-scroll::-webkit-scrollbar{ width: 10px; }
  .rec-comments-scroll::-webkit-scrollbar-thumb{
    background: rgba(107, 95, 255, 0.18);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
  }
  .rec-comments-scroll::-webkit-scrollbar-track{
    background: rgba(0, 0, 0, 0.04);
  }

  .rec-comments-loading,
  .rec-comments-empty,
  .rec-comments-error{
    text-align: center;
    padding: 14px 0 8px;
    color: rgba(20, 20, 30, 0.55);
    font-size: 0.92rem;
  }



  .rec-comment-author {
    margin: 0;
  }

  .rr-modal{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
  }

  .rr-modal-card{
    width: min(560px, 92vw);
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.35);
    position: relative;
    padding: 34px 34px 26px;
    text-align: center;
  }

  .rr-modal-close{
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .rr-modal-close i{
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
  }

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


  .modal-close {
    position: absolute; /* Position it absolutely */
    right: 28px; /* Align to the right */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 14, 51, 0.15);
    background: transparent;
    color: #000e33;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.2s ease;
  }

  .modal-close:hover {
    transform: rotate(90deg);
  }


  .rr-modal-icon{
    width: 74px;
    height: 74px;
    border-radius: 22px;
    margin: 4px auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(194,122,255,0.14));
    border: 1px solid rgba(0,0,0,0.06);
  }

  .rr-modal-icon i{
    font-size: 26px;
    color: #000e33;
    opacity: 0.9;
  }

  .rr-modal-title{
    margin: 0;
    font-size: 40px;
    line-height: 1.05;
    color: #000e33;
    letter-spacing: -0.02em;
  }

  .rr-modal-subtitle{
    margin: 10px 0 18px;
    color: rgba(11,27,58,0.65);
    font-size: 15px;
  }

  .rr-form{
    text-align: left;
    margin: 18px auto 0;
    max-width: 420px;
    display: grid;
    gap: 14px;
  }

  .rr-field{ display: grid; gap: 8px; }

  .rr-label{
    font-size: 13px;
    font-weight: 700;
    color: rgba(11,27,58,0.75);
  }


  .rr-input:focus{
    border-color: rgba(0,102,255,0.55);
    box-shadow: 0 0 0 4px rgba(0,102,255,0.10);
  }

  .rr-hint{
    font-size: 12px;
    color: rgba(11,27,58,0.55);
  }

  .rr-toggle-row{
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
  }


  .rr-field{ display: grid; gap: 8px; }

  .rr-label{
    font-size: 13px;
    font-weight: 700;
    color: rgba(11,27,58,0.75);
  }


  .rr-form{
    text-align: left;
    margin: 18px auto 0;
    max-width: 420px;
    display: grid;
    gap: 14px;
  }

  .rr-field{ display: grid; gap: 8px; }

  .rr-label{
    font-size: 13px;
    font-weight: 700;
    color: rgba(11,27,58,0.75);
  }

  .rr-input{
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(11,27,58,0.14);
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    color: #0b1b3a;
    background: #fff;
  }

  .rr-input:focus{
    border-color: rgba(0,102,255,0.55);
    box-shadow: 0 0 0 4px rgba(0,102,255,0.10);
  }

  .rr-hint{
    font-size: 12px;
    color: rgba(11,27,58,0.55);
  }

  .rr-toggle-row{
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
  }

  /* Switch */
  .rr-switch{
    position: relative;
    width: 54px;
    height: 32px;
    display: inline-block;
  }

  .rr-switch input{
    opacity: 0;
    width: 0;
    height: 0;
  }

  .rr-slider{
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(11,27,58,0.14);
    transition: 0.2s ease;
    cursor: pointer;
  }

  .rr-slider::before{
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 4px;
    top: 4px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    transition: 0.2s ease;
  }

  .rr-switch input:checked + .rr-slider{
    background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  }

  .rr-switch input:checked + .rr-slider::before{
    transform: translateX(22px);
  }

  .rr-modal-actions{
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 22px;
  }

  .rr-btn{
    height: 50px;
    border-radius: 18px;
    padding: 0 18px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .rr-input:focus{
    border-color: rgba(0,102,255,0.55);
    box-shadow: 0 0 0 4px rgba(0,102,255,0.10);
  }

  .rr-hint{
    font-size: 12px;
    color: rgba(11,27,58,0.55);
  }

  .rr-toggle-row{
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
  }

  .rec-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
  }

  .rec-comment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .rec-comment-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: #000e33;
    line-height: 1.1;
    margin: 0;
  }

  .rec-comment-time {
    font-size: 11px;
    color: rgba(20, 20, 30, 0.45);
    line-height: 1;
  }

  .rec-comment-compose{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;

    padding: 12px 14px 14px;
    border-top: 1px solid rgba(107, 95, 255, 0.14);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .rec-comment-textarea{
    width: 95%;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(107, 95, 255, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #000e33;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    resize: none;
    min-height: 46px;
    max-height: 110px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .rec-comment-textarea::placeholder{
    color: rgba(20, 20, 30, 0.35);
  }

  .rec-comment-textarea:focus{
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  }

  #recCommentSubmitBtn.rec-detail-primary-btn{
    margin-top: 0;
    padding: 10px 16px;
    border-radius: 999px;
  }

  @media (max-width: 520px){
    .rec-comment-compose{ grid-template-columns: 1fr; }
    #recCommentSubmitBtn.rec-detail-primary-btn{ width: 100%; }
  }

  .rec-comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
  }
  .rec-comment-text { margin-top: 4px; }

  .rr-confirm-overlay{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(10, 12, 30, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .rr-confirm-card{
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(107, 95, 255, 0.16);
    box-shadow: 0 30px 80px rgba(10, 12, 30, 0.28);
    padding: 18px 18px 16px;
    position: relative;
    transform: translateY(6px);
    animation: rrPopIn 160ms ease-out forwards;
  }
  /* gradient ring */
  #recDetailModal .saved-by-avatar-ring {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(135deg, #0066ff, #c27aff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -10px; /* overlap */
  }


  .collection-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: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
  }

  .collection-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
  }

  .collection-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(0, 14, 51, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .collection-modal-header h3 {
    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;
  }

  .collection-modal-body {
    padding: 20px 28px 28px;
    overflow-y: auto;
    overflow-x: hidden; /* ← Add this */
    flex: 1;
  }

  .collection-place-preview-name,
  .collection-place-preview-address,
  .collection-item-name {
    word-wrap: break-word;
    word-break: break-word;
  }
  /* Place Preview */
  .collection-place-preview {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 14, 51, 0.03);
    border-radius: 12px;
    margin-bottom: 20px;
  }

  .collection-place-preview-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .collection-place-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .collection-place-preview-info {
    flex: 1;
    min-width: 0;
  }

  .collection-place-preview-name {
    font-weight: 600;
    font-size: 1rem;
    color: #000e33;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .collection-place-preview-address {
    font-size: 0.85rem;
    color: #4b5bd5;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Search */
  .collection-search {
    margin-bottom: 16px;
  }

  .collection-search input {
    width: 90%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 14, 51, 0.15);
    background: rgba(0, 14, 51, 0.02);
    color: #000e33;
    font-size: 0.95rem;
    font-family: inherit;
  }

  .collection-search input:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  }

  /* Collections List */
  .collections-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
  }

  .collection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    margin-bottom: 8px;
    border: 2px solid transparent;
  }

  .collection-item:hover {
    background: rgba(0, 14, 51, 0.03);
  }

  .collection-item.selected {
    background: rgba(0, 102, 255, 0.08);
    border-color: #0066ff;
  }

  .collection-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0066ff, #c27aff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
  }


  .collection-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
  }

  .collection-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .collection-item-icon i {
    color: white;
    font-size: 20px;
  }
  .collection-item-info {
    flex: 1;
    min-width: 0;
  }

  .collection-item-name {
    font-weight: 600;
    font-size: 1rem;
    color: #000e33;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .collection-item-count {
    font-size: 0.85rem;
    color: #000e33;
    opacity: 0.6;
  }

  .collection-item-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0, 14, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: 0.2s ease;
  }

  .collection-item.selected .collection-item-check {
    background: #0066ff;
    border-color: #0066ff;
    color: white;
  }



  .rec-detail-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 16px;
  }

  .rec-detail-modal-content {
    background: transparent;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
  }

  /* Main card */
  .rec-detail-card {
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 24px;
    padding: 24px 28px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  }

  /* Close button */
  .rec-detail-modal .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Top header: image + info */
  .rec-detail-header {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: flex-start;
  }



  .rec-detail-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
  }

  .rec-detail-address {
    margin: 0 0 6px;
    font-size: 14px;
    color: #4a4a4a;
  }

  .rec-detail-rating-row {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .rec-detail-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    background: #eef2ff;
    color: #3f51b5;
    margin-bottom: 8px;
  }

  .rec-detail-description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 4px;
  }

  .rec-detail-website {
    display: inline-flex;                  /* fixes arrow alignment */
    align-items: center;
    gap: 6px;                              /* space between text + icon */
    margin-top: 6px;

    font-size: 13px;
    font-weight: 500;
    color: #4b5bd5;                       /* matches your link blue */
    text-decoration: none;

    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .rec-detail-website i {
    font-size: 11px;
    opacity: 0.85;
  }

  .rec-detail-website:hover {
    text-decoration: underline;
    opacity: 0.9;
    transform: translateY(-0.5px);        /* subtle lift like your buttons */
  }

  /* Divider */
  .rec-detail-divider {
    border: none;
    border-top: 1px solid #ececf5;
    margin: 18px 0;
  }

  /* Saved row */
  .rec-detail-saved-row {
    font-size: 14px;
  }

  /* Notes */
  .rec-detail-section {
    margin-top: 12px;
  }

  .rec-detail-section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 6px;
    color: #6b6f8a;
  }

  .rec-detail-notes-input {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #dde0f0;
    padding: 10px 12px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
  }

  .rec-detail-primary-btn {
    margin-top: 8px;
    border-radius: 999px;
    padding: 8px 16px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: #000e33;
    color: #ffffff;
  }

  .rec-detail-secondary-btn {
    margin-top: 8px;
    border-radius: 999px;
    padding: 12px 16px;          /* ✅ same as primary */
    border: none;
    font-size: 14px;            /* ✅ same */
    font-weight: 500;           /* ✅ same */
    cursor: pointer;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);

  transition: all 0.2s ease;
  }

  .rec-detail-secondary-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;
  }

  .rec-detail-secondary-btn:active {
    transform: scale(0.97);
  }



  /* Visibility toggle */
  .rec-detail-visibility-toggle {
    display: inline-flex;
    border-radius: 999px;
    background: #f3f4ff;
    padding: 2px;
    margin-top: 4px;
  }

  .rec-detail-visibility-toggle .vis-pill {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
  }

  .rec-detail-visibility-toggle .vis-pill.active {
    background: #ffffff;
    box-shadow: 0 0 0 1px #dde0f0;
  }

  .rec-detail-visibility-help {
    margin-top: 6px;
    font-size: 12px;
    color: #6b6f8a;
  }

  /* Responsive */
  @media (max-width: 640px) {
    .rec-detail-card {
      padding: 18px 16px 20px;
    }

    .rec-detail-header {
      grid-template-columns: 1fr;
    }

    .rec-detail-image img {
      height: 180px;
    }
  }
  .rec-detail-image img {
    width: 100%;

  }

  .rec-detail-header {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: flex-start;
  }

  .rec-detail-image img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    display: block;
  }

  /* comment row layout */
  .rr-comment{
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,102,255,0.12);
  }

  /* avatar wrapper (this is the “hard stop”) */
  .rr-avatar{
    width: 52px;
    height: 52px;
    border-radius: 999px;
    flex: 0 0 52px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 3px solid rgba(0,102,255,0.75);
    background: #fff;
  }

  .rr-avatar-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* prevents baseline weirdness */
  }

  .rr-avatar-mono{
    width: 100%;
    height: 100%;
    display: none;           /* shown via rr-avatar--mono */
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: rgba(11,27,58,0.9);
  }

  /* Empty State */
  .empty-state {
    text-align: center;
    padding: 80px 20px;
  }

  .empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
  }

  .empty-state h3 {
    font-size: 1.5rem;
    color: #000e33;
    margin: 0 0 12px;
  }

  .empty-state p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
  }

  /* Creators Grid */
  .creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }

  /* Empty State */
  .empty-state {
    text-align: center;
    padding: 80px 20px;
  }

  .empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
  }

  .empty-state h3 {
    font-size: 1.5rem;
    color: #000e33;
    margin: 0 0 12px;
  }

  .empty-state p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
  }

  /* ═══════════════════════════════════════════════════════
    RESPONSIVE
    ═══════════════════════════════════════════════════════ */
  @media (max-width: 1024px) {
    .hero-title {
      font-size: 2.5rem;
    }

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

  @media (max-width: 768px) {
    .creator-hero {
      padding: 100px 24px 60px;
    }

    .hero-title {
      font-size: 2rem;
    }

    .hero-subtitle {
      font-size: 1.1rem;
    }

    .search-section {
      padding: 24px;
      top: 60px;
    }

    .view-toggle {
      width: 100%;
      justify-content: space-between;
    }

    .toggle-btn {
      flex: 1;
      justify-content: center;
    }

    .search-bar-wrapper {
      max-width: 100%;
    }

    .filter-tags {
      overflow-x: auto;
      flex-wrap: nowrap;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .filter-tags::-webkit-scrollbar {
      display: none;
    }

    .results-section {
      padding: 40px 24px 80px;
    }

    .collections-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

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

  /* ✅ Make search + toggle + sort align cleanly */
.search-section .search-container{
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "search search"
    "toggle sort";
  gap: 18px 20px; /* row gap, column gap */
  align-items: center;
}

/* Search bar = full width row */
.search-section .search-stack.creator-search{
  grid-area: search;
  max-width: 720px;          /* optional: tweak */
  width: 100%;
  justify-self: center;
}

.search-section .search-container{
  padding-left: 32px;
  padding-right: 32px;
}

/* Toggle = left on row 2 */
.search-section .view-toggle{
  grid-area: toggle;
  justify-self: start;

  /* override your old spacing that pushes it off */
  padding-top: 0 !important;
  padding-left: 0 !important;
  margin-top: 0;
}

/* Sort = right on row 2 */
.search-section .sort-dropdown{
  grid-area: sort;
  justify-self: end;
  margin: 0;
}

#shareModal {
  display: none; /* you already toggle this */
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#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);
}




/* List area */
.friends-saved-list {
  max-height: 260px;
  overflow-y: auto;
  padding-top: 6px;
}

/* Each friend row */
.friends-saved-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  padding: 6px 4px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.friends-saved-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Avatar ring w/ RR gradient */
.friends-saved-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.friends-saved-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.friends-saved-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friends-saved-monogram {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #050b1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.friends-saved-name {
  font-size: 14px;
  font-weight: 500;
}

/* Optional helper states (if you use them in JS) */
.friends-saved-loading,
.friends-saved-empty,
.friends-saved-error {
  font-size: 13px;
  color: #e5e7eb;
  padding: 6px 2px;
}

.share-rec-modal {
  position: fixed;
  inset: 0;
  z-index: 2600; /* above rec detail + friends modal */
}

.share-rec-modal.hidden {
  display: none;
}

.share-rec-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Centered dialog */
.share-rec-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  max-width: 90%;
  background: #000e33;
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

/* Close button */
.share-rec-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

/* Title + subtitle */
.share-rec-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.share-rec-subtitle {
  margin: 0 0 14px;
  font-size: 13px;
  color: #b4b9d8;
}

/* Button column */
.share-rec-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

/* Each share button */
.share-rec-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 11px;
  border: none;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, transform 0.12s ease;
}

.share-rec-btn i {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.share-rec-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* Spin animation on close hover */
.share-rec-close {
  transition: transform 0.35s ease;
}

.share-rec-close i {
  transition: transform 0.35s ease;
  display: inline-block;
}

.share-rec-close:hover i {
  transform: rotate(90deg);
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 80px auto;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}


.shareHeader {
  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;
}

#userSearch {
  margin-bottom: 16px;
  margin-top: 20px;
}

.userSearch input {
  width: 90%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: rgba(0, 14, 51, 0.02);
  color: #000e33;
  font-size: 0.95rem;
  font-family: inherit;
}

.userSearch input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.user-results {
  max-height: 400px;
  overflow-y: auto;
}

.group-creator {
  font-size: 14px;
  color: #64748b;
  padding-bottom: 10px;
}

.group-creator a {
  color: #4b5bd5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.group-creator a:hover {
  text-decoration: underline;
}

.monogram-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 15px;
  font-weight: 500;
  color: #000e33;
}

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


.sendButton {
  padding: 8px 20px;
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

.modal-subtitle {
  margin: 12px 0 20px;
  padding-top: 8px;
  font-size: 0.95rem;
  color: #4a4f6b;
  text-align: center;
}

/* ─────────────────────────────────────────────
   SHARE MODAL (matches your group modal vibe)
───────────────────────────────────────────── */
#shareModal {
  display: none; /* you already toggle this */
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#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-subtitle {
  margin: 0 0 14px;
  color: rgba(26,26,26,0.7);
  font-size: 14px;
}

.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;
}


#userSearch {
  margin-bottom: 16px;
  margin-top: 20px;
}

.userSearch input {
  width: 90%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 14, 51, 0.15);
  background: rgba(0, 14, 51, 0.02);
  color: #000e33;
  font-size: 0.95rem;
  font-family: inherit;
}

.userSearch input:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.user-results {
  max-height: 400px;
  overflow-y: auto;
}

.user-result-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.user-result-entry:hover {
  background-color: #f5f5f5;
}


.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Optional: keep the select from getting too tall/odd */
.search-section .sort-select{
  height: 40px;
    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;
}

/* ✅ Mobile: stack toggle + sort */
@media (max-width: 768px){
  .search-section .search-container{
    grid-template-columns: 1fr;
    grid-template-areas:
      "search"
      "toggle"
      "sort";
  }

  .search-section .view-toggle{
    width: 100%;
    justify-content: space-between;
  }

  .search-section .sort-dropdown{
    width: 100%;
    justify-self: stretch;
  }

  .search-section .sort-select{
    width: 100%;
    min-width: 0;
  }
}


/* Grid layout (replaces carousel) */
.creators-grid,
#creatorsGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 10px;
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .creators-grid,
  #creatorsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .creators-grid,
  #creatorsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .creators-grid,
  #creatorsGrid {
    grid-template-columns: 1fr;
  }
}
:root{
  --ink: #000e33;
  --indigo: #4b5bd5;
  --cardBorder: rgba(148, 163, 184, 0.14);
  --shadow1: 0 8px 18px rgba(15, 23, 42, 0.06);
  --shadow2: 0 1px 3px rgba(15, 23, 42, 0.05);
  --grad: linear-gradient(135deg, #0066ff, #c27aff);
  --statBg: #f3f4ff;
}

/* Card */
.roamer-card{
    display: flex;
  flex-direction: column;

  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow1), var(--shadow2);
  border: 1px solid var(--cardBorder);
  padding: 88px 18px 18px;
  position: relative;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.roamer-card:hover{
  transform: translateY(-2px);
  border-color: rgba(75, 91, 213, 0.18);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08), var(--shadow2);
}

/* Avatar ring */
.roamer-avatar-wrap{
  position:absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.roamer-avatar-ring{
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
  display:flex;
  align-items:center;
  justify-content:center;
}

.roamer-avatar-ring img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
}

.roamer-monogram{
  width:100%;
  height:100%;
  border-radius:50%;
  background: var(--ink);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 650;
  font-size: 1rem;
}

/* Name + location */
.roamer-name{
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink);
}

.roamer-location{
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--indigo);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 6px;
}
.roamer-location i{ font-size: 0.85rem; }

/* Stats */
.roamer-stats-row{
  display:flex;
  gap: 8px;
  margin-bottom: 12px;
}

.roamer-stat-box{
  flex: 1 1 0;
  background: var(--statBg);
  border-radius: 12px;
  padding: 8px 6px;
}

.roamer-stat-number{
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
}

.roamer-stat-label{
  font-size: 0.75rem;
  color: #6b7280;
}

/* Follow button */
.roamer-follow-btn{
  margin-top: 12px;
  width:100%;
  border:none;
  border-radius: 999px;
  padding: 10px 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  cursor:pointer;
  font-size: 0.9rem;
  color:#fff;
  background: var(--grad);
  box-shadow: 0 10px 25px rgba(15,23,42,0.18);
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.roamer-follow-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.roamer-follow-btn.following{
  background: rgba(0,0,0,0.04);
  color: var(--ink);
  box-shadow: none;
}

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

.destination-cta:hover {
  text-decoration: underline;
  cursor: pointer;
}

.collection-card-footer {
  display: flex;
    padding-top: 12px;

  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.collection-curated-date {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
  font-style: italic;
}

.destination-cta {
  flex: 0 0 auto;
}

@media (max-width: 480px) {
  .collection-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .collection-curated-date {
    width: 100%;
    text-align: right;
  }
}

/* ✅ Actions container for button + link */
.roamer-actions {
    margin-top: auto; /* Pushes actions to bottom */

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

/* ✅ View profile link - hidden by default */
.roamer-view-profile {
  display: none;
  text-align: center;
  color: #4b5bd5;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem;
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(-5px);
}

/* ✅ Show on card hover */
.roamer-card:hover .roamer-view-profile {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ✅ Adjust button to work with new container */
.roamer-follow-btn {
  width: 100%;
  /* keep your existing button styles */
}
.roamer-bio {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 12px 0;
  padding: 0 0px;

  /* Limit to 2 lines with ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 39.2px;
  flex-shrink: 0;
}

.roamer-bio-empty {
  color: #999;
  font-style: italic;
}

/* Save button on card */
.collection-save-action.saved {
  color: var(--primary-color);
  background: rgba(102, 126, 234, 0.1);
}

.collection-save-action.saved i {
  animation: saveBookmark 0.3s ease;
}

@keyframes saveBookmark {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Modal save button */
#modalSaveCollectionBtn.saved {
 background: #ececec;
  color: #777;
  cursor: default;
}

#modalSaveCollectionBtn.saved:hover {
  background: var(--primary-dark);
}

#modalSaveCollectionBtn i {
  margin-right: 0.5rem;
}
/* Collection card footer - flexbox layout */
.collection-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Save button - hidden by default, shown on hover */
.collection-card-save-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  display: none; /* ✅ CHANGED: Hidden by default */
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: all 0.3s ease-in-out; /* ✅ ADDED: Smooth transition */
}

.collection-card-save-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
  transform: translateY(-1px); /* ✅ ADDED: Subtle lift effect */
  cursor: pointer;
}

/* Show save button on card hover */
.collection-card:hover .collection-card-save-btn {
  display: flex; /* ✅ Show on hover */
}

/* Saved state */
.collection-card-save-btn.saved {
  background: #ececec;
  color: #777;
  cursor: default;
}

.collection-card-save-btn.saved:hover {
  transform: none; /* ✅ ADDED: No lift when saved */
  box-shadow: 0 10px 25px rgba(0,0,0,0.35); /* ✅ Keep original shadow */
}

/* Hide curated date when save button is visible */
.collection-card:hover .collection-curated-date {
  display: none;
}

/* Adjust destination CTA to take available space */
.destination-cta {
  flex: 1;
  min-width: 0; /* Allow button to shrink if needed */
}

/* Curated date positioning */
.collection-curated-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .collection-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .collection-card-save-btn {
    display: flex; /* Always show on mobile */
    order: 2;
  }

  .destination-cta {
    order: 1;
  }

  .collection-curated-date {
    order: 3;
    text-align: center;
  }

  /* Don't hide curated date on mobile */
  .collection-card:hover .collection-curated-date {
    display: block;
  }

  /* Collection modal tablet fix */
  .collection-modal-content {
    max-width: 90%;
    max-height: 85vh;
  }

  .rec-detail-modal-content {
    max-width: 95%;
  }
}
.collection-card-save-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  display: none; /* ✅ Hidden by default */
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff !important; /* ✅ Added !important to ensure white color */
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: all 0.3s ease-in-out;
  margin-left: auto; /* ✅ Push to the right */
  opacity: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 10; /* ✅ Keep this */
  pointer-events: auto; /* ✅ Keep this */
}

/* ✅ Make sure the icon inside is also white */
.collection-card-save-btn i {
  color: #ffffff;
}

.collection-card-save-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6),
              0 0 6px rgba(0, 102, 255, 0.6);
  transform: translateY(-1px); /* ✅ Subtle lift effect */
  cursor: pointer;
}

/* Show save button on card hover */
.collection-card:hover .collection-card-save-btn {
  display: flex; /* ✅ Show on hover */
}

/* Saved state */
.collection-card-save-btn.saved {
  background: #ececec;
  color: #777 !important; /* ✅ Gray when saved */
}

/* ✅ Make sure saved icon is also gray */
.collection-card-save-btn.saved i {
  color: #777;
}

.collection-card-save-btn.saved:hover {
  transform: none; /* ✅ No lift when saved */
  box-shadow: 0 10px 25px rgba(0,0,0,0.35); /* ✅ Keep original shadow */
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE PHONE OPTIMIZATIONS (480px and below)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  /* ───── HERO SECTION ───── */
  .creator-hero {
    padding: 40px 16px 30px;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding: 0 8px;
  }

  /* ───── SEARCH SECTION ───── */
  .search-section {
    padding: 16px;
  }

  .search-bar {
    width: 90% !important;
  }
  .search-section .search-container {
    padding-left: 0;
    padding-right: 0;
    gap: 12px;
  }

  .creator-search.search-stack {
    max-width: 100%;
  }

  .creator-search .search-bar {
    padding: 10px 14px;
    gap: 10px;
  }

  .creator-search .search-icon-circle {
    width: 32px;
    height: 32px;
  }

  .creator-search #searchInput {
    font-size: 0.9rem;
  }

  /* ───── TOGGLE & SORT ───── */
  .toggle-sort-container {
    padding: 20px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .view-toggle {
    padding: 0;
    gap: 8px;
    width: 100%;
  }

  .toggle-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    flex: 1;
    justify-content: center;
  }

  /* ───── SORT DROPDOWN FIX ───── */
  .sort-dropdown {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    overflow: visible;
  }

  .sort-label {
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    color: #000e33;
  }

  .sort-select {
    flex: 1;
    min-width: 0;
    max-width: none;
    font-size: 0.9rem;
    padding: 10px 36px 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    color: #000e33;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }

  /* ───── COLLECTION MODAL FIX ───── */
  .collection-modal {
    padding: 12px;
    align-items: flex-start;
    padding-top: 40px;
  }

  .collection-modal-content {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    border-radius: 16px;
  }

  .collection-modal-header {
    padding: 16px 20px;
    position: relative;
  }

  .collection-modal-header h3 {
    font-size: 1.2rem;
    padding-right: 36px;
  }

  .collection-modal-header .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    z-index: 10;
  }

  .collection-modal-body {
    padding: 16px 20px 20px;
  }

  .collections-list {
    max-height: 200px;
  }

  /* ───── REC DETAIL MODAL FIX ───── */
  .rec-detail-modal {
    padding: 8px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .rec-detail-modal-content {
    max-width: 100%;
    max-height: calc(100vh - 40px);
  }

  .rec-detail-card {
    padding: 14px;
    border-radius: 16px;
  }

  .rec-detail-modal .modal-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    z-index: 10;
  }

  .rec-detail-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rec-detail-image img {
    height: 140px;
    width: 100%;
    border-radius: 12px;
  }

  .rec-detail-title {
    font-size: 16px;
  }

  .rec-detail-address {
    font-size: 12px;
  }

  .rec-detail-description {
    font-size: 13px;
  }

  /* ───── RESULTS SECTION ───── */
  .results-section {
    padding: 24px 16px 60px;
  }

  .results-header {
    margin-bottom: 20px;
  }

  .results-header h2 {
    font-size: 1.2rem;
  }

  /* ───── COLLECTION CARDS ───── */
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .collection-card {
    border-radius: 14px;
  }

  .collection-card-image {
    height: 180px;
  }

  .collection-card-images {
    height: 180px;
    gap: 3px;
  }

  .collection-image-slot {
    border-radius: 10px;
  }

  .collection-card-content {
    padding: 14px;
  }

  .collection-creator-bar {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .collection-creator-avatar {
    width: 28px;
    height: 28px;
  }

  .collection-creator-name {
    font-size: 0.8rem;
  }

  .creator-badge {
    padding: 2px 6px;
    font-size: 10px;
  }

  .collection-card-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .collection-card-location {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .collection-card-stats {
    font-size: 0.75rem;
    gap: 12px;
  }

  .collection-card-footer {
    margin-top: 12px;
    gap: 0.5rem;
  }

  .destination-cta {
    font-size: 0.8rem;
    padding: 8px 0;
  }

  .collection-card-save-btn {
    display: flex;
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  /* ───── CREATOR/ROAMER CARDS ───── */
  .creators-grid,
  #creatorsGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .roamer-card {
    padding: 70px 14px 14px;
    border-radius: 18px;
  }

  .roamer-avatar-ring {
    width: 70px;
    height: 70px;
  }

  .roamer-name {
    font-size: 0.95rem;
  }

  .roamer-location {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .roamer-bio {
    font-size: 0.8rem;
    min-height: 35px;
    margin: 8px 0;
  }

  .roamer-stats-row {
    gap: 6px;
    margin-bottom: 10px;
  }

  .roamer-stat-box {
    padding: 6px 4px;
    border-radius: 10px;
  }

  .roamer-stat-number {
    font-size: 0.85rem;
  }

  .roamer-stat-label {
    font-size: 0.65rem;
  }

  .roamer-follow-btn {
    padding: 10px 0;
    font-size: 0.85rem;
  }

  /* Always show view profile on mobile */
  .roamer-view-profile {
    display: block;
    opacity: 1;
    transform: translateY(0);
    font-size: 0.8rem;
    padding: 6px;
  }

  /* ───── FILTER TAGS ───── */
  .filter-tags {
    gap: 8px;
    padding-bottom: 4px;
  }

  .filter-tag {
    padding: 8px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* ───── EMPTY STATE ───── */
  .empty-state {
    padding: 50px 16px;
  }

  .empty-state i {
    font-size: 3rem;
    margin-bottom: 14px;
  }

  .empty-state h3 {
    font-size: 1.2rem;
  }

  .empty-state p {
    font-size: 0.9rem;
  }

  /* ───── LOADING SPINNER ───── */
  .loading-spinner {
    padding: 40px 16px;
  }

  .loading-spinner i {
    font-size: 2rem;
  }

  .loading-spinner p {
    font-size: 0.9rem;
  }

  /* ───── FOOTER ───── */
  .footer-inner {
    padding: 0 16px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-columns {
    gap: 30px;
    flex-direction: column;
  }

  .footer-logo {
    height: 100px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-links a {
    margin-left: 0;
    margin-right: 12px;
  }
    .notification-modal {
  position: absolute;
  top: 52px;
  right: 30px;
  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;
}
}

/* ═══════════════════════════════════════════════════════════════════════════
   EXTRA SMALL PHONES (375px and below)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 375px) {
  .hero-title {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .toggle-btn {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .collection-card-image {
    height: 160px;
  }

  .collection-card-images {
    height: 160px;
  }

  .collection-card-content {
    padding: 12px;
  }

  .collection-card-title {
    font-size: 1rem;
  }

  .roamer-card {
    padding: 65px 12px 12px;
  }

  .roamer-avatar-ring {
    width: 60px;
    height: 60px;
  }

  .roamer-stat-box {
    padding: 5px 3px;
  }

  .roamer-stat-number {
    font-size: 0.8rem;
  }

  .roamer-stat-label {
    font-size: 0.6rem;
  }

  .results-section {
    padding: 20px 12px 50px;
  }

  .search-section {
    padding: 12px;
  }
}
       .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;
}
