/* ============================================================
   Lab portal screens — LabFinder 360
   ============================================================ */

.lp {
  background: #f4f7f6;
  min-height: 60vh;
  padding-bottom: 40px;
  overflow-x: hidden;
}

.lp-welcome {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 8px;
}

.lp-welcome h1 {
  margin: 0;
  font-size: 26px;
  color: #0f3d3a;
  font-weight: 700;
  word-break: break-word;
}

.lp-welcome p {
  margin: 6px 0 0;
  color: #2f9e8f;
  font-size: 14px;
}

.lp-tabs-wrap {
  width: 100%;
  border-bottom: 1px solid #e9e9ec;
  background: #fff;
  position: relative;
}

.lp-tabs {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

.lp-tabs::-webkit-scrollbar {
  display: none;
}

.lp-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 4px 15px;
  color: #686868;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  flex-shrink: 0;
  min-height: 48px;
  box-sizing: border-box;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-tabs a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.lp-tabs a:hover {
  color: #0d79b5;
}

.lp-tabs a.is-active {
  color: #0d79b5;
  font-weight: 600;
  border-bottom-color: #0d79b5;
}

.lp-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.lp .od-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  width: 100%;
  box-sizing: border-box;
}

.lp-card {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}

.lp-complete {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lp-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#f59e0b calc(var(--p) * 1%), #e5e7eb 0);
}

.lp-ring span {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.lp-ring small {
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
}

.lp-complete h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.lp-complete p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.lp-chip.done {
  background: #ecfdf5;
  color: #047857;
}

.lp-btn {
  background: #0c769e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.lp-btn--ghost {
  background: #fff;
  color: #0c769e;
  border: 1px solid #0c769e;
}

.lp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.lp-metric {
  padding: 16px;
}

.lp-metric strong {
  display: block;
  font-size: 26px;
  color: #0f3d3a;
}

.lp-metric span {
  color: #64748b;
  font-size: 13px;
}

.lp-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 16px;
}

