.apexcharts-zoomin-icon,
.apexcharts-zoomout-icon,
.apexcharts-menu-icon,
.apexcharts-reset-icon,
.apexcharts-zoom-icon,
.apexcharts-pan-icon,
.apexcharts-toolbar .apexcharts-element-hidden {
    opacity: 1 !important;
    transform: none !important;
    margin: 0 0 0 10px !important;
    transition: all 0.5s ease;
    width: 23px !important;
    height: 23px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.apexcharts-zoomin-icon:hover,
.apexcharts-zoomout-icon:hover,
.apexcharts-menu-icon:hover,
.apexcharts-reset-icon:hover,
.apexcharts-zoom-icon:hover,
.apexcharts-pan-icon:hover,
.apexcharts-toolbar .apexcharts-element-hidden:hover {
    background-color: #d9d9d9;
}

.apexcharts-zoomin-icon:hover svg path,
.apexcharts-zoomout-icon:hover svg path,
.apexcharts-menu-icon:hover svg path,
.apexcharts-reset-icon:hover svg path,
.apexcharts-zoom-icon:hover svg path,
.apexcharts-pan-icon:hover svg path,
.apexcharts-toolbar .apexcharts-element-hidden:hover svg path {
    stroke: #6b3f81 !important;
}

.apexcharts-tooltip.apexcharts-theme-light {
    border: none !important;
    background: #0052aa !important;
    color: #fff !important;
    line-height: 14px !important;
}

.apexcharts-xaxistooltip,
.apexcharts-yaxistooltip {
    background: #0052aa !important;
    color: #fff !important;
    border-color: #0052aa !important;
}

.apexcharts-xaxistooltip-bottom:before {
    border-bottom-color: #0052aa !important;
}

.apexcharts-xaxistooltip-bottom:after {
    border-bottom-color: #0052aa !important;
}

.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
    background: #0052aa !important;
    color: #fff !important;
    border-color: #ffffff40 !important;
    text-align: center !important;
}

.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker {
    display: none !important;
}

.apexcharts-tooltip-text {
    font-size: 12px !important;
    position: relative !important;
    top: 1px !important;
}

.apexcharts-legend.apx-legend-position-bottom.apexcharts-align-center,
.apexcharts-legend.apx-legend-position-top.apexcharts-align-center {
    justify-content: start;
    margin: -1px 0 0 60px;
    border: 1px solid #e0e0e0;
    width: auto;
    display: inline-flex;
    padding: 0;
    right: auto !important;
    border-radius: 4px;
}

.apexcharts-legend-marker {
    height: 2px !important;
    margin: 0 3px 0 0;
}

.apexcharts-legend-marker svg {
    width: 13px !important;
    border-radius: 50px;
}

.card-grafica-imie {
    border: 1px solid #bfbfbf;
    padding: 16px;
    border-radius: 4px;
}

.card-grafica-imie-filter-title {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.card-grafica-imie-filter-title > h3 {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    color: var(--wp--preset--color--violet, #6b3f81);
}

.card-grafica-imie-title {
    margin-bottom: 10px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.card-grafica-imie-title > h3 {
    margin: 0;
    font-size: 18px;
}

.card-grafica-imie-filter {
    background-color: #f5f8ff;
    padding: 16px;
    margin-bottom: 40px;
}

.card-grafica-imie-filter p {
    font-weight: 600;
    font-size: 18px;
    color: var(--wp--preset--color--violet, #6b3f81);
}

.grafica-imie-filter-fields {
    display: flex;
    flex-direction: row;
    margin: 15px 0 0 0;
}

.grafica-imie-filter-fields .input-field {
    width: 260px;
    margin: 0 30px 0 0;
}

.grafica-imie-filter-fields .input-field label {
    margin: 0 0px 5px 0;
    display: block;
    font-size: 14px;
    font-weight: 400;
}

.grafica-imie-filter-fields .input-field br {
    display: none;
}

.select2-container--default .select2-results__group {
    background: #f6f8ff;
    font-weight: 500;
    padding: 6px 15px !important;
    text-transform: uppercase;
}

.grafica-imie-filter-fields span.select2.select2-container {
    width: 100% !important;
    font-size: 14px;
    z-index: 999;
}

.grafica-imie-filter-fields .select2-container--default.select2-container--open .select2-selection--single span.select2-selection__arrow:before {
    right: 5px;
}

.grafica-imie-filter-fields .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 36px;
    margin-right: 30px;
}

.grafica-imie-filter-fields .select2-container--default .select2-selection--single {
    border-color: #bfbfbf;
    border-radius: 4px;
}

.grafica-imie-filter-fields .select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 18px;
    padding-right: 30px;
}

.grafica-imie-filter-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

span.select2-results {
    font-size: 14px;
    z-index: 999;
}

.open-info-modal {
    display: inline-flex;
    cursor: pointer;
    width: 21px;
    height: 25px;
}

.open-info-modal:hover {
    opacity: 0.5;
}

.imie-loading-chart {
    position: relative;
    filter: blur(6px);
    animation: blurPulse 1.5s infinite alternate;
}

@keyframes blurPulse {
    0% {
        filter: blur(6px);
        opacity: 0.6;
    }
    100% {
        filter: blur(3px);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .grafica-imie-filter-fields {
        flex-direction: column;
    }

    .grafica-imie-filter-fields .input-field {
        width: 100%;
        margin: 0 0 10px 0;
    }
}
