body {
    padding-top: 100px;
    overflow-y: scroll;
}

.max-w-200 {
    max-width: 250px;
    width: 250px;
}


/* =================== PREDICTION ITEM =============== */

.progress {
    height: 16px;
    /*background-color: var(--danger-color);*/
    opacity: 0.7;
    border-radius: 0;
}

.progress-stacked {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
}
.progress-bar {
    border-radius: 0;
    width: 100%;
}

.progress-bar-striped {
    /*background-image: linear-gradient(*/
    /*        45deg,*/
    /*        rgba(32, 201, 151, 0.15) 25%,*/
    /*        transparent 25%,*/
    /*        transparent 50%,*/
    /*        rgba(32, 201, 151, 0.15) 50%,*/
    /*        rgba(32, 201, 151, 0.15) 75%,*/
    /*        transparent 75%,*/
    /*        transparent*/
    /*);*/

}

.predictions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 40px;
    p {
        margin: 0;
    }
}

@media (max-width: 991px) { /* Условие для экранов до 576px (мобильные устройства) */
    .predictions-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .predictions-container {
        grid-template-columns: repeat(1, 1fr);
    }
}



.prediction-item {
    padding: 12px;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #484848;
}

.prediction-item__header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 8px;
    color: #484848;
}

.prediction-item__body {
    display: flex;
    align-items: stretch;
    gap: 4px;
    justify-content: space-between;

}

.card-title {
    color: #484848;
}

.team-block {
    display: flex;
    gap: 6px;
    align-items: center;
    padding-block: 16px;
    flex: 1;
    img {
        object-fit: cover;
        border-radius: 50%;
    }
 }

.team-name {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 0;
    p {
        line-height: 1;
    }
    .elo {
        line-height: 1;
        font-size: 12px;
    }
    a {
        max-width: 123px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
    }
}

.team-rate {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vs {
    display: flex;
    align-items: center;
    position: relative;
}

.vs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    bottom: 0;
    width: 1px;
    background-color: #f2f2f2;
}

.vs-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 21px;
    background-color: var(--main-bg-color);
    color: var(--grey-medium-color);
    z-index: 1;
    border: 5px solid #fff;
    line-height: 1;
    p {
        padding-bottom: 3px;
    }
}

@media (max-width: 767px) {

    .team-name {
        a {
            max-width: 180px;
        }
    }
}

@media (max-width: 576px) { /* Условие для экранов до 576px (мобильные устройства) */
    .team-name {
        a {
            max-width: 140px;
        }
    }

}

/* ============== DISCLAIMER SECTION ============ */


.disclaimer-container {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-left: 20px;
    margin-top: 48px;

    .divider {
        min-height: 220px;
        min-width: 6px;
        border-radius: 3px;
        background: var(--primary-dark-color);
    }
    h4 {
        margin-bottom: 24px;
    }
    p {
        /*max-width: 600px;*/
        margin: 0 0 12px;
    }
}

/* ================== Prediction Statistic ============== */

.card-block {
    padding: 0
}

.prediction-history-container {
    display: flex;
    gap: 32px;
    align-items: center;
    padding-block: 32px;
    h5, p {
        margin: 0;
    }

    .banner-right {
        padding-right: 32px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        gap: 16px;
        > p {
            text-align: right;
            max-width: 500px;
            color: #484848;
            font-size: 16px;
        }
    }

    .banner-left {
        padding-left: 48px;

        img {
            width: 250px;
        }
    }

    .block-stats-wrapper {
        display: grid;
        max-width: 350px;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;

    }

    .block-stats {
        display: flex;
        align-items: center;
        gap: 12px;
        svg {
            path {
                fill: var(--secondary-color);
            }
        }
    }


}

.prediction-history-footer {
    border-top: 1px solid #ccc;
    padding-block: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-inline: -20px;*/
    /*width: calc(100% + 40px);*/
    a {
        width: 250px;
    }
}

@media (max-width: 767px) {
    .prediction-history-container {
        .banner-left {
            display: none;
        }

        .banner-right {
            padding-right: 0;
            padding-inline: 12px;
            align-items: center;
            > p {
                text-align: center;
                font-size: 14px;
            }
        }

        .block-stats-wrapper {
            width: 100%;
        }

    }
    .prediction-history-footer {
        padding-inline: 12px;
        a {
            width: 100%;
        }
    }


}

@media (max-width: 576px) { /* Условие для экранов до 576px (мобильные устройства) */


}