.lp-step {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.lp-step h3 {
  margin: 0;
  font-size: 14px;
}

.lp-step p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

.lp-badge {
  background: #ffe4e6;
  color: #be123c;
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}

.lp-link {
  color: #0c769e;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.lp-activity {
  font-size: 13px;
  color: #334155;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

/* ---------- Leads header / filters / search ---------- */
.lp-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.lp-head__title {
  margin: 0;
  font-size: 22px;
  color: #0f172a;
}

.lp-filters-wrap {
  width: 100%;
  position: relative;
  margin: 12px 0 16px;
}

.lp-filters {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  margin: 10px 0;
  padding: 4px 2px 6px;
  scrollbar-width: none;
}

.lp-filters::-webkit-scrollbar {
  display: none;
}

.lp-filters a {
  text-decoration: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.lp-filters a:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.lp-filters a.is-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.lp-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  line-height: 1;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.lp-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 14px;
  background: #fff;
}

/* ---------- Desktop table ---------- */
.lp-table-wrap {
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  min-width: 720px;
}

.lp-table th {
  text-align: left;
  font-size: 12px;
  color: #64748b;
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.lp-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  vertical-align: top;
  word-break: break-word;
}

.lp-table tr {
  cursor: pointer;
}

.lp-table tbody tr:hover {
  background: #f8fafc;
}

.lp-table tbody tr:last-child td {
  border-bottom: none;
}

.lp-name {
  font-weight: 700;
  color: #0f172a;
}

.lp-sub {
  color: #64748b;
  font-size: 12px;
}

.lp-row-chevron {
  color: #94a3b8;
  font-size: 18px;
  text-align: right;
  width: 28px;
}

.lp-empty-row td {
  text-align: center;
  padding: 24px;
  color: #94a3b8;
  cursor: default;
}

.lp-pill {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
}

.lp-pill.new {
  background: #e0e7ff;
  color: #3730a3;
}

.lp-pill.contacted {
  background: #fef3c7;
  color: #92400e;
}

.lp-pill.quoted {
  background: #ffedd5;
  color: #9a3412;
}

.lp-pill.won,
.lp-pill.interested {
  background: #dcfce7;
  color: #166534;
}

.lp-pill.lost {
  background: #f1f5f9;
  color: #475569;
}

.lp-pill.sample_received {
  background: #e6f4f1;
  color: #0f766e;
}

.lp-pill.in_progress {
  background: #fff4e5;
  color: #c2410c;
}

.lp-pill.pending_customer_completion {
  background: #ffedd5;
  color: #c2410c;
}

.lp-pill.completed {
  background: #dcfce7;
  color: #15803d;
}

.lp-pill.disputed {
  background: #fee2e2;
  color: #b91c1c;
}

.lp-pill.cancelled {
  background: #f1f5f9;
  color: #64748b;
}

/* ---------- Orders & Leads list ---------- */
.lp-filters--orders,
.lp-filters--leads {
  margin-top: 14px;
}

.lp-filters--orders a.is-active,
.lp-filters--leads a.is-active {
  background: #123c34;
  border-color: #123c34;
  color: #fff;
}

.lp-filters--orders a.is-active .lp-filter-badge,
.lp-filters--leads a.is-active .lp-filter-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.lp-btn--export {
  background: #fff;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  padding: 8px 14px;
  min-height: 36px;
}

.lp-order-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 14px 0 4px;
}

.lp-order-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lp-order-stat strong {
  display: block;
  font-size: 20px;
  color: #0f172a;
  line-height: 1.2;
}

.lp-order-stat > div span {
  color: #64748b;
  font-size: 12px;
}

.lp-order-stat__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lp-order-stat__icon--active {
  background: #e7f6ef;
  color: #15803d;
}

.lp-order-stat__icon--action {
  background: #fff6e0;
  color: #b45309;
}

.lp-order-stat__icon--pay {
  background: #f3e8ff;
  color: #7c3aed;
}

.lp-order-stat__icon--dispute {
  background: #fee2e2;
  color: #dc2626;
}

.lp-search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.lp-search-wrap__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.lp-search-wrap .lp-search {
  margin-bottom: 0;
  padding-left: 38px;
}

.lp-table--orders {
  min-width: 980px;
}

.lp-order-test {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-order-new {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ea580c;
}

.lp-pay {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 88px;
  font-weight: 600;
  color: #166534;
}

.lp-pay__bar {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.lp-pay__bar span {
  display: block;
  height: 100%;
  background: #16a34a;
  border-radius: 999px;
}

.lp-order-next {
  color: #475569;
  font-size: 13px;
}

.lp-order-cards {
  display: none;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Mobile lead cards (hidden on desktop) ---------- */
.lp-lead-cards {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.lp-lead-card {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-lead-card:hover,
.lp-lead-card:focus {
  border-color: #0c769e;
  box-shadow: 0 2px 8px rgba(12, 118, 158, 0.1);
  outline: none;
}

.lp-lead-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.lp-lead-card__product {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
  word-break: break-word;
}

.lp-lead-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  font-size: 12px;
  color: #64748b;
}

.lp-meta-dot {
  margin: 0 4px;
  color: #cbd5e1;
}

.lp-lead-card__email {
  margin-top: 4px;
  word-break: break-all;
}

.lp-lead-empty {
  text-align: center;
  padding: 32px 16px;
  color: #94a3b8;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8eef5;
  font-size: 14px;
}

/* Other portal pieces */
.lp-hero {
  height: 88px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #0f766e, #14b8a6 40%, #fbbf24);
}

.lp-hero-card {
  margin-top: -36px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 16px 18px 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.lp-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  /* background: #0f172a; */
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.lp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lp-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.lp-input,
.lp-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}

.lp-section {
  margin-top: 16px;
}

.lp-section h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.lp-muted {
  color: #64748b;
  font-size: 13px;
  margin: 0 0 12px;
}

.lp-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lp-svc {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
}

.lp-photos {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lp-photos img,
.lp-ph {
  width: 140px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.lp-acc {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

/* ============================================================
   Lab Dashboard - Profile & Edit Profile (Figma Match)
   ============================================================ */

.lp-profile-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-top: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.lp-profile-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.lp-profile-card .lp-muted {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px;
}

/* Identity & Contact Row */
.lp-identity-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.lp-logo-upload-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.lp-logo-upload-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-logo-upload-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.45); */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #ffffff;
}

.lp-logo-upload-wrap:hover .lp-logo-upload-overlay {
  opacity: 1;
}

.lp-hidden-file {
  display: none !important;
}

/* Card-style Field Containers */
.lp-field-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.lp-field-card:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.lp-field-card--grow {
  flex: 1;
}

.lp-field-card--highlight {
  border-color: #fde68a !important;
  background: #fffdf5 !important;
}

.lp-field-card--highlight:focus-within {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15) !important;
}

.lp-field-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 4px;
  display: block;
}

.lp-field-card-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}

.lp-field-card-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  font-weight: 500;
}

.lp-field-card-input::placeholder {
  color: #94a3b8;
}

/* Phone Group (+91 selector) */
.lp-phone-group {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.lp-country-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
  padding-right: 8px;
  border-right: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.lp-country-code-btn svg {
  color: #64748b;
}

.lp-phone-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  font-weight: 500;
}

.lp-phone-input::placeholder {
  color: #94a3b8;
}

/* Grids */
.lp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.lp-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* Custom Searchable Select (State & Country) */
.lp-select-wrap {
  position: relative;
  width: 100%;
}

.lp-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.lp-select-trigger-val {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-select-trigger-val--empty {
  color: #94a3b8;
}

.lp-select-arrow {
  color: #64748b;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 6px;
}

.lp-select-wrap.is-open .lp-select-arrow {
  transform: rotate(180deg);
}

.lp-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 100;
  padding: 8px;
  max-height: 240px;
  display: flex;
  flex-direction: column;
}

.lp-select-search {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  margin-bottom: 6px;
}

.lp-select-search:focus {
  border-color: #0284c7;
}

.lp-select-options {
  overflow-y: auto;
  flex: 1;
  max-height: 180px;
}

.lp-select-option {
  padding: 8px 10px;
  font-size: 13px;
  color: #334155;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s;
}

.lp-select-option:hover,
.lp-select-option.is-active {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

/* Social Media Section */
.lp-social-section {
  margin-top: 14px;
}

.lp-social-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.lp-social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.lp-social-icon-btn:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  border-color: #cbd5e1;
}

.lp-social-icon-btn img {
  width: 20px;
  height: 20px;
}

.lp-social-add-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px dashed #0284c7;
  background: #f0f9ff;
  color: #0284c7;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.lp-social-add-btn:hover {
  transform: translateY(-2px);
  background: #e0f2fe;
}

.lp-social-edit-drawer {
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.lp-social-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.lp-social-input-row:last-child {
  margin-bottom: 0;
}

.lp-social-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 120px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  flex-shrink: 0;
}

.lp-social-platform-badge img {
  width: 20px;
  height: 20px;
}

.lp-social-url-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #0f172a;
  outline: none;
}

.lp-social-url-input:focus {
  border-color: #0284c7;
}

/* Tag Groups (Disciplines, Departments, Categories, Subcategories) */
.lp-tag-group-card {
  margin-top: 18px;
}

