/* Clinic Store Locator – Public Styles */

.csl-store-locator-wrap {
    position: relative;
    width: 100%;
    font-family: inherit;
}

#csl-map {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

/* ─── Info Window ──────────────────────────────────────────────────────────── */
.csl-info-window {
    max-width: 220px;
    font-size: 13px;
    line-height: 1.5;
    color: #1d2327;
}

.csl-info-window .csl-iw-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    color: #1d2327;
}

.csl-info-window .csl-iw-client-title {
    font-style: italic;
    color: #555;
    margin-bottom: 8px;
    font-size: 12px;
}

.csl-info-window .csl-iw-detail {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 13px;
}

.csl-info-window .csl-iw-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.csl-info-window .csl-iw-map-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.csl-info-window .csl-iw-map-link:hover {
    text-decoration: underline;
}

/* ─── No API key fallback ──────────────────────────────────────────────────── */
.csl-no-api-key {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f7f7;
    border: 2px dashed #dcdcde;
    border-radius: 6px;
    color: #555;
    font-size: 14px;
    padding: 40px 20px;
    text-align: center;
}

/* ─── Persistent pin label (auto-open for <= 5 stores) ────────────────────── */
.csl-map-label {
    position: absolute;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0,0,0,.18);
    padding: 10px 16px 10px 14px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: auto;
    z-index: 10;
}

/* Arrow points LEFT — label sits to the right of the pin */
.csl-map-label.arrow-left::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    border: 9px solid transparent;
    border-right-color: #fff;
    border-left: none;
    filter: drop-shadow(-2px 0 2px rgba(0,0,0,.07));
}

/* Arrow points RIGHT — label sits to the left of the pin */
.csl-map-label.arrow-right::before {
    content: '';
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    border: 9px solid transparent;
    border-left-color: #fff;
    border-right: none;
    filter: drop-shadow(2px 0 2px rgba(0,0,0,.07));
}

.csl-map-label strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #b0232a;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 1px;
}

.csl-label-subtitle {
    display: block;
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.csl-map-label a {
    display: block;
    color: #333;
    font-size: 12px;
    text-decoration: underline;
    margin-top: 1px;
}

.csl-map-label a:hover {
    color: #b0232a;
}
