.tf-map {
    width: 100%;
    height: 480px;
    border-radius: .5rem;
    z-index: 0;
}

.tf-map-sm {
    height: 340px;
}

.tf-swim-pin {
    background: none;
    border: 0;
}

.tf-swim-pin > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    font: 700 13px/1 system-ui, sans-serif;
    color: #fff;
    cursor: pointer;
}

.tf-swim-free > span { background: #198754; }
.tf-swim-taken > span { background: #dc3545; }
.tf-swim-closed > span { background: #6c757d; }
.tf-swim-unplaced > span { background: #0d6efd; }

.tf-swim-selected > span {
    outline: 3px solid #0d6efd;
    outline-offset: 2px;
}

.tf-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .8125rem;
}

.tf-map-legend span::before {
    content: '';
    display: inline-block;
    width: .75rem;
    height: .75rem;
    margin-right: .35rem;
    border-radius: 50%;
    vertical-align: -1px;
}

.tf-legend-free::before { background: #198754; }
.tf-legend-taken::before { background: #dc3545; }
.tf-legend-closed::before { background: #6c757d; }

.tf-swim-list {
    max-height: 480px;
    overflow-y: auto;
}

.tf-swim-list .list-group-item.tf-placing {
    background-color: var(--bs-primary-bg-subtle);
}

.tf-map-results {
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
}
