.ops-marker {
    pointer-events: none; /* Чтобы не мешали кликам */
}

.seismogram-page-container {
    height: 90vh;
}

.seismogram-container {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.chart-wrapper canvas {
    display: block;
    background: transparent;
}

.time-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    padding: 0 10px;
}

.tooltip-container {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.tooltip {
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 0;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: auto;
    max-width: 300px;
    backdrop-filter: blur(4px);
    border: 1px solid #555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid #555;
}

.tooltip-content {
    padding: 8px 12px;
}

.tooltip-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.tooltip-close:hover {
    background: rgba(255,255,255,0.2);
}

.data-type-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.data-type-badge.hb {
    background: #40c057;
    color: white;
}

.data-type-badge.ops {
    background: #fab005;
    color: black;
}

.data-type-badge.smema {
    background: #9370db;
    color: white;
}

.data-type-badge.alarm {
    background: #f03e3e;
    color: white;
}

.tooltip-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.tooltip-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms, transform 200ms;
}

.tooltip-exit {
    opacity: 1;
}

.tooltip-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 200ms, transform 200ms;
}

/* .tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 0;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: auto;
    z-index: 1000;
    max-width: 300px;
    backdrop-filter: blur(4px);
    border: 1px solid #555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid #555;
}

.tooltip-content {
    padding: 8px 12px;
}

.tooltip-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-close:hover {
    background: rgba(255,255,255,0.2);
}

.data-type-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.data-type-badge.hb {
    background: #40c057;
    color: white;
}

.data-type-badge.ops {
    background: #fab005;
    color: black;
}

.data-type-badge.smema {
    background: #9370db;
    color: white;
}

.data-type-badge.alarm {
    background: #f03e3e;
    color: white;
} */