.maplibregl-control-container,
.attribution {
  display: none !important;
}
@font-face {
    font-family: 'Filson Pro Regular';
    src: url('/assets/fonts/FilsonProRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    color: #fff8f8;  /* Boja teksta */
}
@font-face {
    font-family: 'Filson Pro Light';
    src: url('/assets/fonts/FilsonProLight.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    color: #f5ecec;  /* Boja teksta */
}


/* .header {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 70px;
  padding: 0 20px;
  background-color: rgba(0, 83, 177,0.99);
  display: flex;
  align-items: center;
  z-index: 1000;
} */

/* Navigacijski gumbi dolje */
.nav-button {
  position: absolute;
  bottom: 20px;
  width: 300px; 
  /* height: 100px; */
  /* background: #1e60c8; */
  color: white;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
  text-decoration: none;
  z-index: 1000;
}

.nav-button.left {
  left: 20px;
  bottom: 55px;
}
.nav-button.left_landing {
  left: 3vw;
  top: 91vh;
  /* width: 250px; */
  cursor: pointer;
  position: absolute;
  float: left;
}
.nav-button.right_landing {
  left: 83vw;
  top: 91vh;
  /* width: 250px; */
  cursor: pointer;
  position: absolute;
  float: left;
}
.nav-button.middle_landing {
  right: 40vw;
  top: 8vh;
  width: 350px;
  position: absolute;
  float: left;

}

.nav-button.right {
  right: 50px;
}

.nav-button .arrow {
  font-size: 24px;
}


.header {
  background: #C8CDD2;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  height: 70px;
  top: 0;
  width: 100vw;
  z-index: 1000;
  padding: 0 20px;
  position: fixed;
  justify-content: space-between;
  align-items: center;
}

.header .logo-group {
  display: flex;
  align-items: center;
}
.header .logo-group img {
  height: 40px;
  margin-right: 16px;
}
.header .logo-group img:last-child {
  margin-right: 10px;
}

/* Logo unutar top bara */
.logo {
  max-height: 80px;
  width: 200px;
  object-fit: contain;
  margin-right: 20px;
}

html, body, #root, .wrapper {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: 'Filson Pro Light', Arial, sans-serif; 
    /* background-color: #19244A;  */
    background-image: url("/assets/background.png");
    background-position: center center;
    background-size: cover;  
    background-repeat: no-repeat;
    background-attachment: fixed; 
} 

/* Lijevi stupac – tekst (originalni naziv ostaje, "sidebar-container" se koristi i ovdje) */
.sidebar-container {
  width: 20rem;
  background-color: #f7faff;
  padding: 0rem 0rem;
  height: 88vh;
  overflow-y: auto;
  /* border-right: 1px solid #d0d0d0; */
  box-sizing: border-box;
  margin-right: 5px;
}
/* Naslov */
.sidebar-container h2 {
    font-family: "Filson Pro Regular", sans-serif;
    font-size: 2.5em;
    color: #003366;
    padding: 0px;
    margin-bottom: 16px;
    margin-top: 10px;
}
/* Horizontalna linija */
.sidebar-container hr {
    border-top: 1px solid #cccccc;
    margin: 16px 0 24px;
}

.sidebar-container .radio-items label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.05em;
    color: #333;
}
/* Labela iznad polja */
.sidebar-container .form-label {
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 6px;
    color: #333;
}

/* Razmak između field-ova */
.sidebar-container .mb-3 {
    margin-bottom: 10px !important;
}

/* Gumb za pretragu */
.sidebar-container .pretrazi-button {
    background-color: #0053B1;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1em;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    transition: background-color 0.2s ease-in-out;
}

.sidebar-container .pretrazi-button:hover {
    background-color: #003f8c;
    cursor: pointer;
}

/* Dropdown izgled (ako koristiš dcc.Dropdown) */
.Select-control {
    border-radius: 4px !important;
    border: 1px solid #ccc !important;
}





.main-content {
    /* margin-top: 100px; */
    min-height: 100vh;
}

/* Stil za svaki slajd */
.slide-wrapper {
  position: relative;            /* važno za apsolutno pozicioniranje gumbića */
  /* background-color: #19244A;      */
  /* background-color:red;      */
  border-radius: 8px;
  margin-left:"50px";
  /* width: 90%; */
  /* max-width: 1000px; */
  /* height: calc(74vh);   */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* sadržaj stoji pri vrhu, ne centriramo ga */
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  padding: 0px;
  box-sizing: border-box;
  margin-bottom: 20px;
  margin-top: 20px;
}
.slide-inner {
    /* background-image: url(/assets/background.png); */
    width: 92vw;
    position: relative;
    min-height: 80vh;
    margin: 0px;
    padding: 0px;
    background-position: center center;
    background-size: cover;  
    background-repeat: no-repeat;
    background-attachment: local;  
}
/* Slika u slajdu */
.slide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  border: 2px solid #C8CDD2; /* grey okvir slike */
}

