/* agent.co.uk v2 */

body {
  font-family: 'Inter', sans-serif;
  background: #f8f9fa;
  color: #212529;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  padding: 90px 0 80px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
}
.hero p.lead {
  opacity: 0.85;
  font-size: 1.15rem;
}
.hero .search-bar {
  background: #fff;
  border-radius: 12px;
  padding: 8px 8px 8px 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 560px;
}
.hero .search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
  background: transparent;
}

/* ---- Stat pills ---- */
.stat-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  color: #fff;
  display: inline-block;
}

/* ---- Agent cards ---- */
.agent-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 22px;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
.agent-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  color: inherit;
}
.agent-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.agent-card .agent-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
}
.agent-card .agent-company {
  font-size: 0.82rem;
  color: #6c757d;
}
.agent-card .badge-seniority {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 50px;
}

/* ---- Filter sidebar ---- */
.filter-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  position: sticky;
  top: 80px;
}
.filter-card h6 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  margin-bottom: 10px;
}

/* ---- Profile page ---- */
.profile-hero {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  color: #fff;
  padding: 60px 0 50px;
}
.profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.info-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
}
.info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f5;
  align-items: flex-start;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 130px;
  padding-top: 1px;
}
.info-value { font-size: 0.95rem; }

/* ---- Holding page ---- */
.holding-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.holding-hero h1 { font-weight: 700; }
.coming-soon-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- A-Z nav ---- */
.az-nav a {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: #495057;
  background: #fff;
  border: 1px solid #dee2e6;
  transition: all 0.15s;
}
.az-nav a:hover,
.az-nav a.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* ---- Utilities ---- */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Section separators ---- */
section.py-5:nth-child(odd) {
  background: #f8f9fa;
}
section.py-5.bg-white {
  background: #fff !important;
}

/* ---- Location cards ---- */
.location-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.location-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: #0d6efd;
  color: #0d6efd;
}
.location-card .location-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.location-card .location-count {
  font-size: 0.8rem;
  color: #6c757d;
}

/* ---- Vertical teaser cards (dark bg) ---- */
.vertical-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 22px 24px;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.vertical-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  color: #fff;
}

/* ---- Info feature cards (Why section) ---- */
.info-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.info-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

/* ---- Seniority badge colours ---- */
.badge-senior   { background: #d1fae5 !important; color: #065f46 !important; }
.badge-mid      { background: #dbeafe !important; color: #1e40af !important; }
.badge-entry    { background: #fef9c3 !important; color: #854d0e !important; }

/* ---- Browse page header ---- */
.browse-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

/* ---- Guide cards ---- */
.guide-card-acting {
  border-top: 3px solid #e84393;
}
.guide-card-acting:hover {
  border-color: #c72b7a;
}

/* ---- Section accent headers ---- */
.section-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Agent type pill badges on browse page ---- */
.type-filter-bar {
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}

/* ---- Profile hero improvements ---- */
.profile-hero .breadcrumb-item a { opacity: 0.7; transition: opacity 0.15s; }
.profile-hero .breadcrumb-item a:hover { opacity: 1; }

.profile-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  margin-right: 6px;
}

/* ---- Email CTA block ---- */
.email-cta-block {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  border-radius: 14px;
  padding: 24px;
}
.email-cta-block .btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0056d6);
  border: none;
}

/* ---- Empty state ---- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}
.empty-state i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: 0.4; }

/* ---- Responsive tweaks ---- */
@media (max-width: 576px) {
  .hero { padding: 60px 0 50px; }
  .az-nav a { width: 28px; height: 28px; line-height: 28px; font-size: 0.78rem; }
  .filter-card { position: static; }
  .profile-hero { padding: 40px 0 30px; }
}

/* ---- Smooth page transitions ---- */
@media (prefers-reduced-motion: no-preference) {
  .agent-card { will-change: transform; }
}
