/* ===== LOKATOR — PROVIDER PROFILE & REVIEW SYSTEM STYLES ===== */

/* Profile Page Layout */
.profile-page-main {
  padding: 40px 0 80px;
  background: var(--bg);
  min-height: calc(100vh - 68px);
}

/* Breadcrumbs */
.profile-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--fg-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.profile-breadcrumbs a {
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.profile-breadcrumbs a:hover {
  color: var(--green);
}

.profile-breadcrumbs .sep {
  color: var(--border);
}

.profile-breadcrumbs .current {
  color: var(--fg);
  font-weight: 700;
}

/* Hero Profile Header Card */
.profile-hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.profile-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
}

.profile-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.profile-identity-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-avatar-wrap {
  position: relative;
}

.profile-big-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: var(--white);
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--white);
}

.profile-status-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--white);
}

.profile-status-badge.online {
  background: #10B981;
}

.profile-status-badge.offline {
  background: #9CA3AF;
}

.profile-names-wrap h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(0, 107, 63, 0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}

.profile-verified-pill.verified {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
  border-color: rgba(5, 150, 105, 0.35);
  font-weight: 800;
  letter-spacing: 0.4px;
}

.profile-verified-pill.verified .verified-shield-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.profile-verified-pill.pending {
  background: rgba(217, 119, 6, 0.15);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.3);
}

.profile-verified-pill.unverified {
  background: rgba(107, 114, 128, 0.15);
  color: #9CA3AF;
  border-color: rgba(156, 163, 175, 0.25);
}

.provider-supplied-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.btn-report-listing:hover {
  border-color: #EF4444 !important;
  color: #EF4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.profile-trade-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.profile-loc-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--fg-muted);
  flex-wrap: wrap;
}

.profile-loc-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hero Actions */
.profile-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-share, .btn-bookmark {
  background: var(--muted);
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-share:hover, .btn-bookmark:hover {
  background: var(--border-light);
  color: var(--green);
}

/* Quick Metrics Row */
.profile-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.pmetric-card {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: var(--muted);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.pmetric-card strong {
  font-size: 19px;
  font-weight: 800;
  color: var(--fg);
}

.pmetric-card span {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Profile Grid Columns (2-Column Layout) */
.profile-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: flex-start;
}

.profile-main-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

/* Section Box Container */
.profile-card-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.profile-section-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-bio-text {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.7;
}

/* Skills Checkmarks Grid */
.skills-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.skill-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  border: 1px solid rgba(0, 107, 63, 0.2);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* Pricing Table Guide */
.pricing-guide-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.pricing-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.pricing-item-row strong {
  font-size: 14px;
  color: var(--fg);
}

.pricing-item-row .price-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
}

/* ==================================================
   PORTFOLIO SHOWCASE & LIGHTBOX
   ================================================== */
.portfolio-tabs-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.ptab-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.ptab-btn.active, .ptab-btn:hover {
  background: var(--green);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.portfolio-card {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.portfolio-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.portfolio-card-thumb .thumb-icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.portfolio-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.portfolio-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portfolio-card-body h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.portfolio-card-body p {
  font-size: 12.5px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* Phase 034: Interactive Before/After Transformation Slider */
.portfolio-card-ba {
  position: relative;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  cursor: ew-resize;
  background: #020D05;
  border-bottom: 1px solid var(--border);
}

.ba-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-image-layer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-layer {
  z-index: 2;
  will-change: clip-path;
}

.ba-after-layer {
  z-index: 1;
}

.ba-label {
  position: absolute;
  bottom: 10px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  border-radius: 4px;
  color: #fff;
  z-index: 5;
  pointer-events: none;
}

.ba-label-before {
  left: 10px;
  background: rgba(220, 38, 38, 0.85);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ba-label-after {
  right: 10px;
  background: rgba(16, 185, 129, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: none;
  will-change: left;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #00A859;
  border: 2.5px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  touch-action: none;
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.15s ease, background 0.15s ease;
}

.ba-handle:hover,
.ba-slider-container:active .ba-handle {
  transform: translate(-50%, -50%) scale(1.1);
  background: #059669;
}

.ba-mode-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 3px;
  border-radius: 999px;
  z-index: 15;
}

.ba-mode-btn {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ba-mode-btn:hover {
  color: #FFFFFF;
}

.ba-mode-btn.active {
  background: #00A859;
  color: #FFFFFF;
}

.portfolio-single-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #020D05;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.portfolio-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-single-thumb img {
  transform: scale(1.03);
}

.portfolio-card-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-verified-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 168, 89, 0.9);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 12;
}

.portfolio-badge-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #F8FAFC;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 12;
}

.portfolio-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.portfolio-category-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-lead-verified {
  font-size: 11px;
  font-weight: 700;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-open-lightbox {
  margin-top: 8px;
  align-self: flex-start;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-open-lightbox:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 168, 89, 0.05);
}

.lightbox-dialog.lightbox-ba-active {
  max-width: 860px;
}

.lightbox-slider-box {
  position: relative;
  width: 100%;
  height: 420px;
  background: #000;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox-provenance-pill {
  font-size: 11px;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-lb-mode {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-lb-mode.active {
  background: #00A859;
  border-color: #00A859;
  color: #FFF;
}

/* Fullscreen Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-dialog {
  background: var(--card);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition);
}

.lightbox-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-banner {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 72px;
}

.lightbox-body {
  padding: 24px;
}

.lightbox-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
}

.lightbox-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ==================================================
   RATINGS & REVIEWS SECTION
   ================================================== */
.reviews-summary-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background: var(--muted);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  align-items: center;
}

.reviews-score-col {
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 20px;
}

.score-big-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}

.score-stars {
  color: var(--gold);
  font-size: 18px;
  margin: 4px 0;
}

.score-total-count {
  font-size: 12.5px;
  color: var(--fg-muted);
}

/* Rating Breakdown Histogram */
.reviews-histogram-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.histo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--fg-muted);
}

