/**
 * VIBBLE MODERN UI - VERSION 13 (X/Twitter Style)
 * Clean sidebar navigation, floating buttons, improved styling
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --bg-base: #000000;
  --bg-1: #0a0a0a;
  --bg-2: #16181c;
  --bg-3: #1d1f23;
  --bg-hover: rgba(255,255,255,0.03);
  --accent: #1d9bf0;
  --accent-hover: #1a8cd8;
  --text-primary: #e7e9ea;
  --text-secondary: #71767b;
  --border: #2f3336;
}

/* ============================================
   BASE RESET
   ============================================ */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg-base);
}

#tw-app {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
  width: 100%;
}

/* Hide ALL scrollbars */
::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* ============================================
   MAIN LAYOUT - FLEXBOX AUTO-FIT
   ============================================ */
#tw-app .vibble-app-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* ============================================
   LEFT SIDEBAR
   ============================================ */
.col-md-3:first-child,
div.col-md-3:first-child,
#vibble-left-sidebar-col {
  display: flex;
  flex-shrink: 0;
  width: 68px; /* Compact by default */
}

.main-left-sidebar,
#vibble-left-sidebar {
  display: flex !important;
  flex-direction: column;
  width: 68px;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 0 8px;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg-base);
}

/* ============================================
   CENTER CONTENT
   ============================================ */
.col-md-6,
div.col-md-6,
#vibble-main-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  max-width: 600px;
  border-right: 1px solid var(--border);
}

.main-vibble-screenline,
.vibble-screenline {
  width: 100%;
}

/* ============================================
   RIGHT SIDEBAR
   ============================================ */
.col-md-3:last-child,
div.col-md-3:last-child,
.col-md-3.right-sidebar-col,
#vibble-right-sidebar-col {
  display: none; /* Hidden by default, show on wide screens */
  flex-shrink: 0;
  width: 350px;
  padding: 0 16px;
}

.right-sidebar-wrapper,
.right-sidebar-contentWrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding-top: 12px;
}

/* ============================================
   RESPONSIVE: WIDE SCREENS (≥1100px)
   Show full left sidebar + right sidebar
   ============================================ */
@media (min-width: 1100px) {
  .col-md-3:first-child,
  div.col-md-3:first-child,
  #vibble-left-sidebar-col {
    width: 275px;
  }
  
  .main-left-sidebar,
  #vibble-left-sidebar {
    width: 275px;
    padding: 0 12px;
  }
  
  /* Show nav text on wide screens */
  .main-sidebar-menu > a .nav-text {
    display: inline !important;
  }
  
  .main-sidebar-menu > a {
    justify-content: flex-start !important;
    padding: 12px !important;
    width: auto !important;
  }
  
  #new-compose-post-modal {
    width: 90% !important;
    padding: 16px !important;
  }
  
  #new-compose-post-modal span {
    display: inline !important;
  }
  
  .sidebarBottomUserInfo h5 {
    display: block !important;
  }
}

/* Show right sidebar on extra wide screens (≥1280px) */
@media (min-width: 1280px) {
  .col-md-3:last-child,
  div.col-md-3:last-child,
  .col-md-3.right-sidebar-col,
  #vibble-right-sidebar-col {
    display: block !important;
  }
  
  .right-sidebar-wrapper,
  .right-sidebar-contentWrapper {
    display: block !important;
  }
}

/* ============================================
   RESPONSIVE: NARROW SCREENS (500px - 1099px)
   Compact sidebar (icons only)
   ============================================ */
