.feature-panel {
  border: 1px solid var(--wishka-border);
  border-radius: 22px;
  padding: 28px;
  background: white;
  box-shadow: 0 4px 18px #28233f03;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.panel-heading h2 {
  margin: 0 0 5px;
}
.panel-heading p {
  margin: 0;
  color: var(--wishka-muted);
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.form-group {
  margin-bottom: 22px;
  min-width: 0;
}
.form-label,
legend {
  font-size: 13px;
  font-weight: 600;
  color: #514962;
  margin-bottom: 9px;
}
.form-control,
.form-select {
  min-height: 48px;
  background-color: #fcfbfe;
  border-color: #e1dbea;
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--wishka-ink);
}
.form-select {
  padding-inline-end: 34px;
}
.form-control:focus,
.form-select:focus {
  border-color: #9c8de2;
  background-color: white;
  box-shadow: 0 0 0 3px #6250db12;
}
.form-control::placeholder {
  color: var(--wishka-muted);
  font-size: 13px;
}
.form-text {
  font-size: 11px;
  color: var(--wishka-muted);
  margin-top: 7px;
  line-height: 1.8;
}
.optional {
  font-weight: 400;
  color: var(--wishka-muted);
  font-size: 11px;
  margin-inline-start: 5px;
}
textarea.form-control {
  resize: vertical;
  min-height: 95px;
}
input[dir="ltr"],
input[type="date"],
input[type="url"],
input[type="number"],
input[type="tel"] {
  direction: ltr;
  text-align: left;
}
.form-check-input {
  accent-color: var(--wishka-primary);
}
.form-check-input:checked {
  background-color: var(--wishka-primary);
  border-color: var(--wishka-primary);
}
.form-check-input:focus {
  box-shadow: 0 0 0 3px #6250db18;
  border-color: #9c8de2;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #f0ecf5;
  margin-top: 8px;
}
.privacy-check {
  background: #f8f6fd;
  padding-block: 13px;
  padding-inline-start: 38px;
  padding-inline-end: 14px;
  border-radius: 11px;
  margin-bottom: 22px;
  font-size: 13px;
}
.account-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: #f8f6fd;
  border-radius: 11px;
  margin-bottom: 24px;
  color: var(--wishka-muted);
  font-size: 12px;
}
#mobile-number {
  margin: 0;
  color: #4c405f;
  font-weight: 600;
}
.profile-photo-panel {
  text-align: center;
}
.photo-placeholder,
.profile-avatar {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
}
.photo-placeholder {
  display: grid;
  place-items: center;
  background: #f0edfc;
  color: #7e6ecd;
  border: 5px solid #f8f6ff;
}
.photo-placeholder .icon {
  width: 38px;
  height: 38px;
}
.profile-photo-panel h2 {
  margin-bottom: 5px;
}
.profile-photo-panel p {
  font-size: 12px;
}
#image-form {
  text-align: start;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
#image-form .form-label,
#image-form .form-text {
  margin: 0;
}
#image-form .btn {
  margin-top: 10px;
}
#image-file {
  min-width: 0;
  width: 100%;
  padding: 8px;
  font-size: 11px;
}
fieldset {
  margin: 20px 0;
  padding: 0;
  border: 0;
}
legend {
  float: none;
  width: auto;
}
.narrow-container {
  max-width: 980px;
}
.interest-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 26px;
}
.interest-option {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 17px;
  border: 1px solid var(--wishka-border);
  background: #fcfbfe;
  border-radius: 14px;
  cursor: pointer;
  font-size: 13px;
  color: #58506b;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.interest-option:has(input:checked) {
  border-color: #b3a6ec;
  background: #f1edfe;
  color: #4d3c97;
}
.interest-option:hover {
  border-color: #bfb3e9;
}
.interest-option input {
  width: 19px;
  height: 19px;
  margin: 0;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .sticky-panel {
    position: sticky;
    top: 20px;
  }
}
@media (max-width: 767px) {
  .interest-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .feature-panel {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-actions .btn {
    width: 100%;
  }
  .panel-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .interest-option {
    padding: 14px 10px;
    gap: 8px;
    font-size: 12px;
  }
  .interest-options {
    gap: 10px;
  }
  .account-mobile {
    padding: 12px;
  }
}
