/**
 * IBN — IMPERIAL BUSINESS NETWORK
 * LINKEDIN-INSPIRED BUSINESS FEED STYLESHEET
 * 
 * Brand Identity:
 * - Primary Navy: #0f172a / #1e293b / #0a192f
 * - Accent Gold: #e5b842 / #d4a017 / #fef08a
 * - Interactive Soft Blue: #0284c7 / #2563eb / #38bdf8
 * - Background: #f1f5f9 / #f4f6f8
 * - White Cards: #ffffff with subtle borders #e2e8f0 and soft elevation
 */

/* ==========================================================================
   CLASSIC IMPERIAL NAVIGATION BAR (TOP BAR)
   ========================================================================== */
.portal-header {
  background: #0b1329 !important;
  border-bottom: 1px solid #1a2744 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 950 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.portal-header-inner {
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.portal-brand-block {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  padding: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.portal-brand-crown {
  width: 26px !important;
  height: 22px !important;
}

.portal-brand-title-wrap {
  display: flex !important;
  flex-direction: column !important;
}

.portal-brand-name {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.portal-brand-subtitle {
  font-size: 7.5px !important;
  font-weight: 700 !important;
  color: #e5b842 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
}

/* Header Search Capsule */
.header-search-bar-wrap {
  margin-left: 14px !important;
  width: 240px !important;
  min-width: 200px !important;
  max-width: 260px !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.header-search-bar-wrap input {
  width: 100% !important;
  background: #17233f !important;
  border: 1px solid #293859 !important;
  border-radius: 24px !important;
  padding: 7px 16px 7px 34px !important;
  font-size: 12.5px !important;
  color: #f1f5f9 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.header-search-bar-wrap input::placeholder {
  color: #94a3b8 !important;
}

.header-search-bar-wrap input:focus {
  background: #1d2b4d !important;
  border-color: #e5b842 !important;
  box-shadow: 0 0 0 3px rgba(229, 184, 66, 0.18) !important;
}

.header-search-bar-wrap i {
  position: absolute !important;
  left: 13px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
}

/* Primary Navigation Links (Vertical Stacked) */
.portal-nav {
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  margin-left: 14px !important;
  height: 64px !important;
  flex-shrink: 0 !important;
}

.portal-nav-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 11px !important;
  height: 64px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  position: relative !important;
  background: transparent !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.portal-nav-link span {
  white-space: nowrap !important;
  word-break: keep-all !important;
  line-height: 1.2 !important;
  display: inline-block !important;
  text-align: center !important;
}

.portal-nav-link i {
  font-size: 16px !important;
  margin-bottom: 4px !important;
  transition: transform 0.15s ease !important;
}

.portal-nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.portal-nav-link:hover i {
  transform: translateY(-1px) !important;
}

.portal-nav-link.active {
  color: #e5b842 !important;
  background: transparent !important;
  font-weight: 700 !important;
}

.portal-nav-link.active i {
  color: #e5b842 !important;
}

.portal-nav-link.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 8px !important;
  right: 8px !important;
  height: 3px !important;
  background: #e5b842 !important;
  border-radius: 3px 3px 0 0 !important;
}

/* Right Header Controls */
.portal-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-shrink: 0 !important;
}

.header-icon-action {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.header-icon-action:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.header-badge {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  min-width: 17px !important;
  height: 17px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #0b1329 !important;
}

.user-profile-menu {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 8px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  position: relative !important;
  transition: background 0.15s ease !important;
}

.user-profile-menu:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.user-nav-avatar-img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #e5b842 !important;
}

.user-nav-name {
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

.user-nav-chevron {
  color: #94a3b8 !important;
  font-size: 11px !important;
}

/* ==========================================================================
   FEED LAYOUT CONTAINER & GRID
   ========================================================================== */
.ibn-feed-page-wrapper {
  background-color: #f1f5f9;
  min-height: calc(100vh - 64px);
  padding: 24px 16px 48px;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  color: #191919;
}

.ibn-feed-container {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(540px, 620px) 300px;
  gap: 24px;
  align-items: start;
}

/* ==========================================================================
   LEFT COLUMN: MEMBER PROFILE & NAVIGATION CARD
   ========================================================================== */
.feed-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.feed-profile-summary-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feed-profile-banner {
  height: 64px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  position: relative;
}

.feed-profile-banner-crown {
  position: absolute;
  top: 10px;
  right: 12px;
  color: #e5b842;
  font-size: 14px;
  opacity: 0.8;
}

.feed-profile-avatar-wrap {
  margin: -36px 0 0 16px;
  position: relative;
  display: inline-block;
}

.feed-profile-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  background-color: #f8fafc;
}

.feed-profile-info-block {
  padding: 10px 16px 14px;
}

.feed-profile-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
  line-height: 1.3;
}

.feed-profile-title {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

.feed-profile-company {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin: 2px 0 4px;
}

.feed-profile-location {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}

.feed-profile-location i {
  color: #e5b842;
  font-size: 11px;
}

/* Profile Completion Meter */
.feed-profile-completion-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.feed-completion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  margin-bottom: 6px;
}

.feed-completion-percent {
  font-weight: 700;
  color: #059669;
}

.feed-edit-profile-link {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
  font-size: 11.5px;
}

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

.feed-completion-progress-track {
  width: 100%;
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.feed-completion-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 99px;
}

/* Quick Nav Links List */
.feed-left-nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
}

