/* ==========================================================================
   GRAVITYVIEW MODULE — PANELS
   --------------------------------------------------------------------------
   File: forms-gravityview-panels.css

   Purpose:
   - Styles component-level UI blocks that appear inside GravityView
     single-entry templates.
   - Includes seller panels, category pill panels, and other structured
     information blocks that belong to specific listing types.
   - Provides layout, spacing, and visibility rules for panel-based content.

   Scope:
   - Applies ONLY to GravityView single-entry panels (Exithub Seller,
     Opportunities Category Pills, Jobs Apply Panel, FM Panels, etc.).
   - Does NOT style list-view cards (belongs in forms-gravityview-list.css).
   - Does NOT style shared single-entry layout (belongs in
     forms-gravityview-single-shared.css).
   - Does NOT style hero sections (belongs in forms-gravityview-hero.css).
   - Does NOT style modals (belongs in forms-gravityview-modals.css).

   Dependencies:
   - Loaded after all GravityView layout modules:
       forms-gravityview-list.css
       forms-gravityview-single-shared.css
       forms-gravityview-hero.css
       forms-gravityview-modals.css
   - Loaded before custom.css.

   Sections:
   18. Single Entry – Exithub Metrics Layout
   21. Single Entry – Exithub Seller Block
   22. Single Entry – Opportunities Category Pills
   ========================================================================== */

/* ==========================================================================
   18. Single Entry – Exithub Metrics Layout
   ========================================================================== */
/* Exithub metrics container */
.exithub-metrics {
  max-width: 900px;
  margin: 22px auto;
  padding: 18px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.02);
}

/* Metrics rows */
.exithub-metrics .fm-meta-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 6px 0;
  padding: 0;
  height: auto;
}

/* Label column */
.exithub-metrics .fm-meta-row strong {
  width: 14ch;
  min-width: 8ch;
  flex: 0 0 auto;
  text-align: right;
  color: #444;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Value column */
.exithub-metrics .fm-meta-value {
  flex: 1 1 auto;
  min-width: 140px;
  text-align: left;
  white-space: normal;
}

/* Currency alignment */
.exithub-currency-metric .fm-meta-value .metric-value,
.exithub-currency-metric .fm-meta-value .pill {
  display: inline-block;
  vertical-align: middle;
}

.exithub-currency-metric .fm-meta-value .metric-value {
  padding-left: 0.5rem;
}

/* Pills */
.pill {
  display: inline-block;
  background: #f1f5f9;
  color: #1f2937;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.industry-pill {
  background: #eef2ff;
  color: #1e3a8a;
}

.metric-value {
  font-weight: 700;
  color: #1e3a8a;
}

/* Responsive metrics */
@media (max-width: 767px) {
  .exithub-metrics .fm-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .exithub-metrics .fm-meta-row strong {
    width: auto;
    text-align: left;
    white-space: normal;
  }

  .exithub-metrics .fm-meta-value {
    min-width: 0;
  }
}


   
/* ==========================================================================
   21. Single Entry – Exithub Seller Block
   ========================================================================== */

.exithub-seller {
  max-width: 900px;
  margin: 20px auto;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.03);
}

.exithub-seller .seller-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.exithub-seller .seller-avatar {
  border-radius: 999px;
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}

.exithub-seller .seller-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exithub-seller .seller-name {
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.exithub-seller .seller-contact .btn {
  background: #0b84ff;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

@media (max-width:700px) {
  .exithub-seller .seller-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .exithub-seller .seller-avatar {
    width: 48px;
    height: 48px;
  }
}

.seller-avatar-placeholder {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e6eefc;
  color: #0b3f8a;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0;
}

/* ==========================================================================
   22. Single Entry – Opportunities Category Pills
   ========================================================================== */

/* Base pill */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: #f1f5f9;
  color: #0b66c3;
  font-size: 14px;
  font-weight: 600;
  margin: 0 6px 0 0;
  white-space: nowrap;
  line-height: 1.2;
  vertical-align: middle;
}

/* Meta row alignment */
.fm-meta-row .fm-meta-value {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Hide empty category pills */
.subcat-row .pill.category-pill[data-value=""],
.subcat-row .pill.category-pill[data-value=" "],
.subcat-row .pill.category-pill[data-value=" "] {
  display: none !important;
}

/* Ensure visible pills render */
.subcat-row .pill.category-pill {
  visibility: visible;
}

/* Prevent unintended sizing */
.pill.category-pill {
  width: auto;
  min-height: auto;
}