.lp-tag-group-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.lp-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Dark Navy Pill (Figma Match for Selected Pills) */
.lp-pill-selected {
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lp-pill-selected:hover {
  background: #1e293b;
}

.lp-pill-selected svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

/* Light Gray Pill (View Mode) */
.lp-pill-view {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
}

/* Light Blue Add/Search Pill (Figma Match) */
.lp-pill-add {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lp-pill-add:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.lp-pill-suggestions-panel {
  margin-top: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}

.lp-pill-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  margin-bottom: 10px;
  background: #ffffff;
}

.lp-pill-search-input:focus {
  border-color: #0284c7;
}

.lp-pill-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.lp-pill-suggestion {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  border-radius: 16px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.12s;
}

.lp-pill-suggestion:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

/* Service Offerings */
.lp-service-card-edit {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  position: relative;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}

.lp-service-card-edit:hover,
.lp-service-card-edit:focus-within {
  border-color: #cbd5e1;
}

.lp-dismiss-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lp-dismiss-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.lp-btn-outline {
  background: #ffffff;
  border: 1px solid #0284c7;
  color: #0284c7;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.lp-btn-outline:hover {
  background: #f0f9ff;
}

.lp-services-view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lp-service-card-view {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}

.lp-service-card-view h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.lp-service-card-view p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

/* Facility Photos */
.lp-photos-edit-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.lp-photo-upload-slot {
  width: 140px;
  height: 110px;
  border: 2px dashed #93c5fd;
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0284c7;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
  user-select: none;
}

.lp-photo-upload-slot:hover {
  background: #eff6ff;
  border-color: #0284c7;
}

.lp-photo-upload-slot svg {
  color: #0284c7;
}

.lp-photo-slot {
  width: 140px;
  height: 110px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #e2e8f0;
  flex-shrink: 0;
}

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

.lp-photo-slot .lp-dismiss-btn {
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
}

.lp-photo-slot .lp-dismiss-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.lp-photos-view-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.lp-photo-view-thumb {
  width: 140px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  position: relative;
}

.lp-photo-view-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-photo-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}

/* Accreditations */
.lp-accred-row {
  display: grid;
  grid-template-columns: 56px 1.5fr 1fr 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #ffffff;
  position: relative;
}

/* Dismiss / Close Icon Button (identical to review-details.html) */
.review-dismiss-btn {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.review-dismiss-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.review-dismiss-btn svg {
  width: 8px;
  height: 8px;
  display: block;
  pointer-events: none;
}

.lp-accred-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.lp-accred-logo-box img {
  max-width: 34px;
  max-height: 40px;
  object-fit: contain;
}

.lp-accred-field {
  display: flex;
  flex-direction: column;
}

.lp-accred-field-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 4px;
}

.lp-accred-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
}

.lp-accred-input:focus {
  border-color: #0284c7;
}

.lp-accred-card-view {
  display: grid;
  grid-template-columns: 56px 1.5fr 1fr 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: #ffffff;
}

.lp-accred-view-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.lp-accred-view-sub {
  font-size: 13px;
  color: #475569;
}

/* ============================================================
   Test & Scope Styles (Figma: Test & Scope.png)
   ============================================================ */

.lp-scope-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.lp-scope-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.lp-scope-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lp-scope-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lp-scope-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.lp-scope-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.lp-dept-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
}

.lp-dept-badge svg {
  width: 12px;
  height: 12px;
}

.lp-dept-badge--chem {
  background: #ecfdf5;
  color: #047857;
}

.lp-dept-badge--mech {
  background: #f0f9ff;
  color: #0369a1;
}

.lp-dept-badge--metal {
  background: #fef2f2;
  color: #b91c1c;
}

.lp-dept-badge--elec {
  background: #fffbeb;
  color: #b45309;
}

.lp-dept-badge--other {
  background: #f1f5f9;
  color: #475569;
}

/* Toggle Switch */
.lp-toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}

.lp-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lp-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.2s ease;
  border-radius: 22px;
}

.lp-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s ease;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lp-toggle-switch input:checked + .lp-toggle-slider {
  background-color: #10b981;
}

.lp-toggle-switch input:checked + .lp-toggle-slider:before {
  transform: translateX(16px);
}

.lp-scope-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: auto;
}

.lp-scope-param-count {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.lp-scope-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0284c7;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.12s;
  text-decoration: none;
}

.lp-scope-edit-btn:hover {
  background: #f0f9ff;
}

.lp-scope-edit-btn svg {
  width: 14px;
  height: 14px;
  stroke: #0284c7;
}

/* Toolbar & Filters */
.lp-scope-toolbar {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-scope-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-scope-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-scope-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
}

.lp-scope-pill:hover {
  border-color: #cbd5e1;
}

.lp-scope-pill.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  font-weight: 600;
}

.lp-view-mode-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.lp-view-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  transition: all 0.12s;
}

.lp-view-mode-btn.is-active {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
}

.lp-scope-search-box {
  position: relative;
  width: 100%;
}

.lp-scope-search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s;
}

.lp-scope-search-input:focus {
  border-color: #0284c7;
}

.lp-scope-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #94a3b8;
}