.histo-label {
  width: 32px;
  font-weight: 600;
}

.histo-bar-track {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.histo-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.histo-count {
  width: 24px;
  text-align: right;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: box-shadow var(--transition);
}

.review-item-card:hover {
  box-shadow: var(--shadow-sm);
}

.review-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.review-author-name strong {
  font-size: 14px;
  color: var(--fg);
  display: block;
}

.review-author-name span {
  font-size: 11.5px;
  color: var(--fg-muted);
}

.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
}

.review-service-tag {
  display: inline-block;
  background: var(--muted);
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.review-comment-text {
  font-size: 13.5px;
  color: var(--fg);
  line-height: 1.5;
}

.review-item-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-muted);
}

.btn-helpful {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
  color: var(--fg-muted);
  transition: all var(--transition);
}

.btn-helpful:hover {
  background: var(--green-light);
  color: var(--green);
  border-color: var(--green);
}

/* ==================================================
   WRITE A REVIEW MODAL & MOBILE BOTTOM-SHEET DRAWER
   ================================================== */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 23, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.review-modal-dialog {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #F8FAFC;
}

.review-modal-overlay.active .review-modal-dialog {
  transform: scale(1) translateY(0);
}

.drawer-drag-handle {
  display: none;
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  margin: -12px auto 16px;
}

.review-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.review-drawer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Overall Rating & Mood Badge */
.review-overall-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.rating-mood-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: #34D399;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.star-picker-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-picker-lg .star-pick-btn {
  background: none;
  border: none;
  font-size: 34px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-picker-lg .star-pick-btn.active,
.star-picker-lg .star-pick-btn:hover {
  color: #F59E0B;
  transform: scale(1.18);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* Sub-Criteria Granular Box */
.sub-ratings-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-rating-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.sub-rating-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #CBD5E1;
  font-weight: 600;
}

.star-picker-sub {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-sub-btn {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-sub-btn.active,
.star-sub-btn:hover {
  color: #F59E0B;
  transform: scale(1.15);
}

/* Praise & Trait Badges */
.praise-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.praise-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.praise-pill:hover {
  border-color: #34D399;
  color: #FFFFFF;
}

.praise-pill.active {
  background: #006B3F;
  border-color: #006B3F;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 107, 63, 0.35);
}

/* Form Inputs Grid */
.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.review-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px; /* Prevents iOS auto-zoom */
  color: #F8FAFC;
  background: #0F172A;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.review-input:focus {
  outline: none;
  border-color: #006B3F;
  box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.25);
}

/* Photo Upload Dropzone & Previews */
.photo-upload-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-upload-photos {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-upload-photos:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #34D399;
  color: #34D399;
}

.review-photos-preview-grid {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.photo-preview-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.photo-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-thumb .btn-remove-thumb {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Custom Checkbox */
.review-verification-checkbox-row {
  background: rgba(0, 107, 63, 0.08);
  border: 1px solid rgba(0, 107, 63, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
}

.custom-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.custom-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #006B3F;
  cursor: pointer;
  margin-top: 2px;
}

.custom-checkbox-label strong {
  font-size: 13px;
  color: #F8FAFC;
  display: block;
}

/* Live Review Preview Card */
.live-review-preview-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  padding: 14px;
}

.preview-card-box {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 6px;
}

/* Actions */
.review-drawer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile Bottom Sheet Adaptation */
@media (max-width: 768px) {
  .review-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .review-modal-dialog {
    border-radius: 24px 24px 0 0;
    max-height: 88vh;
    padding: 24px 18px;
    transform: translateY(100%);
    border-bottom: none;
  }

  .review-modal-overlay.active .review-modal-dialog {
    transform: translateY(0);
  }

  .drawer-drag-handle {
    display: block;
  }

  .review-form-row {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   SIDEBAR MODULES: DIRECT CONTACT & WHATSAPP BOOKING
   ================================================== */
.sidebar-action-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-action-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: -4px;
}

/* Structured WhatsApp Message Builder Card (Phase 10.12D / Phase 10.20) */
.whatsapp-builder-card {
  background: linear-gradient(180deg, rgba(19, 26, 41, 0.95), rgba(11, 17, 29, 0.98));
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wa-builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-builder-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}

.wa-ai-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.2px;
}

.wa-pricing-guidance-pill {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wa-price-pill-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FCD34D;
  font-size: 13.5px;
  font-weight: 700;
}

.wa-price-subtext {
  font-size: 11.5px;
  color: #94A3B8;
  padding-left: 20px;
}

.wa-scope-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.wa-scope-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  font-family: inherit;
}

