/* Range/Reversion Signals Module */

.signals-module {
    position: fixed;
    top: 10px;
    right: 20px;
    background-color: #000;
    padding: 8px 12px;
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 0.9em;
    color: #fff;
}

.signals-module__header {
    text-align: center;
    margin-bottom: 6px;
}

.signals-module__title {
    font-size: 0.8em;
    color: #888;
}

.signals-module__date {
    font-size: 0.8em;
    color: #888;
}

.signals-module__content {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.signals-module__signal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signals-module__count {
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1;
    color: #fff;
}

.signals-module__label {
    font-size: 0.7em;
    margin-top: 2px;
    color: #888;
}

/* Loading state */
.signals-module--loading .signals-module__count {
    color: #555;
}

/* Error state */
.signals-module--error .signals-module__content {
    color: #888;
    font-size: 0.8em;
    text-align: center;
}

/* Tooltip for calendar events */
.signals-module__tooltip {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background-color: #000;
    border: 1px solid #555;
    padding: 8px;
    min-width: 200px;
    max-width: 280px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    font-size: 0.8em;
}

.signals-module:hover .signals-module__tooltip {
    display: block;
}

.signals-module__event {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
    border-bottom: 1px solid #333;
}

.signals-module__event:last-child {
    border-bottom: none;
}

.signals-module__event-name {
    color: #fff;
}

.signals-module__event-time {
    color: #888;
    white-space: nowrap;
}
