
/*********  GOOGLE MAP ************/
#map-google-container,
#map-google-container #map-google{
    width: 100%;
    height: 100%;
}

#map-google-container #map-footer{
    position: absolute;
    bottom: 0;
    left: 0;
}

#map-google-container .map-theme{
    /*position: fixed;*/
    /*bottom: 0;*/
    /*left: 0;*/
}
#map-google-container .map-theme:hover{
    cursor: pointer;
}
#map-google-container .map-theme{
    background-image: url("/resources/icons/map_dark.png");
    width: 10.3vh;
    height: 4vh;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
    margin-bottom: 0;
    padding-bottom: 0;
}
.vertical #map-google-container .map-theme {
    width: 8vw;
    height: 3vw;
}
.mobile #map-google-container .map-theme {
    width: 17.3vh;
    height: 10vh;
}
.mobile.vertical #map-google-container .map-theme {
    width: 12vw;
    height: 6vw;
}

#map-google-container #map-footer.light .map-theme{
    background-image: url("/resources/icons/map_light.png");
}

#map-google-container .map-survey{
    background: red;
}
#map-google-container .map-survey:hover{
    cursor: pointer;
}


#map-google-container #map-header .map .icon-light,
#map-google-container #map-header .map .icon-dark,
#map-google-container #map-header .menu .map,
#map-google-container #map-header .menu.light .icon-light,
#map-google-container #map-header .menu.dark .icon-dark
{
    display: none;
}
#map-google-container #map-header .menu.light .icon-dark,
#map-google-container #map-header .menu.dark .icon-light,
#map-google-container #map-header .map .map{
    display: block;
}


#map-google-container .arkikus{
    position: fixed;
    color: #3e515b;
    bottom: 1vh;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffffcc;
    padding: 0 0.5em;
    border-radius: 0.5em;
    pointer-events: none;
    font-size: 1.3vh;
}
.vertical #map-google-container .arkikus{
    font-size: 1.3vw;
    bottom: 3vw;
}

#map-google-container #map-footer.light .arkikus{
    color: white;
    background: #8c8c8bcc;
}


#allModals {
    z-index: 99999 !important;
    pointer-events: none; /* para que no bloquee el mapa cuando no hay modal */
}


#map-google-container .extra-icons .map-survey {
    display: block;
    text-align: center;
    padding: 1vh 2vh;
    margin: 0;
    font-size: 2vh;
    line-height: 1;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'RobotoBold';
    text-transform: uppercase;
    box-sizing: border-box;
    user-select: none;
    color: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform .05s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.mobile #map-google-container .extra-icons .map-survey {
    font-size: 3vh;
}

.vertical #map-google-container .extra-icons .map-survey {
    font-size: 1.5vw;
}

.mobile.vertical #map-google-container .extra-icons .map-survey {
    left: 50%;
    transform: translateX(-50%);
}

@keyframes surveyPulse {
    0%   { transform: scale(1); }
    20%  { transform: scale(1.15); }
    40%  { transform: scale(0.95); }
    60%  { transform: scale(1.10); }
    80%  { transform: scale(0.98); }
    100% { transform: scale(1); }
}

#map-google-container .extra-icons .survey-pulse {
    animation: surveyPulse 0.8s ease;
}

/* Contenedor del panel de filtros */
#map-google-container #map-google-filters{
    position: absolute;
    top: 10.8%;
    left: 5.59%;
    z-index: 99;

    width: auto;
    height: auto;
    overflow: auto;

    padding: 2vh;
    border-radius: 14px;

    /* Look & feel */
    font-size: 2vh;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);

}

.vertical #map-google-container #map-google-filters{
    font-size: 1vw;
    padding: 1vw;
}

.mobile.vertical #map-google-container #map-google-filters {
    font-size: 2vw;
    padding: 2vw;
}

/* Scroll discreto */
#map-google-filters::-webkit-scrollbar{ width: 10px; }
#map-google-filters::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,0.18);
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,0.8);
}

/* Grupo */
#map-google-filters .filter-group{
    margin: 0;
    border-radius: 12px;
}

#map-google-filters .filter-group + .filter-group{
    padding-top: 4vh;
}

.vertical #map-google-filters .filter-group + .filter-group {
    padding-top: 1.2vw;
}

/* Título del grupo */
#map-google-filters .filter-group h3{
    font-size: 2vh;
    margin: 0 0 1vh 0;
    font-weight: 700;
    color: rgba(0,0,0,0.75);
    font-family: 'RobotoBold';
    text-transform: uppercase;
}

.vertical #map-google-filters .filter-group h3{
    font-size: 1.5vw;
    margin: 0;
}

.mobile.vertical #map-google-filters .filter-group h3 {
    font-size: 2vw;
}

/* Lista de opciones: que “envuelva” como chips */
#map-google-filters .filter-group{
    display: block;
}

