.live-indicator {
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

#refresh-btn:hover {
    transform: scale(1.1);
    transition: transform 0.1s, color 0.1s;
}

#refresh-btn {
    padding: 0 0;
    font-weight: bold;
    font-size: 18px;   /* slightly larger for emoji */
    cursor: pointer;
    border: none;
    background: transparent;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/*I should probably move everything below here to one or two separate files*/
/* General box styling for both sections */
.info-box {
    background-color: #f9f9f9;       /* subtle background */
    border-left: 4px solid #007acc;  /* accent color */
    padding: 12px 16px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    /*max-width: 900px;*/
    border-radius: 4px;
    margin-top: 16px;
}

/* Header styling with icon (Chrome + Firefox compatible) */
.info-box h2 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;       /* inline-flex works better in Firefox than flex */
    align-items: baseline;      /* aligns icon and text */
    gap: 6px;
}

/* Paragraph styling */
.info-box p {
    margin: 0 0 3px 0;          /* compact line spacing */
}

/* Link styling */
.info-box a {
    color: #007acc;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Icon styling */
.info-box .icon {
    font-size: 18px;
    line-height: 1;             /* prevents extra space in Firefox */
}

canvas {
    cursor: grab;
}

canvas:active {
    cursor: grabbing;
}
