/* ── Verify CTA banner icon ── */
.al-verified-cta-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg,#3b82f6,#8b5cf6);
  color: #fff; display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 8px 20px rgba(59,130,246,.4);
}

/* ── Agent Horizontal Card (v2) ── */

/* ── Card shell ── */
.agent-hcard {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 280px;
  margin-bottom: 20px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.agent-hcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -10px rgba(15,23,42,.18);
  border-color: #cbd5e1;
}

/* left color strip */
.agent-hcard::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #2563eb;
  z-index: 2;
}
.agent-hcard.ahc--premium::before  { background: linear-gradient(180deg,#f59e0b,#f97316); }
.agent-hcard.ahc--purple::before   { background: linear-gradient(180deg,#8b5cf6,#a855f7); }
.agent-hcard.ahc--green::before    { background: linear-gradient(180deg,#10b981,#22c55e); }
.agent-hcard.ahc--red::before      { background: linear-gradient(180deg,#ef4444,#f97316); }

/* ── Left pane: image / avatar ── */
.ahc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,#f1f5f9,#e2e8f0);
}
.ahc-hero img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ahc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,transparent 50%,rgba(0,0,0,.32));
  pointer-events: none;
}

/* Avatar fallback pane */
.ahc-avatar-pane {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#dbeafe,#e0e7ff);
  position: relative;
}
.agent-hcard.ahc--premium  .ahc-avatar-pane { background: linear-gradient(135deg,#fef3c7,#fde68a); }
.agent-hcard.ahc--purple   .ahc-avatar-pane { background: linear-gradient(135deg,#ede9fe,#ddd6fe); }
.agent-hcard.ahc--green    .ahc-avatar-pane { background: linear-gradient(135deg,#d1fae5,#a7f3d0); }
.agent-hcard.ahc--red      .ahc-avatar-pane { background: linear-gradient(135deg,#fee2e2,#fecaca); }

.ahc-avatar-big {
  width: 110px; height: 110px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
  color: #fff; font-weight: 800; font-size: 38px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.agent-hcard.ahc--premium  .ahc-avatar-big { background: linear-gradient(135deg,#f59e0b,#f97316); }
.agent-hcard.ahc--purple   .ahc-avatar-big { background: linear-gradient(135deg,#8b5cf6,#a855f7); }
.agent-hcard.ahc--green    .ahc-avatar-big { background: linear-gradient(135deg,#10b981,#059669); }
.agent-hcard.ahc--red      .ahc-avatar-big { background: linear-gradient(135deg,#ef4444,#dc2626); }

/* Hero tags */
.ahc-hero-tags {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 7px; align-items: flex-start;
}
.ahc-tag {
  padding: 5px 12px; border-radius: 8px;
  font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; gap: 5px;
  text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 4px 10px rgba(0,0,0,.16);
}
.ahc-tag-premium  { background: linear-gradient(135deg,#f59e0b,#f97316); color: #fff; }
.ahc-tag-featured { background: linear-gradient(135deg,#f97316,#ea580c); color: #fff; }
.ahc-tag-verified { background: #fff; color: #2563eb; }
.ahc-tag-notverified { background: #fff; color: #ef4444; }

/* Verify tick */
.ahc-verify-tick {
  position: absolute; bottom: 12px; right: 12px;
  width: 26px; height: 26px;
  background: #10b981; color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; border: 2.5px solid #fff;
  box-shadow: 0 4px 10px rgba(16,185,129,.5);
}

/* Fav btn (top-right of image) */
.ahc-fav-btn {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(239,68,68,.9); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; cursor: pointer;
  border: none; transition: transform .2s;
  box-shadow: 0 4px 12px rgba(239,68,68,.4);
}
.ahc-fav-btn:hover { transform: scale(1.12); }

/* ── Right pane: body ── */
.ahc-body {
  padding: 20px 22px;
  display: flex; flex-direction: column;
  position: relative;
}

/* Head row */
.ahc-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 14px;
  margin-bottom: 8px;
}
.ahc-name-block { flex: 1; min-width: 0; }

.ahc-rating-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fef3c7; color: #92400e;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  margin-bottom: 7px;
}
.ahc-rating-chip i { color: #f59e0b; }
.ahc-rating-chip small { color: #92400e; opacity: .7; font-weight: 600; }
.ahc-rating-chip.no-rating {
  background: #f1f5f9; color: #64748b;
}
.ahc-rating-chip.no-rating i { color: #cbd5e1; }

.ahc-name {
  font-size: 17px; font-weight: 800;
  color: #0f172a; line-height: 1.3;
  margin: 0 0 4px;
}
.ahc-name a {
  color: inherit; text-decoration: none;
  transition: color .15s;
}
.ahc-name a:hover { color: #2563eb; }

/* Experience pill */
.ahc-exp-pill {
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #fff; padding: 8px 14px;
  border-radius: 30px; font-weight: 800;
  font-size: 13px; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(37,99,235,.3);
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.agent-hcard.ahc--premium  .ahc-exp-pill { background: linear-gradient(135deg,#f59e0b,#f97316); box-shadow: 0 6px 14px rgba(245,158,11,.35); }
.agent-hcard.ahc--purple   .ahc-exp-pill { background: linear-gradient(135deg,#8b5cf6,#a855f7); box-shadow: 0 6px 14px rgba(139,92,246,.35); }
.agent-hcard.ahc--green    .ahc-exp-pill { background: linear-gradient(135deg,#10b981,#059669); box-shadow: 0 6px 14px rgba(16,185,129,.35); }
.agent-hcard.ahc--red      .ahc-exp-pill { background: linear-gradient(135deg,#ef4444,#dc2626); box-shadow: 0 6px 14px rgba(239,68,68,.35); }

/* Location sub-row */
.ahc-sub {
  display: flex; align-items: center; gap: 6px;
  color: #334155; font-size: 13px; margin-bottom: 14px;
}
.ahc-sub i { color: #2563eb; }

/* Spec grid (4 items in 2 cols) */
.ahc-spec-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 9px 20px; margin-bottom: 12px;
}
.ahc-spec-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: #334155; font-weight: 600;
}
.ahc-spec-ic {
  width: 28px; height: 28px; border-radius: 8px;
  background: #eff6ff; color: #2563eb;
  display: grid; place-items: center; font-size: 12px;
  flex-shrink: 0;
}
.agent-hcard.ahc--premium  .ahc-spec-ic { background: #fef3c7; color: #d97706; }
.agent-hcard.ahc--purple   .ahc-spec-ic { background: #ede9fe; color: #7c3aed; }
.agent-hcard.ahc--green    .ahc-spec-ic { background: #d1fae5; color: #059669; }
.agent-hcard.ahc--red      .ahc-spec-ic { background: #fee2e2; color: #dc2626; }

/* Bio (1-line clamp) */
.ahc-bio {
  color: #475569; font-size: 13.5px; line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* Feature pills (2-column) */
.ahc-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7px; margin-bottom: 14px;
}
.ahc-feature {
  background: #f1f5f9; border: 1px solid #e2e8f0;
  padding: 8px 11px; border-radius: 8px;
  font-size: 12.5px; color: #334155; font-weight: 500;
  display: flex; align-items: center; gap: 7px;
}
.ahc-feature i { color: #2563eb; font-size: 11px; }
.agent-hcard.ahc--premium  .ahc-feature i { color: #d97706; }
.agent-hcard.ahc--purple   .ahc-feature i { color: #7c3aed; }
.agent-hcard.ahc--green    .ahc-feature i { color: #059669; }
.agent-hcard.ahc--red      .ahc-feature i { color: #dc2626; }
.ahc-feature.ahc-feature--empty { color: #94a3b8; font-style: italic; }
.ahc-feature.ahc-feature--empty i { color: #cbd5e1; }

/* Footer row */
.ahc-foot {
  margin-top: auto;
  border-top: 1.5px solid #f1f5f9;
  padding-top: 14px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.ahc-mini-agent {
  display: flex; align-items: center; gap: 9px;
  flex: 1; min-width: 150px;
}
.ahc-mini-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0;
  background: linear-gradient(135deg,#3b82f6,#1d4ed8);
}
.agent-hcard.ahc--premium  .ahc-mini-avatar { background: linear-gradient(135deg,#f59e0b,#f97316); }
.agent-hcard.ahc--purple   .ahc-mini-avatar { background: linear-gradient(135deg,#8b5cf6,#a855f7); }
.agent-hcard.ahc--green    .ahc-mini-avatar { background: linear-gradient(135deg,#10b981,#059669); }
.agent-hcard.ahc--red      .ahc-mini-avatar { background: linear-gradient(135deg,#ef4444,#dc2626); }

.ahc-mini-info b {
  display: block; font-size: 14px; font-weight: 700;
  color: #0f172a; line-height: 1.2;
}
.ahc-status {
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; margin-top: 2px;
}
.ahc-status.verified { color: #10b981; }
.ahc-status.notverified { color: #ef4444; }

/* Foot action buttons */
.ahc-foot-actions { display: flex; gap: 8px; }
.ahc-btn {
  padding: 10px 15px; border-radius: 10px;
  font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; transition: .18s; border: 1.5px solid transparent;
  white-space: nowrap; cursor: pointer; text-decoration: none;
}
.ahc-btn-primary {
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #fff; box-shadow: 0 5px 12px rgba(37,99,235,.3);
}
.ahc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 9px 18px rgba(37,99,235,.42); color: #fff; }
.ahc-btn-outline {
  background: #fff; color: #0f172a; border-color: #e2e8f0;
}
.ahc-btn-outline:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.ahc-btn-whatsapp {
  background: #25d366; color: #fff; padding: 10px 13px;
}
.ahc-btn-whatsapp:hover { background: #1ebe57; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .agent-hcard {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ahc-hero { height: 220px; }
  .ahc-avatar-pane { height: 200px; }
}
@media (max-width: 640px) {
  .ahc-head { flex-direction: column; align-items: flex-start; }
  .ahc-foot { flex-direction: column; align-items: stretch; }
  .ahc-foot-actions { justify-content: stretch; }
  .ahc-foot-actions .ahc-btn { flex: 1; }
  .ahc-spec-grid { grid-template-columns: 1fr; }
  .ahc-features { grid-template-columns: 1fr; }
}
