.container-edit-profile {
  position: relative;
  background-color: var(--bg-secondary);
  border: solid 2px var(--color-border);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 65rem;
  margin: 2rem auto;
  padding: 2rem;
  box-sizing: border-box;
}

.container-edit-profile h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: normal;
  font-size: 1.5625rem;
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 2rem;
}

#editProfile,
#editPassword {
  width: 100%;
}

#editProfile form,
#editPassword form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#editProfile form > div,
#editPassword form > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 1rem;
}

#editProfile label,
#editPassword label {
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

#editProfile input:not([type="file"]),
#editPassword input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--bg-primary);
  box-sizing: border-box;
}
#editPassword input {
  padding-right: 6rem;
}

.btn-edit {
  cursor: pointer;
  background-color: #c2a683;
  color: #000;
  border: none;
  padding: 0.3125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  width: fit-content;
  align-self: center;
  margin-top: 1rem;
  transition: opacity 0.2s;
}

.btn-edit:hover,
.delete:hover {
  opacity: 0.8;
  color: #000;
}
#editProfile .btn-edit {
  margin-top: 2rem;
}

.delete {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .edit-form {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  #editProfile,
  #editPassword {
    flex: 1;
    max-width: 45%;
  }
}
