

/* Start:/bitrix/templates/NK_FITNES/css/micromodal.css?17769503844611*/
/**************************\
  Basic Modal Styles
\**************************/
.modal {
    font-family: var(--font-family);
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal__container {
    overflow-y: auto;
    box-sizing: border-box;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.modal__title {
    font-size: 33px;
    font-weight: 700;
    text-transform: uppercase;
    box-sizing: border-box;
    text-align: center;
}

.modal__subtitle {
    font-size: 16px;
    font-weight: 500;
    margin: 15px 0 0;
    max-width: 75%;
    text-align: center;
}

.modal__close {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.modal__close:hover {
    background: #FEFEFE;
}

.modal__close:active {
    background: #F4F4FB;
}

.modal__close:focus-visible {
    outline: 2px solid #C8C8D6;
    outline-offset: 2px;
}

.modal__close:before {
    content: "✕";
    color: #282828;
    font-weight: 700;
    font-size: 15px;
}

.modal__content {}

.modal__info {
    padding: 32px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 444px;
    width: 514px;
    background: #FEFEFE;
}

.modal__info-title {
    font-size: 24px;
    text-align: center;
    line-height: 125%;
    font-weight: 600;
    margin: 0 0 24px;
}

.modal__info-content {
    font-weight: 600;
    font-size: 18px;
    line-height: 125%;
    text-align: center;
}

.modal_info .modal__close {
    top: 24px;
    right: 24px;
}


@media (max-width: 900px) {
    .modal__container {
        min-width: 95vw;
    }
}

@media (max-width: 768px) {
   
    .modal_training .modal__close, .modal_info .modal__close {
        display: none;
    }

    .modal__close::after {
        font-size: 12px;
    }

    .modal__container {
        min-width: initial;
        width: 95vw;
        margin: auto 0;
    }

    .modal_training .modal__container, .modal_info .modal__container {
        width: 100vw;
        margin: 0;
    }

    .modal_auth .modal__container {
        min-width: 90vw;
    }

    .modal_auth .modal__close {
        top: 16px;
        right: 16px;
    }

    .modal__overlay {
        align-items: end;
    }

    .modal__info {
        width: initial;
        min-height: initial;
    }

    .modal__info-title {
        text-align: left;
        font-size: 19px;
        margin: 0 0 12px;
    }

    .modal__info-content {
        font-size: 16px;
        text-align: left;
    }

    .modal__info-bottom {
        margin: 16px 0 0;
    }

    .modal__info {
        padding: 24px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden=false] .modal__overlay {
    animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=false] .modal__container {
    animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=true] .modal__overlay {
    animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide[aria-hidden=true] .modal__container {
    animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}
/* End */


/* Start:/bitrix/templates/NK_FITNES/css/common-nstnkv.css?177753046028039*/
.header.header_inner {
    top: 0;
    padding: 32px 0;
    border-bottom-left-radius: 42px;
    border-bottom-right-radius: 42px;
    overflow: hidden;
}

.header__gradients:not(.header_inner .header__gradients),
.header.active .header__gradients {
    display: none;
}

.header__gradients div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 855px;
    /* см фигму */
}

.header__gradients div:nth-child(1) {
    background: radial-gradient(91.67% 131.56% at 91.67% 80.58%, #7EB3D6 7.65%, rgba(141, 185, 214, 0.2) 62.59%, rgba(255, 255, 255, 0) 100%);
    z-index: 5;
    transform: rotate(-180deg);
}

.header__gradients div:nth-child(2) {
    background: radial-gradient(103.4% 103.4% at 103.4% 104.33%, #4F0001 0%, rgba(79, 0, 1, 0.2) 67.71%, rgba(255, 255, 255, 0) 100%);
    z-index: 4;
}

.header__gradients div:nth-child(3) {
    background: radial-gradient(100% 143.52% at 100% 100%, #FFFFFF 7.65%, rgba(255, 255, 255, 0.2) 49%, rgba(255, 255, 255, 0) 100%);
    z-index: 3;
}

.header__gradients div:nth-child(4) {
    background: radial-gradient(100% 143.52% at 100% 100%, #FFFFFF 7.65%, rgba(255, 255, 255, 0.2) 55.88%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;

}

.header__gradients div:nth-child(5) {
    background: #D8D9D8;
    z-index: 1;
}

.header__wrapper {
    z-index: 10;
    position: relative;
}


@media(max-width: 1024px) {
    .header.header_inner {
        padding: 12px 0;
        background: linear-gradient(180deg, #F2F8FD 0%, #E1F0FA 100%);
        border-bottom-left-radius: 32px;
        border-bottom-right-radius: 32px;
    }

    .header.header_inner .header__wrapper {
        margin: 0;
    }

    .header__gradients {
        display: none;
    }

    /* .padding-top-first {
        padding-top: 100px !important;
    } */
}

.page-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 125%;
    margin: 0 0 24px;
}

.page-subtitle {
    font-weight: 600;
    font-size: 18px;
    line-height: 125%;
    margin: 0 0 24px;
}

@media(max-width: 767px) {
    .page-title {
        font-size: 22px;
        margin: 0 0 16px;
    }
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 48px;
    font-weight: 500;
    font-size: 13px;
    line-height: 125%;
    color: #686464;
}

.breadcrumbs__link {
    color: #686464;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
    color: #282828;
}

.breadcrumbs__separator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url(/bitrix/templates/NK_FITNES/css/../assets/Arrow_right.svg) center / contain no-repeat;
    font-size: 0;
    color: transparent;
    flex-shrink: 0;
}

.breadcrumbs__current {
    color: #686464;
}

@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 13px;
        margin-bottom: 24px;
    }
}

.reverse {
    transform: scale(-1, -1);
}

.underline {
    text-decoration: underline;
}

.arrow-button {
    width: 48px;
    height: 48px;
    background: #FEFEFE;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 2px solid #E1F0FA; */
    border: none;
    cursor: pointer;
}

.arrow-button::after {
    content: "";
    display: block;
    width: 24px;
    aspect-ratio: 1;
    background: url(/bitrix/templates/NK_FITNES/css/../assets/next.svg) center / 24px no-repeat;
}

.arrow-button:hover {
    background: #68ACD9;
}

.arrow-button:disabled {
    background: transparent;
}

.arrow-button:hover:not(:disabled)::after {
    filter: brightness(0) invert(1);
}

.arrow-button_base {
    border-color: #FEFEFE;
}

.arrow-button_base::after {
    filter: brightness(0);
}


/* Блок select */
.select {
    position: relative;
    outline: none;
    user-select: none;
    width: 100%;
}

/* Элемент trigger (видимая часть) */
.select__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-radius: 32px;
    background: #F4F4FB;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Элемент value (текст выбранной опции) */
.select__value {
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #040406;
}

.select input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

/* Элемент arrow (стрелка) */
.select__arrow {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTYnIGhlaWdodD0nMTAnIHZpZXdCb3g9JzAgMCAxNiAxMCcgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMCAxLjUwNzQzTDEuNDIgMEw4IDYuOTg1MTRMMTQuNTggMEwxNiAxLjUwNzQzTDggMTBMMCAxLjUwNzQzWicgZmlsbD0nIzI4MjgyOCcvPjwvc3ZnPiA=");
    background-repeat: no-repeat;
    background-size: 16px 20px;
    width: 16px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Стрелка в открытом селекте */
.select--open .select__arrow {
    transform: rotate(180deg);
}

/* Элемент options (выпадающий список) */
.select__options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;

    border: 2px solid #F4F4FB;
    border-radius: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
    overflow-y: auto;
    box-shadow: 0px 2px 12px 0px #3C3F5C33;
}

/* Показываем options при открытом селекте */
.select--open .select__options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Элемент option */
.select__option {
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #282828;
    font-size: 16px;
    line-height: 125%;
    font-weight: 500;
    background: #F4F4FB;
}

/* Убираем границу у последнего option */
.select__option:last-child {
    border-bottom: none;
}

/* Ховер эффект */
.select__option:hover {
    background-color: #F2F8FD;
}

/* Модификатор выбранной опции */
.select__option--selected {
    background-color: #E1F0FA;
}

/* Стилизация скроллбара */
.select__options::-webkit-scrollbar {
    width: 8px;
}

.select__options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.select__options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.select__options::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Анимация появления */
@keyframes selectFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.select--open .select__options {
    animation: selectFadeIn 0.3s ease forwards;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .select {
        width: 100%;
    }

    .select__option {
        padding: 15px 16px;
        /* Больше область касания */
    }

    .select__options {
        max-height: 250px;
    }
}




.location {
    display: flex;
    align-items: center;
}

.location__icon {
    width: 20px;
    height: 26px;
    margin: 0 8px 0 0;
}

.location__place {
    border-radius: 32px;
    padding: 8px 12px;
    background: #F4F4FB;
    font-size: 14px;
    line-height: 125%;
    font-weight: 500;
    margin: 0;
}

@media(max-width: 767px) {
    .location__icon {
        margin: 0 4px 0 0;
    }
}

.button {
    border-radius: 32px;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F4F4FB;
    font-size: 16px;
    line-height: 125%;
    font-weight: 500;
    color: #282828;
    width: 100%;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
}

.button:hover {
    background: #F2F8FD;
}

.button:focus {
    background: #E1F0FA;
}

.button:disabled {
    background: #9C9999;
    color: #CCCCCC;
}

.button_danger {
    background: #8F2D29;
    color: #FEFEFE;
}

.button_danger:hover {
    background: #9F322D;
}

.button_danger:focus {
    background: #AF3732;
}


.auth {
    padding: 32px;
    border-radius: 32px;
    background: #FEFEFE;
    width: 514px;
    box-sizing: border-box;
    position: relative;
}

.auth__title {
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%;
    margin: 0 0 65px;
}

.auth__step-container {
    max-width: 418px;
    margin: 0 auto;
}

.auth__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    margin: 0 0 24px;
}

.auth__form-group {
    border-radius: 32px;
    background: #F4F4FB;
    padding: 20px 24px;
    display: flex;
    align-items: center;
}

.auth__flag {
    margin: 0 8px 0 0;
}

.auth__input {
    outline: none;
    border: none;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    color: #282828;
    background: inherit;
    transition: color 0.2s ease;
}

.auth__input::placeholder {
    color: #9C9999;
    transition: color 0.2s ease;
}

.auth__input:focus::placeholder {
    color: #282828;
}

.auth__button {
    margin: 16px 0 0;
}

.auth__info {
    font-weight: 500;
    font-size: 13px;
    line-height: 125%;
    color: #808080;
    margin: 65px 0 0;
}

.auth__info a {
    color: inherit;
}

.auth__code-inputs {
    gap: 12px;
    display: flex;
    justify-content: center;
}

.auth__code-input {
    width: 60px;
    height: 64px;
    background: #F4F4FB;
    border-radius: 16px;
    border: none;
    outline: 2px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 500;
    color: #282828;
    /* padding: 20px; */
    text-align: center;
    transition: background-color 0.2s ease, outline-color 0.2s ease;
}

.auth__code-input:hover:not(:disabled):not(:focus) {
    background: #ECECF4;
}

.auth__code-input:focus {
    background: #FEFEFE;
    outline-color: #8F2D29;
}

.auth__code-input_error {
    background: #FAF0F0;
}

.auth__error {
    color: #BA6A66;
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
}

.auth__button_resend {
    margin: 58px auto 0;
    max-width: 260px;
}

.auth__button_resend:not(.button_danger) {
    background: none;
}

.auth__button_resend:disabled {
    background: inherit;
    color: inherit;
}

.auth__step-back {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 36px;
    height: 36px;
}

.auth__step-back::after {
    width: 15px;
}


.grid-3 {
    display: grid;
    grid-template-columns: 23.7% 40.2% 1fr;
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


@media(max-width: 767px) {
    .auth {
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 24px;
        position: relative;
        width: initial;
    }

    .auth__title {
        margin: 0;
        font-size: 19px;
    }

    .auth__info {
        margin: 0;
    }

    .auth__step-back {
        top: 16px;
        left: 16px;
    }

    .auth__step_code {
        margin: auto 0;
    }

    .auth__resend {
        position: absolute;
        bottom: 24px;
        width: calc(100% - 48px);
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.account-tab {
    background: #FEFEFE;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    outline: none;
    border: none;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    color: #282828;
}

.account-tab:hover {
    background-color: #FAFAFA;
}

.account-tab::after {
    content: "";
    margin-left: auto;
    width: 16px;
    height: 25px;
    background: url(/bitrix/templates/NK_FITNES/assets/personal/Arrow_right.svg) center / contain no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.account-tab:hover::after,
.account-tab:focus-visible::after {
    opacity: 1;
}

.account-tab_active {
    background: #F4F4FB;
}

.account-tab span:nth-child(1) {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    margin: 0 12px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F4F4FB;
}

.account-tab span:nth-child(2) {
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
}

.input {
    outline: 2px solid transparent;
    border: none;
    background: #F4F4FB;
    padding: 16px 24px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    color: #282828;
    width: 100%;
    border-radius: 32px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease, outline-color 0.2s ease;
}

.input::placeholder {
    color: #9C9999;
}

.input:hover:not(:disabled):not(:focus) {
    background: #ECECF4;
}

.input:focus {
    background: #F4F4FB;
    outline-color: transparent;
}

.input:focus::placeholder {
    color: #282828;
}

.input:disabled {
    background: #E9E9F1;
    color: #B8B8C5;
    cursor: not-allowed;
}

.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus,
.input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #F4F4FB inset !important;
    box-shadow: 0 0 0 1000px #F4F4FB inset !important;
    -webkit-text-fill-color: #282828 !important;
    caret-color: #282828;
    transition: background-color 600000s ease-in-out 0s;
}

.input:focus:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #F4F4FB inset !important;
    box-shadow: 0 0 0 1000px #F4F4FB inset !important;
}

.input-date {
    position: relative;
}

.input-date__icon {
    position: absolute;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: 8px;
    right: 8px;
    background: #FEFEFE;
    cursor: pointer;
}

.input-date__icon:active{
    background: #F4F4FB;
}

.info-field {
    padding: 16px 24px;
    border-radius: 16px;
    background: #F4F4FB;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.info-field__title {
    font-size: 13px;
    font-weight: 500;
    line-height: 125%;
    color: #808080;
}

.info-field__content {
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
    color: #282828;
    margin: 0;
}

.info-field__title,
.info-field__content {
    max-width: 306px;
}

.info-field__button.arrow-button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 52px;
    height: 52px;
    background: #F4F4FB;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.info-field__button.arrow-button::after {
    filter: brightness(0);
    transition: filter 0.2s ease;
}

.info-field__button.arrow-button:hover {
    background-color: #FFFFFF;
}

.info-field__button.arrow-button:hover::after {
    filter: brightness(0);
}

.info-field__button.arrow-button:active {
    background-color: #F2F2F2;
}

.switcher {
    border-radius: 32px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #F4F4FB;
}

.switcher__item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.switcher__item span {
    border-radius: 32px;
    background: transparent;
    color: #9C9999;
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    padding: 10px;
    display: block;
    width: 100%;
    text-align: center;
    z-index: 3;
    pointer-events: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.switcher__item input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
    z-index: 5;
}

.switcher__item:hover input:not(:checked)+span {
    background: #ECECF4;
    color: #282828;
}

.switcher__item input:active+span,
.switcher__item input:checked+span {
    background: #FEFEFE;
    color: #282828;
}

.switcher__item input:focus-visible+span {
    outline: 2px solid #8F2D29;
    outline-offset: 2px;
}

.about-tariffs__slide-price-old {
    color: #9C9999;
    font-size: 18px;
    font-weight: 600;
    line-height: 125%;
    width: max-content;
    position: relative;
}

.about-tariffs__slide-price-old::after {
    content: "";
    position: absolute;
    display: block;
    height: 1px;
    inset: -10px;
    margin: auto 0;
    background: #9C9999;
}


@media(min-width: 1025px) {
    .hide-desktop {
        display: none;
    }
}

@media(max-width: 1024px) and (min-width: 768px) {
    .hide-tablet {
        display: none;
    }
}

@media(max-width: 767px) {
    .hide-mobile {
        display: none;
    }
}

@media(max-width: 1024px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .account-tab span:nth-child(2) {
        display: none;
    }

    .account-tab span:nth-child(1) {
        background: transparent;
        margin: 0;
    }

    .account-tab {
        height: 36px;
        justify-content: center;
        background: #F4F4FB;
        border-radius: 12px;
    }

    .account-tab_active {
        background: #E1F0FA;
    }
}



.datepicker {
    width: max-content;
    border-radius: 32px !important;
    box-shadow: 0px 2px 12px 0px #3C3F5C33;
    position: absolute;
    z-index: 10;
    background: #FEFEFE;

}

.datepicker .datepicker-days td {
    font-weight: 500;
    font-size: 16px;
    line-height: 125%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.datepicker table tr td span {
    width: 48px;
    height: 48px;
    line-height: 48px;
    margin-right: 75px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
}

.datepicker table tr td span:nth-child(4n) {
    margin-right: 0;
}

.datepicker .datepicker-days td:hover,
.datepicker table tr td span.focused,
.datepicker table tr td span:hover {
    background: #E1F0FA !important;
}

.datepicker .dow {
    font-weight: 600;
}

.datepicker table {
    border-collapse: separate;
    border-spacing: 26px 12px;
    width: 458px;
    padding-bottom: 50px;
    position: relative;
}

.datepicker .active.day,
.datepicker .active.day:hover,
.datepicker .active.day:focus,
.datepicker .month.active,
.datepicker .month.active:hover,
.datepicker .year.active,
.datepicker .year.active:hover,
.datepicker .century.active,
.datepicker .century.active:hover,
.datepicker .decade.active,
.datepicker .decade.active:hover {
    background-color: #68ACD9 !important;
    background-image: none !important;
    color: #FEFEFE !important;
}

.datepicker table tr td.day.focused:not(.active),
.datepicker table tr td.day:not(.active):hover {
    background: #E1F0FA !important;
}

.datepicker .datepicker-days td.active:hover,
.datepicker .datepicker-days td.active.focused {
    background: #68ACD9 !important;
    color: #FEFEFE !important;
}

.datepicker .prev,
.datepicker .next {
    font-size: 0;
    width: 44px;
    height: 44px;
    background: #F2F8FD;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.datepicker .prev::after,
.datepicker .next::after {
    content: "";
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxMSAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMjIwOTUgMTcuNkwwIDguOEw5LjIyMDk1IDBMMTEgMS42OTc4M0wzLjU1ODA5IDguOEwxMSAxNS45MDIyTDkuMjIwOTUgMTcuNloiIGZpbGw9IiMyODI4MjgiLz4KPC9zdmc+Cg==');
    width: 11px;
    height: 17.6px;
    background-size: 11px 17.6px;
    display: block;
}

.datepicker .prev:hover,
.datepicker .next:hover {
    background: transparent !important;
}

.datepicker .prev {
    position: absolute;
    right: 55px;
    top: 0;
}

.datepicker .next {
    position: absolute;
    right: 0px;
    top: 0;
}

.datepicker .next::after {
    transform: scale(-1, -1);
}

.datepicker .datepicker-months .next,
.datepicker .datepicker-months .prev,
.datepicker .datepicker-years .next,
.datepicker .datepicker-years .prev,
.datepicker .datepicker-decades .next,
.datepicker .datepicker-decades .prev,
.datepicker .datepicker-centuries .next,
.datepicker .datepicker-centuries .prev {
    transform: rotate(90deg);
}

.datepicker .datepicker-switch {
    position: absolute;
    left: 0;
    text-align: left;
    width: max-content;
    font-size: 16px;
    font-weight: 600;
    line-height: 125%;
    top: 0px;
    width: max-content !important;
    height: 44px;
    padding: 12px;
    box-sizing: border-box;
}

.datepicker .datepicker-switch:hover {
    background: #E1F0FA !important;
}

.datepicker table thead tr:nth-child(2) {
    position: relative;
    height: 60px;
}

.datepicker tbody .today {
    display: table-cell !important;
}

.datepicker tfoot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    position: absolute;
    bottom: 15px;
    right: 15px;
    left: 15px;

}

.datepicker tfoot tr {
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.datepicker tfoot tr th {
    display: flex !important;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
    color: #282828;
    transition: background-color 0.3s ease;
}

.datepicker tfoot tr th:hover {
    background: #F2F8FD !important;
}

.datepicker tfoot tr th.today {
    background: #8F2D29;
    color: #FEFEFE;
}

.datepicker tfoot tr th.today:hover {
    background: #9F322D !important;
}

.datepicker tfoot tr:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.datepicker-dropdown:before {
    content: initial !important;
}

@media(max-width: 767px) {
    .datepicker {
        position: fixed;
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        top: initial !important;
    }

    .datepicker table {
        width: calc(100vw - 24px);
        border-spacing: 10px;
    }

    .datepicker {
        padding: 6px 0 !important;
    }

    .datepicker table thead tr:nth-child(2) {
        height: 44px;
    }
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

input[type="time"] {
    text-align: left;
}

.d-none {
    display: none !important;
}

.button-with-icon {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    border: none;
    outline: none;
    border-radius: 32px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease-in;
    color: #282828;
}

.button-with-icon_plus .button-with-icon__icon::after {
    content: "";
    display: block;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuOTYxNTQgOS4wMzg0NkgwVjYuOTYxNTRINi45NjE1NFYwSDkuMDM4NDZWNi45NjE1NEgxNlY5LjAzODQ2SDkuMDM4NDZWMTZINi45NjE1NFY5LjAzODQ2WiIgZmlsbD0iIzI4MjgyOCIvPgo8L3N2Zz4K');
    background-size: 16px 16px;
    width: 16px;
    height: 16px;
}

.button-with-icon_lgray {
    background: #F4F4FB;
}

.button-with-icon_lgray:hover {
    background: #E1F0FA;
}


.button-with-icon_lgray .button-with-icon__icon {
    background: #FEFEFE;
}

.button-with-icon__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    margin: 0 12px 0 0;
    background: #F4F4FB;
}

.button-with-icon__text {
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
}

.switch {
    width: 36px;
    height: 20px;
    position: relative;
    border-radius: 100px;
    overflow: hidden;
    background: #CCCCCC;
    transition: background-color 0.2s ease-in;
}

.switch_checked {
    background: #8F2D29;
}

.switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
}

.switch::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FEFEFE;
    position: absolute;
    left: 2px;
    top: 2px;
    transition: all 0.2s ease-in;
    z-index: 2;
}

.switch_checked::after {
    left: initial;
    right: 2px;
}


.textarea {
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 125%;
    padding: 16px 24px;
    background: #F4F4FB;
    border: none;
    outline: none;
    resize: vertical;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 0;
}

.form__title {
    font-size: 18px;
    font-weight: 600px;
    line-height: 125%;
    margin: 0 0 16px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 16px;
}

.form__field:last-child {
    margin: 0;
}

.form__field_row {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
}

.form__label {
    font-size: 14px;
    font-weight: 500;
    line-height: 125%;
}

.form__hint {
    margin: -4px 0 0;
    color: #808080;
    font-size: 13px;
    font-weight: 500;
    line-height: 125%;
}

.form__info {
    color: #282828;
    font-size: 14px;
    font-weight: 500;
    line-height: 125%;
    margin: 0;
}

@media(max-width: 1024px) {
    .form {
        gap: 16px;
    }
}

.mobile-overlay {
    display: none;
    position: fixed;
    bottom: 16px;
    gap: 16px;
    max-width: 336px;
    left: calc(50% - 336px / 2);
    align-items: end;
    z-index: 20;
}

.mobile-overlay .button {
    height: 52px;
}

.mobile-panel {
    display: flex;
    justify-content: space-between;
    height: 60px;
    background: #FEFEFE;
    box-shadow: 0px 2px 12px 0px #3C3F5C33;
    border-radius: 32px;
}

.mobile-panel__button {
    display: grid;
    gap: 2px;
    padding: 10.5px 17px;
    align-items: center;
    justify-items: center;
}

.mobile-panel__button-icon {}

.mobile-panel__button-text {
    font-weight: 600;
    font-size: 9px;
    line-height: 125%;
    color: #808080;
}

@media(max-width: 767px) {
    .mobile-overlay {
        display: grid;
    }
}

@media(max-width: 359px) {
    .mobile-overlay {
        width: calc(100vw - 30px);
        left: 15px;
    }

    .mobile-panel__button {
        padding: 10px;
    }
}
/* End */


/* Start:/bitrix/templates/NK_FITNES/css/mobile-nav.css?17774741952431*/
/* =========================================================
 * Мобильная нижняя нав-плашка
 * Видна только на узких экранах (≤ 768px), фиксирована внизу.
 * ========================================================= */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .footer__wrapper {
        margin-bottom: 72px;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 16px;
        z-index: 100;

        /* Безопасная зона для iOS (вырез/индикатор внизу) */
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));

        background: #FEFEFE;
        border-radius: 32px; 
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
                    0 2px 8px rgba(0, 0, 0, 0.04);
        justify-content: space-around;
        align-items: stretch;
    }

    .mobile-bottom-nav__item {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        /* padding: 6px 8px; */
        text-decoration: none;
        color: #808080;
        font-family: 'Montserrat', sans-serif;
        transition: opacity 0.2s ease;
        padding: 10px 12px;
        border-radius: 32px;
    }


    .mobile-bottom-nav__item:active {
        opacity: 0.5;
        background-color: #E1F0FA;
    }

    .mobile-bottom-nav__icon {
        width: 26px;
        height: 26pxч;
        display: block;
        flex-shrink: 0;
    }

    .mobile-bottom-nav__label {
        text-align: center; 
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        font-family: "Montserrat SemiBold", sans-serif;
        font-weight: 600;
        font-size: 9px;
        line-height: 125%;
        letter-spacing: 0%;
    }

    /* Активный пункт — чуть выделен (пока без фона, можно расширить) */
    .mobile-bottom-nav__item_active .mobile-bottom-nav__label {
        font-weight: 600;
    }

    /* Чтобы контент страницы не прятался под плашкой,
       добавляем нижний паддинг к main */
    /* .main {
        padding-bottom: 96px;
    } */
}

/* End */


/* Start:/bitrix/templates/NK_FITNES/template_styles.css?1777296269815*/


/* NK_NOTIF_BELL_DESKTOP */
/* === NK FIT — override notifications bell для десктопа === */
/*
 * В index.css верстальщики поставили:
 *   @media (max-width: 1024px) { .header__controls-notifications { display: flex } }
 *   .header__controls-notifications { display: none }   ← дефолт
 *
 * Нам нужно показать его и на десктопе для авторизованных юзеров.
 * Триггер: класс .header__controls_logged уже есть на родительском div'е (наш патч header.php).
 * Селектор использует !important потому что выше в каскаде уже есть display: none.
 */
.header__controls_logged .header__controls-notifications {
  display: flex !important;
}

/* End */
/* /bitrix/templates/NK_FITNES/css/micromodal.css?17769503844611 */
/* /bitrix/templates/NK_FITNES/css/common-nstnkv.css?177753046028039 */
/* /bitrix/templates/NK_FITNES/css/mobile-nav.css?17774741952431 */
/* /bitrix/templates/NK_FITNES/template_styles.css?1777296269815 */
