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

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

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

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

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(0, 14, 51, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  grid-column: 2;
}

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

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

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

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

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

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

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

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

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

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

.menu-toggle {
  display: none;
}

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

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

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

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

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

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

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

/* ───── RESPONSIVE BREAKPOINTS ───── */
@media (max-width: 1100px) {
    .navbar {
        padding: 0 32px;
    }
}
@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;
  }

  .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,
.icon-pill: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;
}


/* dropdown panel */
.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; /* above nav dropdowns */
}

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

/* list + entries */

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

}

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

}

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

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

/* avatar */

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px; /* gradient ring thickness */

  /* RoamRecs gradient ring */
  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; /* inner dark circle */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
}



/* text area */

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

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

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

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

/* ───── 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-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: rgba(255,255,255,0.88);
  padding: 28px 0 56px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.10);
}

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

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

.footer-logo-wrapper{
  text-align: left;
  margin-bottom: 26px;
}

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

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

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

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

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

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

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

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

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

.footer-app-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

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

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

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

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

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

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

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

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

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

.network-page{
  margin: 0 auto;
  padding: 20px 80px 50px;
  background-color: #ffffff;
}

.network-hero{
  padding: 18px 0 20px;
}

.network-hero h1{
  margin: 0;
  font-size: 2.4rem;
  color: #000e33;
  letter-spacing: -0.02em;
}

.empty-card h2 {
  margin: 12px 0 8px; /* ✅ Reduced bottom margin from default */
  font-size: 1.5rem;
  font-weight: 700;
  color: #000e33;
}

.empty-card p {
  margin: 0 0 20px; /* ✅ No top margin */
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.7);
}

.network-hero p{
    font-size: 1rem;
    padding-top:10px;
    color: #545459;
    opacity: 0.85;
    margin: 0 0 20px;
}

.network-search.search-stack{
    background: transparent !important;
border: none !important;
max-width: 1300px;
  width: 100%;

}

.network-search{
  background: transparent !important;
}

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

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

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

.network-search #userSearchInput{
  flex: 1;
  border: none;
  outline: none;
  background: transparent;

  font-size: 1rem;
  color: #000e33;

  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.network-search #userSearchInput::placeholder{
  color: #9aa0b5;
  opacity: 1;
}

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

.network-search .clear-search:hover{
  background: rgba(0,0,0,0.05);
}
:root{
  --avatar-size: 44px;
}

.avatar-gradient{
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0066ff, #c27aff);

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

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

.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: #ffffff;
  line-height: 1;
}

.network-search .sr-sub{
  color: #4b5bd5 !important;
  opacity: 1;
}

