.stationmap-info-window {
    padding: 10px;
    max-width: 300px;
    font-family: inherit;
    color: #1a1e35;
}

.stationmap-info-window .stationmap-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1a1e35;
    line-height: 1;
}

.stationmap-info-window .stationmap-address {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #1a1e35;
}

.stationmap-info-window .stationmap-extra-info {
    font-size: 14px;
    margin-bottom: 15px;
    color: #4a4d65;
}

.stationmap-info-window .stationmap-route-link-wrap {
    margin-top: 15px;
    padding-top: 15px;
}

.stationmap-info-window .stationmap-route-link {
    font-size: 15px;
    color: #1a1e35;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.stationmap-info-window .stationmap-route-link:hover {
    color: #2c8371;
}

/* Override Google Maps default InfoWindow styles if needed to make it look clean */
.gm-style .gm-style-iw-c {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px !important;
    /* Overriding default padding */
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    /* Hide scrollbars if content is small enough */
}

/* Close button positioning */
.gm-style .gm-ui-hover-effect {
    top: 5px !important;
    right: 5px !important;
}

.gm-style-iw-chr {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}