area {
    cursor: pointer;
}

.block-sticky {
    position: sticky;
    top: 100px;
}

.img-body-wrapper {
    background-image: url("/static/bodylog/img/footer-image.c615decef152.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
    border-radius: 12px;
}

.body-icon {
    position: absolute;
    display: none;
    font-size: 1.2rem;
    color: #0d6efd;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
    animation: pulse 5s infinite;
    z-index: 100;
    user-select: none;
}

.body-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(13,110,253,.6);
    animation: halo 5s infinite;
}

@keyframes pulse {
    0% { opacity: .1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

@keyframes halo {
    0%   { transform: scale(0.8); opacity: .8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.body-icon.active {
    color: var(--green);
    animation: none;
}

.body-icon.active::after {
    animation: none;
    border: 1px solid transparent;
}

.card.highlight {
    border: 2px solid var(--green);
    box-shadow: 0 0 5px var(--green);
}

#chartWrapper {
    height: 400px;
    position: relative;
    margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
    #chartWrapper {
        height: 300px;
    }
}

[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.star-icon {
    transition: transform 0.2s;
}
.star-icon:hover {
    transform: scale(1.2);
}

.guide-container {
        position: relative;
}

.legend-item {
    color: var(--orange);
}

.legend-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}