.network-search .search-results{
  margin-top: 0px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.network-search .search-results{
  width: 100%;
  box-sizing: border-box;
}

.network-search .search-result{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 18px;
  cursor:pointer;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.network-search .search-result:last-child{ border-bottom: none; }

.network-search .search-result:hover{
  background: rgba(75, 91, 213, 0.12);
}

.search-results.hidden{ display:none; }

.search-result{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  cursor:pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.search-result:last-child{ border-bottom: none; }

.search-result:hover{
  background: rgba(0, 102, 255, 0.10);
}

.sr-meta{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 0;
}

.sr-name{
  font-weight: 600;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.sr-sub{
  font-size: 0.86rem;
  opacity: 0.75;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.panel-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 12px;
}

.panel-head h3{
  margin: 0;
  font-size: 1.05rem;
  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;
}

.panel-link{
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  opacity: 0.9;
}

.panel-link:hover{ opacity: 1; }

.icon-pill{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff;
  cursor:pointer;
}

.network-columns{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  margin-top: 14px;
}

.following-list{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.following-item{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 14px;
  cursor:pointer;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.following-item:hover{
  background: rgba(75, 91, 213, 0.12);
}

.following-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.feed-list{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.feed-card{
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.feed-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.feed-title{
  margin: 10px 0 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.feed-meta{
  margin-top: 6px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.trend-row{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ✅ UPDATED: Trending destinations (matches group page) */
.trending-chip {
  padding: 6px 14px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 13px;
  color: #4b5bd5;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.trending-chip:hover {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.trending-chip i {
  font-size: 11px;
}

.network-empty .empty-card{
  margin-top: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.empty-icon{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  margin-bottom: 10px;
}

.empty-icon i {
  color: #ffffff;
}
.empty-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}



.btn-primary, .btn-secondary{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration:none;
}

.btn-primary{
  color:#fff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  border: none;
}

.btn-primary:hover,
.btn-secondary:hover {
  cursor: pointer;
}


.btn-secondary{
  color: #4b5bd5;;
  border: 1px solid #4b5bd5;
  background: rgba(255,255,255,0.06);
  font-size: 0.9em;
}


@media (max-width: 980px){
  .network-columns{
    grid-template-columns: 1fr;
  }
  .network-page{ padding: 20px 18px 70px; }
}
.hidden { display: none !important; }

.panel-card,
.network-empty .empty-card,
.feed-card,
.following-item{
  background: rgba(15,23,42,0.03) !important;
  border: 1px solid rgba(15,23,42,0.08) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
}

.network-search{
  background: rgba(15,23,42,0.03) !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
}

.network-search input{
  color: #0f172a !important;
}

.search-results{
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12) !important;
}

.search-result:hover{
  background: rgba(0,102,255,0.08) !important;
}

.network-page{
  background: #ffffff;
  color: #0f172a;
}

.network-hero p{
  color: rgba(15,23,42,0.65);
  opacity: 1;
}

.panel-card,
.feed-card,
.following-item,
.network-empty .empty-card{
  background: rgba(15,23,42,0.03) !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
  color: #0f172a !important;
}

.panel-head{
  border-bottom: 1px solid rgba(15,23,42,0.08) !important;
}

.panel-link{
  color: rgba(15,23,42,0.60) !important;
}
.panel-link:hover{
  color: rgba(15,23,42,0.85) !important;
}

.count-pill{
  background: rgba(15,23,42,0.05) !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  color: rgba(15,23,42,0.72) !important;
}

.icon-pill{
  border: 1px solid rgba(15,23,42,0.14) !important;
  color: rgba(15,23,42,0.80) !important;
}

.following-item:hover{
  background: rgba(0,102,255,0.08) !important;
}

.feed-meta{
  color: rgba(15,23,42,0.62) !important;
  opacity: 1 !important;
}

.network-search{
  background: transparent !important;
  border: none !important;
}

.network-search .search-results{
  background: #ffffff !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12) !important;
}

.network-search .search-result,
.search-result{
  border-bottom: 1px solid rgba(15,23,42,0.06) !important;
}

.sr-name{ color: #0f172a !important; }
.sr-sub{ color: rgba(15,23,42,0.62) !important; opacity: 1 !important; }

.network-search.search-stack{
  width: 100%;
}

.network-search .search-bar,
.network-search .search-results{
  width: 100%;
  box-sizing: border-box;
}

.network-search .search-result{
  padding: 12px 18px;
}

.network-search{
  --avatar-size: 40px;
}
.network-search .avatar-gradient{
  width: var(--avatar-size);
  height: var(--avatar-size);
}

.panel-card{
  border: 1px solid rgba(255,255,255,0.12);
  background: #ffffff !important;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.30);
}

.count-pill{
  font-size: 0.85rem;
  padding: 6px 10px;
  color: #ffffff !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #0066ff, #c27aff) !important;
  border: 1px solid rgba(255,255,255,0.12);
}

.sr-location{
  color: #4b5bd5 !important;
  opacity: 1;
}

/* ✅ NEW: Stats row in following list */
.sr-stats {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.55);
}

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

.sr-stats i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.feed-user{
  display:flex;
  align-items:center;
  gap:10px;
}
.feed-user-link{
  color: inherit;
  text-decoration: none;
}
.feed-user-link:hover .sr-name,
.sr-name.feed-user-link:hover{
  color: #4b5bd5 !important;
}
/* ✅ Smaller square image for recs */
.feed-card--rec .feed-image-square {
  width: 100%;
  aspect-ratio: 16 / 9; /* Wider, not square */
  overflow: hidden;
  border-radius: 16px;
  margin-top: 10px;
  background: rgba(15,23,42,0.03);
}

/* ✅ Clickable destination link */
.feed-destination-link {
  color: #4b5bd5;
  font-weight: 650;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.feed-destination-link:hover {
  text-decoration: underline;
}

/* ✅ Instagram-style square image for feed */
.feed-image-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 10px;
  background: rgba(15,23,42,0.03);
}

.feed-image-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(194,122,255,0.12));
  color: rgba(15,23,42,0.55);
  font-size: 24px;
}

/* ✅ Collection collage - also square */
.feed-collage {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}

.feed-collage{
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}

.feed-image-slot{
  position: relative;
  overflow: hidden;
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.08);
}

.feed-image-slot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-image-slot.feed-main{
  grid-row: 1 / 3;
}

.feed-image-gradient{
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: radial-gradient(circle at top left, rgba(0,102,255,0.18), rgba(255,255,255,0.0) 55%),
              radial-gradient(circle at bottom right, rgba(194,122,255,0.16), rgba(255,255,255,0.0) 55%),
              #f6f8ff;
}
.feed-image-gradient i{
  font-size: 18px;
  color: rgba(15,23,42,0.55);
}

.feed-actions{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-top: 10px;
}

.feed-action-btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(15,23,42,0.03);
  color: rgba(15,23,42,0.85);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.feed-action-btn .count{
  font-weight: 650;
  font-size: 0.9rem;
}

.feed-action-btn:hover{
  background: rgba(75, 91, 213, 0.12); /* soft oo wash */
}

.feed-action-btn.saved{
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
}
.feed-action-btn.saved i{
  color: #ec4899;
}
.feed-destination{
  color: #4b5bd5;
  font-weight: 650;
}

.feed-card--rec .rec-row{
  margin-top: 10px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;

  padding: 10px 12px;
  border-radius: 16px;

  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(15,23,42,0.02);
  text-decoration: none;
}

.feed-card--rec .rec-row:hover{
  background: rgba(75, 91, 213, 0.10);
}

.feed-card--rec .rec-thumb{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(15,23,42,0.10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feed-card--rec .rec-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-card--rec .rec-thumb-fallback{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(0,102,255,0.12), rgba(194,122,255,0.12));
  color: rgba(15,23,42,0.55);
}

.feed-card--rec .rec-title{
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.feed-card--rec .rec-sub{
  margin-top: 4px;
  font-size: 0.9rem;
  color: rgba(15,23,42,0.62);
}

.feed-card--rec .rec-destination{
  color: #4b5bd5;
  font-weight: 650;
}

.feed-card--rec .rec-chevron{
  color: rgba(15,23,42,0.35);
  padding-left: 6px;
}
img, video { max-width: 100%; height: auto; }


.collection-card-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 150%;
  height: 300px; /* ✅ Fixed height instead of aspect-ratio */
  box-sizing: border-box;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 10px;
}

.collection-image-slot {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.06);
}

.collection-mini-images {
  display: contents;
}

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

.collection-image-gradient {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.18), rgba(194, 122, 255, 0.18));
}

.collection-image-gradient i {
  font-size: 36px;
  color: rgba(107, 95, 255, 0.45);
}
.trending-panel {
  margin-bottom: 24px; /* or whatever spacing you want */
}

/* Feed Comments Section */
.feed-comments-section {
  margin-top: 12px;
  border-top: 1px solid rgba(107, 95, 255, 0.16);
  padding-top: 12px;
}

.rec-comments-scroll {
  max-height: 300px;
  overflow-y: auto;
  padding: 0 4px 12px;
  display: flex;
  background: rgba(107, 95, 255, 0.04);
  flex-direction: column;
  gap: 12px;
}

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

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

/* --- VISIBILITY SEGMENTED TOGGLE (override-proof) --- */
.rr-modal .rr-seg-toggle{
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  border-radius: 999px;
  background: rgba(11,27,58,0.06);
  border: 1px solid rgba(11,27,58,0.10);

  width: fit-content;
  justify-self: start; /* prevents stretching inside your grid */
  box-sizing: border-box;
}

.rr-modal .rr-seg-toggle .rr-seg-btn{
  all: unset; /* ✅ kills global button padding/font/line-height */
  box-sizing: border-box;

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

  height: 34px;          /* ✅ controlled height */
  padding: 0 14px;       /* ✅ controlled width */
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;

  color: rgba(11,27,58,0.62);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.rr-modal .rr-seg-toggle .rr-seg-btn.active{
  background: #fff;
  color: rgba(11,27,58,0.95);
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
  border: 1px solid rgba(11,27,58,0.10);
}

/* Close (X) micro-interaction */
.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;
}

/* 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;
}

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

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

/* 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-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;
}
.rec-comments-scroll::-webkit-scrollbar { width: 8px; }
.rec-comments-scroll::-webkit-scrollbar-thumb {
  background: rgba(107, 95, 255, 0.04);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

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

.rec-comment-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(107, 95, 255, 0.04);
  border: 1px solid rgba(107, 95, 255, 0.1);
}

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

.rec-comment-avatar-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: white;
  text-transform: uppercase;
  border: 2px solid transparent;
  background:
    linear-gradient(#000e33, #000e33) padding-box,
    linear-gradient(135deg, #0066ff 0%, #c27aff 100%) border-box;
}

.rec-comment-body {
  flex: 1;
  min-width: 0;
}

.rec-comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.rec-comment-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rec-comment-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #000e33;
  text-decoration: none;
}

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

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

.rec-comment-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(20, 20, 30, 0.85);
  word-wrap: break-word;
}

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

.rec-comment-delete-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-composer {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(107, 95, 255, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.rec-comment-composer input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(107, 95, 255, 0.18);
  border-radius: 16px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #000e33;
}

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

.rec-comment-composer button {
  padding: 10px 16px;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  color: white;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.rec-comment-composer button:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6);
}

.rec-comment-composer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


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

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

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

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

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

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

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

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

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

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

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

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

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

  .profile-container:focus-within .profile-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-item:focus-within .dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(4px); }




  .panel-card {
    width: 95%;
  }

  html, body {
  max-width: 100%;
  overflow-x: hidden;
}


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

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



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

.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-composer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.panel-footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-top: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  border-top: 1px solid #eee;
  transition: all 0.2s;
}

.panel-footer-link:hover {
  color: #4b5bd5;
  background: #f9f9f9;
}

.feed-card--group {
  border-left: 3px solid #C986FF;
}

/* Feed Filter Tabs */
.feed-filter-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.feed-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.feed-tab:hover {
  background: #f5f5f5;
  border-color: #0066ff;
  color: #0066ff;
}

.feed-tab.active {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  border-color: #0066ff;
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.feed-tab i {
  font-size: 16px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .feed-tab {
    font-size: 13px;
    padding: 8px 12px;
  }

  .feed-tab span {
    display: none; /* Hide text on mobile, show only icons */
  }
}


.load-more-container {
  padding: 16px;
  text-align: center;
}

.load-more-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  border-color: #0066ff;
  color: white;
}

.load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}



.group-link {
  color: #4b5bd5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.group-link i {
  font-size: 12px;
  margin-right: 2px;
}

/* Invite Link Box */
.invite-link-box {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.invite-link-box .rr-input {
  flex: 1;
  font-size: 14px;
  background: #f5f5f7;
  border: 1px solid #d1d1d6;
}

/* Share Buttons */
.invite-share-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.invite-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: white;
  border: 1.5px solid #E5E5EA;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 500;
  color: #000e33;
}

.invite-share-btn:hover {
  border-color: #4b5bd5;
  background: #f9f5ff;
  transform: translateY(-2px);
}

.invite-share-btn i {
  font-size: 24px;
  color: #4b5bd5;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .invite-share-buttons {
    grid-template-columns: 1fr;
  }

  .invite-share-btn {
    flex-direction: row;
    justify-content: center;
  }
}

/* Creator/Editorial Badges */
.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;
}

/* Badge in following list */
.following-item .creator-badge {
  margin-left: auto;
  flex-shrink: 0;
}

/* Badge in feed user meta */
.sr-meta .creator-badge {
  margin-left: 8px;
}
/* Recommended Roamers Grid */
.recommended-roamers {
  margin-top: 32px;
  margin-bottom: 32px;
}

.recommended-roamers h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.roamers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 22px;
}

.roamer-card {
  flex: 0 0 220px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.05),
    0 1px 3px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 90px 18px 18px;
  position: relative;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.roamer-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.12),
    0 4px 8px rgba(15, 23, 42, 0.08);
}

