/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Estilos para el contenido del InfoWindow de Google Maps */
.gm-style .team-locations-infowindow {
    max-width: 340px;
    max-height: 350px;
    overflow-y: auto;
    font-family: inherit;
    font-size: 15px;
    padding: 0;
    background: #fff;
    scrollbar-width: none;         /* Firefox */
    -ms-overflow-style: none;    /* IE and Edge */
}

.gm-style .team-locations-infowindow::-webkit-scrollbar {
    display: none;               /* Safari and Chrome */
}

.gm-style .team-locations-infowindow-header {
    position: sticky;
    top: 0;
    background: #f9a825;
    color: #fff;
    padding: 18px 16px 12px 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

.gm-style .team-locations-infowindow-header .icon {
    font-size: 32px;
    margin-right: 8px;
    color: #fff;
}

.gm-style .team-locations-infowindow-header .location-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    display: block;
}

/* Ajusta el contenido para que no quede debajo del sticky */
.gm-style .team-locations-infowindow {
    padding-top: 0;
}

.gm-style .team-locations-infowindow ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gm-style .team-member-card {
    border-bottom: 1px solid #eee;
    padding: 14px 0 10px 0;
    margin-bottom: 0;
    width: 100%;
}

.gm-style .member-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 10px 20px;
    padding-right: 26px;
}

.gm-style .member-header img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #e3e3e3;
    background: #fafafa;
}

.gm-style .member-name {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

.gm-style .member-details {
    color: #888;
    font-size: 15px;
    padding: 0px 20px 20px 20px;
}

.gm-style .member-details a {
    color: #f9a825;
    font-weight: bold;
    text-decoration: none;
}

.gm-style .member-details a:hover {
    text-decoration: underline;
}

.gm-style .member-more {
    margin-top: 8px;
    font-weight: bold;
}

.gm-style .arrow {
    font-size: 18px;
    vertical-align: middle;
    margin-left: 2px;
}

/* Elimina el padding nativo del contenedor interno del InfoWindow */
.gm-style-iw-d {
    padding: 0 !important;
    overflow: hidden!important;
}

/* Oculta la sombra y el borde nativo del InfoWindow */
.gm-style-iw-ch {
    display: none;
}

.gm-style .gm-style-iw-c{
    padding: 0 !important;
    border-radius: 0;
}


body .gm-style-iw button.gm-ui-hover-effect {
    position: absolute!important;
    right: 0;
    top: 0;
    z-index: 9;
}

.toggle-details-btn {
    background: #fff!important;
    color: black!important;
    border: 1.5px solid #f9a825;
    border-radius: 4px;
    font-size: 18px;
    width: 26px;
    height: 26px;
    margin-left: auto;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border 0.2s;
    box-shadow: none;
    padding: 0!important;
    
}

.toggle-details-btn[aria-expanded="true"] {
    background: #f9a825!important;
    color: #fff!important;
    border: 1.5px solid #f9a825;
}