.tab-content .tab-panel-map {
    display: none;
    animation: slide-up 1s;
}
.tab-content .tab-panel-map.active {
    display: block;
}

.map-full-height {
  height: 100%;
}


@media (max-width: 1199px) {
    .map-section .card .row {
      flex-direction: column-reverse;
    }
  }
  .map-section .card .row .map-info-box {
    border-radius: 16px;
    background-color: #F6F6FE;
  }
  .map-section .card .row .map-info-box h3 {
    display: flex;
    align-items: center;
  }
  .map-section .card .row .map-info-box h3 img {
    margin-right: 8px;
    width: 50px;
    height: 50px;
  }
  .map-section .card .row .map-info-box h4::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background: #1482FF;
  }
  @media (max-width: 767.98px) {
    .map-section .card .row .map-info-box h4::before {
      width: 14px;
      height: 14px;
    }
  }
  .map-section .card .row .map-info-box p {
    color: rgba(0, 0, 0, 0.7);
  }
  .map-section .card .map-container {
    overflow-x: auto;
    width: 100%;
    height: 100%;
  }
  .map-section .card .map-container::-webkit-scrollbar {
    height: 4px;
  }
  .map-section .card .map-container .map-wrapper {
    height: 100%;
    min-width: 1110px;
    min-height: 585px;
    position: relative;
    background: url(../../images/map-bg.svg) top/100% 100% no-repeat;
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper {
      min-width: 560px;
      min-height: 222px;
      background: url(../../images/map-bg-mob.svg) center -30px /100% 290px no-repeat;
    }
  }
  .map-section .card .map-container .map-wrapper .country-label {
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    width: 20px;
    height: 20px;
    animation: shadowMove 3s infinite;
    background: #1482FF;
    box-shadow: 0px 0px 0px 8px rgba(20, 130, 255, 0.2509803922);
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label {
      width: 10px;
      height: 10px;
      box-shadow: 0px 0px 0px 4px rgba(20, 130, 255, 0.2509803922);
      animation: shadowMoveSmall 3s infinite;
    }
  }
  @keyframes shadowMove {
    0% {
      box-shadow: 0px 0px 0px 8px rgba(20, 130, 255, 0.2509803922);
    }
    50% {
      box-shadow: 0px 0px 0px 16px rgba(20, 130, 255, 0.2509803922);
    }
  }
  @keyframes shadowMoveSmall {
    0% {
      box-shadow: 0px 0px 0px 4px rgba(20, 130, 255, 0.2509803922);
    }
    50% {
      box-shadow: 0px 0px 0px 8px rgba(20, 130, 255, 0.2509803922);
    }
  }
  .map-section .card .map-container .map-wrapper .country-label span {
    left: -50px;
    bottom: 50px;
    display: none;
    min-width: 120px;
    border-radius: 2px;
    position: absolute;
    padding: 10px 20px;
    transition: all 0.3s;
    animation: slide-up 0.3s;
    background-color: #ffffff;
    filter: drop-shadow(7px 5px 0px rgba(75, 77, 125, 0.6980392157));
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label span {
      left: -15px;
      bottom: 25px;
      min-width: 0;
      font-size: 14px;
      padding: 4px 8px;
      border-radius: 2px;
      filter: drop-shadow(4px 3px 0px rgba(75, 77, 125, 0.6980392157));
    }
  }
  .map-section .card .map-container .map-wrapper .country-label span::after {
    width: 0;
    height: 0;
    left: 40px;
    content: "";
    bottom: -24px;
    position: absolute;
    transition: all 0.3s;
    border: 12px solid transparent;
    border-top: 12px solid #ffffff;
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label span::after {
      left: 12px;
      bottom: -16px;
      border-width: 8px;
    }
  }
  .map-section .card .map-container .map-wrapper .country-label.active span, .map-section .card .map-container .map-wrapper .country-label:hover span {
    display: block;
  }
  .map-section .card .map-container .map-wrapper .country-label.canada {
    top: 230px;
    left: 200px;
  }
  @media (max-width: 1198px) {
    .map-section .card .map-container .map-wrapper .country-label.canada {
      top: 150px;
      right: 170px;
    }
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label.canada {
      top: 45px;
      left: 75px;
    }
  }


  .map-section .card .map-container .map-wrapper .country-label.usa {
    top: 280px;
    left: 300px;
  }
  @media (max-width: 1198px) {
    .map-section .card .map-container .map-wrapper .country-label.usa {
      top: 190px;
      right: 250px;
    }
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label.usa {
      top: 70px;
      left: 90px;
    }
  }



  .map-section .card .map-container .map-wrapper .country-label.germany {
    top: 225px;
    right: 660px;
  }
  @media (max-width: 1198px) {
    .map-section .card .map-container .map-wrapper .country-label.germany {
      top: 175px;
      right: 560px;
    }
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label.germany {
      top: 45px;
      right: 280px;
    }
  }



  .map-section .card .map-container .map-wrapper .country-label.france {
    top: 200px;
    right: 695px;
  }

  @media (max-width: 1198px) {
    .map-section .card .map-container .map-wrapper .country-label.france {
      top: 160px;
      right: 575px;
    }
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label.france {
      top: 64px;
      right: 286px;
    }
  }



  .map-section .card .map-container .map-wrapper .country-label.greece {
    top: 262px;
    right: 650px;
  }
  @media (max-width: 1198px) {
    .map-section .card .map-container .map-wrapper .country-label.greece {
      top: 208px;
      right: 535px;
    }
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label.greece {
      top: 70px;
      right: 260px;
    }
  }


  .map-section .card .map-container .map-wrapper .country-label.australia {
    top: 540px;
    right: 200px;
  }
  @media (max-width: 1198px) {
    .map-section .card .map-container .map-wrapper .country-label.australia {
      top: 450px;
      right: 180px;
    }
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label.australia {
      top: 190px;
      right: 75px;
    }
  }


  .map-section .card .map-container .map-wrapper .country-label.singapore {
    top: 380px;
    right: 340px;
  }
  @media (max-width: 1198px) {
    .map-section .card .map-container .map-wrapper .country-label.singapore {
      top: 270px;
      right: 320px;
    }
  }
  @media (max-width: 768px) {
    .map-section .card .map-container .map-wrapper .country-label.singapore {
      top: 120px;
      right: 138px;
    }
  }





  .map-info-box h3, .map-info-box h4 {
    color: black;
  }
  .mb-4 {
    margin-bottom: 24px !important;
}
.tab-content {
  padding: 0;
}





