.stats {
    position: relative;
    max-width:1440px;
    margin: 0 auto;
    color: #8C2671;
    
}
.stats .wrapper {
    max-width: 960px;
    margin: 0 auto;
}
.stats h2::before {
    display: inline-block;
    content: "";
    border-top: 3px solid #8C2671;
    border-radius: 6px;
    width: 48px;
    margin-right: 12px;
    transform: translateY(-0.6rem);
}
/* SEND AND DOWNLOAD BUTTONS */
.stats-btns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.stats-btns_box {
    display: flex;
    align-items: center;
}
.stats-btns_box button {
    height: 34px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 14px;
    margin-left: 16px;
    color: #E6E6E6;
    font-size: 16px;
    background-color: #8C2671;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}
.stats-btns_box button svg {
    width: 17px;
    height: 17px;
    margin-right: 8px;
}
.stats-btns_box button.pdf-send {
    background-color: transparent;
    color: #8C2671;
    border: 1px solid #8C2671;
}
.stats-btns_box button:hover {
    background-color: #A02C81;
    color: #E6E6E6;
}

.stats p {
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.stats table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 60px;
}
.stats td, .stats th {
    border: 1px solid #8C2671;
    padding: 8px 12px;
}
.stats td {
    width: 18%;
}
.stats td:nth-child(1) {
    width: 10%;
}
.stats span {
    display: block;
}
.mob-stats {
    display: none;
}
.mob-stats h2 {
    width: 40%;
    display: block;
    text-align: center;
    font-size: 1.2rem;
    padding-bottom: 6px;
    margin: 0 auto;
    margin-bottom: 18px;
    border-bottom: 2px solid #8C2671;
}
.mob-stats table {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 60px;
    font-size: 16px;
}
.mob-stats td {
    padding: 8px 12px;
}
.mob-stats span {
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px dotted #8C2671;
}

/* STATS MODAL */
.stats-modal {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #E2E2E2;
    transform: translateX(280px);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.2s, visibility 0.2s, opacity 0.2s ease-in-out;
    z-index: 2;
    box-shadow: -10px 0 5px rgba(0, 0, 0, 0.2);
}
.stats-modal h3 {
    width: 90%;
    font-size: 20px;
    color: #8C2671;
    margin: 70px 5% 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #8C2671;
}
.stats-modal span {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 21px;
    font-weight: 600;
    color: #8C2671;
    cursor: pointer;
}
.stats-modal a {
    width: 90%;
    margin: 0 auto;
    margin-top: 12px;
    padding: 8px;
    font-size: 16px;
    text-decoration: none;
    background-color: #8C2671;
    color: #E2E2E2;
    border-radius: 4px;
    cursor: pointer;
}
.stats-modal svg {
    width: 16px;
    height: 16px;
    transform: translate(-2px, 1px);
}

@media screen and (max-width:960px) {
    .stats {
        width: 90%;
    }
    .stats h2::before {
        display: none;
    }
    .stats-btns button {
        display: none;
    }
    .stats p {
        font-size: 18px;
    }
    .stats table {
        display: none;
    }
    .mob-stats {
        display: block;
    }
    .mob-stats table {
        display: block;
    }
}