/* Localsewa v32.8.74 — Customer Profile corrective polish */

.customer-profile-page {
  background: #f7faf8 !important;
}

.customer-profile-page .ls-profile-shell {
  padding-top: 16px !important;
}

.customer-profile-page .ls-profile-layout {
  gap: 20px !important;
}

/* Profile summary */
.customer-profile-page .ls-profile-summary {
  grid-template-columns: 78px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
  padding: 14px !important;
  border-radius: 20px !important;
  border-color: #dce8e1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035) !important;
}

.customer-profile-page .ls-profile-summary > :first-child {
  width: 78px !important;
  height: 78px !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #dbe8e0 !important;
}

.customer-profile-page .ls-profile-summary > :first-child img {
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
  object-fit: cover !important;
}

.customer-profile-page .ls-profile-summary > div:last-child > p:first-child {
  font-size: 16px !important;
  line-height: 1.25 !important;
}

.customer-profile-page .ls-profile-summary > div:last-child > p:nth-child(2) {
  margin-top: 2px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.customer-profile-page .ls-profile-summary label {
  min-height: 34px !important;
  height: 34px !important;
  margin-top: 8px !important;
  padding-inline: 14px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
}

/* Profile information heading */
.customer-profile-page .ls-profile-info-heading {
  align-items: center !important;
  margin-bottom: 10px !important;
}

.customer-profile-page .ls-profile-info-heading h2,
.customer-profile-page .ls-profile-quick-actions h2 {
  font-size: 17px !important;
  line-height: 1.25 !important;
}

.customer-profile-page .ls-profile-info-heading p {
  margin-top: 3px !important;
  font-size: 11px !important;
}

.customer-profile-page .ls-profile-info-heading > button {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035) !important;
}

/* Information rows */
.customer-profile-page .ls-profile-info-card {
  border-radius: 20px !important;
  border-color: #dfe9e3 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.025) !important;
}

.customer-profile-page .ls-profile-info-card--editing {
  border-color: #bfe5cd !important;
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.07) !important;
}

.customer-profile-page .ls-profile-info-row {
  min-height: 58px !important;
  gap: 11px !important;
  padding: 10px 13px !important;
}

.customer-profile-page .ls-profile-info-row--editing {
  background: #fbfffc !important;
}

.customer-profile-page .ls-profile-info-row--locked {
  background: #f8faf9 !important;
}

.customer-profile-page .ls-profile-info-row > div:first-child {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
}

.customer-profile-page .ls-profile-info-row--editing > div:first-child {
  background: #ecfdf3 !important;
  color: #15803d !important;
}

.customer-profile-page .ls-profile-info-row--locked > div:first-child {
  background: #f1f5f3 !important;
  color: #7a8b82 !important;
}