.feed-left-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.feed-left-nav-item:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.feed-left-nav-item.active {
  background-color: #eff6ff;
  color: #0284c7;
  font-weight: 700;
  border-left: 3px solid #0284c7;
}

.feed-left-nav-icon-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-left-nav-icon-group i {
  width: 16px;
  color: #64748b;
  font-size: 14px;
}

.feed-left-nav-item.active .feed-left-nav-icon-group i {
  color: #0284c7;
}

.feed-nav-counter-pill {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
}

/* My Chapters Section */
.feed-my-chapters-box {
  padding: 12px 16px;
  border-top: 1px solid #f1f5f9;
}

.feed-my-chapters-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.feed-chapter-pill-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.feed-chapter-pill-link:hover {
  color: #0284c7;
}

.feed-chapter-badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f172a;
  color: #e5b842;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.feed-chapters-view-all {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}

.feed-chapters-view-all:hover {
  text-decoration: underline;
}

/* ==========================================================================
   CENTER COLUMN: COMPOSER, FILTERS & POST CARDS
   ========================================================================== */
.feed-center-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 1. COMPOSER CARD */
.feed-composer-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 14px 16px 10px;
}

.feed-composer-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feed-composer-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.feed-composer-input-trigger {
  flex: 1;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 28px;
  padding: 11px 18px;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #5e5e5e !important;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  outline: none;
}

.feed-composer-input-trigger:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #191919 !important;
}

.feed-composer-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.feed-composer-action-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #5e5e5e !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.feed-composer-action-btn:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #191919 !important;
}

.feed-composer-action-btn i {
  font-size: 15px;
}

