/* ------------------------------------------------------------------ */
/* EV Charging Station InfoWindow
/* ------------------------------------------------------------------ */

.th-ev-iw {
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    max-width: 240px;
    padding: 2px 0;
}

.th-ev-iw__name {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a1a1a;
}

.th-ev-iw__rating {
    margin: 0 0 4px;
    color: #f5a623;
    font-size: 13px;
}

.th-ev-iw__rating-count {
    color: #666;
    font-size: 12px;
}

.th-ev-iw__status {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
}

.th-ev-iw__status--open  { color: #2E7D32; }
.th-ev-iw__status--closed { color: #c0392b; }

.th-ev-iw__address {
    margin: 0 0 4px;
    color: #444;
    font-size: 12px;
}

.th-ev-iw__phone { margin: 0 0 4px; }

.th-ev-iw__phone a,
.th-ev-iw__link  a {
    color: #000000 !important; /* !important to override the theme's global link colour */
    text-decoration: none;
    font-size: 12px;
}

.th-ev-iw__phone a:hover,
.th-ev-iw__link  a:hover {
    color: #000000 !important;
    text-decoration: underline;
}

.th-ev-iw--loading .th-ev-iw__loading {
    color: #888;
    font-style: italic;
}

/* ------------------------------------------------------------------ */
/* EV InfoWindow — photo, opening hours, connectors                    */
/* ------------------------------------------------------------------ */

.th-ev-iw__photo-link {
    display: block;
    margin: 0 0 8px;
    border-radius: 6px;
    overflow: hidden;
}

.th-ev-iw__photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: cover;
}

.th-ev-iw__hours {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
}

.th-ev-iw__hours--open   { color: #2E7D32; }
.th-ev-iw__hours--closed { color: #c0392b; }

.th-ev-iw__hours-detail {
    color: #444;
    font-weight: 400;
}

.th-ev-iw__connectors {
    margin: 0 0 6px;
}

.th-ev-iw__connector {
    margin: 0 0 3px;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.th-ev-iw__connector-type { font-weight: 600; }
.th-ev-iw__connector-kw   { color: #555; font-weight: 400; }

.th-ev-iw__count {
    display: inline-block;
    background: #5f6368;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 3px;
}