.lp-scope-empty {
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 16px;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .lp-scope-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lp-scope-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .lp-grid-2,
  .lp-grid-3,
  .lp-services-view-grid {
    grid-template-columns: 1fr;
  }

  .lp-accred-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lp-accred-card-view {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Responsive breakpoints
   ============================================================ */

@media (max-width: 900px) {
  .lp-metrics,
  .lp-order-stats,
  .lp-split,
  .lp-grid,
  .lp-services {
    grid-template-columns: 1fr;
  }

  .lp-acc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) and (min-width: 560px) {
  .lp-order-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet: keep table with horizontal scroll */
@media (max-width: 900px) and (min-width: 769px) {
  .lp-table {
    min-width: 680px;
  }
}

/* Mobile: switch table → cards */
@media (max-width: 768px) {
  .lp-welcome {
    padding: 20px 14px 8px;
  }

  .lp-welcome h1 {
    font-size: 20px;
  }

  .lp-tabs-wrap {
    margin: 8px 0 0;
  }

  .lp-tabs {
    padding: 0 14px;
    gap: 16px;
    margin: 0 auto;
  }

  .lp-tabs a {
    font-size: 13.5px;
    padding: 11px 4px 13px;
    gap: 7px;
    min-height: 44px;
  }

  .lp-tabs a svg {
    width: 18px;
    height: 18px;
  }

  .lp-main {
    padding: 14px 12px;
  }

  .lp-head {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-head__title {
    font-size: 20px;
  }

  .lp-btn--new {
    width: 100%;
    min-height: 44px;
  }

  .lp-filters-wrap {
    margin: 8px -12px 14px;
    width: calc(100% + 24px);
  }

  .lp-filters {
    margin: 0;
    padding: 4px 12px 6px;
    gap: 6px;
  }

  .lp-filters a {
    padding: 6px 12px;
    font-size: 12.5px;
    gap: 6px;
    min-height: 36px;
  }

  .lp-filter-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10.5px;
  }

  .lp-search {
    font-size: 16px; /* prevent iOS zoom */
    min-height: 44px;
  }

  /* Hide desktop table; show cards */
  .lp-table-wrap {
    display: none;
  }

  .lp-lead-cards,
  .lp-order-cards {
    display: flex;
  }
}

@media (max-width: 480px) {
  .lp-welcome h1 {
    font-size: 18px;
  }

  .lp-tabs {
    gap: 12px;
    padding: 0 10px;
  }

  .lp-tabs a {
    font-size: 13px;
    padding: 10px 2px 12px;
    gap: 5px;
    min-height: 42px;
  }

  .lp-tabs a svg {
    width: 16px;
    height: 16px;
  }

  .lp-filters-wrap {
    margin: 6px -12px 12px;
    width: calc(100% + 24px);
  }

  .lp-filters {
    padding: 4px 12px 6px;
    gap: 6px;
  }

  .lp-filters a {
    padding: 5px 10px;
    font-size: 12px;
    gap: 5px;
    min-height: 34px;
  }

  .lp-filter-badge {
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 10px;
  }

  .lp-lead-card {
    padding: 12px 14px;
  }

  .lp-lead-card__product {
    font-size: 13px;
  }
}



/* ============================================================
   Lab Detail Page (Figma Screen: Lab Details.png Match)
   ============================================================ */

.lp-detail-page {
  background: #ffffff;
  padding-bottom: 60px;
}

/* Breadcrumb */
.lp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  padding-top: 16px;
}

.lp-breadcrumb-dot {
  color: #d1d5db;
  font-size: 10px;
}

.lp-breadcrumb-current {
  color: #6b7280;
  font-weight: 600;
}

/* 1. Hero Identity */
.lp-detail-hero {
  background: #ffffff;
  margin-bottom: 24px;
}

.lp-detail-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.lp-detail-hero__identity {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.lp-detail-hero__logo {
  height: 90px;
  width: 90px;
  object-fit: contain;
  border-radius: 12px;
  background: #fef3c7;
  padding: 8px;
  flex-shrink: 0;
}

.lp-detail-hero__logo-fallback {
  height: 90px;
  width: 90px;
  border-radius: 12px;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #d97706;
  font-size: 24px;
  flex-shrink: 0;
}

.lp-detail-hero__info {
  display: flex;
  flex-direction: column;
}

.lp-detail-hero__title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.lp-detail-hero__rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 10px;
}

.lp-detail-hero__stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 13px;
}

.lp-detail-hero__score {
  font-weight: 700;
  color: #111827;
}

.lp-detail-hero__review-count {
  color: #6b7280;
  font-weight: 400;
}

.lp-detail-hero__address-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 999px;
  padding: 4px 12px;
  color: #047857;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}

.lp-detail-hero__address-caret {
  font-size: 10px;
  color: #059669;
}

.lp-detail-hero__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lp-badge--vista {
  background: #1e293b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lp-badge--accred {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 10px;
}

.lp-btn--send-enquiry {
  background: #059669;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease;
}

.lp-btn--send-enquiry:hover {
  background: #047857;
  color: #ffffff;
}

/* 2. Metrics Banner (4 Rounded Pills Layout) */
.lp-metrics-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.lp-metric-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
}

.lp-metric-pill--purple {
  background: #faf5ff;
  border-color: #ede9fe;
}

.lp-metric-pill__val {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.lp-metric-pill__lbl {
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
}

/* 3. Detail Navigation Bar */
.lp-detail-nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 28px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow-x: auto;
}

.lp-detail-nav .review-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 2px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-detail-nav .review-step svg {
  stroke: currentColor;
  flex-shrink: 0;
}

.lp-detail-nav .review-step:hover {
  color: #111827;
}

.lp-detail-nav .review-step--active {
  color: #111827;
  font-weight: 600;
  border-bottom-color: #111827;
}

/* 4. Layout 2-Column Grid */
.lp-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.lp-detail-main {
  min-width: 0;
}

.lp-detail-section {
  margin-bottom: 32px;
}

/* Section Headings with Green Vertical Accent Bar */
.lp-section-heading {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
}

.lp-section-heading::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 18px;
  background: #059669;
  border-radius: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Card Box (for sections that use container card) */
.lp-card-box {
  background: #ffffff;
  border-radius: 12px;
}