#map-google-filters .filter-option{
    display: block;
    width: 100%;
    text-align: left;
    margin: 1vh 2vh 0 0;
    padding: 1vh 2vh;
    line-height: 1;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    font-size: 2vh;
    font-family: 'RobotoLight';
    color: rgba(0,0,0,0.78);
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform .05s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.vertical #map-google-filters .filter-option {
    margin: 0.5vw 1vw 0 0;
    padding: 0.75vw 1.5vw;
    font-size: 1.3vw;
}

.mobile.vertical #map-google-filters .filter-option {
    margin: 0.5vw 1vw 0 0;
    padding: 1vw;
    font-size: 2vw;
}

#map-google-filters .filter-option:hover{
    background: rgba(0,0,0,0.07);
    border-color: rgba(0,0,0,0.10);
}

#map-google-filters .filter-option.active{
    background: var(--arkikusYellow);
}

/* Accesibilidad (si luego cambias a button o añades tabindex) */
#map-google-filters .filter-option:focus-visible{
    outline: 2px solid rgba(11,59,138,0.45);
    outline-offset: 2px;
}

#gmModal .content-btn{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 3vh;
    align-items: center;
    max-width: 100%;
}

.vertical #gmModal .content-btn{
    gap: 2vw;
}


#gmModal .content-btn .block-btn{
    background: rgba(255,255,255,0.95);
    padding: 2.2vh 3vh;
    font-weight: 800;
    font-size: 3vh;
    border-radius: 16px;
    cursor: pointer;
    white-space: nowrap;
    width: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

.vertical #gmModal .content-btn .block-btn {
    font-weight: 800;
    font-size: 2vw;
}

.mobile.vertical #gmModal .content-btn .block-btn {
    background: rgba(255, 255, 255, 0.95);
    font-size: 3vw;
    max-width: auto;
    gap: 2vw;
    overflow: inherit;
    padding: 1vw 2vw;
}

#gmModal .modal-content{
    height: auto;
    padding: 2% 5%;
}

#gmModal .gm-img-wrap{
    /*height: calc(66vh - 120px); !* ajusta 120px según tu título/márgenes *!*/
    /*overflow: hidden;*/

    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
}

#gmModal .gm-poi-name {
    font-size: 4.6vh;
    line-height: 6.3vh;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'RobotoBold';
    margin-bottom: 1vh !important;
}

.vertical #gmModal .gm-poi-name {
    font-size: 3vw;
    line-height: 3vw;
    margin-bottom: 1vw !important;
}

#gmModal .gm-poi-img{
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}


/***** SURVEY MODAL ****/

#surveyModal .survey {
    max-height: 52vh;
    margin-top: 4vh;
}
.mobile #surveyModal .survey {
    max-height: 40vh;
}
.vertical #surveyModal .survey {
    max-height: 30vw;
    margin-top: 3vw;
}
.mobile.vertical #surveyModal .survey {
    max-height: 27vw;
}

#surveyModal .modal-content {
    padding: 3% 5%;
}

#surveyModal .survey-message-screen,
#surveyModal .survey-intro-msg{
    font-size: 3vh;
    white-space: pre-line;
}
.mobile #surveyModal .survey-message-screen,
.mobile #surveyModal .survey-intro-msg {
    font-size: 4vh;
}

.vertical #surveyModal .survey-message-screen,
.vertical #surveyModal .survey-intro-msg {
    font-size: 2vw;
}

#surveyModal .survey-intro-actions {
    margin-top: 3vh;
}
.vertical #surveyModal .survey-intro-actions {
    margin-top: 2vw;
}

#surveyModal .survey-intro-actions .block-btn{
    display:inline-block;
}

#surveyModal .survey-scroll{
    overflow-y: auto;
    font-family: 'RobotoLight';
    font-size: 1.7vh;
    margin-top: 4vh;
}

.mobile #surveyModal .survey-scroll {
    font-size: 2.7vh;
}
.vertical #surveyModal .survey-scroll {
    font-size: 1.2vw;
    margin-top: 3vw;
    max-height: 33vw;
}

#surveyModal p.survey-title{
    margin-bottom: 3vh;
}

.vertical #surveyModal p.survey-title {
    margin-bottom: 2vw;
}


#surveyModal .survey p.title {
    font-weight: 700;
}
#surveyModal .survey-question {
    margin-bottom: 3vh;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.vertical #surveyModal .survey-question {
    margin-bottom: 2vw;
}

#surveyModal .survey-question-title {
    font-weight: 700;
    margin-bottom: 8px;
    text-align:left;
}

#surveyModal .survey-required {
    color: #ff4d4d;
}

#surveyModal .survey-option {
    display: flex;
    align-items: center;
    gap: 1vh;
    margin: 0.75vh 0;
    cursor: pointer;
}
.vertical #surveyModal .survey-option {
    gap: 0.8vw;
    margin: 0.5vw 0;
}