/**** **/



/* ANIMATION TABS */
/* ================================
   Timings (ρύθμισε εδώ)
================================ */
:root{
  --tab-dur: 0.10s;                         /* διάρκεια fade/slide - απο 1.6->0.10 */
  --tab-ease: cubic-bezier(.22,.61,.36,1);  /* ομαλό easing */
  --tab-delay-in: 0.12s;                    /* μικρό overlap στην είσοδο */
}

/* ================================
   Υπάρχον styling tabs (μένει ως έχει)
================================ */
.map-section .tabs .tab-link:hover,
.map-section .tabs .tab-link.active {
  color: #ffffff;
  background: #0309BB;
}
.map-section .tabs .tab-link:hover img,
.map-section .tabs .tab-link.active img {
  filter: brightness(0) invert(1);
}

/* ================================
   Ακύρωση παλιών display/animations
================================ */
.map-section .tab-content .tab-panel,
.map-section .tab-content .tab-panel-map,
.map-section .tab-content .ssl-tab-panel {
  display: block !important;
  animation: none !important;
}

/* ================================
   Grid overlay χωρίς bounce (ΜΟΝΟ CSS)
   -> Δεν αλλάζεις JS: συνεχίζεις να κάνεις toggle την .active
================================ */
.map-section .tab-content {
  display: grid;              /* όλα τα παιδιά στοιβάζονται */
  position: relative;
  overflow: hidden;
  /* Αν θες, βάλε και ένα min-height για σταθερότητα:
     min-height: 320px; */
}

/* Όλα τα panels "κάθονται" στο ίδιο grid cell */
.map-section .tab-content .tab-panel,
.map-section .tab-content .tab-panel-map,
.map-section .tab-content .ssl-tab-panel {
  grid-area: 1 / 1;                 /* overlay στην ίδια περιοχή */
  position: static !important;      /* override παλιών absolute */
  z-index: 1;

  opacity: 0;
  visibility: hidden;               /* θα γίνει hidden μετά το fade */
  transform: translateY(8px) scale(.992) translateZ(0); /* ελαφρύ morph */
  pointer-events: none;

  transition:
    opacity var(--tab-dur) var(--tab-ease),
    transform var(--tab-dur) var(--tab-ease),
    visibility 0s linear var(--tab-dur); /* κρύβεται αφού σβήσει */
}

/* Ενεργό panel */
.map-section .tab-content .tab-panel.active,
.map-section .tab-content .tab-panel-map.active,
.map-section .tab-content .ssl-tab-panel.active {
  z-index: 2;
  opacity: 1;
  visibility: visible;              /* άμεσα visible */
  transform: translateY(0) scale(1) translateZ(0);
  pointer-events: auto;

  transition:
    opacity var(--tab-dur) var(--tab-ease) var(--tab-delay-in),
    transform var(--tab-dur) var(--tab-ease) var(--tab-delay-in),
    visibility 0s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .map-section .tab-content .tab-panel,
  .map-section .tab-content .tab-panel-map,
  .map-section .tab-content .ssl-tab-panel,
  .map-section .tab-content .tab-panel.active,
  .map-section .tab-content .tab-panel-map.active,
  .map-section .tab-content .ssl-tab-panel.active {
    transition: none !important;
    transform: none !important;
  }
}



/* Default (desktop/tablet): κανονικό κάθετο layout */
.map-mobile-sections{
  display: block;
}

.map-section-card{
  margin-bottom: 18px;
}