@media (min-width: 500px) and (max-width: 1099px) {
  .col-md-3:first-child,
  div.col-md-3:first-child,
  #vibble-left-sidebar-col {
    width: 68px;
  }
  
  .main-left-sidebar,
  #vibble-left-sidebar {
    width: 68px;
    padding: 0 8px;
    align-items: center;
  }
  
  /* Hide nav text */
  .main-sidebar-menu > a .nav-text {
    display: none !important;
  }
  
  .main-sidebar-menu > a {
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50%;
  }
  
  #new-compose-post-modal {
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
  
  #new-compose-post-modal span {
    display: none !important;
  }
  
  .sidebarBottomUserInfo h5 {
    display: none !important;
  }
  
  .userInfoBottom a > span {
    display: none !important;
  }
  
  /* Hide right sidebar */
  .col-md-3:last-child,
  div.col-md-3:last-child,
  .col-md-3.right-sidebar-col,
  #vibble-right-sidebar-col {
    display: none !important;
  }
}

/* ============================================
   RESPONSIVE: MOBILE (<500px)
   No sidebars, full width feed, bottom nav
   ============================================ */
@media (max-width: 499px) {
  #tw-app .vibble-app-container {
    flex-direction: column;
    padding-bottom: 56px;
  }
  
  /* Hide left sidebar */
  .col-md-3:first-child,
  div.col-md-3:first-child,
  #vibble-left-sidebar-col,
  .main-left-sidebar,
  #vibble-left-sidebar {
    display: none !important;
  }
  
  /* Full width center */
  .col-md-6,
  div.col-md-6,
  #vibble-main-col {
    max-width: 100%;
    border: none;
  }
  
  /* Hide right sidebar */
  .col-md-3:last-child,
  div.col-md-3:last-child,
  .col-md-3.right-sidebar-col,
  #vibble-right-sidebar-col {
    display: none !important;
  }
  
  /* Show mobile bottom nav */
  .mobile-top-menu {
    display: flex !important;
  }
  
  /* Show FABs */
  .newPostComposer {
    display: flex !important;
  }
  
  .vaiFloatingButton,
  .floating-buttons {
    display: flex !important;
  }
}

/* ============================================
   LEFT SIDEBAR COMPONENTS - CLEAN X STYLE
   ============================================ */
.main-site-logo {
  padding: 12px 0;
}

.main-site-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: background 0.2s;
}

.main-site-logo a:hover {
  background: rgba(29, 155, 240, 0.1);
}

.main-site-logo img {
  width: 30px;
  height: 30px;
}

.main-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

/* CLEAN NAV ITEMS - No colored badges */
.main-sidebar-menu > a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px;
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 9999px;
  transition: background 0.2s;
  position: relative;
  background: transparent !important;
}

.main-sidebar-menu > a:hover {
  background: rgba(231, 233, 234, 0.1) !important;
}

.main-sidebar-menu > a.page-active {
  font-weight: 700;
}

.main-sidebar-menu > a svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Hide the ugly colored badge labels next to nav items */
.main-sidebar-menu > a > span:not(.nav-text):not(#check-notifs):not(#check-message) {
  display: none !important;
}

/* Notification badges - keep these but style them properly */
.main-sidebar-menu > a #check-notifs,
.main-sidebar-menu > a #check-message {
  position: absolute;
  top: 6px;
  left: 26px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav text styling */
.main-sidebar-menu > a .nav-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
}

.main-sidebar-menu > a.page-active .nav-text {
  font-weight: 700;
}

#new-compose-post-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  padding: 16px;
  margin: 16px auto;
  background: var(--accent);
  color: white;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s;
}

#new-compose-post-modal:hover {
  background: var(--accent-hover);
}

.sidebarBottomUserInfo {
  margin-top: auto;
  padding: 12px 0;
}

.userInfoBottom {
  padding: 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s;
}

.userInfoBottom:hover {
  background: rgba(231, 233, 234, 0.1);
}

.userInfoBottom a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.userInfoBottom a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.userInfoBottom h5 {
  margin: 0;
  flex: 1;
}

.userInfoBottom h5 b {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.userInfoBottom h5 small {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ============================================
   RIGHT SIDEBAR COMPONENTS
   ============================================ */
.search-container {
  margin-bottom: 16px;
  position: relative;
}

.search-container svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-secondary);
}

