@media (max-width: 1024px) {
    .contactListBtnContainer {
        display: flex;
        justify-content: flex-end;
        padding-right: 16px;
    }

    .addNewContactButton {
        display: flex;
        position: fixed;
        right: 25px;
        bottom: 70px;
        z-index: 900;
        border-radius: 50%;
        width: 56px !important;
        height: 56px !important;
    }

    .threePointsEdit {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .addContactBtnText {
        display: none;
    }

    .addContactSectionContainer {
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
        min-height: 0;
    }

    .submenu {
        top: 60px;
        right: 5px;
        margin-right: unset;
        padding: 23px 0px;
        gap: 24px;
    }

    .submenu p,
    a {
        padding: 0;
    }

    .submenu p {
        padding-left: 26px;
    }

    .submenu p:hover {
        padding-left: 26px;
        background-clip: content-box;
    }

    .submenuHelpButtonMobile {
        display: block;
    }

    .contactListSection {
        margin-top: 20px;
        margin-bottom: 170px;
        padding-top: 0;
        width: 100%;
        flex: 1 1 auto;
        height: 100vh;
        height: 100dvh;
        height: clamp(320px, 100dvh, 100svh);
        min-height: 0;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: none;
    }

    .responsiveContactsDetailsSection {
        display: none;
    }

    .responsiveContactsDetailsSection.is-open {
        display: block;
        position: fixed;
        inset: 0;
        background: #f6f7f8;
        z-index: 99;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }

    body.scroll-locked {
        overflow: hidden;
        height: 100%;
    }

    .contactsPageContainer {
        justify-content: center;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
    }

    #contactsSection {
        margin-top: 0;
        padding-top: calc(24px + env(safe-area-inset-top, 0px));
    }

    .addContactSectionContainer {
        box-shadow: unset;
    }

    .separationLineContactListContainer {
        width: 300px;
        scroll-padding-top: calc(24px + env(safe-area-inset-top, 0px));
    }

    .showDetailsContactsContainer {
        margin-left: 18px;
        margin-top: 0px;
    }

    .detailsCard {
        margin-top: 48px;
        gap: 20px;
        display: flex;
    }

    .contactInformationContainer {
        margin-left: 18px;
        margin-top: 21px;
    }

    .mailAndPhoneContainer {
        margin-left: 18px;
        margin-top: 21px;
    }

    .nameDetailsContact {
        font-size: 36px;
    }

    .sizeAvatarDetails {
        width: 80px;
        height: 80px;
        font-weight: 400;
        font-size: 27px;
    }

    .containerEditContact {
        display: none;
    }

    .addContactPushUpContainer {
        flex-direction: column;
        height: 100%;
    }

    .addContactIcon {
        display: none;
    }

    .addContactfontBold {
        font-size: 36px;
    }

    .addContactfontNormal {
        font-size: 20px;
    }

    .imputAndImageContainer {
        flex-direction: column;
    }

    .sectionPositionClose {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .closeIcon {
        fill: white !important;
    }

    #closeBtnTop {
        position: absolute;
        right: 16px;
        padding-top: 24px;
    }

    #closeBtnTop .closeIcon path {
        fill: #fff !important;
    }

    .addContactPushUpContainerLeft {
        height: 352px;
        padding-block: unset;
        padding: unset;
    }

    .addContactMainContentInputs {
        height: auto;
    }

    .contactImgDiv {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-color: rgba(209, 209, 209, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: -60px auto 20px auto;
    }

    .addContactInputContainer {
        width: auto;
        height: 25px;
    }

    .responsiveAddContactButton {
        display: none;
    }

    .addContactButtonSection {
        padding-bottom: 40px;
        padding-top: 0px;
        padding-left: unset !important;
        align-items: center;
        justify-content: space-evenly;
        justify-content: center !important;
        margin-top: 20px;
    }

    .addContactCancelButtonContainer {
        display: none;
    }

    .addContactButton {
        justify-content: center !important;
    }

    .imputAndImageContainer {
        position: relative;
        gap: 0;
    }

    .overlayCenter {
        width: 100%;
        margin: 20px;
        max-width: 396px;
    }

    .addContactPushUpContainerRight {
        padding-left: 10px;
        padding-right: 10px;
        height: 100%;
    }

    .overlayPanel {
        transform: translateY(100vh);
        width: 100%;
    }

    .overlay.show .overlayPanel {
        transform: translateY(0);
    }

    .miniOverlayResponsive {
        display: flex;
        justify-content: flex-end;
        background-color: white;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 20px 20px 0px 20px;
    }

    .imputAndImageContainer {
        gap: 30px;
    }

    .addContactPushUpContainerLeft {
        width: auto;
    }

    .responsiveOverlayEdit {
        position: fixed;
        right: 0px;
        bottom: 88px;
        z-index: 1000;
        flex-direction: column;
        display: flex;
        width: 116px;
        height: 100px;
        background-color: #FFFFFF;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 0px;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding: 10px;
    }

    .responsiveOverlayEdit.is-open {
        transform: translateX(-10px);
    }

    .editMenuRes {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 15px;

    }

    .contactsPageContainer {
        background-color: white;
    }

    .inputInside {
        font-size: 16px;
    }

    .responsveMarginElemination {
        margin: unset !important;
    }

    .alignArrowContacts {
        padding-right: 18px;
        padding-top: 128px;
    }

    .alignArrowLeft {
        display: flex;
        align-items: flex-end;
    }

    .showDetailsContactsContainer {
        margin: unset;
    }
}

