.sect__motivator {
    padding-bottom: 48px;
}

.sect__motivator .container {
    padding: 0;
}

.sect__motivator .motivator__inner {
    display: flex;
    background-color: #252a2e;
    padding-top: 22px;
    padding-bottom: 22px;
    padding-inline-start: 40px;
    padding-inline-end: 20px;
    gap: 44px;
    border-radius: 16px;
    border: 1px solid #383f46;
    overflow: hidden;
}

.sect__motivator .motivator__inner.loading {
    position: relative;
}

.sect__motivator .motivator__inner.loading::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #252a2e;
    border-radius: 16px;
    z-index: 2;
}

.sect__motivator .motivator__inner.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px; 
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fa6a1c;
    border-radius: 50%;
    z-index: 3;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sect__motivator .motivator__inner--error {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 436px;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
}

.sect__motivator .motivator__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.sect__motivator .motivator__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 74px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 0.5px solid #383f46;
}

.sect__motivator .motivator__header-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sect__motivator .motivator__header-info {
    text-align: start;
}

.sect__motivator .motivator__header-title {
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.55;
    color: #fff;
}

.sect__motivator .motivator__header-description {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.42;
    color: #a5aaaf;
}

.sect__motivator .motivator__header-icon {
    display: flex;
    align-items: center;
    width: 44px;
    height: 44px;
}

.sect__motivator .motivator__header-img {
    width: 100%;
}

.sect__motivator .motivator__header-date {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: #a5aaaf;
}

.sect__motivator .motivator__chart {
    position: relative;
    margin-top: 32px;
    bottom: -18px;
    width: 670px;
    height: 236px;
    overflow: hidden;
}

.sect__motivator p {
    margin: 0;
}

.sect__motivator .motivator__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.sect__motivator .motivator__text b {
    font-weight: 700;
}

.sect__motivator .motivator__balance {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.sect__motivator .motivator__balance b {
    color: #fa6a1c;
}

.sect__motivator .motivator__callout {
    margin-top: 18px;
    font-size: 26px;
    line-height: 1.6;
    font-weight: 500;
}

html[lang='kk'] .sect__motivator .motivator__callout {
    font-size: 22px;
}

.sect__motivator .motivator__callout br {
    display: none;
}

.sect__motivator .motivator__callout [data-motivator-field='profit'],
.sect__motivator .motivator__callout .accent-color {
    color: #fa6a1c;
}

html[lang='ar'] .sect__motivator .motivator__callout [data-motivator-field='profit'],
html[lang='ar'] .sect__motivator .motivator__callout .accent-color,
html[lang='fa'] .sect__motivator .motivator__callout [data-motivator-field='profit'],
html[lang='fa'] .sect__motivator .motivator__callout .accent-color {
    display: inline-block;
}

.sect__motivator .motivator__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 228px;
    width: fit-content;
    height: 48px;
    border-radius: 8px;
    background-color: #02ad49;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 48px auto 0;
    padding: 16px 32px;
    -webkit-transition: opacity 0.25s;
    transition: opacity 0.25s;
}

.sect__motivator .motivator__btn:hover {
    opacity: 0.75;
}

@media (max-width: 1200px) {
    .sect__motivator .motivator__content {
        margin-top: 24px;
        order: 3;
    }

    .sect__motivator .motivator__inner {
        flex-direction: column;
        padding-top: 24px;
        padding-bottom: 24px;
        padding-inline-start: 16px;
        padding-inline-end: 16px;
        gap: 0;
    }

    .sect__motivator .motivator__header {
        padding: 8px 12px;
    }

    .sect__motivator .motivator__chart {
        margin: 22px auto 0;
        bottom: 0;
        width: 100%;
    }

    .sect__motivator .motivator__text {
        display: contents;
    }

    .sect__motivator .motivator__inner--error {
        gap: 0;
        font-size: 20px;
        line-height: 1.6; 
    }

    .sect__motivator .motivator__balance {
        text-align: center;
        order: 1;
        font-size: 12px;
    }

    .sect__motivator .motivator__callout,
    html[lang='kk'] .sect__motivator .motivator__callout {
        margin-top: 0;
        text-align: center;
        order: 2;
        font-size: 16px;
    }

    .sect__motivator .motivator__callout br {
        display: unset;
    }

    .sect__motivator .motivator__header-title {
        font-size: 14px;
        line-height: 1.7;
    }

    .sect__motivator .motivator__header-description,
    .sect__motivator .motivator__header-date {
        font-size: 10px;
        line-height: 1.6;
    }

    .sect__motivator .motivator__btn {
        max-width: 400px;
        min-width: 166px;
        height: 40px;
        border-radius: 6px;
        margin: 24px auto 0;
        padding: 16px;
        order: 4;
    }
}

@media (max-width: 991px) {
    .sect__motivator {
        padding-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .sect__motivator {
        padding-bottom: 30px;
    }
    
    .sect__motivator .motivator__chart {
        height: 290px;
    }

    .sect__motivator .motivator__callout,
    html[lang='kk'] .sect__motivator .motivator__callout {
        font-size: 14px;
    }
}

@media (max-width: 525px) {
    .sect__motivator .container {
        padding: 0;
    }

    .sect__motivator .motivator__header-date {
        max-width: 130px;
        padding-inline-start: 12px;
    }

    .rtl .sect__motivator .motivator__chart {
        left: 0;
    }
}
