/* ================================================================
   Builders & Developers — shared styles
   ================================================================ */

/* ── Page wrapper ───────────────────────────────────────────────── */
.builders-page { min-height: 100vh; }
.builders-page .page-wrapper { max-width: none !important; padding: 0 24px 40px; }

/* ── Search input inside filter-row ─────────────────────────────── */
.bl-search-input {
  border-radius: 999px !important;
  outline: none;
  min-width: 200px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
}
.bl-search-input::placeholder { color: #94a3b8; font-weight: 500; }

.bl-page-header {
  margin: 20px 0 14px;
}
.bl-page-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px;
}
.bl-page-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  max-width: 720px;
}

/* ── Filter bar ──────────────────────────────────────────────────── */
.bl-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}
.bl-result-count {
  font-size: 0.88rem;
  color: #64748b;
}
.bl-result-count strong { color: #1e293b; }
.bl-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bl-fpill {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}
.bl-fpill:hover { border-color: #2563eb; color: #2563eb; }
.bl-fpill.active { background: #2563eb; color: #fff; border-color: #2563eb; }


/* ── Two-column layout ───────────────────────────────────────────── */
.bl-columns.listing-columns {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.bl-columns .listing-main-col { flex: 0 0 70%; min-width: 0; }
.bl-columns .listing-sidebar-col { flex: 1; min-width: 0; }
@media (max-width: 960px) {
  .bl-columns.listing-columns { flex-direction: column; }
  .bl-columns .listing-sidebar-col { display: none; }
}

/* ── Builder card ────────────────────────────────────────────────── */
.bl-card {
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow 0.2s, transform 0.2s;
}
.bl-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.1);
  transform: translateY(-2px);
}

/* Card top row */
.bl-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Logo */
.bl-logo-wrap {
  position: relative;
  flex-shrink: 0;
}
.bl-logo {
  width: 80px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px;
}
.bl-premium-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* Meta */
.bl-meta { flex: 1; min-width: 0; }
.bl-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.bl-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}
.bl-name a {
  color: inherit;
  text-decoration: none;
}
.bl-name a:hover { color: #2563eb; }
.bl-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.bl-sub-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 6px;
}
.bl-sub-row span { display: inline-flex; align-items: center; gap: 4px; }
.bl-rating { color: #f59e0b !important; font-weight: 700; }
.bl-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats column */
.bl-stats {
  display: flex;
  gap: 0;
  align-items: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.bl-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 14px;
}
.bl-stat-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1;
}
.bl-stat-num.bl-completed { color: #16a34a; }
.bl-stat-num.bl-ongoing { color: #2563eb; }
.bl-stat-lbl {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}
.bl-stat-sep {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
}

/* Project thumbnails row */
.bl-projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .bl-projects-row { grid-template-columns: 1fr; }
  .bl-card-top { flex-direction: column; }
  .bl-stats { width: 100%; justify-content: center; }
}

.bl-proj-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s, transform 0.18s;
  display: block;
}
.bl-proj-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.bl-proj-img-wrap {
  position: relative;
  height: 110px;
  overflow: hidden;
}
.bl-proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.bl-proj-card:hover .bl-proj-img { transform: scale(1.05); }
.bl-proj-type {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.bl-proj-info { padding: 8px 10px; }
.bl-proj-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.bl-proj-location {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.bl-proj-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: #2563eb;
}

/* Card actions */
.bl-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}
.bl-action-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.bl-action-link:hover { color: #1d4ed8; text-decoration: underline; }
.bl-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.22);
}
.bl-action-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37,99,235,0.32);
  transform: translateY(-1px);
}

/* ── Right sidebar ───────────────────────────────────────────────── */
.cc-card { border-radius: 14px; padding: 20px; }
.cc-header { margin-bottom: 14px; }
.cc-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cc-title { font-size: 1rem; font-weight: 800; color: #1e293b; }
.cc-subtitle { font-size: 0.75rem; color: #64748b; margin-top: 2px; }

.cc-expert-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 14px;
}
.cc-expert-avatar-wrap { position: relative; flex-shrink: 0; }
.cc-expert-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cc-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.cc-expert-name { font-weight: 700; font-size: 0.88rem; color: #1e293b; }
.cc-expert-title { font-size: 0.73rem; color: #64748b; margin: 2px 0; }
.cc-contact-preview { font-size: 0.75rem; color: #2563eb; display: flex; align-items: center; gap: 4px; }

.cc-form-section { margin-bottom: 10px; }
.cc-form-label { font-size: 0.78rem; font-weight: 700; color: #475569; margin-bottom: 8px; display: block; }
.cc-input-group { margin-bottom: 8px; }
.cc-input-field, .cc-phone-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.18s;
  box-sizing: border-box;
  font-family: inherit;
}
.cc-input-field:focus, .cc-phone-input:focus { border-color: #2563eb; }
.cc-phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.18s;
}
.cc-phone-input-wrapper:focus-within { border-color: #2563eb; }
.cc-country-code {
  padding: 10px 10px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  flex-shrink: 0;
}
.cc-phone-input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  padding: 10px 10px;
}

.cc-consent-wrapper { margin-bottom: 12px; }
.cc-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.cc-checkbox-container input[type="checkbox"] { display: none; }
.cc-custom-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #2563eb;
  border-radius: 4px;
  background: #2563eb;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-custom-checkbox svg { width: 10px; height: 10px; fill: #fff; }
.cc-consent-text { font-size: 0.72rem; color: #64748b; line-height: 1.4; }

.cc-submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
  margin-bottom: 10px;
}
.cc-submit-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  transform: translateY(-1px);
}
.cc-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.cc-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #94a3b8;
}
.cc-security-badge svg { fill: #94a3b8; }

.cc-shake { animation: ccShake 0.5s ease-in-out; border-color: #ef4444 !important; }
@keyframes ccShake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* ── Why DekhoGhar box ───────────────────────────────────────────── */
.bl-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.bl-why-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #374151;
  font-weight: 600;
}
.bl-why-list li i { color: #16a34a; font-size: 12px; }
