﻿/* ================================================================
   Agent Detail Page  —  agent-detail.css
   Scoped under .adp-*  |  No Tailwind  |  Premium design
   ================================================================ */

/* ── Page Shell ── */
.adp-page {
  background: #f0f4f8;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Breadcrumb ── */
.adp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 32px;
  font-size: 13px;
  color: #64748b;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.adp-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}
.adp-breadcrumb a:hover { color: var(--dg-primary,#2563eb); }
.adp-bc-sep { color: #cbd5e1; }
.adp-bc-current { color: #0f172a; font-weight: 500; }

/* ================================================================
   HERO BANNER
   ================================================================ */
.adp-hero {
  position: relative;
  background:
    radial-gradient(ellipse 800px 400px at 15% 20%, rgba(37,99,235,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 600px 350px at 85% 10%, rgba(124,58,237,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 500px 300px at 50% 90%, rgba(6,182,212,0.12) 0%, transparent 60%),
    linear-gradient(145deg, #060c1a 0%, #0d1628 40%, #0a1525 75%, #0d0f1e 100%);
  padding: 40px 48px 36px;
  overflow: hidden;
}

/* Noise texture overlay */
.adp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

/* Bottom shimmer line */
.adp-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), rgba(99,102,241,0.4), rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}

.adp-hero-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Avatar column */
.adp-hero-avatar-col { flex-shrink: 0; }

.adp-hero-avatar-wrap {
  position: relative;
  display: inline-block;
}

/* Glow ring behind avatar */
.adp-hero-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--dg-primary,#2563eb), #7c3aed, #06b6d4, var(--dg-primary,#2563eb));
  opacity: 0.7;
  animation: adp-ring-spin 6s linear infinite;
  z-index: 0;
}
.adp-hero-avatar-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #0d1628;
  z-index: 1;
}
@keyframes adp-ring-spin {
  to { transform: rotate(360deg); }
}

.adp-hero-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(37,99,235,0.25);
}

.adp-hero-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(124,58,237,0.95));
}

.adp-cc-agent-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(124,58,237,0.95));
}

.adp-hero-verified {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: 2.5px solid #0d1628;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(34,197,94,0.45);
}

/* Info column */
.adp-hero-info { flex: 1; min-width: 0; }

/* Name + badges on one row */
.adp-hero-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.adp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.adp-badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  box-shadow: 0 2px 10px rgba(245,158,11,0.4);
}
.adp-badge-premium i { color: #fff; }

.adp-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(34,197,94,0.18);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.28);
}

.adp-badge-unverified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(248,113,113,0.25);
}

.adp-badge-pro {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
  letter-spacing: 0.04em;
}

/* Name */
.adp-hero-name {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Meta row */
.adp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 12px;
}
.adp-hero-meta i { color: rgba(255,255,255,0.38); font-size: 11px; }
.adp-hero-meta-sep { color: rgba(255,255,255,0.25); }

/* Working areas in hero */
.adp-hero-area-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.adp-hero-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.adp-area-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
}
.adp-area-chip i { font-size: 9px; opacity: 0.7; }

/* Stats + CTA bottom row */
.adp-hero-bottom-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Stats row */
.adp-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 10px 6px;
  width: fit-content;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 20px rgba(0,0,0,0.2);
}

.adp-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 18px;
}

.adp-stat-value {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}
.adp-stat-value i { color: #fbbf24; font-size: 13px; }

.adp-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adp-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Hero CTA buttons */
.adp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adp-cta-wa,
.adp-cta-call,
.adp-cta-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.adp-cta-wa {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,197,94,0.4);
}
.adp-cta-wa i { font-size: 16px; }

.adp-cta-call {
  background: linear-gradient(135deg, #3b82f6, var(--dg-primary,#2563eb));
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.45);
}

.adp-cta-email {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.adp-cta-wa:hover,
.adp-cta-call:hover,
.adp-cta-email:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* ================================================================
   BODY LAYOUT
   ================================================================ */
.adp-body {
  padding: 32px 48px 80px;
  display: flex;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .adp-body { flex-direction: column; padding: 24px 24px 60px; }
}

.adp-main-col,
.adp-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.adp-main-col {
  flex: 0 0 68%;
}

.adp-sidebar-col {
  flex: 1;
  position: sticky;
  top: 80px;
}

/* ================================================================
   CARDS
   ================================================================ */
.adp-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8eef5;
  box-shadow: 0 2px 16px rgba(15,23,42,0.06), 0 1px 4px rgba(15,23,42,0.04);
  padding: 28px;
  transition: box-shadow 0.22s ease;
}
.adp-card:hover {
  box-shadow: 0 6px 28px rgba(15,23,42,0.1), 0 2px 8px rgba(15,23,42,0.05);
}

