/* Luxury ecommerce redesign for edit profile screen */
#sc-edit-profile {
  display: flex !important;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(196, 164, 120, 0.18), transparent 34%),
    linear-gradient(180deg, #f8f3ef 0%, #f3ece7 100%) !important;
  color: #1d120c !important;
}

#sc-edit-profile .tbar.dark {
  display: flex !important;
  align-items: center;
  flex: 0 0 72px;
  width: 100%;
  height: 72px !important;
  box-sizing: border-box;
  padding: 0 12px !important;
  background: #f7f0ea !important;
  border-bottom: 1px solid rgba(91, 65, 45, 0.08) !important;
  box-shadow: none !important;
}

#sc-edit-profile .tbar.dark .back-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid rgba(60, 41, 28, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  color: #2a1d14 !important;
  box-shadow: 0 8px 16px rgba(75, 42, 24, 0.08);
}

#sc-edit-profile .tbar-title.w {
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 8px;
  color: #1d120c !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

#sc-edit-profile .ep-save-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 78px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 18px !important;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #be7e3d 0%, #8a5d2a 100%) !important;
  color: #fffdf8 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(145, 92, 42, 0.25);
}

#sc-edit-profile .ep-hero {
  position: relative;
  display: flex !important;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 290px !important;
  height: 290px !important;
  box-sizing: border-box;
  gap: 16px !important;
  padding: 22px 20px 18px !important;
  margin: 0 !important;
  background: linear-gradient(155deg, var(--md-on-surface) 0%, #382012 62%, var(--md-primary-dark) 145%) !important;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-radius: 0 0 36px 36px !important;
  box-shadow: 0 12px 28px rgba(84,48,26,.12) !important;
}

#sc-edit-profile .ep-av-wrap {
  position: relative;
  z-index: 1;
  display: block !important;
  width: min(78vw, 360px) !important;
  height: min(78vw, 360px) !important;
  max-width: 360px !important;
  max-height: 360px !important;
  aspect-ratio: 1 / 1 !important;
  min-width: 0;
  min-height: 0;
  border: none !important;
  border-radius: 32px !important;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(16, 8, 4, 0.18) !important;
  background: #F5E6E2 !important;
}

#sc-edit-profile .ep-av {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box;
  border: none !important;
  border-radius: 32px !important;
  background-color: #F5E6E2 !important;
  background-image: none !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  color: #fff;
  overflow: hidden;
  box-shadow: none !important;
}

#sc-edit-profile .ep-name {
  position: relative;
  z-index: 1;
  display: block !important;
  max-width: 100%;
  overflow: hidden;
  color: #fffaf6 !important;
  font-family: 'Google Sans', 'DM Sans', sans-serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.1;
  letter-spacing: -0.04em !important;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: none;
}

#sc-edit-profile .scroll {
  display: block !important;
  flex: 1 1 0 !important;
  min-height: 0;
  box-sizing: border-box;
  padding: 18px 16px 52px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: transparent !important;
}

#sc-edit-profile .fw {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 18px !important;
  padding: 14px 14px 10px;
  border: 1px solid rgba(93, 70, 53, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 10px 18px rgba(59, 38, 24, 0.04);
}

#sc-edit-profile .flabel-wrap {
  margin-bottom: 8px;
}

#sc-edit-profile .flabel {
  display: block !important;
  color: #2a1d14 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#sc-edit-profile .flabel-helper {
  margin: 6px 0 0 !important;
  color: #7b635a !important;
  font-size: 11px !important;
  line-height: 1.45;
}

#sc-edit-profile .field,
#sc-edit-profile .phone-row {
  display: flex;
  width: 100% !important;
  min-height: 54px;
  box-sizing: border-box;
  border: 1px solid rgba(72, 52, 41, 0.12) !important;
  border-radius: 15px !important;
  background: rgba(255, 251, 248, 0.9) !important;
  color: #1d120c !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

#sc-edit-profile input.field,
#sc-edit-profile textarea.field {
  display: block;
  padding: 14px 16px !important;
}

#sc-edit-profile textarea.field {
  min-height: 100px;
  resize: vertical;
}

#sc-edit-profile .phone-row {
  align-items: center;
  overflow: hidden;
}

#sc-edit-profile .phone-pfx {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 12px;
  border-right: 1px solid rgba(72, 52, 41, 0.1);
  background: rgba(154, 111, 66, 0.05);
  color: #6a4f3d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

#sc-edit-profile .phone-inp {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1d120c;
  font-size: 15px;
}

#sc-edit-profile .field:focus,
#sc-edit-profile .phone-row:focus-within {
  border-color: rgba(150, 100, 53, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(146, 101, 52, 0.12), inset 0 1px 0 rgba(255,255,255,0.7);
}

#sc-edit-profile .field::placeholder,
#sc-edit-profile .phone-inp::placeholder {
  color: #a28c7b;
}

#sc-edit-profile .ipoo-inline-1e5e837665 .field {
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(247, 240, 232, 0.92)) !important;
}
