/*  notifications */
:root {
    --not-z-index: 666;
}

/* Кнопка в шапке, потом перенести в ui */

.nd-header__right .nd-header__notification {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 36px;
height: 36px;
background: transparent;
border-radius: 50%;
}
.nd-header__right .nd-header__notification.nd-header__notification--active {
background: #326E5B;
}
.nd-header__right:not(.nd-header__notification--active) .nd-header__notification  {

    width: 36px;
    height: 36px;
}

.nd-header__right .nd-header__notification .notification-counter {
position: absolute;
top: 5%;
right: 10%;

display: flex;
justify-content: center;
align-items: center;

min-width: 18px;
width: max-content;

height: 18px;

padding: 0 4px;
color: #FFF;
background: #326E5B;
border: 1px solid #fff;
border-radius: 50px;

font-family: "Proxima Nova";
font-size: 12px;
font-style: normal;
font-weight: 400;


z-index: 2;

}


.nd-header__right .nd-header__notification i{
display: flex;
width: 24px;
height: 24px;

z-index: 1;
}
.nd-header__right .nd-header__notification.nd-header__notification--active i::before {
background-color: #fff;
}




[data-section="notifications"] .nd-pc-instructions__item{
max-width: 485px;
flex-direction: row;
align-items: flex-start;
}
[data-section="notifications"] .nd-pc-instructions__item .nd-pc-instructions__text{
color: var(--Black, #444);
font-feature-settings: 'clig' off, 'liga' off;
font-family: "Proxima Nova";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 125% */
text-align: unset;
}
[data-section="notifications"] .nd-pc-instructions__item .nd-pc-instructions__svg {
display: flex;
padding: unset;;
justify-content: center;
align-items: center;
gap: unset;;
border-radius: unset;
background: unset;
}
[data-section="notifications"] .nd-pc-instructions__item .nd-pc-instructions__svg i {
width: 20px;
height: 20px;
display: block;
}

.modal-notifications {
    visibility: hidden;
    opacity: 0;
    position: relative;
}
.modal-notifications.modal-notifications--show {
    visibility: unset;
    opacity: 1;
    transition: opacity .2s ease-in;
}
.modal-notifications .notifications-item__image{
    display: flex;
    flex: 1 0 auto;
    margin-left: auto;
}
.modal-notifications .notifications-item__image img {
    width: 80px;
    height: 63px;
    border-radius: 4px;
    object-fit: cover;
    margin-left: auto;
}




.setting-notifications__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 30px 0;
}
.setting-notifications-line {
    width: 100%;
    height: 1px;
    opacity: 0.3;
    background: #B7BDCE;
}

.setting-notifications-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
    font-family: "Proxima Nova";
    font-style: normal;
    line-height: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.setting-notifications-item p {
    margin: 0;
}