.wa-scope-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #F1F5F9;
}

.wa-scope-btn.active {
  background: rgba(0, 107, 63, 0.4);
  border-color: #10B981;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.wa-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wa-questions-hint {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.45;
}

.wa-preview-box {
  background: #0B101B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  color: #E2E8F0;
  line-height: 1.6;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  max-height: 150px;
  overflow-y: auto;
}

.wa-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Floating Toast Notification */
.profile-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #006B3F, #059669);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 90vw;
  text-align: center;
}

.profile-toast.show,
.profile-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.profile-toast.error {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
}

/* Working Hours Schedule Widget */
.working-hours-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.working-hours-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wh-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.wh-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-light);
}

.wh-row strong {
  color: var(--fg);
}

.wh-row span {
  color: var(--fg-muted);
}

/* Nearby Recommendations Grid */
.nearby-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* ==================================================
   RESPONSIVE BREAKPOINTS
   ================================================== */
@media (max-width: 992px) {
  .profile-content-grid {
    grid-template-columns: 1fr;
  }
  .profile-sidebar-col {
    position: static;
  }
  .nearby-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .profile-hero-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-hero-actions {
    width: 100%;
  }
  .profile-hero-actions .btn {
    flex: 1;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .reviews-summary-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .reviews-score-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 16px;
  }
  .nearby-grid {
    grid-template-columns: 1fr;
  }
  .profile-metrics-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Clickable Skill Tag Pills */
.skill-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 107, 63, 0.2);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.skill-tag-pill:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 107, 63, 0.25);
}

.skill-tag-pill svg {
  stroke: currentColor;
}

/* ==================================================
   PHASE 10.21: SEARCH CONTEXT BANNER & MOBILE STICKY BAR
   ================================================== */

/* 1. Search Context Carryover Banner */
.profile-search-context-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(0, 107, 63, 0.15), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(0, 107, 63, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

.context-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.context-banner-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.context-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.context-banner-text strong {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
}

.context-banner-text span {
  font-size: 12.5px;
  color: #34D399;
}

.context-banner-action {
  background: rgba(0, 107, 63, 0.3);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34D399;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.context-banner-action:hover {
  background: #006B3F;
  color: #FFFFFF;
  border-color: #006B3F;
}

/* 2. Mobile Sticky Bottom Action Bar (<992px) */
.profile-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 14, 23, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  min-height: 48px;
  text-decoration: none;
}

.sticky-btn.sticky-call {
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.sticky-btn.sticky-call:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sticky-btn.sticky-wa {
  background: #006B3F;
  border-color: #006B3F;
  color: #FFFFFF;
}

.sticky-btn.sticky-wa:hover {
  background: #005432;
  border-color: #005432;
}

@media (max-width: 992px) {
  .profile-mobile-sticky-bar {
    display: block;
  }
  body.has-sticky-bar {
    padding-bottom: 74px;
  }
}

@media (max-width: 480px) {
  .profile-search-context-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .context-banner-action {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .profile-breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    margin-bottom: 16px;
    scrollbar-width: none;
  }
  .profile-breadcrumbs::-webkit-scrollbar {
    display: none;
  }
  .profile-hero-actions {
    width: 100%;
  }
}

/* ===== ARTISAN VIEW-ONLY PUBLIC PREVIEW STYLES ===== */
.artisan-preview-banner {
  background: linear-gradient(135deg, #0b1528 0%, #162238 100%);
  border-bottom: 2px solid var(--green, #00A859);
  padding: 12px 0;
  color: #F8FAFC;
  position: sticky;
  top: 68px;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: slideDownPreview 0.25s ease-out;
}

@keyframes slideDownPreview {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.preview-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.preview-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.preview-banner-badge {
  background: rgba(0, 168, 89, 0.18);
  border: 1px solid #00A859;
  color: #34D399;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.preview-banner-text {
  font-size: 13.5px;
  color: #E2E8F0;
  line-height: 1.4;
}

.preview-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF !important;
}

.artisan-viewonly-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #94A3B8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  user-select: none;
}

@media (max-width: 640px) {
  .artisan-preview-banner {
    top: 60px;
    padding: 10px 0;
  }
  .preview-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .preview-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