/* Avatar bubble - positioned at top */
.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: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* Name and badges */
.roamer-name {
  margin: 0; /* Remove all margin */
  font-size: 1rem;
  font-weight: 600;
  color: #000e33;
}

.roamer-location {
  margin: 0 0 12px; /* Reduced from 14px */
  font-size: 0.86rem;
  color: #4b5bd5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.roamer-location i {
  font-size: 0.85rem;
}

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

.roamer-stat-box {
  flex: 1 1 0;
  background: #f3f4ff;
  border-radius: 12px;
  padding: 8px 6px;
}

.roamer-stat-number {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000e33;
  margin-bottom: 2px;
}

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

/* Follow button */
.roamer-follow-btn {
  margin-top: 14px;
  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;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}

.roamer-follow-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.roamer-follow-btn i {
  font-size: 0.9rem;
}

.roamer-follow-btn.following {
  background: #f3f4f6;
  color: #000e33;
  box-shadow: none;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.roamer-follow-btn.following:hover {
  background: #fee;
  color: #dc2626;
  border-color: #dc2626;
}

/* Responsive */
@media (max-width: 900px) {
  .roamers-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 600px) {
  .roamers-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .roamer-card {
    padding: 80px 14px 14px;
  }
}

.sr-meta{
  min-width: 0; /* 🔑 prevents overflow */
}

.group-link{
  display: block;              /* ⬅ forces new line */
  margin-top: 2px;
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* visual polish */
  color: #4b5bd5;
}
