
.heatmap-cell {
    width: 50px;
    height: 50px;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.heatmap-cell:hover {
    transform: scale(1.1);
    z-index: 10;
}

.heatmap-cell::after {
    content: attr(data-weight);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: white;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.heatmap-cell:hover::after {
    opacity: 1;
}

.heatmap-matrix table {
    border-collapse: separate;
    border-spacing: 4px;
}

.heatmap-matrix th, 
.heatmap-matrix td {
    text-align: center;
    vertical-align: middle;
}