/* Overview Section Description */
.lp-overview-desc {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.lp-sub-label {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

/* Disciplines Pill Tags */
.lp-disciplines-wrap {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-discipline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.lp-disc--mech {
  background: #ede9fe;
  color: #7c3aed;
}

.lp-disc--chem {
  background: #ffedd5;
  color: #c2410c;
}

.lp-disc--metal {
  background: #d1fae5;
  color: #047857;
}

.lp-disc--ndt {
  background: #f3f4f6;
  color: #4b5563;
}

.lp-disc--default {
  background: #e0f2fe;
  color: #0284c7;
}

/* 5. Meta Grid (No Gray Box Background, Icons on Left) */
.lp-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 24px;
}

.lp-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-meta-item__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.lp-meta-item__content {
  display: flex;
  flex-direction: column;
}

.lp-meta-item__lbl {
  font-size: 10px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

.lp-meta-item__val {
  font-size: 13px;
  color: #111827;
  font-weight: 600;
  line-height: 1.3;
}

/* 6. Services Section */
.lp-filter-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.lp-filter-pill {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.lp-filter-pill:hover {
  border-color: #cbd5e1;
}

.lp-filter-pill.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.lp-search-box {
  position: relative;
  margin-bottom: 20px;
}

.lp-search-box input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 38px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  background: #ffffff;
  box-sizing: border-box;
  outline: none;
}

.lp-search-box input:focus {
  border-color: #059669;
}

.lp-search-box svg {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  stroke: #9ca3af;
  pointer-events: none;
}


/* ============================================================
   Services Card Redesign (Exact Figma Match)
   ============================================================ */

.lp-service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lp-service-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.lp-service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.lp-service-card__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 16px 0;
}

.lp-service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.lp-disc--micro {
  background: #fef3c7;
  color: #d97706;
}

/* Service Card Footer Split Layout */
.lp-service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.lp-service-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.lp-service-card__count {
  font-weight: 700;
  color: #374151;
}

.lp-service-card__price {
  font-weight: 800;
  color: #047857; /* Vibrant Green Price Text */
  font-size: 14px;
}

.lp-service-card__link {
  font-size: 13.5px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.lp-service-card__link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.lp-service-card__link svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* 7. Packages Section */
.lp-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.lp-pkg-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lp-pkg-card--featured {
  border-color: #bae6fd;
}

.lp-pkg-card__popular-badge {
  position: absolute;
  /* top: -10px; */
  right: 16px;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  color: #d97706;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}

.lp-pkg-card__body {
  padding: 22px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lp-pkg-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.lp-pkg-card__desc {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex: 1;
}

.lp-pkg-card__pill {
  align-self: flex-start;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  padding: 4px 10px;
}

.lp-pkg-card__footer {
  border-top: 1px solid #e5e7eb;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-pkg-footer--blue {
  background: #e0f2fe;
}

.lp-pkg-footer--gray {
  background: #f9fafb;
}

.lp-pkg-footer--green {
  background: #ecfdf5;
}

.lp-pkg-card__orig-price {
  font-size: 11px;
  color: #0284c7;
  text-decoration: line-through;
  display: block;
}

.lp-pkg-card__curr-price {
  font-size: 18px;
  font-weight: 800;
  color: #047857;
}

.lp-pkg-card__save-badge {
  font-size: 11px;
  font-weight: 600;
  color: #047857;
}

/* 8. Tests & Pricing Section */
.lp-pricing-wrapper {
  margin-bottom: 28px;
}

.lp-pricing-header {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px 12px 0 0;
  padding: 16px 20px 18px;
}

.lp-pricing-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.lp-pricing-tab {
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  cursor: pointer;
}

.lp-pricing-tab.is-active {
  color: #0284c7;
  font-weight: 600;
  border-bottom-color: #0284c7;
}

.lp-pricing-search {
  position: relative;
}

.lp-pricing-search input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 38px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  background: #ffffff;
  box-sizing: border-box;
  outline: none;
}

.lp-pricing-search input:focus {
  border-color: #0284c7;
}

.lp-pricing-search svg {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  stroke: #9ca3af;
  pointer-events: none;
}

.lp-pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.lp-pricing-table th {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  text-align: left;
}

.lp-pricing-table th.lp-th-right {
  text-align: right;
}

.lp-pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.lp-pricing-row {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lp-pricing-row:hover {
  background-color: #f8fafc;
}

.lp-test-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.lp-test-sub {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.4;
  max-width: 440px;
}

.lp-test-cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.lp-test-cat-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 500;
}

.lp-test-params {
  font-size: 12.5px;
  color: #374151;
  font-weight: 500;
}

.lp-test-estimate {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.lp-test-chevron {
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

/* 9. Photos and Videos Section */
.lp-photos-layout {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 14px;
  margin-bottom: 28px;
}

.lp-photo-large {
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
}

.lp-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-photos-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 350px;
}

.lp-photo-small {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.lp-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-photo-view-all-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-decoration: none;
}

/* 10. Reviews Section */
.lp-reviews-section {
  margin-bottom: 40px;
}

.lp-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.lp-reviews-header__title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.lp-reviews-header__title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 18px;
  background: #059669;
  border-radius: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}

.lp-section-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 40px 0;
  width: 100%;
}

.lp-btn--dark-sm {
  background: #1e293b;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-btn--dark-sm:hover {
  background: #0f172a;
  transform: translateY(-1px);
}

.lp-reviews-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.lp-reviews-box .lp-reviews-grid {
  display: flex !important;
  gap: 20px;
  align-items: stretch;
}

/* ============================================================
   Rating Summary Card & Laurel Wreath Design Match
   ============================================================ */

.lp-rating-summary-card {
  width: 260px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Horizontal Laurel Wreath Flex Layout */
.lp-wreath-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.lp-wreath-leaf {
  width: 44px;
  height: 82px;
  object-fit: contain;
  flex-shrink: 0;
}

.lp-wreath-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lp-rating-score {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.lp-rating-stars {
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.lp-rating-sub {
  font-size: 13px;
  color: #0f172a;
  font-weight: 500;
}

/* Histogram Bars */
.lp-histogram-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.lp-histogram-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #0f172a;
  font-weight: 600;
}

.lp-histogram-star {
  width: 22px;
  text-align: left;
  font-size: 12.5px;
  color: #0f172a;
  white-space: nowrap;
}

.lp-histogram-track {
  flex: 1;
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.lp-histogram-fill {
  height: 100%;
  background: #ffa03a; /* Warm Figma orange bar fill */
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Leave Review Button */
.lp-btn-orange {
  display: block;
  width: 100%;
  padding: 13px 0;
  background: #ffa03a;
  color: #0f172a; /* Exact Figma dark bold text */
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.lp-btn-orange:hover {
  background: #f97316;
  color: #ffffff;
}

.lp-reviews-divider {
  width: 1px;
  background: #e2e8f0;
  align-self: stretch;
  flex-shrink: 0;
  margin: 0 4px;
}

.lp-review-cards-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
}

.lp-rev-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.lp-rev-card--empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.lp-rev-card__body {
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.55;
  margin: 0 0 14px 0;
  font-weight: 400;
}

.lp-rev-card__stars {
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.lp-rev-card__reply {
  background: #f8fafc;
  border-left: 3px solid #059669;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 12.5px;
}

.lp-rev-card__reply .lp-reply-badge {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
}

.lp-rev-card__reply p {
  margin: 0;
  color: #334155;
}

.lp-rev-card__meta {
  margin-top: auto;
  border-top: none;
  padding-top: 0;
}

.lp-rev-card__author {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
}

.lp-rev-card__sub {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.3;
  margin-bottom: 2px;
}

.lp-rev-card__date {
  font-size: 12px;
  color: #64748b;
}

.lp-review-tags-wrap {
  border-top: 1px solid #e2e8f0;
  margin-top: 24px;
  padding-top: 20px;
}

.lp-review-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lp-review-tags-row--pos {
  margin-bottom: 12px;
}

.lp-tag-pill {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.lp-tag-pill svg {
  flex-shrink: 0;
}

.lp-tag-pill--pos {
  background: #e6fbf2;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.lp-tag-pill--neg {
  background: #fff1f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.lp-other-lab-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

@media (max-width: 992px) {
  .lp-reviews-grid {
    flex-direction: column;
  }
  .lp-rating-summary-card {
    width: 100%;
  }
  .lp-reviews-divider {
    display: none;
  }
  .lp-review-cards-list {
    grid-template-columns: 1fr;
  }
}

/* 11. Certificates & Documents */
.lp-certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
}

.lp-cert-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lp-cert-card__icon-box {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.lp-cert-card__icon-box img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.lp-cert-card__code {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lp-cert-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.lp-cert-card__sub {
  font-size: 11px;
  color: #6b7280;
}

.lp-cert-card__valid {
  font-size: 11px;
  color: #047857;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 12. Right Sidebar */
.lp-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-sidebar-ad {
  background: linear-gradient(135deg, #0f3d3e 0%, #0b2d2e 100%);
  border-radius: 16px;
  padding: 24px;
  color: #ffffff;
}

.lp-sidebar-ad__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px 0;
  color: #ffffff;
}

.lp-sidebar-ad__img {
  width: 100%;
  border-radius: 8px;
}

.lp-sidebar-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

.lp-other-lab-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #f3f4f6;
}

.lp-other-lab-item:last-child {
  border-bottom: none;
}

.lp-other-lab-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.lp-other-lab-info {
  flex: 1;
  min-width: 0;
}

.lp-other-lab-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.lp-other-lab-meta {
  font-size: 11.5px;
  color: #6b7280;
  margin-bottom: 4px;
}

.lp-other-lab-badges {
  display: flex;
  gap: 6px;
}

.lp-other-lab-badge {
  font-size: 10px;
  color: #6b7280;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 1px 6px;
}

/* Sidebar Enquiry Form Card */
.lp-enquiry-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
}

.lp-enquiry-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.lp-enquiry-sub {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 16px 0;
}

.lp-form-field {
  margin-bottom: 12px;
}

.lp-form-label {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.lp-form-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
}

.lp-form-input:focus {
  border-color: #059669;
}

.lp-form-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
}

.lp-form-textarea:focus {
  border-color: #059669;
}

.lp-btn--quote {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.lp-btn--quote:hover {
  background: #1e293b;
}

/* 13. Trust Banner at Bottom */
.lp-trust-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0 20px;
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.lp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lp-trust-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #b45309;
}

.lp-trust-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px 0;
}

.lp-trust-desc {
  font-size: 11.5px;
  color: #6b7280;
  margin: 0;
}

/* ============================================================
   Write Review Popup Modal Styles (Leave Review.png match)
   ============================================================ */

.lp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Ensures padding around modal on smaller screens */
  box-sizing: border-box;
}

.lp-modal[hidden] {
  display: none !important;
}

.lp-modal__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.lp-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px); /* Keeps modal inside viewport */
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 10;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
  overflow-y: auto; /* Makes modal internal scrollable */
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for clean aesthetic */
.lp-modal__dialog::-webkit-scrollbar {
  width: 6px;
}
.lp-modal__dialog::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}

.lp-modal__dialog::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}
.lp-modal__dialog::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


.lp-modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  z-index: 15;
}

.lp-modal__close:hover {
  color: #0f172a;
}

.lp-modal__header {
  text-align: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.lp-modal__lab-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin: 0 auto 10px;
  background: #fbcfe8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lp-modal__logo-fallback {
  font-size: 22px;
  font-weight: 800;
  color: #9d174d;
}

.lp-modal__lab-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-modal__logo-fallback {
  font-size: 20px;
  font-weight: 800;
  color: #9d174d;
}

.lp-modal__lab-name {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.lp-modal__lab-location {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px 0;
}



/* Star Rating Under Lab Name (Leave Review.png match) */
/* Main overall experience stars */
.lp-modal__stars {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 38px;
  line-height: 1;
  user-select: none;
  margin-bottom: 12px;
}

.lp-modal__stars .star {
  color: #e2e8f0; /* Default unselected grey */
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

/* Yellow color for active/hovered stars */
.lp-modal__stars .star.is-active,
.lp-modal__stars .star.is-hover,
.lp-modal__stars .star:hover {
  color: #f59e0b !important; /* Bright Yellow */
}

/* Specific category small stars */
.star-rating-sm {
  display: flex;
  gap: 6px;
  font-size: 22px;
  user-select: none;
}

.star-rating-sm .star-sm {
  color: #e2e8f0;
  cursor: pointer;
  transition: color 0.15s ease;
}

/* Yellow color for small category active/hovered stars */
.star-rating-sm .star-sm.is-active,
.star-rating-sm .star-sm.is-hover,
.star-rating-sm .star-sm:hover {
  color: #f59e0b !important; /* Bright Yellow */
}

/* Specifics Section & Small Stars */
.lp-modal__section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #047857;
  border-left: 3px solid #047857;
  padding-left: 8px;
  margin: 20px 0 16px 0;
}

.lp-modal__specific-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  margin-bottom: 16px;
}


.lp-textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  color: #0f172a;
  resize: vertical;
  outline: none;
  font-family: inherit;
  margin-top: 10px;
}

.lp-textarea:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.lp-modal__rating-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

/* Form Container */
.lp-modal__body {
  display: flex;
  flex-direction: column;
}

/* Submit Footer Pinning */
.lp-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.lp-modal__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
}

.lp-modal__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  accent-color: #059669;
  cursor: pointer;
}