.customer-profile-page .ls-profile-info-row > div:nth-child(2) > p:first-child {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

.customer-profile-page .ls-profile-info-row > div:nth-child(2) > div {
  margin-top: 2px !important;
}

.customer-profile-page .ls-profile-info-row > div:nth-child(2) > div p {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.customer-profile-page .ls-profile-info-row--editing > div:nth-child(2) > div[class*="border-2"] {
  min-height: 42px !important;
  border-width: 1px !important;
  border-color: #86d8a6 !important;
  border-radius: 13px !important;
  box-shadow: 0 0 0 3px rgba(220, 252, 231, 0.55) !important;
}

.customer-profile-page .ls-profile-info-row--editing input {
  font-size: 13px !important;
  font-weight: 650 !important;
}

.customer-profile-page .ls-profile-info-row--locked span[class*="uppercase"] {
  background: #eef3f0 !important;
  color: #6f8077 !important;
}

.customer-profile-page .ls-profile-whatsapp-toggle {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: #f7fbf8 !important;
}

.customer-profile-page .ls-profile-whatsapp-toggle label {
  align-items: center !important;
}

.customer-profile-page .ls-profile-whatsapp-toggle input {
  margin-top: 0 !important;
}

.customer-profile-page .ls-profile-edit-actions {
  align-items: center !important;
  gap: 10px !important;
  padding: 12px !important;
  background: #ffffff !important;
}

.customer-profile-page .ls-profile-edit-cancel,
.customer-profile-page .ls-profile-edit-save {
  height: 44px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
}

.customer-profile-page .ls-profile-edit-save {
  flex: 1.12 1 0 !important;
  box-shadow: 0 7px 18px rgba(22, 163, 74, 0.16) !important;
}

/* Default service location */
.customer-profile-page .ls-profile-location-card {
  margin-top: 16px !important;
  padding: 13px !important;
  border-radius: 20px !important;
  border-color: #dce8e1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03) !important;
}

.customer-profile-page .ls-profile-location-card > div:first-child {
  gap: 10px !important;
}

.customer-profile-page .ls-profile-location-card > div:first-child > span {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
}

.customer-profile-page .ls-profile-location-card h3 {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.customer-profile-page .ls-profile-location-card h3 + p {
  margin-top: 3px !important;
  font-size: 10.5px !important;
  line-height: 1.5 !important;
}

.customer-profile-page .ls-profile-location-card > :last-child {
  margin-top: 10px !important;
}

/* Profile location selector: keep one location icon in the section header only. */
.customer-profile-page .ls-profile-location-picker .ls-sidebar-location-icon,
.customer-profile-page .ls-profile-location-picker .ls-sidebar-location-value > svg:first-child {
  display: none !important;
}

.customer-profile-page .ls-profile-location-picker .ls-sidebar-location-inner {
  gap: 0 !important;
}

.customer-profile-page .ls-profile-location-picker {
  min-height: 48px !important;
  padding: 8px 11px !important;
  border-radius: 14px !important;
}

.customer-profile-page .ls-profile-location-picker .ls-sidebar-location-label {
  font-size: 8.5px !important;
}

.customer-profile-page .ls-profile-location-picker .ls-sidebar-location-value {
  gap: 6px !important;
}

/* Quick Actions: only account security + admin remain. */
.customer-profile-page .ls-profile-quick-actions {
  margin-top: 20px !important;
}

.customer-profile-page .ls-profile-quick-actions > div:first-child {
  margin-bottom: 10px !important;
}

.customer-profile-page .ls-profile-actions-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
}

.customer-profile-page .ls-profile-action-card {
  min-height: 108px !important;
  padding: 14px !important;
  border-radius: 20px !important;
}

.customer-profile-page .ls-profile-action-card > div {
  min-width: 0;
}

.customer-profile-page .ls-profile-action-card span[class*="h-12"] {
  width: 42px !important;
  height: 42px !important;
  border-radius: 13px !important;
}

.customer-profile-page .ls-profile-action-card h3 {
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.customer-profile-page .ls-profile-action-card p[class*="uppercase"] {
  font-size: 9px !important;
  letter-spacing: 0.12em !important;
}

.customer-profile-page .ls-profile-action-card > div > p:last-child {
  margin-top: 8px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.customer-profile-page .ls-profile-action-admin {
  box-shadow: 0 10px 26px rgba(15, 78, 48, 0.12) !important;
}

/* About block */
.customer-profile-page .ls-profile-about {
  margin-top: 12px !important;
}

.customer-profile-page .ls-profile-about > div {
  padding: 14px !important;
  border-radius: 18px !important;
  border-color: #e2ebe5 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
}

.customer-profile-page .ls-profile-about h2 {
  font-size: 12px !important;
}

.customer-profile-page .ls-profile-about p {
  margin-top: 6px !important;
  font-size: 10.5px !important;
  line-height: 1.55 !important;
}

.customer-profile-page .ls-profile-about p:last-child {
  margin-top: 8px !important;
  font-size: 10px !important;
}

@media (min-width: 640px) {
  .customer-profile-page .ls-profile-summary {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    padding: 15px !important;
  }

  .customer-profile-page .ls-profile-summary > :first-child {
    width: 88px !important;
    height: 88px !important;
  }

  .customer-profile-page .ls-profile-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .customer-profile-page .ls-profile-actions-grid > :only-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .customer-profile-page .ls-profile-shell {
    padding-top: 28px !important;
    padding-bottom: 34px !important;
  }

  .customer-profile-page .ls-profile-quick-actions {
    margin-top: 0 !important;
  }

  .customer-profile-page .ls-profile-actions-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-profile-page .ls-profile-action-card,
  .customer-profile-page .ls-profile-summary label,
  .customer-profile-page .ls-profile-info-heading > button,
  .customer-profile-page .ls-profile-edit-cancel,
  .customer-profile-page .ls-profile-edit-save {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
}