/* Naslov i tekst u slajdu */
.slide-title {
  margin-bottom: 20px;
  color: #F7EEDD; /* sand beige naslov */
}

.slide-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #C8CDD2; /* grey tekst */
}

/* Navigacijski gumbi unutar slajda, smješteni pri dnu slajda */
.navigation-buttons {
  position: absolute;
  top: 50%;                      /* 50% visine slide-wrappera */
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;  /* “prev” lijevo, “next” desno */
  padding: 0 20px;                 /* razmak od rubova slajda */
  box-sizing: border-box;
}



/* Prethodni gumb: cyan boja pozadine */
.btn-prev {
  background-color: #1EB9EC; /* cyan */
  color: #19244A; /* marine blue tekst */
  border: none;
}

.btn-prev:hover {
  background-color: #0053B1; /* plava hover */
  color: #F7EEDD;
}

/* Sljedeći gumb: orange accent */
.btn-next {
  background-color: #F18F3D; /* orange */
  color: #19244A; /* marine blue tekst */
  border: none;
}

.btn-next:hover {
  background-color: #C4622E; /* tamnija nijansa narandže */
  color: #F7EEDD;
}

/* Responsive prilagodba: na manjim ekranima posebne margine */
@media (max-width: 768px) {
  .slide-wrapper {
    margin: 0 10px;
  }
  .navigation-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .btn-prev, .btn-next {
    width: 100%;
    text-align: center;
  }
}


/* 1) Wrapper za cijelu inset komponentu */
.inset-wrapper {
  /* position: absolute;  */
  width: 405px;                  
  max-height: 390px;

  background-color: rgb(0, 83, 177);     
  border: 2px solid rgb(0, 83, 177);    
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  overflow: hidden;               
  font-family: 'Filson Pro Light', Arial, sans-serif;
  z-index: 500;
}

/* 2) Header stats panela (na vrhu inset) */
.inset-stats-header {
  background-color:rgb(0, 83, 177);     /* Blue */
  color: #F7EEDD;                 /* Sand beige tekst */
  padding: 8px 12px;
  font-size: 0.9rem;
  line-height: 1.3;
  border-bottom: 1px solid rgb(0, 83, 177); /* tanak narandžasti separator */
}

/* 3) Držač karte unutar wrappera */
.inset-map-container {
  width: 100%;
  height: 220px;
  background-color: #F7EEDD; /* da se vidi margin ili pozadina ako karta ne puni cijelo */
}

/* 4) Legenda ispod karte */
.inset-legend {
  background-color: rgba(247,238,221,0.6);  /* transparentna sand-beige pozadina */
  padding: 6px 12px;
  font-size: 0.85rem;
  color: #19244A;                          /* tekst boja = marine blue */
  display: flex;
  align-items: center;
  border-top: 1px solid #0053B1;          /* plavi separator na vrhu legende */
}

/* Tekst unutar legende */
.inset-legend .legend-text {
  font-weight: 500;
}

/* Krug u legendi definisan inline-stilom (nema klase) */

/* 5) Ako želimo malo prilagoditi tileLayer unutar inset mape, možemo
   ciljati ID “magnifier-map” koji create_inset_map vraća. */
#magnifier-map {
  cursor: default;
}

/* Splash: */
#magnifier-map .leaflet-container {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}


/* Isključujemo svaku animaciju kod popupa */
.leaflet-popup-content-wrapper
 {
  transition: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}


/* Pretpostavimo da toggle ima klasu .middle_landing */
.middle_landing {
  border: none;
  background-color: transparent;
  position: relative;
}
/* Promijeni default bootstrap caret ikonu: */
.middle_landing .dropdown-toggle::after {
  /* Uvećaj strelicu */
  font-size: 1.4rem;
  /* Promijeni boju na svijetlu */
  color: #0b2340;
  /* Malo razmakni od desnog ruba */
  margin-left: 4px;
}
/* Kadar dropdown menija */
.dropdown-menu {
  border-radius: 4px;
}

/* Stavke u meniju */
.dropdown-menu .dropdown-item {
  padding: 8px 16px;
  font-size: 0.9rem;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #e9ecef;
}
/* Smanji z‐index minimape (ili bilo koje Leaflet kontrol pane) */
.leaflet-control-minimap,       /* za dash‐leaflet minimap */  
.leaflet-control-container .leaflet-control { 
  z-index: 200 !important;      /* default kontrola je oko 800‐1000, spusti je na 200 */
}

/* Ojačaj z‐index popup pane‐a */
.leaflet-pane.leaflet-popup-pane,
.leaflet-pane.high-popup-pane {
  z-index: 10000 !important;
}