.lp-btn--green {
  background: #059669;
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lp-btn--green:hover {
  background: #047857;
}

/* ==========================================================================
   All Reviews Viewing Modal
   ========================================================================== */
.lp-reviews-modal-dialog {
  max-width: 800px;
  max-height: 85vh;
  padding: 32px;
}

.lp-reviews-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.lp-reviews-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.lp-reviews-modal-sub {
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-reviews-modal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding-right: 4px;
  max-height: calc(85vh - 160px);
}

.lp-reviews-modal-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.lp-reviews-modal-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lp-reviews-modal-item-author {
  font-weight: 700;
  color: #0f172a;
  font-size: 14.5px;
}

.lp-reviews-modal-item-date {
  font-size: 12px;
  color: #94a3b8;
}

.lp-reviews-modal-item-body {
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 12px;
}

.lp-reviews-modal-item-reply {
  background: #ffffff;
  border-left: 3px solid #059669;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 13px;
}

.lp-reviews-modal-item-reply strong {
  color: #059669;
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

/* ==========================================================================
   Reviews Tab Styling (figma-screens/lab/Reviews.png)
   ========================================================================== */
.lp-dashboard-reviews-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: start;
}

.lp-reviews-score-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lp-reviews-big-score {
  font-size: 48px;
  font-weight: 800;
  color: #065f46;
  line-height: 1;
  margin-bottom: 10px;
}

.lp-reviews-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.lp-star-icon {
  width: 20px;
  height: 20px;
  color: #f59e0b;
}

.lp-reviews-count-text {
  font-size: 13.5px;
  color: #6b7280;
  margin-bottom: 26px;
}

.lp-reviews-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-reviews-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.lp-reviews-bar-label {
  width: 24px;
  color: #6b7280;
  font-weight: 500;
  text-align: left;
}

.lp-reviews-bar-track {
  flex: 1;
  height: 6px;
  background-color: #f3f4f6;
  border-radius: 9999px;
  overflow: hidden;
}

.lp-reviews-bar-fill {
  height: 100%;
  background-color: #f59e0b;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.lp-reviews-bar-pct {
  width: 32px;
  color: #6b7280;
  font-weight: 500;
  text-align: right;
  font-size: 13px;
}

.lp-reviews-list-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lp-reviews-list-head {
  margin-bottom: 24px;
}

.lp-reviews-list-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.lp-reviews-list-sub {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0;
}

.lp-reviews-items {
  display: flex;
  flex-direction: column;
}

.lp-review-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 24px 0;
}

