#numbers {
    scroll-margin-top: 120px;
}

.numbers {
    width: 1110px;
    height: 520px;
    padding: 10px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.numbers h2 {
    font-size: 34px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
    padding-left: 0;
    width: 100%;
}

.numbers .content-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 0px;
    position: relative;
    height: 400px;
    display: flex;
    align-items: left;
    justify-content: space-between;
    overflow: visible;
    transform: translateZ(0);
    gap: 0 !important;
}

.numbers .stats {
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 200px !important;
    padding: 0 !important;
    gap: 3rem !important;
    flex: none !important;
}

.numbers .stat-value {
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    white-space: nowrap;
    align-items: left;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.numbers .stat-label {
    font-size: 22px;
    color: #666;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    width: 100% !important;
}

.numbers .chart-container {
    height: 420px;
    width: 840px;
    z-index: 2;
    flex-shrink: 0;
    opacity: 1;
    position: relative;
    display: flex;
    align-items: left;
    justify-content: left;
    top: 0;
    left: 260px;
    transform: translateZ(0);
    transition: opacity 333ms ease-in-out !important;
    margin: 0 !important;
    padding: 0 !important;
}

.numbers iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0.69;
    transform: translate(-50%, -50%);
    width: 98%;
    height: 70%;
    z-index: -1;
    border: none;
}

.numbers .chart-container #donutChart {
    width: 100%;
    height: 100%;
}

.numbers .chart-container.fade-in {
    opacity: 1;
}

.numbers .chart-container.fade-out {
    opacity: 0;
}

/* ApexCharts стили */
.apexcharts-canvas {
    background: transparent !important;
    opacity: 0.8 !important;
    transition: opacity 333ms ease-in-out !important;
}

.apexcharts-text tspan {
    fill: #ffffff !important;
}

.apexcharts-legend {
    overflow: hidden !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    touch-action: pan-y !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: right !important;
    gap: 20px !important;
    position: absolute !important;
    left: -250px !important;
    top: 90% !important;
    transform: translateY(-50%) translateZ(0) !important;
    width: 840px !important;
    transition: none !important;
    will-change: transform !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3 !important;
}

.apexcharts-legend-text {
    color: #ffffff !important;
    fill: #ffffff !important;
    font-size: 30px !important;
    font-family: 'Ubuntu' !important;
    white-space: nowrap !important;
}

.apexcharts-datalabel-label {
    fill: #ffffff !important;
}

.apexcharts-datalabel-value {
    fill: #ffffff !important;
}

/* Убираем эффект подсветки при наведении */
.apexcharts-pie-area {
    filter: none !important;
}

.apexcharts-pie-slice-pie {
    filter: none !important;
}

.apexcharts-pie-slice {
    filter: none !important;
}

@media (max-width: 768px) {
    .numbers .content-wrapper {
        height: auto;
        flex-direction: column;
    }
    
    .numbers .stats {
        width: 100%;
        flex-wrap: wrap;
        justify-content: left;
        margin-bottom: 2rem;
    }
    
    .numbers .chart-container {
        width: 100%;
        margin: 0 auto;
    }
} 