.search-container input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 9999px;
  padding: 12px 16px 12px 48px;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
}

.search-container input:focus {
  background: transparent;
  border-color: var(--accent);
}

.sidebar-grid-content,
.promo-card {
  background: var(--bg-2);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.title-content-rsbr h5 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  padding: 12px 16px;
  margin: 0;
}

.trending-content-carding {
  padding: 12px 16px;
  transition: background 0.2s;
}

.trending-content-carding:hover {
  background: rgba(255, 255, 255, 0.03);
}

.trending-content-carding a {
  text-decoration: none;
}

.trending-content-carding small {
  font-size: 13px;
  color: var(--text-secondary);
}

.trending-content-carding h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2px 0;
}

.trending-content-carding span {
  font-size: 13px;
  color: var(--text-secondary);
}

.show-more-link {
  display: block;
  padding: 16px;
  color: var(--accent);
  font-size: 15px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header-box {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header-box .header-top {
  padding: 0 16px;
  height: 53px;
  display: flex;
  align-items: center;
}

.site-header-box h5 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

#header-sticky-logo,
.changeForYouTimeline {
  display: none !important;
}

/* ============================================
   FEED TABS
   ============================================ */
.feed-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.feed-tabs a,
.feed-tab {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 53px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.feed-tabs a:hover {
  background: rgba(231, 233, 234, 0.1);
}

.feed-tabs a.active {
  color: var(--text-primary);
  font-weight: 700;
}

.feed-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================================
   STORIES
   ============================================ */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
  display: none !important;
}

.swiper {
  padding: 12px 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}

.swiper-wrapper {
  display: flex;
  gap: 16px;
}

.swiper-slide {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.swiper-slide > a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-base);
}

.swiper-slide span {
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   POST COMPOSER
   ============================================ */
.share-to-post-homepage {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.userInfoAndPostsCard {
  display: flex;
  gap: 12px;
}

.userInfoAndPostsCard > a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

#postAreaContainer {
  flex: 1;
  min-height: 24px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  color: var(--text-primary);
}

#postAreaContainer:empty::before {
  content: attr(placeholder);
  color: var(--text-secondary);
}

/* ============================================
   POST CARDS - IMPROVED STYLING
   ============================================ */
.post,
.vipup-post-publication {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.post:hover {
  background: rgba(255, 255, 255, 0.03);
}

.post-original-user-title-info {
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
}

.post-user-avatar {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
}

.post-user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-user-avatar h5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.post-user-avatar h5 vibble_fullname_post {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.post-user-avatar h5 b {
  font-size: 15px;
  color: var(--text-secondary);
}

.post-paragraphe p {
  font-size: 15px;
  line-height: 20px;
  color: var(--text-primary);
  margin: 0 0 12px;
  word-wrap: break-word;
}

.post-paragraphe img {
  width: 100%;
  max-height: 510px;
  border-radius: 16px;
  margin-top: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.post-paragraphe video {
  width: 100%;
  border-radius: 16px;
}

.original-post-selection-check {
  display: flex;
  justify-content: space-between;
  max-width: 425px;
  margin-top: 12px;
}

.original-post-selection-check span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
}

.original-post-selection-check span:hover {
  color: var(--accent);
}

.original-post-selection-check span svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   MOBILE BOTTOM NAVIGATION
   ============================================ */
.mobile-top-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  justify-content: space-around;
  align-items: center;
  height: 56px;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-top-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--text-primary);
  position: relative;
}

.mobile-top-menu a svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.mobile-top-menu a.menu-active svg {
  fill: var(--accent);
}

/* ============================================
   FLOATING ACTION BUTTONS - FIXED & VISIBLE
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.floating-btn.vai {
  background: linear-gradient(135deg, #9333ea, #6366f1);
}

.floating-btn.chat {
  background: var(--accent);
}

.floating-btn i {
  font-size: 20px;
  color: white;
}

.floating-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.floating-btn .tooltip {
  display: none;
}

/* Show floating buttons on desktop too (but smaller on right side) */
@media (min-width: 500px) {
  .floating-buttons {
    display: flex !important;
    bottom: 80px;
    right: 20px;
  }
}

@media (max-width: 499px) {
  .floating-buttons {
    display: flex !important;
    bottom: 72px;
    right: 16px;
  }
  
  .floating-btn {
    width: 48px;
    height: 48px;
  }
  
  .floating-btn i {
    font-size: 18px;
  }
}

.newPostComposer {
  position: fixed;
  bottom: 72px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  cursor: pointer;
}

.newPostComposer svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.vaiFloatingButton {
  position: fixed;
  bottom: 136px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #6366f1);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  text-decoration: none;
}

.vaiFloatingButton svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
}

