.stramu-map {
    --stramu-primary: rgb(51, 102, 153);
    --stramu-secondary: rgb(102, 204, 204);
    --stramu-text: #333;
    --stramu-text-secondary: #666;
    --stramu-border: #eee;
    --stramu-live: rgb(51, 102, 153);

    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    font-family: inherit;
    color: var(--stramu-text);
}

/* Error / empty states */
.stramu-map--error,
.stramu-map--empty {
    min-height: 0;
    padding: 32px 16px;
    text-align: center;
    color: var(--stramu-text-secondary);
    background: #f7f7f7;
}

/* ---- InfoWindow popups ---- */
.stramu-map-popup {
    font-family: inherit;
    color: var(--stramu-text);
    width: 350px;
    max-width: 350px;
}

.stramu-map-popup__type {
    margin: 0 0 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--stramu-secondary);
}

.stramu-map-popup__name {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.stramu-map-popup__addr {
    margin: 0;
    font-size: 0.85rem;
    color: var(--stramu-text-secondary);
}

.stramu-map-popup__empty {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: var(--stramu-text-secondary);
}

/* Day selector inside the artist popup */
.stramu-map-popup__days {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.stramu-map-popup__day {
    cursor: pointer;
    background-color: var(--stramu-secondary);
    color: #fff;
    border: 2px solid var(--stramu-secondary);
    border-radius: 16px;
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.4;
    transition: background-color 0.2s, color 0.2s;
    border-width: 2px !important;
}

.stramu-map-popup__day:hover,
.stramu-map-popup__day--active {
    background-color: #fff !important;
    color: var(--stramu-secondary) !important;
}

/* Performance rows */
.stramu-map-popup__list {
    display: flex;
    flex-direction: column;
}

.stramu-map-popup__perf {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--stramu-border);
    text-decoration: none;
    color: inherit;
}

.stramu-map-popup__perf:last-child {
    border-bottom: none;
}

.stramu-map-popup__perf:hover {
    color: inherit;
}

.stramu-map-popup__time {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.stramu-map-popup__artist {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stramu-map-popup__live {
    flex-shrink: 0;
    background: var(--stramu-live);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
