/* Стили для динамики инцидентов */
.chart-container {
    background: #1e2444;
    border-radius: 20px;
    padding: 2rem;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-placeholder {
    text-align: center;
    width: 100%;
}

.chart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.chart-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #3b82f6;
}

.chart-placeholder p {
    color: #a0aec0;
    margin-bottom: 2rem;
}

.chart-preview {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.preview-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
    margin-bottom: 1rem;
}

.preview-bar {
    width: 40px;
    background: linear-gradient(180deg, #3b82f6, #00d68f);
    border-radius: 5px 5px 0 0;
    transition: height 0.3s ease;
    animation: barPulse 2s ease-in-out infinite;
}

.preview-bar:nth-child(1) {
    animation-delay: 0s;
}

.preview-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.preview-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.preview-bar:nth-child(4) {
    animation-delay: 0.6s;
}

.preview-bar:nth-child(5) {
    animation-delay: 0.8s;
}

.preview-bar:nth-child(6) {
    animation-delay: 1s;
}

.preview-bar:nth-child(7) {
    animation-delay: 1.2s;
}

@keyframes barPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.chart-note {
    font-size: 0.85rem;
    color: #a0aec0;
    font-style: italic;
}

@media (max-width: 768px) {
    .preview-bars {
        gap: 0.5rem;
    }

    .preview-bar {
        width: 25px;
    }
}

/* Стили для динамики инцидентов */
.chart-container {
    background: #1e2444;
    border-radius: 20px;
    padding: 2rem;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-placeholder {
    text-align: center;
    width: 100%;
}

.chart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: chartPulse 2s infinite;
}

.chart-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #3b82f6;
}

.chart-placeholder p {
    color: #a0aec0;
    margin-bottom: 2rem;
}

.chart-preview {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.preview-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
    margin-bottom: 1rem;
}

.preview-bar {
    width: 40px;
    background: linear-gradient(180deg, #3b82f6, #00d68f);
    border-radius: 5px 5px 0 0;
    transition: height 0.3s ease;
    animation: barPulse 2s ease-in-out infinite;
}

.preview-bar:nth-child(1) {
    animation-delay: 0s;
}

.preview-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.preview-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.preview-bar:nth-child(4) {
    animation-delay: 0.6s;
}

.preview-bar:nth-child(5) {
    animation-delay: 0.8s;
}

.preview-bar:nth-child(6) {
    animation-delay: 1s;
}

.preview-bar:nth-child(7) {
    animation-delay: 1.2s;
}

@keyframes chartPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes barPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.chart-note {
    font-size: 0.85rem;
    color: #a0aec0;
    font-style: italic;
}

@media (max-width: 768px) {
    .preview-bars {
        gap: 0.5rem;
    }

    .preview-bar {
        width: 25px;
    }
}