/* =============== HEADER STYLES =============== */
.main-header {
  background: #111827; /* Deep navy */
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-title::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #E94560;
  border-radius: 50%;
  margin-left: 5px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons and Links */
.nav-btn,
.nav-link {
  background: #E94560;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-link {
  background: transparent;
  border: 1px solid #E94560;
}

.nav-btn:hover,
.nav-link:hover {
  background: #ff5b77;
  color: #fff;
  transform: scale(1.03);
}

.logout {
  background: #374151;
}

.logout:hover {
  background: #4b5563;
}

/* =============== MOBILE RESPONSIVE =============== */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .site-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .header-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .nav-btn,
  .nav-link {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.95rem;
  }
}
.creator-suggest {
  margin-bottom: 12px;
}

.creator-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1f2937;
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.creator-link:hover {
  background: #374151;
  transform: translateY(-2px);
}

.creator-link img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4b5563;
}

.creator-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.creator-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.creator-action {
  font-size: 0.8rem;
  color: #9ca3af;
}
.creator-link:hover .creator-action {
  color: #60a5fa;
}

@media (max-width: 480px) {
  .main-header {
    padding: 8px 12px;
  }

  .site-title {
    font-size: 1.1rem;
  }

  .nav-btn,
  .nav-link {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
} /* =============== LAYOUT FIX FOR FIXED SIDEBARS =============== */

/* Main feed container */
.feed-content {
  max-width: 900px;             /* width of your feed area */
  margin: 80px auto;            /* top margin to avoid header overlap */
  padding: 20px;
  min-height: 100vh;
}

/* On large screens: keep feed centered between fixed sidebars */
@media (min-width: 1200px) {
  .feed-content {
    margin-left: 270px;         /* same or slightly more than sidebar width */
    margin-right: 270px;
  }
}

/* On smaller desktops, shrink the margins slightly */
@media (min-width: 992px) and (max-width: 1199px) {
  .feed-content {
    margin-left: 250px;
    margin-right: 250px;
  }
}

/* On tablets and below, sidebars will slide in/out instead */
@media (max-width: 768px) {
  .feed-content {
    margin: 80px 10px; /* no side margins, full width */
  }
}
