@media (max-width: 480px) {
  .main-container-edit-contact {
    border-radius: 24px;
  }

  .h2-edit-contact {
    font-size: 36px;
    text-align: center;
  }

  .a-font-edit-contact {
    font-size: 18px;
    text-align: center;
  }

  .edit-contact-headcard {
    padding: 48px 20px 28px 20px;
  }

  .edit-contact-content {
    padding: 28px 16px 32px 16px;
  }
  .button-edit-contact-order {
    flex-direction: column;
    height: auto;
  }

  .button-edit-contact {
    width: 100%;
  }

  .name-property{
    font-size: 24px;
}
}

.main-container-edit-contact {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: "open sans";
  gap: 72px;
  background: white;
  box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.d-none {
  display: none !important;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

@media (max-width: 1100px) {
  .add-contact.hide-add-contact {
    transform: none;
    display: none;
  }

  .main-container-edit-contact {
    max-width: 600px;
  }
  .capa-logo-1-edit-contact {
    display: none;
  }
}

html,
body,
.maincontent,
#singleContactID,
.main-container-add-contact,
.main-container-edit-contact {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.maincontent::-webkit-scrollbar,
#singleContactID::-webkit-scrollbar,
.main-container-add-contact::-webkit-scrollbar,
.main-container-edit-contact::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (max-width: 820px) {
  .add-contact,
  .edit-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 80px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    top: 105px;
  }

  .main-container-add-contact,
  .main-container-edit-contact {
    width: 100%;
    max-height: 100%;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
    overflow-y: auto;
  }

  .add-contact-headcard,
  .edit-contact-headcard {
    padding: 24px 24px 20px;
  }
}

@media (max-width: 600px) {
  .add-contact,
  .edit-contact {
    top: 105px;
    padding: 0 12px;
  }

  .main-container-add-contact,
  .main-container-edit-contact {
    width: 100%;
    max-height: 100%;
    border-radius: 24px;
    margin: 0 auto;
    max-width: 515px;
  }

  .edit-contact-content {
    padding: 0 25px 115px 25px;
    gap: 9px;
  }

  .edit-contact-headcard {
    padding: 46px 20px 18px;
  }

  .a-font-edit-contact {
    font-size: 22px !important;
  }

  .button-edit-contact-grey {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .edit-contact-headcard {
    padding: 13px 20px 4px;
  }
  .h2-edit-contact {
    font-size: 32px;
  }
  .a-font-edit-contact {
    font-size: 15px !important;
  }
  .close-icon-edit-contact {
    top: 9px;
    right: 3px;
  }
}

body.no-scroll .contact-actions-mobile {
  display: none;
}

@media (max-width: 500px) {
  .add-contact,
  .edit-contact {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    z-index: 2000;
  }
  .edit-contact-headcard {
    padding: 95px 37px 65px;
  }

  .main-container-edit-contact,
  .left-side-rounded,
  .edit-contact {
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    box-sizing: border-box;
  }

  .edit-contact-header {
    border-radius: 0 !important;
  }
  .edit-contact-header,
  .add-contact-header {
    border-radius: 0 !important;
  }
}
@media (max-width: 500px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .add-contact,
  .edit-contact {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    z-index: 2000;
    overflow: hidden;
  }

  .main-container-edit-contact,
  .main-container-add-contact {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .edit-contact-headcard,
  .add-contact-headcard,
  .right-side-rounded,
  .left-side-rounded {
    border-radius: 0 !important;
    height: 100%;
  }
  @media (max-width: 500px) {
    .main-container-edit-contact,
    .main-container-add-contact {
      height: auto;
    }
    .button-edit-contact-order {
      margin-top: 32px;
      margin-bottom: 24px;
    }
  }
  .edit-contact-content,
  .add-contact-content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .button-edit-contact-order,
  .button-add-contact-order {
    margin-top: auto;
    padding-bottom: 16px;
  }
}
@media (max-width: 500px) {
  .edit-contact-content,
  .add-contact-content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .button-edit-contact-order,
  .button-add-contact-order {
    margin-top: auto;
    padding-bottom: 16px;
  }
}
@media (max-width: 500px) {
  .main-container-edit-contact {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .button-edit-contact-order {
    margin-top: 32px;
    margin-bottom: 24px;
  }

  .button-edit-contact {
    flex: 0 0 auto;
    width: 100%;
  }
}
