/* Vibrant Medical - Shared profile renderer styles
   Used by both /profiles/ and /admin/. Scoped with vb-prof- prefix so it does
   not collide with host page CSS. */

.vb-prof-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.vb-prof-filter-row { display: flex; align-items: center; flex-wrap: wrap; }
.vb-prof-filter-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #7A93B4;
  margin-right: 10px;
  text-transform: uppercase;
}
.vb-prof-tier-btn {
  background: transparent;
  border: 1px solid #444;
  color: #888;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  cursor: pointer;
  margin-right: 6px;
  text-transform: uppercase;
}
.vb-prof-tier-btn.active {
  background: rgba(17,145,204,0.12);
  border-color: #1191CC;
  color: #1191CC;
}
.vb-prof-search {
  flex: 1;
  min-width: 220px;
  padding: 8px 12px;
  background: #071830;
  border: 1px solid rgba(255,255,255,0.1);
  color: #E8EDF4;
  font-family: 'Century Gothic', 'Trebuchet MS', sans-serif;
  font-size: 14px;
  outline: none;
}
.vb-prof-search:focus { border-color: #1191CC; }

.vb-prof-result-count {
  font-family: 'Century Gothic', sans-serif;
  font-size: 13px;
  color: #7A93B4;
  margin-bottom: 14px;
}

.vb-prof-loading, .vb-prof-error, .vb-prof-empty {
  font-family: 'Century Gothic', sans-serif;
  font-size: 15px;
  color: #7A93B4;
  padding: 20px 0;
}
.vb-prof-error { color: #E63946; }

.vb-prof-card {
  background: #0A1929;
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid #444;
  border-radius: 4px;
  margin-bottom: 16px;
}
.vb-prof-card.tier-High   { border-left-color: #E63946; }
.vb-prof-card.tier-Medium { border-left-color: #F4A623; }
.vb-prof-card.tier-Low    { border-left-color: #27AE60; }

.vb-prof-card-header {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vb-prof-card-header:hover { background: rgba(17,145,204,0.05); }
.vb-prof-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #E8EDF4;
}
.vb-prof-card-meta {
  font-family: 'Century Gothic', sans-serif;
  font-size: 13px;
  color: #7A93B4;
  margin-top: 3px;
}

.vb-prof-tier-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.vb-prof-tier-badge.High   { background: rgba(230,57,70,0.15);  color: #E63946; border: 1px solid #E63946; }
.vb-prof-tier-badge.Medium { background: rgba(244,166,35,0.15); color: #F4A623; border: 1px solid #F4A623; }
.vb-prof-tier-badge.Low    { background: rgba(39,174,96,0.15);  color: #27AE60; border: 1px solid #27AE60; }

.vb-prof-card-body { display: none; padding: 0 18px 18px; }
.vb-prof-card-body.open { display: block; }

.vb-prof-tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.vb-prof-tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.07);
  color: #7A93B4;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  cursor: pointer;
  text-transform: uppercase;
}
.vb-prof-tab.active {
  background: rgba(17,145,204,0.12);
  border-color: #1191CC;
  color: #1191CC;
}

.vb-prof-tab-content { display: none; }
.vb-prof-tab-content.active { display: block; }

.vb-prof-field-row { display: flex; gap: 12px; margin-bottom: 8px; font-size: 14px; }
.vb-prof-field-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A93B4;
  min-width: 160px;
  flex-shrink: 0;
}
.vb-prof-field-value { color: #E8EDF4; font-family: 'Century Gothic', sans-serif; }
.vb-prof-field-value a { color: #1191CC; }
.vb-prof-field-value.highlight { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; }

.vb-prof-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: rgba(17,145,204,0.12);
  border: 1px solid rgba(17,145,204,0.25);
  color: #1191CC;
  padding: 2px 8px;
  margin: 2px;
  border-radius: 2px;
}

.vb-prof-trial-block, .vb-prof-pub-block {
  background: rgba(7,24,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 14px;
}
.vb-prof-trial-title, .vb-prof-pub-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #E8EDF4;
  margin-bottom: 6px;
}

.vb-prof-edge-box {
  background: rgba(17,145,204,0.06);
  border: 1px solid rgba(17,145,204,0.18);
  padding: 12px 16px;
  font-size: 14px;
  color: #E8EDF4;
  font-family: 'Century Gothic', sans-serif;
  line-height: 1.85;
}

.vb-prof-print-btn {
  background: rgba(244,166,35,0.1);
  border: 1px solid #F4A623;
  color: #F4A623;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  cursor: pointer;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
.vb-prof-print-btn:hover { background: rgba(244,166,35,0.2); }

@media (max-width: 768px) {
  .vb-prof-field-label { min-width: 120px; }
}

/* Always-visible summary strip below the card header.
   Shows product description (truncated) and website link without
   requiring the card to be expanded. */
.vb-prof-card-summary {
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(17,145,204,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(11,37,69,0.02);
}
.vb-prof-card-summary-desc {
  font-family: 'Century Gothic','Trebuchet MS',sans-serif;
  font-size: 14px;
  color: #4A5A75;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-prof-card-summary-link {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1191CC;
  text-decoration: none;
  align-self: flex-start;
}
.vb-prof-card-summary-link:hover {
  text-decoration: underline;
}