@import "../../theme_fonts/theme.css";
ul {
  /* margin: 0; */
  padding: 0;
}
.profileList {
  width: 20%;
}
.profileback {
  width: 80%;
  margin: auto;
  margin-left: 1rem;
  margin-top: 2rem;
}
.profiletop {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  background-image: url("https://cdnr.nykaa.com/assets/desktop/images/my_account/myaccountbg.png");
}
.profilebox {
  display: flex;
  margin: 0 auto;
  background-color: var(--primary-background);
  width: 420px;
  height: 180px;
  box-shadow: var(--box-black) 0px 5px 15px;
  /* margin-top: 2rem; */
  padding: 10px;
}
.profileimg {
  display: flex;
  /* margin: 0 auto; */
  padding: 0 10px;
  width: 40%;
}
.profileimg > img {
  width: 100%;
}
.profiledetail {
  margin: 10px;
}
.address-section {
  width: 100%;
  background-color: var(--primary-background);
  margin-top: 20px;
  /* height: 25rem; */
  /* padding: 10px; */
}

.profile-edit-section {
  width: 100%;
  margin-top: 20px;
  background-color: var(--primary-background);
  padding: 16px 14px 18px 14px;
  box-shadow: var(--box-black2) 0px 2px 8px 0px;
  border-radius: 10px;
}

.profile-edit-section h4 {
  margin: 0 0 12px 0;
}

.profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.profile-edit-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--gray-text);
}

.profile-edit-field input {
  width: 100%;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid var(--profile-border);
  background-color: var(--primary-background);
  color: var(--primary-text-black);
  box-sizing: border-box;
}

.profile-edit-save-btn {
  margin-top: 6px;
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 4px;
  border: none;
  background-color: var(--btn-pink);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

#add-header {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 0 10px;
}
#myadd {
  display: flex;
  width: auto;
  justify-content: left;
  align-items: center;
  gap: 5px;
}
#myadd > img {
  width: 20px;
  height: 20px;
}

#addadd {
  display: flex;
  width: auto;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}
#addadd > img {
  width: 20px;
  height: 20px;
}
#adress-content {
  box-shadow: var(--box-black2) 0px 2px 8px 0px;
  width: 35%;
  margin-left: 1rem;
  padding: 5px 10px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
}
.edit {
  display: flex;
  justify-content: space-between;
}
.edit-btn {
  display: flex;
  width: 25%;
  justify-content: left;
  align-items: center;
  gap: 5px;
}
.edit-btn > img {
  width: 20px;
  height: 20px;
}
#adress-content > p:first-child {
  color: #ffffff;
  background-color: var(--black-back);
  width: 25%;
  border-radius: 10px;
  padding: 5px;
  text-align: center;
}

.font-profile-details-key {
  color: var(--gray-text);
  line-height: 1rem;
}

@media only screen and (max-width: 1000px) {
  .profile {
    display: block !important;
    flex-direction: column;
    width: 100%;
  }
  .profileList {
    width: 100%;
  }
  .profileback {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
    background-image: url("https://img.freepik.com/free-vector/hand-painted-watercolor-pastel-sky-background_23-2148902771.jpg?w=2000");
  }
  body {
    width: 100%;
    margin: auto;
  }
  .address-section {
    margin-top: 16px;
  }
  #add-header {
    flex-direction: row;
    align-items: center;
  }
  #myadd {
    width: auto;
  }
  #addadd {
    margin-left: auto;
  }
  #adress-content {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
  .profile-edit-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
/* @media only screen and (max-width: 700px) {
  .profile {
    align-items: left;
  }
  .profilebox {
    display: grid;
    grid-template-columns: repeat(1, 90%);
    align-items: center;
    justify-content: center;
  }
  .profileimg {
    width: 100%;
    margin-left: 1rem;
  }
  .profiledetail {
    margin-top: rem;
    width: 100%;
    text-align: center;
  }
  .profileback {
    background-image: url("https://img.freepik.com/free-photo/top-view-background-beautiful-white-grey-brown-cream-blue-background_140725-72219.jpg?w=2000");
  }
} */