.lp-review-item:first-child {
  padding-top: 0;
}

.lp-review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lp-review-item__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
}

.lp-review-author {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.lp-review-item__meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-review-vis-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1.2;
}

.lp-review-vis-badge--visible {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.lp-review-vis-badge--visible .lp-vis-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.lp-review-vis-badge--hidden {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.lp-review-vis-badge--hidden .lp-vis-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

.lp-btn-review-toggle-hide {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-btn-review-toggle-hide:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

.lp-btn-review-toggle-hide--locked {
  background: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
}

.lp-btn-review-toggle-hide--locked:hover {
  background: #f1f5f9;
  color: #64748b;
  border-color: #cbd5e1;
}

.lp-review-time {
  font-size: 13px;
  color: #9ca3af;
  white-space: nowrap;
}

.lp-review-item__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.lp-star-icon--sm {
  width: 14px;
  height: 14px;
}

.lp-star-icon--sm.is-filled {
  color: #f59e0b;
}

.lp-star-icon--sm.is-empty {
  color: #e5e7eb;
}

.lp-review-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.55;
  margin: 6px 0 14px 0;
}

.lp-review-reply-callout {
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 10px;
}

.lp-review-reply-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.lp-review-reply-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.lp-btn-reply-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #2563eb;
  background: #ffffff;
  color: #2563eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-btn-reply-toggle:hover {
  background: #eff6ff;
}

.lp-review-reply-form {
  margin-top: 12px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #e2e8f0;
}

@media (max-width: 860px) {
  .lp-dashboard-reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Settings Tab Styling (figma-screens/lab/settings.png)
   ========================================================================== */
.lp-settings-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
}

.lp-settings-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.lp-settings-card-head {
  margin-bottom: 20px;
}

.lp-settings-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.lp-settings-section-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Plan & Billing Banner */
.lp-billing-banner {
  background: #0f3d32;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 16px;
  flex-wrap: wrap;
}

.lp-billing-banner__title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lp-billing-banner__sub {
  color: #94a3b8;
  font-size: 13px;
}

.lp-btn-upgrade-plan {
  background: #eab308;
  color: #0f172a;
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lp-btn-upgrade-plan:hover {
  background: #ca8a04;
}

/* Settings Toggle Rows */
.lp-settings-toggle-list {
  display: flex;
  flex-direction: column;
}

.lp-settings-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
}

.lp-settings-toggle-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lp-settings-toggle-row:first-child {
  padding-top: 0;
}

.lp-settings-toggle-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 3px;
}

