/* Controls for the home page LMS / LXP feature-tab sliders (see assets/js/feature-tabs.js) */
.ft-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 18px;
}
.ft-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(17, 14, 45, 0.08);
    background: #fff;
    color: #110E2D;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .1s ease;
}
.ft-btn:hover {
    color: #EE5D38;
    border-color: #EE5D38;
}
.ft-btn:active {
    transform: scale(.96);
}
.ft-btn:focus-visible {
    outline: 2px solid #EE5D38;
    outline-offset: 2px;
}
.ft-btn svg {
    flex-shrink: 0;
}
.ft-toggle .ft-ico-play,
.ft-toggle .ft-label-play,
.ft-toggle.is-paused .ft-ico-pause,
.ft-toggle.is-paused .ft-label-pause {
    display: none;
}
.ft-toggle.is-paused .ft-ico-play,
.ft-toggle.is-paused .ft-label-play {
    display: inline;
}
.ft-progress {
    flex: 1 1 auto;
    min-width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(17, 14, 45, 0.08);
    overflow: hidden;
}
.ft-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #EE5D38;
}
.ft-stopped .ft-progress {
    visibility: hidden;
}
.ft-counter {
    min-width: 44px;
    font-size: 12px;
    color: #110E2D;
    opacity: .6;
    text-align: center;
}
.ft-nav {
    display: flex;
    gap: 8px;
}
.ft-prev {
    width: 38px;
    padding: 0;
    justify-content: center;
}
.ft-next {
    background: #EE5D38;
    border-color: #EE5D38;
    color: #fff;
    max-width: 340px;
}
.ft-next:hover {
    background: #d94a26;
    border-color: #d94a26;
    color: #fff;
}
.ft-next-label {
    opacity: .85;
}
.ft-next-title {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
[dir="rtl"] .ft-arrow {
    transform: scaleX(-1);
}
@media (max-width: 640px) {
    .ft-controls {
        flex-wrap: wrap;
        gap: 8px;
    }
    .ft-toggle {
        order: 1;
        width: 38px;
        padding: 0;
        justify-content: center;
    }
    .ft-nav {
        order: 2;
        flex: 1 1 calc(100% - 46px);
        min-width: 0;
    }
    .ft-next {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        justify-content: space-between;
    }
    .ft-next-title {
        max-width: none;
    }
    .ft-progress {
        order: 3;
        flex: 1 1 calc(100% - 64px);
    }
    .ft-counter {
        order: 4;
    }
    .ft-label-pause,
    .ft-label-play,
    .ft-next-label {
        display: none !important;
    }
}

/* LXP section: mirror of the LMS section */
:is([dir="rtl"] .rtlReverse) {
    transform: rotateY(180deg);
}
.lxp-more {
    color: #EE5D38;
}
.lxp-more:hover {
    text-decoration: underline;
}
