/* NetworkCard — shared sidebar block (Expert / Talent / Recruiter profiles) */

.netcard-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.netcard-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(184, 145, 42, 0.25), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-color: rgba(201, 165, 74, 0.45) !important;
}
.netcard-link:hover .netcard-arrow {
  transform: translateX(3px);
}

.netcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.netcard-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.netcard-msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  background: #fff;
  color: #C4A559;
  border: 1px solid rgba(184, 145, 42, 0.4);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.netcard-msg-btn:hover {
  background: linear-gradient(180deg, #EFE2B8 0%, #E5D4A0 60%, #D4BC7A 100%);
  color: #2a1f00;
  transform: translateY(-1px);
}
.netcard-msg-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.netcard-msg-dot {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: 999px;
  background: #E11D2E;
  color: #fff;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 3px rgba(225, 29, 46, 0.4);
  animation: netcard-pulse 2s ease-in-out infinite;
}
@keyframes netcard-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(225, 29, 46, 0); }
}

.netcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.netcard-badge.is-connected {
  background: rgba(39, 174, 96, 0.1);
  color: #1e7e3c;
  border: 1px solid rgba(39, 174, 96, 0.25);
}
/* Big primary CTA Connect — placed below mutuals, full width */
.netcard-cta-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #2a1f00;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F2E4B8 0%, #E5D08A 45%, #C9A559 100%);
  border: 1px solid rgba(184, 145, 42, 0.55);
  box-shadow: 0 4px 12px -4px rgba(184, 145, 42, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  margin-bottom: 10px;
}
.netcard-cta-connect:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(184, 145, 42, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  filter: brightness(1.04);
}
.netcard-cta-connect:focus-visible {
  outline: 2px solid rgba(184, 145, 42, 0.5);
  outline-offset: 3px;
}
.netcard-cta-connect svg {
  flex-shrink: 0;
}

.netcard-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 14px;
}
.netcard-stat { flex: 1; min-width: 0; }
.netcard-num {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #111;
  letter-spacing: -0.02em;
}
.netcard-num-gold {
  background: linear-gradient(135deg, #D4BC7A 0%, #C4A559 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.netcard-lbl {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #888;
  margin-top: 4px;
}
.netcard-divider {
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.08);
}

.netcard-mutuals {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}
.netcard-avatars {
  display: flex;
  flex-shrink: 0;
}
.netcard-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.netcard-avatar:first-child { margin-left: 0; }
.netcard-mutuals-text {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 12px;
  color: #555;
  line-height: 1.35;
}
.netcard-mutuals-text strong {
  color: #111;
  font-weight: 600;
}

.netcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #C4A559;
}
.netcard-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