.lp-settings-toggle-desc {
  font-size: 13px;
  color: #64748b;
}

/* iOS Toggle Switch */
.lp-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.lp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.lp-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .25s ease;
  border-radius: 24px;
}

.lp-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lp-switch input:checked + .lp-slider {
  background-color: #059669;
}

.lp-switch input:checked + .lp-slider:before {
  transform: translateX(20px);
}

/* Team Access List */
.lp-team-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.lp-team-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.lp-team-row:hover {
  background: #f8fafc;
}

.lp-team-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f3d32;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.lp-team-details {
  flex: 1;
  min-width: 0;
}

.lp-team-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.lp-team-designation-badge {
  font-size: 11px;
  font-weight: 500;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 8px;
  border-radius: 4px;
  display: inline-block;
}

.lp-team-email {
  font-size: 13px;
  color: #64748b;
  word-break: break-all;
}

.lp-team-role-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lp-team-role-badge {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
}

.lp-team-role--admin {
  background: #dcfce7;
  color: #15803d;
}

.lp-team-role--manager {
  background: #e0f2fe;
  color: #0369a1;
}

.lp-team-role--viewer {
  background: #f1f5f9;
  color: #475569;
}

.lp-btn-icon-subtle {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.lp-btn-icon-subtle:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.lp-btn-invite {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-btn-invite:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Account Settings Buttons */
.lp-btn-link-action {
  background: transparent;
  border: none;
  color: #0284c7;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
}

.lp-btn-link-action:hover {
  text-decoration: underline;
}

.lp-btn-danger-outline {
  background: #ffffff;
  border: 1px solid #fecdd3;
  color: #e11d48;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-btn-danger-outline:hover {
  background: #fff1f2;
  border-color: #fda4af;
}

/* Modal and Permissions styling */
.lp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lp-modal-box {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.lp-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.lp-modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.lp-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-permissions-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-permissions-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.lp-perm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
}

.lp-perm-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #059669;
  flex-shrink: 0;
}

.lp-btn-danger-text {
  background: transparent;
  border: none;
  color: #e11d48;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
}

.lp-btn-danger-text:hover {
  text-decoration: underline;
}

/* ============================================================
   Lab Detail Page Responsive Styles
   ============================================================ */
.lp-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
  .lp-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lp-metrics-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

@media (max-width: 768px) {
  .lp-detail-hero__top {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .lp-detail-hero__actions {
    width: 100%;
    justify-content: stretch;
  }

  .lp-detail-hero__actions > * {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }

  .lp-detail-nav {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 2px;
  }

  .lp-detail-nav::-webkit-scrollbar {
    display: none;
  }

  .lp-pricing-table {
    min-width: 580px;
  }

  .lp-pricing-tabs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lp-pricing-tabs::-webkit-scrollbar {
    display: none;
  }

  .lp-pricing-tab {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .lp-detail-hero__identity {
    gap: 12px;
  }

  .lp-detail-hero__logo,
  .lp-detail-hero__logo-fallback {
    width: 60px;
    height: 60px;
    font-size: 18px;
    border-radius: 10px;
  }

  .lp-detail-hero__title {
    font-size: 18px;
  }

  .lp-metrics-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .lp-metric-pill {
    padding: 10px 12px;
  }

  .lp-metric-pill__val {
    font-size: 18px;
  }

  .lp-metric-pill__lbl {
    font-size: 11px;
  }

  .lp-certs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lp-cert-card {
    padding: 20px 16px;
  }

  .lp-detail-hero__actions {
    flex-direction: column;
    gap: 8px;
  }

  .lp-detail-hero__actions a {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 360px) {
  .lp-detail-hero__title {
    font-size: 16px;
  }

  .lp-metric-pill {
    padding: 8px 10px;
  }

  .lp-metric-pill__val {
    font-size: 16px;
  }
}

/* ============================================================
   Lab Detail Page Responsive Styles
   ============================================================ */
.lp-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
  .lp-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lp-metrics-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

@media (max-width: 768px) {
  .lp-detail-hero__top {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .lp-detail-hero__actions {
    width: 100%;
    justify-content: stretch;
  }

  .lp-detail-hero__actions > * {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }

  .lp-detail-nav {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 2px;
  }

  .lp-detail-nav::-webkit-scrollbar {
    display: none;
  }

  .lp-pricing-table {
    min-width: 580px;
  }

  .lp-pricing-tabs {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lp-pricing-tabs::-webkit-scrollbar {
    display: none;
  }

  .lp-pricing-tab {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .lp-detail-hero__identity {
    gap: 12px;
  }

  .lp-detail-hero__logo,
  .lp-detail-hero__logo-fallback {
    width: 60px;
    height: 60px;
    font-size: 18px;
    border-radius: 10px;
  }

  .lp-detail-hero__title {
    font-size: 18px;
  }

  .lp-metrics-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .lp-metric-pill {
    padding: 10px 12px;
  }

  .lp-metric-pill__val {
    font-size: 18px;
  }

  .lp-metric-pill__lbl {
    font-size: 11px;
  }

  .lp-certs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lp-cert-card {
    padding: 20px 16px;
  }

  .lp-detail-hero__actions {
    flex-direction: column;
    gap: 8px;
  }

  .lp-detail-hero__actions a {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 360px) {
  .lp-detail-hero__title {
    font-size: 16px;
  }

  .lp-metric-pill {
    padding: 8px 10px;
  }

  .lp-metric-pill__val {
    font-size: 16px;
  }
}