/* ============================================
   MOBILE DRAWER
   ============================================ */
.mobile-resp-menu-left-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: var(--bg-base);
  border-right: 1px solid var(--border);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-resp-menu-left-sidebar.open {
  transform: translateX(0);
}

.mobile-resp-menu-left-sidebar article {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-resp-menu-left-sidebar article a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.mobile-resp-menu-left-sidebar article h3 {
  margin: 0;
}

.mobile-resp-menu-left-sidebar article h3 b {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.mobile-resp-menu-left-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-resp-menu-left-sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.mobile-resp-menu-left-sidebar ul li a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ============================================
   PROFILE PAGE
   ============================================ */
.getprofile-user-coverCard {
  height: 200px;
  background: var(--bg-2);
}

.getprofile-user-coverCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-pic {
  margin-top: -67px;
  margin-left: 16px;
  margin-bottom: 12px;
}

.user-avatar-pic img {
  width: 134px;
  height: 134px;
  border-radius: 50%;
  border: 4px solid var(--bg-base);
  object-fit: cover;
}

@media (max-width: 499px) {
  .getprofile-user-coverCard {
    height: 125px;
  }
  
  .user-avatar-pic {
    margin-top: -42px;
  }
  
  .user-avatar-pic img {
    width: 84px;
    height: 84px;
  }
}

/* ============================================
   MISC
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 36px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-base);
}

.userVerifiedBlue {
  fill: var(--accent);
  width: 18px;
  height: 18px;
}

.userVerifiedEstablishment {
  fill: #ffd700;
  width: 18px;
  height: 18px;
}

.menu-content-user-selection a {
  display: flex;
  align-items: center;
  padding: 16px;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.menu-content-user-selection a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.menu-content-user-selection h5 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  margin: 0;
}

.dropdown-menu,
.moreModulesContent {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.dropdown-item,
.moreModulesContent a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.dropdown-item:hover,
.moreModulesContent a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.donateForUserContainer,
.donateCardingUserInfo {
  display: none !important;
}

.mobile-responsive-margin-bottom-design {
  height: 56px;
}

@media (min-width: 500px) {
  .mobile-responsive-margin-bottom-design {
    display: none;
  }
}

img,
video {
  max-width: 100%;
}

.repost-post-quateContent {
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 12px;
  overflow: hidden;
}

.repostContentTimeline {
  padding: 12px;
}

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

.repostUserInfo img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 17px;
  color: var(--text-primary);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

/* ============================================
   HIDE UGLY COLORED BADGE LABELS 
   (Homepage, Discover, Notifications, etc. pills)
   ============================================ */
.main-sidebar-menu > a > span.badge,
.main-sidebar-menu > a > span[style*="background"],
.main-sidebar-menu > a > span[class*="badge"],
.main-sidebar-menu .nav-badge,
.main-sidebar-menu a span:not(.nav-text):not(#check-notifs):not(#check-message) {
  display: none !important;
}

/* Keep nav-text visible on desktop */
@media (min-width: 1100px) {
  .main-sidebar-menu > a > .nav-text {
    display: inline !important;
  }
}

/* ============================================
   GIF DROPDOWN - HIDDEN BY DEFAULT
   ============================================ */
.gif-dropdown,
#gifDropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  margin-top: 8px;
}

.searchGifCard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-2);
  z-index: 1;
}

