:root {
    --background-color: #f5f6fb;
    --base-color: #00b980;
    --clean-white-color: #ffffff;
    --dark-gray-color: #121212;
    --gray-color: #3b3b3b;
    --light-base-color: #4ccea6;
    --light-gray-color: #87888d;
    --pale-base-color: #b3ead9;
    --pale-gray-color: #dddddd;
    --red-color: #fe3f40;
    --yellow-color: #ffed61;
}

/*icon main :active*/

.icon-main-btn:active .tn-molecule {
    background-color: var(--base-color) !important;
}

/*icon default :hover :active*/
.icon-def-btn:hover .tn-molecule {
    background-color: var(--light-gray-color) !important;
}
.icon-def-btn:active .tn-molecule {
    background-color: var(--light-base-color) !important;
}

/*text default :hover :active*/
.text-def-btn:hover .tn-molecule {
    background-color: var(--gray-color) !important;
}
.text-def-btn:active .tn-molecule {
    background-color: var(--base-color) !important;
}
.text-def-btn:hover .tn-molecule *,
.text-def-btn:active .tn-molecule * {
    color: var(--clean-white-color) !important;
}
/* text+icon main :hover :active*/
.text-icon-main-btn:hover .text .tn-molecule {
    background-color: var(--light-base-color) !important;
}
.text-icon-main-btn:active .text .tn-molecule,
.text-icon-main-btn:active .icon .tn-molecule {
    background-color: var(--base-color) !important;
}

.text-icon-main-btn:hover .text .tn-molecule *,
.text-icon-main-btn:active .text .tn-molecule *{
    color: var(--clean-white-color) !important;
}
/* text+icon secondary small :hover :active*/
.text-icon-sec-sm-btn:hover .text .tn-molecule {
    background-color: var(--pale-gray-color ) !important;
}

.text-icon-sec-sm-btn:active .text .tn-molecule,
.text-icon-sec-sm-btn:active .icon .tn-molecule {
    background-color: var(--light-base-color) !important;
}

.text-icon-sec-sm-btn:hover .text .tn-molecule *,
.text-icon-sec-sm-btn:active .text .tn-molecule * {
    color: var(--clean-white-color) !important;
}
/* text+icon secondary big :hover :active*/
.text-icon-sec-big-btn:hover .text .tn-molecule {
    background-color: var(--light-gray-color ) !important;
}
.text-icon-sec-big-btn:active .text .tn-molecule,
.text-icon-sec-big-btn:active .icon .tn-molecule {
    background-color: var(--base-color ) !important;
}

.text-icon-sec-big-btn:hover .text .tn-molecule *,
.text-icon-sec-big-btn:active .text .tn-molecule * {
    color: var(--clean-white-color) !important;
}
/*link default :active*/
.link-def-btn:active .tn-molecule {
    background-color: var(--pale-gray-color ) !important;
}
.link-def-btn:active .tn-molecule * {
    fill: var(--clean-white-color) !important;
    color: var(--clean-white-color) !important;
}

/*
    переопределяет класс .t396__artboard-fixed-no-bg, который снимает pointer-events
    если кнопка в фиксированном блоке
*/
.icon-main-btn, .icon-def-btn, .text-def-btn, .text-icon-main-btn, .link-def-btn {
    pointer-events: all !important;
}