#surveyModal .survey-textarea {
    width: 100%;
    min-height: 15vh;
    resize: none;
}
.vertical #surveyModal .survey-textarea {
    min-height: 9vw;
}

#surveyModal .survey-stars {
    display: flex;
    gap: 1.5vh;
    font-size: 4vh;
    cursor: pointer;
}
.mobile #surveyModal .survey-stars {
    font-size: 6vh;
}

.vertical #surveyModal .survey-stars {
    gap: 1.2vw;
    font-size: 3vw;
}

#surveyModal .survey-star {
    opacity: .4;
}

#surveyModal .survey-star.active {
    opacity: 1;
}

#surveyModal .block-btn{
    text-align: center;
    padding: 2vh 3vh;
    font-size: 2vh;
    font-weight: bold;
    border-radius: 999px;
    cursor: pointer;
    background: white;
    width: fit-content;
    margin: 1vh auto 0;
}
.mobile #surveyModal .block-btn {
    padding: 3vh 4vh;
    font-size: 3.2vh;
}

.vertical #surveyModal .block-btn {
    padding: 1.5vw 2.5vw;
    font-size: 1.3vw;
    margin: 1vw auto 0;
}

#surveyModal .survey-question-error{
    text-align: left;
    color: red;
}

#surveyModal .survey-inline-error{
    background-color: red;
    color: white;
}

#surveyModal .legal-item .legal-content {
    display: none;
    margin-bottom: 1vh;
}
.vertical #surveyModal .legal-item .legal-content {
    margin-bottom: 0.7vw;
}

#surveyModal .legal-item.is-open .legal-content {
    display: block;
}

#surveyModal .legal-item .legal-trigger {
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1vh;
    margin-top: 2vh;
}
.vertical #surveyModal .legal-item .legal-trigger {
    margin-top: 1vw;
    gap: 1vw;
}

#surveyModal .legal-item .legal-trigger .legal-icon {
    transition: transform 0.2s ease;
}
#surveyModal .legal-item.is-open .legal-icon {
    transform: rotate(90deg);
}

#surveyModal .survey-dependent-country {
    margin: 1.2vh 0 1.2vh 3.2vh;
}

.vertical #surveyModal .survey-dependent-country {
    margin: 0.9vw 0 0.9vw 2.4vw;
}

#surveyModal .survey-country-select {
    width: auto;
    max-width: 100%;
    padding: 1.2vh 1.6vh;
    font-family: 'RobotoLight';
    font-size: 1.7vh;
    color: black;
    background: rgb(0 0 0 / 8%);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 1.2vh;
    outline: none;
    box-sizing: border-box;
}

.mobile #surveyModal .survey-country-select {
    font-size: 2.7vh;
    padding: 1.8vh 2vh;
}

.vertical #surveyModal .survey-country-select {
    font-size: 1.2vw;
    padding: 0.9vw 1.1vw;
    border-radius: 0.9vw;
}

#surveyModal .survey-country-select:focus {
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,0.12);
}

#surveyModal .survey-country-select option {
    color: #000;
    background: #fff;
}


/* =========================
   GOOGLE MAP - TOUR MODAL (GIANT)
   ========================= */

#gmTourModal.gm-tour-modal.openModal {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    -webkit-transform-origin-x: none;
    -webkit-transform: none;
}

#gmTourModal .gm-tour-content{
    width: 96%;
    top: 3%;
    height: 96%;
    padding: 0;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    flex-direction: column;
}

/* Header con botón atrás */
#gmTourModal .gm-tour-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1vh 2vh;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: absolute;
    z-index: 999999;
    background: #ffffff6b;
    pointer-events: none;
    width: 100%;
}
.vertical #gmTourModal .gm-tour-header {
    padding: 1vw;
}

#gmTourModal .gm-tour-title{
    margin: 0;
    font-weight: 600;
    text-align: center;
    flex: 1;
}

/* Body fullscreen */
#gmTourModal .gm-tour-body{
    flex: 1;
    padding: 0;
}

#gmTourModal .gm-tour-iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

#gmTourModal .gm-tour-back{
    margin: 0;
    font-weight: 600;
    text-align: center;
    /* flex: 1; */
    width: 8.45vh;
    height: 8.45vh;
    display: block;
    padding: 0;
    right: 0;
    position: absolute;
    z-index: 999999;
    pointer-events: auto;
    transform: translate(-50%, 50%);
    -webkit-transform: translate(-50%, 50%);
}

.vertical.mobile #gmTourModal .gm-tour-back {
    width: 7vw;
    height: 7vw;
}
.mobile #gmTourModal .gm-tour-back {
    width: 11vh;
    height: 11vh;
}

#gmTourModal .gm-tour-title{
    font-size: 3vh;
    font-family: "RobotoBold";
    text-align: center;
    text-transform: uppercase;
}

.vertical #gmTourModal .gm-tour-title {
    font-size: 3vw;
    line-height: 3vw;
    margin-bottom: 0vw !important;
}