.sn-item__title {
    color: var(--Black, #444);
    font-weight: 700;
    line-height: normal;
}

.sn-item__p {
    color: var(--Black, #444);
}

button.sn-item__list-link {
    display: inline-block;
    color: var(--green, #326E5B);
    font-weight: 400;
    line-height: 20px;
    margin-top: 8px;
    background: transparent;
}
button.sn-item__list-link.sn-item__list-link--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


button.telegram-qr {
    padding: 0 20px;
}


/* MODAL BODY TOP */
.center-modal-notifications .modal-notifications__inner {
    display: flex;
    flex-direction: column;
    background: #fff;
    max-width: 610px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}
.center-modal-notifications .modal-notifications__top {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--beige, #F5F2F3);
}
.center-modal-notifications .modal-notifications__top p {
    margin: 22px 0 ;
    color: var(--Black, #444);
    font-family: "Source Serif Pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.center-modal-notifications .modal-notifications__close {
    position: absolute;
    right: 30px;
    padding: 4px;
}
.center-modal-notifications .modal-notifications__close:hover {
    background: var(--gray, #B7BDCE);
    border-radius: 100%;
    cursor: pointer;
}
.center-modal-notifications .modal-notifications__top i {
    width: 32px;
    height: 32px;
    display: block;
}
.center-modal-notifications .modal-notifications__top i::before {
    background-color: #B7BDCE;
}
.center-modal-notifications .modal-notifications__close:hover i::before {
    background-color: #444444;
}
.center-modal-notifications .modal-notifications__close:active i::before {
    background-color: #946F9C;
}
.center-modal-notifications .modal-notifications__close:active {
    background: none;

}
.center-modal-notifications p {
    margin: 0 0 20px 0 ;
    color: var(--Black, #444);
    /* H4 reg */
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
}
.center-modal-notifications .modal-notifications__list p {
    text-align: left;
}







.modal-settings-not.modal-settings-notifications-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background: rgba(0, 0, 0, 0.60);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 500;
    padding: clamp(5%, 100%, 5%) 0;
    overflow-y: auto;
    /* visibility: hidden;
    opacity: 0; */
}
/* ГОВНО КОД START*/
body.page-template-panel-control .nd-select-dropdown {
    z-index: 501;
}
/* ГОВНО КОД END*/

/*
.modal-settings-not.modal-settings-notifications-list--show {
    visibility: unset;
    opacity: 1;
    transition: opacity .2s ease-in;
} */

.modal-settings-not .modal-notifications__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 40px 60px;
    /* max-height: 100svh; */
    overflow-y: auto;
}
.modal-settings-not .mn-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.modal-settings-not .mn-content.mn-content--disabled {
    color: var(--Black, #444);
    opacity: .4;
}
.modal-settings-not .mn-content.mn-content--disabled .nd-select-wrap{
    pointer-events: none;
}
.modal-settings-not .mn-content label {
    width: 100%;
}

.modal-settings-not .modal-settings-notifications-list .nd-select-dropdown {
    z-index: 506 !important;
}

.modal-settings-not .modal-notifications__list p {
    margin: 0 0 20px 0 ;
    color: var(--Black, #444);
    /* H4 reg */
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

.modal-settings-not .mn-content__item {
    color: var(--Black, #444);
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.modal-settings-not .save-setting-notifications-content {
    margin: 40px auto auto;
    max-width: 180px;
    width: 100%;

}


/* #modal-telegram-notifications */

.modal-telegram-not {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background: rgba(0, 0, 0, 0.60);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 500;
    padding: clamp(5%, 100%, 5%) 0;
    overflow-y: auto;
    /* visibility: hidden;
    opacity: 0; */
}
/* .modal-telegram-not.modal-telegram-not--show {
    visibility:unset;
    opacity: 1;
    transition: opacity .2s ease-in;
} */
.center-modal-notifications .modal-telegram-not__content-desktop {
    display: flex;
}
.center-modal-notifications .modal-telegram-not__content-mobile {
    display: none;
}

.center-modal-notifications .modal-telegram-not__content {
    flex-direction: column;
    gap: 15px;
    padding: 40px 60px;
    overflow-y: auto;
}
.modal-telegram-not .modal-telegram-not__qr {
    width: 200px;
    height: 200px;
    background: #B7BDCE;
    margin: 0 auto;
}

/* #modal-list-notifications */

#modal-list-notifications {
    position: fixed;
    top: 10%;
    left: 50%;
    z-index: var( --not-z-index );

    /* display: none; */
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.12);

    /* overflow: hidden; */

    /* visibility: hidden; */
    /* opacity: 0; */
}

/* #modal-list-notifications.modal-list-notifications--show { */
    /* display: flex; */
    /* visibility:unset;
    opacity: 1;
    transition: opacity .1s ease-in; */
/* } */


.modal-list-not {
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.modal-list-not .modal-notifications__top {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--beige, #FAFAFA);
    padding: 12px 18px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    gap: 12px;
}

.modal-list-not .modal-notifications__volume {
    padding: 4px;
}
.modal-list-not .modal-notifications__volume:hover {
    background: var(--gray, #B7BDCE);
    border-radius: 100%;
    cursor: pointer;
}
.modal-list-not .modal-notifications__top i {
    width: 32px;
    height: 32px;
    display: block;
}
.modal-list-not .modal-notifications__top i::before {
    background-color: #B7BDCE;
}
.modal-list-not .modal-notifications__volume:hover i::before {
    background-color: #326E5B;
}
.modal-list-not .modal-notifications__volume:active i::before {
    background-color: #946F9C;
}
.modal-list-not .modal-notifications__volume:active {
    background: none;

}

.modal-notifications__top .modal-notifications__title {
    color: var(--Black, #444);
    font-family: "Source Serif Pro";
    font-size: 18px;
}
.modal-list-not .modal-notifications__setting {
    color: var(--green, #326E5B);
    font-family: "Proxima Nova";
    font-size: 16px;
    line-height: 20px;
    margin-left: auto;
}

.modal-list-not .modal-notifications__content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-list-not .modal-notifications__content .nd-pesron-loading {
    display: flex;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.modal-list-not .modal-notifications__content .nd-pesron-loading i{
    width: 100px;
    height: 100px;
}


.modal-list-not .notifications-item {
    padding: 20px 18px;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(183, 189, 206, 0.3);
    transition: .8s all ease-in;
}

.modal-list-not .notifications-item--new {
    background: rgba(141, 190, 175, 0.15);
}

.modal-list-not .notifications-item--empty {
    padding: 20px;
    display: flex;
    color: var(--gray, #B7BDCE);
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.modal-list-not .notifications-item__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    opacity: 0.2;
    background-color: #B7BDCE;
    border-radius: 50%;
}
.modal-list-not .notifications-item__logo i {
    width: 24px;
    height: 24px;
}
.modal-list-not .notifications-item__logo i::before {
    background-color:var(--color-black)
}

.modal-list-not .notifications-item__content {
      display: flex;
      flex-direction: column;
}
.modal-list-not .notifications-item__title {
    color: var(--green, #326E5B);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.modal-list-not .notifications-item__text {
    color: var(--Black, #444);
    margin: 4px 0 8px;
    position: relative;
}
.modal-list-not .notifications-item__text a {
    color: var(--green, #326E5B);
}
.modal-list-not .notifications-item__text svg {
    position: relative;
    top: 5px;
    cursor: help;
}
/* .modal-list-not .notifications-item__text svg:hover + .icon-helper-info__text { */
    /* opacity: 1;
    z-index: 667;
    top: 115%;
    left: -10%; */
/* } */


/* .modal-list-not .notifications-item__detail{ */
/*
    margin-top: 16px;
    margin-bottom: 24px; */
/* } */
.modal-list-not .notifications-item__detail .nd-select-dropdown {
    z-index: calc( var(--not-z-index ) + 1 );
}


.modal-list-not .notifications-item__detail .notifications-item__action {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.modal-list-not .notifications-item__detail .notifications-item__action button {
    max-width: 130px;
    line-height: normal;
    height: auto;
    padding: 8px 0;
}

.modal-list-not .notifications-item__detail .not-new_user__result {
    display: flex;
    gap: 8px;
    align-items: center;
}
.modal-list-not .notifications-item__detail .not-new_user__result.accept {
    color: rgba(50, 110, 91, 1);
}
.modal-list-not .notifications-item__detail .not-new_user__result.accept span {
    color: var(--Black, var(--black, #444));
    font-feature-settings: 'liga' off, 'clig' off;
    /* longread */
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */;
}

.modal-list-not .notifications-item__detail .not-new_user__result i {
    width: 24px;
    height: 24px;
    display: block;
}
.modal-list-not .notifications-item__detail .not-new_user__result i::before {
    background-color: rgba(68, 68, 68, 1);
}
.modal-list-not .notifications-item__detail .not-new_user__result.accept i::before {
    background-color: rgba(50, 110, 91, 1);
}
.modal-list-not .notifications-item__detail .nd-pesron-loading {
    width: 25px;
    height: 25px;
}
.modal-list-not .notifications-item__detail .nd-pesron-loading i{
    width: 25px;
    height: 25px;
}
.modal-list-not .notifications-item__detail .error-message {

    position: absolute;
    display: block;
    top: 105%;
    left: 0;

    display: none;
    color: var(--red, #E24242);
    font-feature-settings: 'liga' off, 'clig' off;
    /* Descriptor small */
    font-family: "Proxima Nova";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 116.667% */
}


.modal-list-not .notifications-item__time {

    color: var(--gray, #B7BDCE);
}
.modal-list-not .notifications-item__image img {
    width: 80px;
    height: 63px;
    border-radius: 4px;
    object-fit: cover;
    margin-left: auto;
}

.modal-list-not .modal-notifications__bottom {
    display: none;
    padding: 18px;
    text-align: center;
}
.modal-list-not .modal-notifications__clean {
    color: var(--green, #326E5B);
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    background: transparent;
}








/* #modal-one-notifications */

#modal-one-notifications {
    position: fixed;
    /* top: 10%;
    left: 10%; */
    z-index: var( --not-z-index );

    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 390px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.12);

    overflow: hidden;
}

.modal-one-not .modal-notifications__top {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--beige, #FAFAFA);
    padding: 12px 18px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    gap: 12px;
}
.modal-one-not .modal-notifications__close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.modal-one-not .modal-notifications__top i {
    width: 20px;
    height: 20px;
    display: block;
}
.modal-one-not .modal-notifications__top i::before {
    background-color: #B7BDCE;
}
.modal-one-not .notifications-item {
    padding: 20px 18px;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(183, 189, 206, 0.3);
}

.modal-one-not .notifications-item--new {
    background: rgba(141, 190, 175, 0.15);
}

.modal-one-not .notifications-item--empty {
    padding: 20px;
    display: flex;
    color: var(--gray, #B7BDCE);
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.modal-one-not .notifications-item__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    opacity: 0.2;
    background-color: #B7BDCE;
    border-radius: 50%;
}
.modal-one-not .notifications-item__logo i {
    width: 24px;
    height: 24px;
}
.modal-one-not .notifications-item__logo i::before {
    background-color:var(--color-black)
}

.modal-one-not .notifications-item__content {
    display: flex;
    flex-direction: column;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.modal-one-not .notifications-item__title {
    color: var(--green, #326E5B);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.modal-one-not .notifications-item__text {
    color: var(--Black, #444);
    margin: 4px 0 8px;
    /* display: flex; */
    /* flex-direction: row; */
    gap: 5px;
}
.modal-one-not .notifications-item__text a {
    color: var(--green, #326E5B);
    text-overflow: ellipsis;
    overflow: hidden;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
    /* max-width: 200px; */
    /* display: inline-block; */
}
.modal-one-not .notifications-item__time {

    color: var(--gray, #B7BDCE);
}

.modal-one-not .modal-notifications__bottom {
    padding: 18px;
    text-align: center;
}
.modal-one-not .modal-notifications__clean {
    color: var(--green, #326E5B);
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    background: transparent;
}



/* confirm clean modal */


#not-remove-confirm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background: rgba(0, 0, 0, 0.60);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: calc( var( --not-z-index ) + 1);
}

#not-remove-confirm .not-confirm-message__body {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-width: 660px;
    /* max-height: 300px; */
    background: #FAFAFA;
    border-radius: 15px;
    padding: 34px 68px;
}


.not-confirm-message__title {
    color: var(--Black, #444);
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
#not-remove-confirm .not-confirm-message__text {
    margin: 35px 0 45px;
    color: var(--Black, #444);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}
.not-confirm-message__buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.not-confirm-message__close {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
    cursor: pointer;
}
.nd-button.not-confirm-message__button--done {
    background-color: #FD2F2F;
    border: 1px solid #FD2F2F;
}
.nd-button.not-confirm-message__button--done:hover {
    background-color: #E24242;
    border: 1px solid #E24242;
}

.not-confirm-message__close i {
    width: 32px;
    height: 32px;
    display: block;
}
.not-confirm-message__close i::before {
    background-color: #B7BDCE;
}
.not-confirm-message__close:hover i::before {
    background-color: #326E5B;
}
.not-confirm-message__close:active i::before {
    background-color: #946F9C;
}
.not-confirm-message__close:active {
    background: none;

}

@media (max-width: 650px) {
    .modal-settings-not.modal-settings-notifications-list {
        align-items: flex-end;
        padding: unset;
      }
      .center-modal-notifications  {
        align-items: flex-end;
        padding: unset;
      }
      .center-modal-notifications .modal-notifications__close {
        right: 15px;
      }
      .center-modal-notifications .modal-notifications__inner {
        border-radius: 15px 15px 0 0;
        max-height: calc(100svh - 65px);
        height: auto;
      }

      .modal-settings-not .modal-notifications__list {
        padding: 25px 40px;
      }
      .modal-settings-not .mn-content {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 15px;
      }
      .modal-settings-not .nd-select-wrap {
        margin-left: 30px;
      }

      .modal-settings-not .save-setting-notifications-content {
        margin: unset;
        max-width: unset;
      }


      .center-modal-notifications.modal-telegram-not .modal-notifications__top p {
        margin: 22px 100px;
      }
      .center-modal-notifications .modal-telegram-not__content-desktop {
        display: none;
      }
      .center-modal-notifications .modal-telegram-not__content-mobile {

        display: flex;
        justify-content: center;
        align-items: center;
    }



    #not-remove-confirm {
        align-items: flex-end;
    }

    #not-remove-confirm .not-confirm-message__body {

        border-radius: 15px 15px 0 0;
        padding: 0;
        overflow: hidden;
    }


    .not-confirm-message__title {
        color: var(--Black, #444);
        padding: 15px 15px;
        text-align: center;
        background: var(--beige, #F5F2F3);
    }
    #not-remove-confirm .not-confirm-message__text {

        color: var(--Black, #444);
        text-align: center;
        max-width: 300px;
        margin: 35px auto;
    }
    .not-confirm-message__buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: auto;
        margin: 0 15px;
    }
    .not-confirm-message__close {
        border: none;
        box-shadow: none;
        top: 5px;
        right: 5px;
    }

    .modal-list-not .icon-helper-info__text {
        max-width: 270px;
    }
}