.adp-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.adp-card-accent {
  display: inline-block;
  width: 4px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--dg-primary,#2563eb), #7c3aed);
  flex-shrink: 0;
}

.adp-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ── About text ── */
.adp-about-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.78;
  margin-bottom: 24px;
}

/* ── Info grid ── */
.adp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

@media (max-width: 600px) {
  .adp-info-grid { grid-template-columns: 1fr; }
}

.adp-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  transition: border-color 0.18s, background 0.18s;
}
.adp-info-item:hover {
  background: #f0f7ff;
  border-color: #bfdbfe;
}

.adp-info-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff, var(--dg-primary-light,#dbeafe));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dg-primary,#2563eb);
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37,99,235,0.14);
}

.adp-info-label {
  font-size: 10.5px;
  color: #94a3b8;
  margin: 0 0 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.adp-info-value {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

/* ── Specializations ── */
.adp-spec-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  margin-top: 4px;
}

.adp-spec-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

/* ── Chips ── */
.adp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adp-chip {
  padding: 5px 15px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.adp-chip:hover {
  background: #eff6ff;
  color: var(--dg-primary,#2563eb);
  border-color: #bfdbfe;
}

.adp-chip--blue {
  background: #eff6ff;
  color: var(--dg-primary,#2563eb);
  border-color: #bfdbfe;
}
.adp-chip--blue:hover {
  background: var(--dg-primary-light,#dbeafe);
  border-color: #93c5fd;
}

/* ================================================================
   TABS
   ================================================================ */
.adp-card--notabs { padding: 0; overflow: hidden; }

.adp-tabs-nav {
  display: flex;
  border-bottom: 1px solid #f1f5f9;
  padding: 0 28px;
  gap: 4px;
  overflow-x: auto;
  background: #fafbfc;
}

.adp-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 16px 4px;
  margin-right: 22px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.18s;
}
.adp-tab:hover { color: #1e293b; }
.adp-tab.active {
  color: var(--dg-primary,#2563eb);
  border-bottom-color: var(--dg-primary,#2563eb);
  font-weight: 700;
}
.adp-tab i { font-size: 11px; }

.adp-tab-count {
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}
.adp-tab.active .adp-tab-count {
  background: var(--dg-primary-light,#dbeafe);
  color: var(--dg-primary,#2563eb);
}

.adp-tab-panel { display: none; padding: 24px 28px; }
.adp-tab-panel.active { display: block; }

/* ── Empty state ── */
.adp-empty-state {
  text-align: center;
  padding: 56px 0;
  color: #94a3b8;
}
.adp-empty-state i { font-size: 36px; margin-bottom: 14px; display: block; opacity: 0.5; }
.adp-empty-state p { font-size: 14px; margin: 0; }

/* ================================================================
   PROPERTY CARDS
   ================================================================ */
.adp-prop-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.adp-prop-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eef5;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.adp-prop-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.12);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .adp-prop-card { flex-direction: column; }
}

/* Thumbnail */
.adp-prop-thumb {
  position: relative;
  width: 250px;
  min-width: 250px;
  overflow: hidden;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .adp-prop-thumb { width: 100%; min-width: 0; height: 190px; }
}

.adp-prop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.adp-prop-card:hover .adp-prop-thumb img {
  transform: scale(1.04);
}

.adp-thumb-photo-badge,
.adp-thumb-video-badge {
  position: absolute;
  bottom: 8px;
  background: rgba(0,0,0,0.62);
  color: #fff;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}
.adp-thumb-photo-badge { left: 8px; }
.adp-thumb-video-badge { left: 8px; bottom: 34px; }

.adp-prop-status-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 7px;
  letter-spacing: 0.03em;
}
.status-green { background: #dcfce7; color: #16a34a; }
.status-amber { background: #fef3c7; color: #d97706; }

/* Property info */
.adp-prop-info {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adp-prop-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.adp-prop-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}
.adp-prop-name a { color: inherit; text-decoration: none; }
.adp-prop-name a:hover { color: var(--dg-primary,#2563eb); }

.adp-prop-sub {
  font-size: 12px;
  color: #64748b;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.adp-prop-sub i { color: #94a3b8; font-size: 10px; }

.adp-prop-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.adp-fav-btn,
.adp-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e8eef5;
  background: #fff;
  color: #94a3b8;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.adp-fav-btn:hover { color: #ef4444; border-color: #fecaca; background: #fff5f5; }
.adp-fav-btn.is-active { color: #ef4444; border-color: #fecaca; }
.adp-share-btn:hover { color: #475569; background: #f8fafc; }

.adp-prop-price {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 2px;
  letter-spacing: -0.02em;
}

.adp-prop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}
.adp-prop-specs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 7px;
  padding: 3px 10px;
  font-weight: 600;
}
.adp-prop-specs i { color: #3b82f6; font-size: 10px; }

.adp-prop-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 4px 0;
}

.adp-prop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.adp-prop-date {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}
.adp-prop-date i { font-size: 10px; }

.adp-prop-more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dg-primary,#2563eb);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid var(--dg-primary-light,#dbeafe);
  transition: background 0.15s, border-color 0.15s;
}
.adp-prop-more:hover { background: var(--dg-primary-light,#dbeafe); border-color: #93c5fd; }
.adp-prop-more i { font-size: 10px; }

/* ── Reviews ── */
.adp-review-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adp-review-card {
  background: #fafbfd;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 20px;
  transition: box-shadow 0.18s;
}
.adp-review-card:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,0.07);
}

.adp-review-stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #f59e0b;
  font-size: 13px;
}

.adp-review-date {
  color: #94a3b8;
  font-size: 12px;
}

.adp-review-text {
  font-size: 14px;
  line-height: 1.72;
  color: #475569;
  margin: 0 0 10px;
}

.adp-review-author {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

/* ================================================================
   SIDEBAR — CONTACT CARD
   ================================================================ */
.adp-contact-card { padding: 0; overflow: hidden; }

.adp-cc-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 18px 22px;
  position: relative;
  overflow: hidden;
}
.adp-cc-header::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(37,99,235,0.2);
  pointer-events: none;
}
.adp-cc-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.adp-cc-agent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.adp-cc-agent-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.adp-cc-agent-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.adp-cc-agent-sub {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
}

.adp-cc-verified-badge {
  margin-left: auto;
  color: #22c55e;
  font-size: 20px;
}

.adp-cc-unverified-badge {
  margin-left: auto;
  color: #ef4444;
  font-size: 20px;
}

.adp-cc-form { padding: 16px 22px 0; }

.adp-cc-field { margin-bottom: 10px; }

.adp-cc-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.adp-contact-card .adp-cc-input {
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
  color: #0f172a !important;
  border-radius: 10px !important;
  line-height: 16px !important;
}
.adp-cc-input:focus,
.adp-contact-card .adp-cc-input:focus {
  border-color: var(--dg-primary,#2563eb) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
}

.adp-cc-phone-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.adp-contact-card .adp-cc-phone-row {
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
}
.adp-cc-phone-row:focus-within,
.adp-contact-card .adp-cc-phone-row:focus-within {
  border-color: var(--dg-primary,#2563eb) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
}

.adp-contact-card .adp-cc-textarea {
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
  color: #0f172a !important;
  border-radius: 0 !important;
}
.adp-contact-card .adp-cc-input::placeholder {
  color: #94a3b8 !important;
}

.adp-cc-flag {
  padding: 11px 13px;
  font-size: 13px;
  color: #475569;
  border-right: 1.5px solid #e2e8f0;
  white-space: nowrap;
  background: #f8fafc;
}

.adp-cc-phone {
  border: none;
  border-radius: 0;
  flex: 1;
}
.adp-cc-phone:focus { border: none; outline: none; box-shadow: none !important; }

.adp-cc-textarea {
  resize: none;
  min-height: 88px;
  border-radius: 0;
  padding: 11px 14px;
  line-height: 1.45;
}

.adp-cc-consent {
  padding: 0 22px 12px;
  font-size: 11.5px;
  color: #64748b;
}

.adp-cc-check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.adp-cc-check-label input { margin-top: 2px; flex-shrink: 0; }

.adp-cc-submit {
  display: block;
  width: calc(100% - 44px);
  margin: 0 22px;
  padding: 14px;
  background: linear-gradient(135deg, #3b82f6, var(--dg-primary,#2563eb));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.adp-cc-submit:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37,99,235,0.45);
}

.adp-cc-divider {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin: 14px 22px;
  position: relative;
}
.adp-cc-divider::before,
.adp-cc-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #e2e8f0;
}
.adp-cc-divider::before { left: 0; }
.adp-cc-divider::after  { right: 0; }

.adp-cc-direct-btns {
  display: flex;
  gap: 10px;
  padding: 0 22px;
  margin-bottom: 16px;
}

.adp-cc-wa,
.adp-cc-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: filter 0.15s, transform 0.15s;
}
.adp-cc-wa:hover,
.adp-cc-call:hover { filter: brightness(0.95); transform: translateY(-1px); }

.adp-cc-wa   { background: #dcfce7; color: #16a34a; }
.adp-cc-call { background: #eff6ff; color: var(--dg-primary,#2563eb); }

.adp-cc-wa i   { font-size: 15px; }
.adp-cc-call i { font-size: 13px; }

.adp-cc-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  padding-bottom: 18px;
}
.adp-cc-secure i { color: #22c55e; }

/* ── Office Photos ── */
.adp-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.adp-photo-cell {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: transform 0.2s ease;
}
.adp-photo-cell:hover { transform: scale(1.03); }

.adp-photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .adp-hero { padding: 24px 20px 22px; }
  .adp-body { padding: 18px 16px 48px; flex-direction: column; }
  .adp-breadcrumb { padding: 10px 16px; font-size: 12px; }

  .adp-hero-inner { gap: 18px; }
  .adp-hero-avatar { width: 80px; height: 80px; }

  .adp-hero-stats { gap: 0; padding: 10px 4px; flex-wrap: wrap; }
  .adp-stat-item { padding: 8px 14px; }
  .adp-stat-value { font-size: 15px; }

  .adp-hero-cta { gap: 8px; flex-wrap: wrap; }
  .adp-cta-wa, .adp-cta-call, .adp-cta-email {
    padding: 9px 16px;
    font-size: 12px;
  }

  .adp-card { padding: 20px 18px; }
  .adp-card-title { font-size: 15px; }

  .adp-info-grid { grid-template-columns: 1fr; gap: 10px; }

  .adp-sidebar-col { position: static; }
  .adp-main-col { flex: none; width: 100%; }
  .adp-sidebar-col { flex: none; width: 100%; }
}

@media (max-width: 480px) {
  .adp-hero { padding: 18px 14px; }
  .adp-hero-avatar { width: 68px; height: 68px; }
  .adp-hero-name-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .adp-hero-cta { flex-direction: column; gap: 8px; }
  .adp-cta-wa, .adp-cta-call, .adp-cta-email { width: 100%; justify-content: center; }
  .adp-hero-stats { justify-content: space-around; }
  .adp-stat-item { padding: 6px 10px; }
  .adp-body { padding: 12px 12px 36px; }
  .adp-card { padding: 16px 14px; }
  .adp-prop-card { flex-direction: column; }
  .adp-prop-thumb { width: 100%; min-width: 0; height: 168px; }
}

/* =====================================================================
   Agent Contact Modal
   ===================================================================== */
.adp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(4px);
}

.adp-modal {
  position: relative;
  width: 92%;
  max-width: 430px;
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  border: 1px solid rgba(226,232,240,0.8);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.adp-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.adp-modal-close:hover { background: #ef4444; color: #fff; }

.adp-modal-overlay.adp-modal-in .adp-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.adp-modal-fadeout .adp-modal {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.adp-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto 12px;
  font-size: 22px;
}

.adp-modal-success .adp-modal-icon { background: #dcfce7; color: #16a34a; }
.adp-modal-error .adp-modal-icon { background: #fee2e2; color: #dc2626; }
.adp-modal-info .adp-modal-icon { background: var(--dg-primary-light,#dbeafe); color: var(--dg-primary,#2563eb); }

.adp-modal-title {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.adp-modal-body {
  text-align: center;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  padding: 0 8px;
  min-height: 38px;
}

.adp-modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.adp-modal-btn {
  min-width: 120px;
  padding: 11px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, var(--dg-primary,#2563eb));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.15s;
}
.adp-modal-btn:hover { filter: brightness(1.06); }

.show-number-btn { appearance: none; }

/* ── Show Number Popup ─────────────────────────────────────────── */
#sn-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.52);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .28s ease;
}
#sn-popup-overlay.sn-visible { opacity: 1; }
#sn-popup {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px 24px;
  width: min(440px, 94vw);
  box-shadow: 0 20px 60px rgba(109,40,217,.18);
  border: 1px solid #ede9fe;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .28s ease, opacity .28s ease;
  opacity: 0;
}
#sn-popup-overlay.sn-visible #sn-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sn-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 22px; color: #a78bfa;
  cursor: pointer; line-height: 1;
  transition: color .15s;
}
.sn-close:hover { color: #6d28d9; }
.sn-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.sn-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #bfdbfe;
  flex-shrink: 0;
}
.sn-avatar-fallback {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--dg-primary,#2563eb),var(--dg-primary-dark,#1d4ed8));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.sn-agent-info { flex: 1; min-width: 0; }
.sn-name { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin-bottom: 3px; }
.sn-company, .sn-location { font-size: 0.82rem; color: #64748b; margin-bottom: 2px; }
.sn-company i, .sn-location i { margin-right: 4px; color: var(--dg-primary,#2563eb); }
.sn-stars { display: flex; align-items: center; gap: 3px; margin: 6px 0 5px; }
.sn-rating-val { font-size: 0.82rem; font-weight: 600; color: var(--dg-primary,#2563eb); margin-left: 4px; }
.sn-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.sn-badge {
  font-size: 0.72rem; font-weight: 600;
  padding: 2px 9px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 4px;
}
.sn-badge-verified { background: var(--dg-primary-light,#dbeafe); color: var(--dg-primary,#2563eb); }
.sn-badge-premium  { background: #eff6ff; color: var(--dg-primary-dark,#1d4ed8); }
.sn-number-reveal {
  background: linear-gradient(135deg, #eff6ff, var(--dg-primary-light,#dbeafe));
  border: 1.5px solid #93c5fd;
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
  margin-bottom: 20px;
}
.sn-number-label {
  font-size: 0.75rem; color: var(--dg-primary,#2563eb); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.sn-number { font-size: 1.55rem; font-weight: 800; color: var(--dg-primary-dark,#1d4ed8); letter-spacing: .04em; }
.sn-phone-icon { margin-right: 8px; font-size: 1.1rem; }
.sn-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.sn-action-btn {
  flex: 1; min-width: 110px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: filter .15s, transform .15s;
}
.sn-action-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.sn-call-btn    { background: linear-gradient(135deg,var(--dg-primary,#2563eb),var(--dg-primary-dark,#1d4ed8)); color: #fff; }
.sn-profile-btn { background: #eff6ff; color: var(--dg-primary,#2563eb); border: 1.5px solid #bfdbfe; }
.sn-upgrade-btn { background: linear-gradient(135deg,var(--dg-primary,#2563eb),var(--dg-primary-dark,#1d4ed8)); color: #fff; margin-top: 12px; }
.sn-footer { text-align: center; font-size: 0.78rem; color: #64748b; }
.sn-remaining { color: var(--dg-primary,#2563eb); font-weight: 500; }
.sn-unlimited  { color: var(--dg-primary,#2563eb); font-weight: 600; }
.sn-loading {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 0; gap: 14px;
  color: #7c3aed; font-size: 0.9rem;
}
.sn-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--dg-primary-light,#dbeafe);
  border-top-color: var(--dg-primary,#2563eb);
  border-radius: 50%;
  animation: sn-spin .7s linear infinite;
}
@keyframes sn-spin { to { transform: rotate(360deg); } }
.sn-limit-reached, .sn-error {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  padding: 40px 10px 20px;
  text-align: center;
}
.sn-lock-icon { font-size: 2.8rem; color: #7c3aed; }
.sn-limit-reached h3 { font-size: 1.1rem; font-weight: 700; color: #1e1b4b; }
.sn-limit-reached p  { color: #64748b; font-size: 0.9rem; max-width: 300px; }
.sn-error i { font-size: 2.2rem; color: #7c3aed; }
.sn-error p { color: #64748b; }

@media (max-width: 768px) {
  #sn-popup { padding: 24px 18px 18px; border-radius: 16px; }
  .sn-header { gap: 12px; }
  .sn-avatar, .sn-avatar-fallback { width: 56px; height: 56px; font-size: 22px; }
  .sn-number { font-size: 1.3rem; }
  .sn-actions { flex-direction: column; gap: 8px; }
  .sn-action-btn { flex: none; width: 100%; }
}