.searchGifCard input {
  flex: 1;
  background: var(--bg-3);
  border: none;
  border-radius: 9999px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 15px;
}

.searchGifCard #closeGifDropdown {
  cursor: pointer;
  color: var(--text-secondary);
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}

.searchGifCard #closeGifDropdown:hover {
  background: rgba(255, 255, 255, 0.1);
}

.gif-container,
#gifContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 4px;
  padding: 8px;
}

.gif-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gif-item:hover {
  transform: scale(1.05);
}

.loadMoreGifContent {
  padding: 12px;
  text-align: center;
  color: var(--accent);
  cursor: pointer;
}

/* ============================================
   POST COMPOSER FORM - CLEAN STYLING
   ============================================ */
#vibble-new-post {
  position: relative;
}

/* The text input area - should be transparent */
#postAreaContainer,
.rlt-check-and-post {
  flex: 1;
  min-height: 50px;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 20px;
  color: var(--text-primary);
  padding: 0;
  padding-bottom: 24px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Remove any gray from contenteditable when empty */
#postAreaContainer:empty,
.rlt-check-and-post:empty,
[contenteditable="true"]:empty {
  background: transparent !important;
  background-color: transparent !important;
}

#postAreaContainer:empty::before {
  content: attr(data-placeholder);
  color: var(--text-secondary);
}

/* Placeholder text styling */
.share-to-post-homepage .placeholder,
#vibble-new-post .placeholder {
  color: var(--text-secondary);
  font-size: 20px;
  pointer-events: none;
  position: absolute;
  left: 64px;
  top: 12px;
  background: transparent !important;
}

.userInfoAndPostsCard {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
}

.userInfoAndPostsCard > a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.formGetSelectionsConrol {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.mediaShareContent {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mediaShareContent span {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--accent);
}

.mediaShareContent span:hover {
  background: rgba(29, 155, 240, 0.1);
}

.mediaShareContent span i {
  font-size: 18px;
}

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

.circle {
  display: none;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.circle .text {
  position: absolute;
  font-size: 10px;
  color: var(--text-secondary);
}

.circleVibbleSvg {
  transform: rotate(-90deg);
}

.background-circle {
  fill: none;
  stroke: var(--border);
  stroke-width: 2;
}

.progress-circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}

.share-ew-post {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.share-ew-post:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.share-ew-post:not(:disabled):hover {
  background: var(--accent-hover);
}

/* Hide placeholder when there's content */
.placeholder {
  display: none;
  color: var(--text-secondary);
  font-size: 20px;
  pointer-events: none;
  position: absolute;
  left: 64px;
  top: 12px;
}

/* Image/Video previews */
#imagePreviews,
#videoPreviews {
  margin-top: 12px;
}

#imagePreviews img {
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
}

#viewPreviewGifSelect {
  max-width: 100%;
  border-radius: 16px;
  margin-top: 12px;
}

#cancelContentGif,
#cancelContentVideo {
  display: none;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
}

/* Hide donate and survey containers by default */
.donateForUserContainer,
.quateCardingUserInfo,
.donateCardingUserInfo {
  display: none !important;
}

/* Emoji picker */
#emoji-picker {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  padding: 8px;
}

.emoji {
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}

.emoji:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Reply privacy selector - hidden */
.PreviewReplyContent {
  display: none !important;
}

/* Alert for temporary ban */
.alert-temporary-ban {
  padding: 16px;
  background: rgba(249, 24, 128, 0.1);
  border: 1px solid #f91880;
  border-radius: 12px;
  margin: 12px 16px;
  color: var(--text-primary);
}

.alert-temporary-ban h3 {
  margin: 0 0 8px;
  color: #f91880;
  font-size: 16px;
}

