.series-navigation {
    width: 100%;
    margin: 0 0 20px !important;
    padding: 16px !important;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dt-is-active .series-navigation {
    background: #2b2b2f;
    border-color: #414146;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.series-navigation__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin: 0 0 10px;
}

.series-navigation__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    color: #fff;
    background: #e53935;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: .2s ease;
}

.series-navigation__current:hover {
    background: #ff4b47;
}

.series-navigation__select {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    color: #161616;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    transition: .2s ease;
}

.series-navigation__select:hover {
    border-color: #bdbdbd;
}

.series-navigation__select:focus {
    border-color: #999999;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.series-navigation__select option {
    color: #161616;
    background: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.dt-is-active .series-navigation__select {
    color: #eeeeee;
    background: #3a3a3f;
    border-color: #505057;
}

.dt-is-active .series-navigation__select option {
    color: #eeeeee;
    background: #3a3a3f;
}

.dt-is-active .series-navigation__select:hover {
    border-color: #66666d;
}

.dt-is-active .series-navigation__select:focus {
    border-color: #77777e;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.series-navigation__controls {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(18px, 120px)
        minmax(0, 1fr);
    align-items: center;
    column-gap: 18px;
    margin-top: 22px !important;
}

.series-navigation__center {
    width: 100%;
    min-height: 1px;
}

.series-navigation__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 0 20px;
    color: #fff;
    background-color: var(--accent);
    border: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: none;
    transition: .2s ease;
}

/* Активная кнопка */
.series-navigation__button:not(.series-navigation__button--disabled):hover {
    color: #ffffff;
    background: #111111;
    transform: translateY(-1px);
    text-decoration: none;
}

.series-navigation__button:not(.series-navigation__button--disabled):active {
    color: #ffffff;
    background: #000000;
    transform: translateY(0);
    text-decoration: none;
}

/* Неактивная кнопка */
.series-navigation__button--disabled {
    color: #b8b8b8 !important;
    background: #f4f4f4 !important;
    border: 1px solid #eeeeee !important;
    cursor: default;
    opacity: 1;
    transform: none !important;
    pointer-events: auto;
}

.series-navigation__button--disabled:hover,
.series-navigation__button--disabled:active {
    color: #b8b8b8 !important;
    background: #f4f4f4 !important;
    border-color: #eeeeee !important;
    transform: none !important;
    text-decoration: none;
}

.series-navigation__button-icon {
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

/* Левая кнопка */
.series-navigation__button--prev {
    justify-self: stretch;
}

/* Правая кнопка */
.series-navigation__button--next {
    justify-self: stretch;
}

/* Мобильные устройства */
@media (max-width: 600px) {

    .series-navigation {
        margin-bottom: 22px !important;
        padding: 14px !important;
    }

    .series-navigation__header {
        margin-bottom: 10px;
    }

    .series-navigation__current {
        min-height: 30px;
        padding: 0 11px;
        font-size: 13px;
    }

    .series-navigation__select {
        height: 46px;
        padding: 0 12px;
        font-size: 16px;
    }

    .series-navigation__controls {
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        margin-top: 20px !important;
    }

    .series-navigation__center {
        display: none;
    }

    .series-navigation__button {
        min-height: 42px;
        padding: 0 10px;
        font-size: 13px;
    }

    .series-navigation__button-icon {
        font-size: 16px;
    }
}