
.edit-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 5%, rgba(112, 63, 190, .09), transparent 25%),
    linear-gradient(135deg, #ffffff, #faf8ff);
}

.edit-wrap {
  width: min(850px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.edit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.brand-mini {
  font-family: var(--serif);
  color: #342148;
  font-size: 23px;
  font-weight: 700;
}
.brand-mini span { color: #6b32c9; }

.edit-card {
  background: rgba(255,255,255,.95);
  border: 1px solid #e7e2ef;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(52, 24, 97, .09);
  overflow: hidden;
}

.edit-heading {
  padding: 44px 46px 35px;
  border-bottom: 1px solid #eeeaf3;
}

.edit-heading h1 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-top: 6px;
}

.edit-heading p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.edit-section {
  padding: 35px 46px;
  border-bottom: 1px solid #eeeaf3;
}

.section-title h2 {
  font-family: var(--serif);
  font-size: 24px;
}

.section-title p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}

.photo-editor {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.photo-preview {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  flex: 0 0 94px;
  display: grid;
  place-items: center;
  background: #eee7ff;
  color: #5a279f;
  font-family: var(--serif);
  font-size: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #ddd5ec;
}

.photo-preview.has-photo {
  color: transparent;
}

.photo-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.field-help {
  color: #918c9c;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 7px;
}

.settings-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  color: #383343;
}

.field input {
  height: 48px;
  border: 1px solid #ded9e8;
  border-radius: 11px;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: white;
  outline: none;
}

.field input:focus {
  border-color: #6b32c9;
  box-shadow: 0 0 0 4px rgba(107,50,201,.08);
}

.verification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px;
  border-radius: 13px;
  background: #faf8ff;
  border: 1px solid #ece6f8;
  margin-top: 3px;
}

.verification-row strong {
  font-size: 12px;
}

.verification-row p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
  line-height: 1.5;
}

.badge {
  flex: 0 0 auto;
  border: 1px solid #e4dced;
  background: white;
  color: #7b7285;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
}

.badge.verified {
  color: #256b49;
  border-color: #cfe8dc;
  background: #f2faf6;
}

.form-message {
  display: none;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.form-message.show { display: block; }
.form-message.error {
  background: #fff1f2;
  color: #a61b32;
  border: 1px solid #ffd5db;
}
.form-message.success {
  background: #f2fbf6;
  color: #216b43;
  border: 1px solid #cfeede;
}

.save-btn {
  justify-self: start;
  cursor: pointer;
  border: 0;
}

.password-section {
  border-bottom: 0;
}

.btn-quiet {
  border: 1px solid #e3ddea;
  background: white;
  color: #6f6679;
  border-radius: 9px;
  padding: 10px 13px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.btn-quiet:hover {
  border-color: #cfc3e2;
}

@media (max-width: 650px) {
  .edit-wrap {
    width: min(100% - 24px, 850px);
    padding-top: 20px;
  }

  .edit-heading,
  .edit-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .edit-heading h1 {
    font-size: 36px;
  }

  .photo-editor {
    align-items: flex-start;
  }

  .verification-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
.photo-preview{width:112px;height:112px;border-radius:50%;flex:0 0 112px;position:relative;overflow:hidden;display:grid;place-items:center;background:#eee7ff;color:#5a279f;border:4px solid #fff;box-shadow:0 0 0 1px #ddd5ec,0 8px 24px rgba(52,24,97,.10)}
.photo-placeholder{width:100%;height:100%;display:grid;place-items:center;font-family:var(--serif);font-size:30px;font-weight:600}
.photo-preview img{position:absolute;inset:0;width:100%;height:100%;display:none;object-fit:cover;object-position:center}