/* ✅ Mobile: οριζόντιο scroll με 1 “card” visible */
@media (max-width: 768px){

  .map-mobile-sections{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-padding: 12px; 
    text-align: center;
  }

  .map-section-card{
    flex: 0 0 70%;       /* δείχνει 1 card + λίγο από το επόμενο */
    scroll-snap-align: start;
    margin-bottom: 0;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  }

  .map-full-height {
    height: auto;
  }


}


/* =========================================================
   DESKTOP NO-ZOOM NORMALIZATION — 1440px+
   Generated from the original cascade with scale factor 0.75.
   Border/outline stroke widths intentionally remain unchanged.
========================================================= */
@media (min-width: 1440px) {
  .map-section .card .row .map-info-box h3 img {
    margin-right: 6px;
    width: 37.5px;
    height: 37.5px;
  }

  .map-section .card .row .map-info-box h4::before {
    width: 15px;
    height: 15px;
  }

  .map-section .card .map-container::-webkit-scrollbar {
    height: 3px;
  }

  .map-section .card .map-container .map-wrapper {
    min-width: 832.5px;
    min-height: 438.75px;
  }

  .map-section .card .map-container .map-wrapper .country-label {
    width: 15px;
    height: 15px;
    box-shadow: 0px 0px 0px 6px rgba(20, 130, 255, 0.2509803922);
  }

  @keyframes shadowMove {
    0% {
      box-shadow: 0px 0px 0px 6px rgba(20, 130, 255, 0.2509803922);
    }
    50% {
      box-shadow: 0px 0px 0px 12px rgba(20, 130, 255, 0.2509803922);
    }
  }

  @keyframes shadowMoveSmall {
    0% {
      box-shadow: 0px 0px 0px 3px rgba(20, 130, 255, 0.2509803922);
    }
    50% {
      box-shadow: 0px 0px 0px 6px rgba(20, 130, 255, 0.2509803922);
    }
  }

  .map-section .card .map-container .map-wrapper .country-label span {
    left: -37.5px;
    bottom: 37.5px;
    min-width: 90px;
    padding: 7.5px 15px;
    filter: drop-shadow(5.25px 3.75px 0px rgba(75, 77, 125, 0.6980392157));
  }

  .map-section .card .map-container .map-wrapper .country-label span::after {
    left: 30px;
    bottom: -18px;
    border: 9px solid transparent;
    border-top: 9px solid #ffffff;
  }

  .map-section .card .map-container .map-wrapper .country-label.canada {
    top: 172.5px;
    left: 150px;
  }

  .map-section .card .map-container .map-wrapper .country-label.usa {
    top: 210px;
    left: 225px;
  }

  .map-section .card .map-container .map-wrapper .country-label.germany {
    top: 168.75px;
    right: 495px;
  }

  .map-section .card .map-container .map-wrapper .country-label.france {
    top: 150px;
    right: 521.25px;
  }

  .map-section .card .map-container .map-wrapper .country-label.greece {
    top: 196.5px;
    right: 487.5px;
  }

  .map-section .card .map-container .map-wrapper .country-label.australia {
    top: 405px;
    right: 150px;
  }

  .map-section .card .map-container .map-wrapper .country-label.singapore {
    top: 285px;
    right: 255px;
  }

  .mb-4 {
    margin-bottom: 18px !important;
  }

  .map-section .tab-content .tab-panel,
  .map-section .tab-content .tab-panel-map,
  .map-section .tab-content .ssl-tab-panel {
    transform: translateY(6px) scale(.992) translateZ(0);
  }

  .map-section-card {
    margin-bottom: 13.5px;
  }
}

/* ====================================================================
   EASY 2027 — ECO BAR NIGHT MODE · map.css
   New rules apply only to Night Mode. Original Day Mode above unchanged.
   ==================================================================== */

/* Map surfaces and tooltips; do not filter the map background asset or change pin coordinates. */

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .card {
  background-color: #122238;
  color: #edf3ff;
}

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .card .row .map-info-box {
  background-color: #1d3049;
  color: #edf3ff;
  border-color: #415977;
}

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .map-info-box h3,
  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .map-info-box h4 {
  color: #edf3ff;
}

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .card .row .map-info-box p {
  color: #b7c6dd;
}

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .card .map-container .map-wrapper .country-label span {
  background: #203650;
  color: #edf3ff;
  box-shadow: inset 0 0 0 1px #607899;
  filter: drop-shadow(5px 5px 0px #07101faa);
}

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .card .map-container .map-wrapper .country-label span::after {
  border-top-color: #203650;
}

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .map-section-card {
  background: #1b2c44;
  color: #edf3ff;
  box-shadow: inset 0 0 0 1px #415672;
}

  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .tabs .tab-link.active,
  :is(html[data-theme="dark"],html[data-theme="night"],html.dark,html.night,html.dark-mode,html.theme-dark,html:has(#easy-ecosystem-global-bar-v14[data-theme="dark"]),html:has(#easy-ecosystem-global-bar-v14[data-theme="night"]),body[data-theme="dark"],body[data-theme="night"],body.dark,body.night,body.dark-mode,body.theme-dark) .map-section .tabs .tab-link:hover {
  background: #0006ff;
  color: #fff;
}
