.editphoto {
  position: relative;
  height: 200px;
  display: flex;
  align-items: end;
  justify-content: center;
}
.editphoto > img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -25px;
  z-index: -2;
}
.editphoto form {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
}
.editphoto form div {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: translateY(50px);
}
.editphoto form label {
  width: 32px;
  height: 32px;
  outline: none;
  border: none;
  border-radius: 50%;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  position: absolute;
  right: 20px;
  bottom: 20px;
  cursor: pointer;
}
.editphoto form div img {
  width: 80px;
  height: 80px;
  filter: invert(1);
}
.editphoto form input {
  display: none;
}
.change_opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
}
.change_opt::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 3px;
  background-color: var(--neutral-grey);
  bottom: -40px;
  left: 0;
}
.change_opt button {
  outline: none;
  border: none;
  background: transparent;
  font-size: 20px;
  font-family: var(--main-font);
  cursor: pointer;
  color: var(--text-color);
}
.change_opt .active_op {
  font-weight: 700;
  position: relative;
}

.change_opt .active_op::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 2px;
  background-color: black;
  bottom: -40px;
  left: 0;
  z-index: 3;
}
.account_edit {
  width: 90%;
  margin: 80px 5% 0;
}
.account_edit h3 {
  direction: rtl;
  font-family: var(--main-font);
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}
.account_edit form > div {
  display: flex;
  justify-content: space-between;
  direction: rtl;
}
.account_edit form .input_label {
  display: flex;
  flex-direction: column;
  width: 40%;
  color: var(--text-color);
  opacity: 90%;
  margin-bottom: 10px;
}

.account_edit form .input_icon,
.input_span {
  display: flex;
  /* width: 40%; */
  background-color: var(--neutral-grey);
  padding: 20px 12px;
  border-radius: 12px;
  align-items: center;
}
.input_span .input_icon {
  padding: 0 !important;
  border-radius: 0 !important;
}
.account_edit form input {
  width: unset;
  background: transparent;
  direction: rtl;
  text-align: start;
  margin-right: 10px;
  width: 90%;
}
.account_edit form textarea {
  height: 151px;
  background-color: var(--neutral-grey);
  border: none;
  padding: 24px 12px;
  border-radius: 12px;
  outline: none;
  line-height: 30px;
}
.account_edit .bio_info {
  width: 40%;
}
.account_edit .bio_info .input_label {
  width: 100% !important;
}
.input_span {
  display: flex;
  justify-content: space-between;
}
.account_edit label {
  margin-bottom: 20px;
}
.submit_cancel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  gap: 20px;
}
.submit_cancel button {
  outline: none;
  border: none;
  font-family: var(--main-font);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 35%;
}

.submit_cancel button:nth-child(1) {
  background-color: var(--text-color);
  border-radius: 12px;
  padding: 16px;
  color: white;
}
.submit_cancel button:nth-child(2) {
  border-radius: 12px;
  padding: 16px;
  color: var(--text-color);
  background-color: white;
}
.phone_span {
  direction: ltr;
}
.pass_span {
  cursor: pointer;
}
.account_edit select {
  background-color: transparent;
  border: none;
  outline: none;
  width: 95%;
  color: var(--text-color);
  opacity: 90%;
  font-family: var(--main-font);
  margin-right: 5px;
  font-weight: 700;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.custom_select {
  position: relative;
  background: url('/public/arrows.png');
  background-repeat: no-repeat;
  background-position: left 30px center; /* أو right حسب RTL */
  background-size: 20px;
}