@media (max-width: 1255px) {

    .showDetailsContactsContainer {
        margin-left: 48px;
        display: flex;
        flex-direction: column;
        align-items: baseline;
        gap: 0;
    }

    .responsiveContactsHeader {
        margin-block-start: 0em;
        margin-block-end: 0em;
        font-size: 21px;
    }

    .responsiveContactsDetailsSection .blueSeparationLine {
        display: none;
    }

    .responsiveContactsDetailsSection .blueSeparationLineMobile {
        display: block;
        margin-top: 8px;
    }

    .addContactPushUpContainerRight {
        padding-left: 24px;
        padding-right: 24px;
    }

    .imputAndImageContainer {
        gap: 10px;
    }

    .addContactButtonSection {
        padding-left: 132px;
    }

    .addContactPushUpContainerLeft {
        padding-inline: 24px;
    }

    .addContactInputContainer {
        width: 330px;
    }

    .contentContainerPaddingPrivacyAndLegalNotice {
        padding-inline: 16px;
        padding-block: 48px;
    }

    .userProfileCirle:hover {
        cursor: pointer;
    }
}

@media (max-width: 460px) {

    .contactListBtnContainer {
        padding-right: 135px;
    }

    .sizeAvatarDetails {
        font-weight: 400;
        font-size: 21px;
    }

    .nameDetailsContact {
        font-size: 28px;
    }

    .addContactInputContainer {
        width: 230px;
    }

    .showDetailsContactsContainer {
        margin-left: 18px;
    }

    .detailsCard {
        margin-left: 18px;
    }
}

@media (min-width: 460px) {

    .showDetailsContactsContainer {
        margin-left: 48px;
    }

    .contactInformationContainer {
        margin-left: 48px;
    }

    .mailAndPhoneContainer {
        margin-left: 48px;
    }
}

@media (min-width: 567px) and (max-width: 1024px) {

    .contactListSection {
        width: 550px;
        box-sizing: border-box; 
        overflow-x: hidden;
    }

    #contactsSection{
        overflow-x: hidden;
    }

   .separationLineContactListContainer{
        width: unset;
   }

    .separationLineContactList{
        width: 600px;
    }

    .addContactPushUpSectionRight {
        display: contents;
    }
}

@media screen and (max-height: 900px) and (max-width: 1024px) {
    .addContactPushUpContainer {
        height: 100vh;
    }

    .addContactPushUpContainerLeft {
        height: 75%;
    }
}