/* 2. CATEGORY FILTERS ROW */
.feed-filter-tabs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feed-filter-pills-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.feed-filter-pill {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.feed-filter-pill:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.feed-filter-pill.active {
  background-color: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.feed-sort-dropdown-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.feed-sort-select {
  background: transparent;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  outline: none;
}

/* 3. POST CARD */
.feed-post-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.feed-post-card:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
}

.feed-post-header {
  padding: 14px 16px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.feed-post-author-block {
  display: flex;
  gap: 12px;
  align-items: center;
}

.feed-author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.feed-author-meta {
  display: flex;
  flex-direction: column;
}

.feed-author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-author-name {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #191919 !important;
  line-height: 1.33 !important;
  letter-spacing: -0.01em !important;
  cursor: pointer;
}

.feed-author-name:hover {
  color: #0a66c2 !important;
  text-decoration: underline;
}

.feed-degree-badge {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  color: #666666 !important;
  font-weight: 400 !important;
}

.feed-author-headline {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  color: #5e5e5e !important;
  line-height: 1.33 !important;
  font-weight: 400 !important;
  margin-top: 1px !important;
}

.feed-author-subtext {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 11.5px !important;
  color: #8c8c8c !important;
  line-height: 1.33 !important;
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px !important;
}

/* Post Badges & Actions */
.feed-post-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-post-type-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-ask {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.badge-event {
  background-color: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.badge-sponsored {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-testimonial {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.feed-post-menu-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.feed-post-menu-btn:hover {
  background-color: #f1f5f9;
  color: #1e293b;
}

/* Post Content Text */
.feed-post-body {
  padding: 0 16px 12px;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: -0.005em !important;
  color: #191919 !important;
  white-space: pre-line;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.feed-hashtag {
  color: #0a66c2 !important;
  font-weight: 600 !important;
  cursor: pointer;
  text-decoration: none;
}

.feed-hashtag:hover {
  text-decoration: underline;
}

/* Embedded Media Containers */
.feed-post-media-container {
  width: 100%;
  background-color: transparent;
  position: relative;
  overflow: visible;
  border-radius: 10px;
  margin: 10px 0;
}

/* YouTube Player Embed Card */
.feed-youtube-player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.feed-youtube-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.feed-embed-footer-bar {
  background: #ffffff;
  padding: 10px 16px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.feed-embed-footer-left {
  display: flex;
  flex-direction: column;
}

.feed-embed-footer-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.feed-embed-footer-sub {
  font-size: 11px;
  color: #64748b;
}

.feed-embed-open-link {
  font-size: 12px;
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

/* Shared Social Embed Header Bar */
.feed-embed-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 10px;
  background: transparent;
}

.feed-embed-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.feed-embed-open-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.feed-embed-open-link:hover {
  color: #0284c7;
  text-decoration: underline;
}

/* LinkedIn Official Embed Container */
.feed-linkedin-embed-box {
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 10px 12px 14px;
  box-sizing: border-box;
  overflow: visible;
}

.feed-linkedin-iframe-wrap {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: visible;
}

.feed-linkedin-iframe {
  width: 100%;
  max-width: 540px;
  min-height: 570px;
  height: 570px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  display: block;
  margin: 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* LinkedIn Honest Fallback Card (Private, Deleted, or Non-embeddable Profile / Company Link) */
.feed-linkedin-fallback-card {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  box-sizing: border-box;
}

.feed-fallback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.feed-fallback-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-fallback-status-pill {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feed-fallback-text {
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  margin: 0 0 12px;
}

.feed-fallback-url-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 14px;
  word-break: break-all;
}

.feed-fallback-url-text {
  font-size: 12px;
  color: #0a66c2;
  font-family: monospace;
}

.feed-fallback-footer {
  display: flex;
  justify-content: flex-end;
}

.feed-fallback-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a66c2;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.feed-fallback-action-btn:hover {
  background: #004182;
  text-decoration: none;
}

/* Instagram Official Embed Box & Responsive Iframe */
.feed-instagram-embed-box {
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 10px 12px 14px;
  box-sizing: border-box;
  overflow: visible;
}

.feed-instagram-iframe-wrap {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: visible;
}

.feed-instagram-iframe {
  width: 100%;
  max-width: 540px;
  min-height: 720px;
  height: 820px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  display: block;
  margin: 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Direct Uploaded Photo & Banner */
.feed-image-media-full {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Engagement Stats Bar */
.feed-engagement-stats-bar {
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  color: #666666 !important;
  border-bottom: 1px solid #f1f5f9;
}

.feed-reaction-icons-cluster {
  display: flex;
  align-items: center;
  gap: 5px;
}

.feed-reaction-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  color: #ffffff;
}

.bubble-like { background-color: #0284c7; }
.bubble-heart { background-color: #ef4444; }
.bubble-celebrate { background-color: #10b981; }

.feed-reaction-count-text {
  font-weight: 400 !important;
  color: #666666 !important;
  font-size: 12px !important;
  margin-left: 3px;
}

.feed-comments-shares-count {
  display: flex;
  gap: 8px;
  font-size: 12px !important;
  color: #666666 !important;
  font-weight: 400 !important;
}

.feed-comments-shares-count span {
  font-size: 12px !important;
  color: #666666 !important;
}

/* Action Buttons Row */
.feed-action-buttons-row {
  padding: 4px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.feed-action-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 10px 8px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px !important;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #5e5e5e !important;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.feed-action-btn:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #191919 !important;
}

.feed-action-btn.active-liked {
  color: #0a66c2 !important;
  font-weight: 700 !important;
}

/* "I Can Help" Primary Action Button for Asks */
.feed-btn-can-help {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.25);
}

.feed-btn-can-help:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
  transform: translateY(-1px);
}

/* Event Register Button */
.feed-btn-event-register {
  background: #0f172a !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.feed-btn-event-register.registered {
  background: #059669 !important;
}

/* Reaction Hover Picker */
.feed-reaction-picker-tooltip {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 6px;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 4px 8px;
  display: none;
  gap: 6px;
  z-index: 50;
  border: 1px solid #e2e8f0;
}

.feed-action-btn:hover .feed-reaction-picker-tooltip {
  display: flex;
}

.feed-reaction-picker-item {
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.15s ease;
  padding: 2px 4px;
}

.feed-reaction-picker-item:hover {
  transform: scale(1.35);
}

/* Comments Drawer */
.feed-comments-drawer {
  padding: 12px 16px 16px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: none;
}

.feed-comments-drawer.open {
  display: block;
}

.feed-comment-input-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.feed-comment-input-field {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}

.feed-comment-input-field:focus {
  border-color: #0284c7;
}

.feed-comment-submit-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

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

.feed-comment-item {
  display: flex;
  gap: 10px;
}

.feed-comment-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  flex: 1;
}

.feed-comment-author-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.feed-comment-text {
  font-size: 12.5px;
  color: #334155;
  margin-top: 2px;
}

/* ==========================================================================
   RIGHT COLUMN: TRENDING, SUGGESTED, EVENTS, SPONSORED
   ========================================================================== */
.feed-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 88px;
}

.feed-sidebar-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 16px;
}

.feed-sidebar-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.feed-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-sidebar-link-btn {
  font-size: 11.5px;
  color: #b45309;
  font-weight: 700;
  text-decoration: none;
}

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

/* Trending List */
.feed-trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-trending-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.feed-trending-tag {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.feed-trending-tag:hover {
  color: #0284c7;
}

.feed-trending-meta {
  font-size: 11px;
  color: #64748b;
}

/* Suggested Members */
.feed-suggested-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.feed-suggested-user-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

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

.feed-suggested-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-suggested-title {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-btn-connect-pill {
  background: transparent;
  border: 1px solid #d97706;
  color: #b45309;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.feed-btn-connect-pill:hover {
  background-color: #fffbeb;
  border-color: #b45309;
}

.feed-btn-connect-pill.connected {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

/* Upcoming Events List */
.feed-events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-event-item-block {
  display: flex;
  gap: 10px;
  cursor: pointer;
}

.feed-event-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.feed-event-details-box {
  display: flex;
  flex-direction: column;
}

.feed-event-title-link {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.feed-event-title-link:hover {
  color: #0284c7;
}

.feed-event-date-text {
  font-size: 11px;
  color: #64748b;
}

/* Sponsored Promotion Card */
.feed-sponsored-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.feed-sponsored-header {
  padding: 12px 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feed-sponsored-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

.feed-sponsored-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
}

.feed-sponsored-company-row {
  padding: 0 16px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feed-sponsored-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  color: #e5b842;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.feed-sponsored-company-meta {
  display: flex;
  flex-direction: column;
}

.feed-sponsored-company-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.feed-sponsored-company-desc {
  font-size: 10.5px;
  color: #64748b;
  margin: 0;
}

.feed-sponsored-banner-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.feed-sponsored-cta-bar {
  padding: 12px 16px;
  display: flex;
  justify-content: center;
}

.feed-btn-sponsored-cta {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  text-align: center;
  transition: background-color 0.15s ease;
}

.feed-btn-sponsored-cta:hover {
  background: #1e293b;
}

/* Sidebar Footer Links */
.feed-sidebar-footer {
  padding: 0 8px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.6;
}

.feed-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.feed-footer-link {
  color: #64748b;
  text-decoration: none;
}

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

/* ==========================================================================
   MODALS: COMPOSER, I CAN HELP, CAMPAIGN CREATOR
   ========================================================================== */
.feed-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.feed-modal-backdrop.open {
  display: flex;
}

.feed-modal-content {
  background: #ffffff;
  border-radius: 14px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.feed-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feed-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.feed-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
}

.feed-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-modal-footer {
  padding: 14px 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafc;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* Form Styles */
.feed-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}

.feed-form-input,
.feed-form-select,
.feed-form-textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
}

.feed-form-input:focus,
.feed-form-select:focus,
.feed-form-textarea:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.feed-form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Type Selector Buttons in Composer */
.feed-type-selector-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.feed-type-pill {
  padding: 5px 12px;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
}

.feed-type-pill.selected {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Media Attachment Upload Box */
.feed-media-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.15s ease;
}

.feed-media-dropzone:hover {
  background: #f1f5f9;
  border-color: #0284c7;
}

.feed-attached-preview-wrap {
  position: relative;
  display: inline-block;
  margin-top: 8px;
}

.feed-attached-preview-img {
  max-height: 180px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.feed-remove-attachment-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 11px;
  cursor: pointer;
}

/* Primary Modal Buttons */
.feed-btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.feed-btn-primary:hover {
  background: #1e293b;
}

.feed-btn-secondary {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.feed-btn-secondary:hover {
  background: #f1f5f9;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE RULES (SECTION 2)
   ========================================================================== */
@media (max-width: 1080px) {
  .ibn-feed-container {
    grid-template-columns: 240px 1fr;
  }
  .feed-right-col {
    display: none;
  }
}

@media (max-width: 768px) {
  .ibn-feed-page-wrapper {
    padding: 12px 8px 36px;
  }
  .ibn-feed-container {
    grid-template-columns: 1fr;
  }
  .feed-left-col {
    position: static;
  }
  .feed-composer-actions-row {
    justify-content: flex-start;
    gap: 8px;
  }
  .feed-composer-action-btn span {
    display: none;
  }
}


/* ==========================================================================
   CLASSIC EXECUTIVE MESSAGES & CHAT SUITE STYLING (BETTER THAN LINKEDIN)
   ========================================================================== */
.messages-box-container {
  max-width: 1200px !important;
  margin: 18px auto 40px !important;
  padding: 0 16px !important;
}

.messages-top-bar {
  display: flex !important;
  justify-content: flex-end !important;
  margin-bottom: 14px !important;
}

.btn-new-msg-gold {
  background: linear-gradient(135deg, #e5b842 0%, #caa035 100%) !important;
  color: #0b1329 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 9px 20px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(229, 184, 66, 0.28) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn-new-msg-gold:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(229, 184, 66, 0.4) !important;
  filter: brightness(1.05) !important;
}

.messages-split-grid {
  display: grid !important;
  grid-template-columns: 340px 1fr !important;
  height: 680px !important;
  max-height: calc(100vh - 180px) !important;
  min-height: 500px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 24px rgba(11, 19, 41, 0.06) !important;
}

.conversations-sidebar-panel {
  border-right: 1px solid #e2e8f0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fcfdfe !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
  overflow: hidden !important;
}

.conv-search-box-wrap {
  padding: 14px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  position: relative !important;
  background: #ffffff !important;
}

.conv-search-input {
  width: 100% !important;
  padding: 9px 12px 9px 36px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  background: #f8fafc !important;
  color: #0f172a !important;
}

.conv-search-input:focus {
  border-color: #e5b842 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(229, 184, 66, 0.15) !important;
}

.conv-search-icon {
  position: absolute !important;
  left: 28px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
}

.conversations-scroll-list {
  flex: 1 !important;
  overflow-y: auto !important;
}

.conv-member-avatar,
.conv-avatar-img {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

.conv-card-item,
.conv-row-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 13px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  background: #ffffff !important;
  position: relative !important;
}

.conv-card-item:hover,
.conv-row-item:hover {
  background: #f8fafc !important;
}

.conv-card-item.active,
.conv-row-item.active {
  background: #f0f7ff !important;
  border-left: 3.5px solid #e5b842 !important;
}

.conv-card-info,
.conv-meta-center {
  flex: 1 !important;
  min-width: 0 !important;
}

.conv-card-top-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 3px !important;
}

.conv-card-name,
.conv-contact-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0b1329 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.conv-card-time,
.conv-time-label {
  font-size: 11px !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
  font-weight: 500 !important;
}

.conv-card-snippet-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
}

.conv-card-snippet,
.conv-last-msg-snippet {
  font-size: 12.5px !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 !important;
}

.conv-unread-pill,
.conv-unread-gold-badge {
  background: #e5b842 !important;
  color: #0b1329 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 1px 7px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

/* Right Chat Area */
.active-chat-thread-panel {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  position: relative !important;
}

.chat-header-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 22px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
}

.chat-contact-profile-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.chat-contact-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
}

.chat-contact-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0b1329 !important;
  display: block !important;
}

.chat-contact-status-line {
  font-size: 12px !important;
  color: #10b981 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 2px !important;
}

.chat-header-actions-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn-chat-header-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #475569 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-chat-header-icon:hover {
  background: #f8fafc !important;
  color: #0b1329 !important;
  border-color: #cbd5e1 !important;
}

.chat-messages-scroll-area {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 20px 22px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  background: #f8fafc !important;
}

.chat-bubble-row {
  display: flex !important;
  flex-direction: column !important;
  max-width: 68% !important;
}

.chat-bubble-row.msg-incoming,
.chat-bubble-row.received {
  align-self: flex-start !important;
}

.chat-bubble-row.msg-outgoing,
.chat-bubble-row.sent {
  align-self: flex-end !important;
}

.chat-bubble-row.msg-incoming .chat-bubble-box,
.bubble-received-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px 16px 16px 4px !important;
  padding: 12px 18px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
}

.chat-bubble-row.msg-outgoing .chat-bubble-box,
.bubble-sent-box {
  background: #0b1329 !important;
  border: 1px solid #1a2744 !important;
  border-radius: 16px 16px 4px 16px !important;
  padding: 12px 18px !important;
  box-shadow: 0 4px 12px rgba(11, 19, 41, 0.16) !important;
}

.chat-bubble-row.msg-incoming .chat-bubble-text {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #1e293b !important;
}

.chat-bubble-row.msg-outgoing .chat-bubble-text {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
}

.chat-bubble-row.msg-incoming .chat-bubble-time,
.bubble-received-box .bubble-time-text {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  margin-top: 5px !important;
  display: block !important;
  text-align: right !important;
}

.chat-bubble-row.msg-outgoing .chat-bubble-time,
.bubble-sent-box .bubble-time-text {
  font-size: 10.5px !important;
  color: #e5b842 !important;
  margin-top: 5px !important;
  display: block !important;
  text-align: right !important;
}

.chat-composer-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 22px !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
  margin-top: auto !important;
  position: relative !important;
  z-index: 10 !important;
}

.btn-composer-attach {
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  font-size: 17px !important;
  cursor: pointer !important;
  padding: 6px !important;
  transition: color 0.15s ease !important;
}

.btn-composer-attach:hover {
  color: #0b1329 !important;
}

.composer-input-field {
  flex: 1 !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 24px !important;
  padding: 11px 20px !important;
  font-size: 14px !important;
  outline: none !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
}

.composer-input-field:focus {
  border-color: #e5b842 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(229, 184, 66, 0.15) !important;
}

.btn-composer-send-gold {
  background: linear-gradient(135deg, #e5b842 0%, #d4a02c 100%) !important;
  color: #0b1329 !important;
  border: none !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 15px !important;
  box-shadow: 0 2px 8px rgba(229, 184, 66, 0.3) !important;
  transition: all 0.18s ease !important;
  flex-shrink: 0 !important;
}

.btn-composer-send-gold:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 14px rgba(229, 184, 66, 0.45) !important;
}


/* ==========================================================================
   CLASSIC EXECUTIVE ASKS & REFERRALS FEED STYLING (BETTER THAN LINKEDIN)
   ========================================================================== */
.ask-referrals-wrapper {
  max-width: 980px !important;
  margin: 20px auto 48px !important;
  padding: 0 16px !important;
}

.ask-header-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 24px !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.ask-tabs-list {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  padding: 6px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03) !important;
}

.ask-tab-btn {
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}

.ask-tab-btn:hover {
  color: #0b1329 !important;
  background: #f8fafc !important;
}

.ask-tab-btn.active {
  color: #0b1329 !important;
  background: #f1f5f9 !important;
  font-weight: 700 !important;
}

.btn-post-ask-gold {
  background: linear-gradient(135deg, #e5b842 0%, #caa035 100%) !important;
  color: #0b1329 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(229, 184, 66, 0.28) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn-post-ask-gold:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(229, 184, 66, 0.4) !important;
  filter: brightness(1.05) !important;
}

.asks-feed-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.ask-card-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 22px 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  box-shadow: 0 2px 10px rgba(11, 19, 41, 0.04) !important;
  transition: all 0.2s ease !important;
}

.ask-card-item:hover {
  border-color: rgba(229, 184, 66, 0.45) !important;
  box-shadow: 0 8px 24px rgba(11, 19, 41, 0.08) !important;
  transform: translateY(-2px) !important;
}

.ask-card-left,
.ask-author-col {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 220px !important;
  max-width: 260px !important;
}

.ask-card-left img,
.ask-author-col img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
}

.ask-member-name,
.ask-author-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0b1329 !important;
  cursor: pointer !important;
  margin: 0 !important;
  transition: color 0.15s ease !important;
}

.ask-member-name:hover,
.ask-author-name:hover {
  color: #caa035 !important;
}

.ask-member-chapter,
.ask-author-chapter {
  font-size: 12.5px !important;
  color: #64748b !important;
  margin-top: 3px !important;
  font-weight: 500 !important;
}

.ask-card-center,
.ask-content-center {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.ask-body-text {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.ask-tag-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  width: fit-content !important;
}

.ask-tag-pill.ask-conn {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.ask-tag-pill.ask-client {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}

.ask-tag-pill.ask-supp {
  background: #fefce8 !important;
  color: #a16207 !important;
  border: 1px solid #fef08a !important;
}

.ask-tag-pill.ask-part {
  background: #faf5ff !important;
  color: #7e22ce !important;
  border: 1px solid #e9d5ff !important;
}

.ask-card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.btn-can-help-navy,
.btn-can-help-gold {
  background: linear-gradient(135deg, #e5b842 0%, #caa035 100%) !important;
  color: #0b1329 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 9px 18px !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(229, 184, 66, 0.25) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-can-help-navy:hover,
.btn-can-help-gold:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(229, 184, 66, 0.38) !important;
  filter: brightness(1.05) !important;
}

.btn-ask-msg-circle {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0b1329 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-ask-msg-circle:hover {
  background: #f8fafc !important;
  border-color: #0b1329 !important;
  color: #0b1329 !important;
}


/* ==========================================================================
   PUBLIC MEMBER PROFILE VIEW (PAGE 4) LUXURY ELEVATION
   ========================================================================== */
#view-member-profile {
  max-width: 1140px !important;
  margin: 20px auto 48px !important;
  padding: 0 16px !important;
}

.profile-breadcrumb-bar {
  margin-bottom: 20px !important;
}

.btn-back-results {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.15s ease !important;
}

.btn-back-results:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0b1329 !important;
}

.profile-layout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 860px) {
  .profile-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.profile-sidebar-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 26px 22px !important;
  text-align: center !important;
  box-shadow: 0 4px 16px rgba(11, 19, 41, 0.04) !important;
}

.profile-large-avatar {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  margin: 0 auto 16px !important;
  border: 3px solid #e5b842 !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(229, 184, 66, 0.2) !important;
}

.profile-full-name {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0b1329 !important;
  margin: 0 0 4px !important;
}

.profile-job-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0284c7 !important;
  margin-bottom: 2px !important;
}

.profile-company-name {
  font-size: 13.5px !important;
  color: #64748b !important;
  margin-bottom: 14px !important;
}

.profile-badges-row {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-bottom: 20px !important;
}

.profile-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
}

.badge-ibn-member {
  background: #0b1329 !important;
  color: #ffffff !important;
}

.badge-tenure {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.badge-msp {
  background: #e5b842 !important;
  color: #0b1329 !important;
}

.profile-actions-vertical {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

.btn-profile-connect {
  background: #0b1329 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 10px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.btn-profile-connect:hover {
  background: #1a2744 !important;
}

.btn-profile-message {
  background: #ffffff !important;
  color: #0b1329 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 9px !important;
  border-radius: 8px !important;
  border: 1.5px solid #0b1329 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.btn-profile-message:hover {
  background: #f8fafc !important;
}

.profile-meta-list {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  text-align: left !important;
}

.meta-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13px !important;
  color: #334155 !important;
}

.meta-icon {
  color: #e5b842 !important;
  width: 16px !important;
  text-align: center !important;
}

.profile-main-area {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.profile-tabs-header {
  display: flex !important;
  gap: 8px !important;
  background: #ffffff !important;
  padding: 6px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  overflow-x: auto !important;
}

.profile-tab-item {
  padding: 8px 16px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}

.profile-tab-item:hover {
  color: #0b1329 !important;
  background: #f8fafc !important;
}

.profile-tab-item.active {
  color: #0b1329 !important;
  background: #f1f5f9 !important;
  font-weight: 700 !important;
}

.profile-tab-pane {
  display: none !important;
}

.profile-tab-pane.active {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.current-ask-card {
  background: linear-gradient(135deg, #0b1329 0%, #152244 100%) !important;
  border-radius: 14px !important;
  padding: 22px 26px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(11, 19, 41, 0.12) !important;
  border: 1px solid #1a2744 !important;
}

.ask-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.ask-card-icon {
  color: #e5b842 !important;
  font-size: 18px !important;
}

.ask-card-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #e5b842 !important;
  margin: 0 !important;
}

.ask-card-body {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #f1f5f9 !important;
  margin-bottom: 16px !important;
}

.btn-can-help-action {
  background: linear-gradient(135deg, #e5b842 0%, #caa035 100%) !important;
  color: #0b1329 !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 2px 8px rgba(229, 184, 66, 0.3) !important;
}

.btn-can-help-action:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.05) !important;
}

.profile-overview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px) {
  .profile-overview-split {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

.content-section-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 22px !important;
  box-shadow: 0 2px 8px rgba(11, 19, 41, 0.03) !important;
}

.section-card-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0b1329 !important;
  margin-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.contact-info-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.contact-info-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 13.5px !important;
  color: #334155 !important;
}

.contact-info-icon {
  color: #e5b842 !important;
  width: 16px !important;
  text-align: center !important;
}

.timeline-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding-left: 8px !important;
}

.timeline-item {
  display: flex !important;
  gap: 14px !important;
  position: relative !important;
}

.timeline-bullet {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #e5b842 !important;
  margin-top: 6px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 0 3px rgba(229, 184, 66, 0.2) !important;
}

.timeline-title {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0b1329 !important;
}

.timeline-sub {
  font-size: 13px !important;
  color: #64748b !important;
  margin-top: 2px !important;
}

.timeline-desc {
  font-size: 13.5px !important;
  color: #334155 !important;
  margin-top: 6px !important;
  line-height: 1.5 !important;
}

.recommendation-bubble {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 12px !important;
}

.recommendation-text {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #1e293b !important;
  font-style: italic !important;
  margin: 0 0 8px !important;
}

.recommendation-author {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #0b1329 !important;
  text-align: right !important;
}
