
/* style.css */
html, body {
  margin: 0;
  padding: 0;
}

#map {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}




.country-dropdown {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 6px 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.navbar-brand {
  cursor: pointer;
}


#toggleLayersBtn {
  position: absolute;
  top: 90px;
  right: 20px;
  z-index: 10000;
  background: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #0d6efd;
  transition: transform 0.2s ease;
}

#toggleLayersBtn:hover {
  transform: scale(1.1);
}

.extra-marker.user-location-marker {
  background-color: #ff5722 !important; 
  color: white !important;
  border: 2px solid white;
}

.extra-marker.monument-marker {
  background-color: #fae609 !important; 
  color: white !important;
  border: 2px solid white;
}


.leaflet-control-easybutton-button {
  border-radius: 50% !important;
  background-color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #0d6efd !important;
}
.layer-toggle-btn {
  position: absolute !important;
  top: 80px;
  right: 20px;
  z-index: 6000 !important;
}
.custom-layers-btn {
  position: absolute !important;
  top: 80px !important;     
  right: 20px !important;
  z-index: 6000 !important;
}


.select-container, .easy-button-button {
  z-index: 1000; 
  position: relative;
}

.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-marker-shadow {
  image-rendering: auto !important;
}

.loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}
.d-none {
  display: none !important;
}

.currency-box {
  background-color: #e6f9ec; 
  border-radius: 15px;
  border: 2px solid #34c38f;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.currency-box .modal-header {
  background-color: #34c38f;
  border-bottom: none;
  color: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.green-box {
  background-color: #ebfbee;
  border: 1px solid #34c38f;
  padding: 1rem;
  border-radius: 8px;
}

#newsContent img {
  max-width: 100px;
  border-radius: 6px;
}

.currency-box .modal-body {
  font-size: 1rem;
}

#newsModal .modal-header {
  background: linear-gradient(to right, #0d6efd, #6610f2);
  color: white;
  border-bottom: none;
  padding: 1rem 1.5rem;
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


#newsModal .modal-header::before {
  content: "📰";
  font-size: 2rem; 
}
#newsModal .btn-close {
  font-size: 1.25rem; 
}

.leaflet-control-layers {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  border-radius: 12px !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
  padding: 1rem !important;
  background-color: #ffffff !important;
  border: none !important;
  line-height: 1.6;
  min-width: 220px;
}


.leaflet-control-layers label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  padding: 4px 0;
}


.leaflet-control-layers input[type="checkbox"],
.leaflet-control-layers input[type="radio"] {
  transform: scale(1.2);
  accent-color: #0d6efd;
  margin: 0;
}


.leaflet-control-layers-separator {
  margin: 10px 0;
  border-top: 1px solid #ccc;
}


#newsModal .modal-content {
  background-color: #fdfdff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#newsModal .modal-body .d-flex {
  background-color: #ffffff;
  padding: 12px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
  border: 1px solid #dee2e6;
}

#newsModal .modal-body .d-flex:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#newsModal h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

#newsModal small {
  color: #6c757d;
  font-family: 'Nunito', sans-serif;
}

#newsContent img {
  width: 100px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}


footer {
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
  font-size: 0.85rem;
}


.country-border {
  stroke: #0d6efd;
  stroke-width: 2;
  stroke-opacity: 0.8;
  fill: #0d6efd;
  fill-opacity: 0.05;
  stroke-dasharray: 6 4;
}





nav.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

nav.navbar.bg-white.shadow-sm {
  background: transparent !important;
  box-shadow: none !important;
}

.navbar-brand {
  color: white !important;
}


#countrySelect {
  margin: auto;
  margin-top: 10px;
  display: block;
  width: 250px;
  z-index: 1100;
   font-family: 'Nunito', sans-serif;
}
.navbar-brand {
  margin-left: 80px;
  cursor: pointer;
}
.preview-img {
  cursor: pointer;
}


#countrySelect:hover {
  cursor: pointer;
  border-color: #0d6efd;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.5);
  background-color: #f0f8ff;
}

.country-popup {
  max-width: 220px;
  background-color: #f9f9f9;
  border-left: 5px solid transparent;
  border-image: linear-gradient(to bottom, #0d6efd, #8e44ad);
  border-image-slice: 1;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 10px;
}

.navbar-brand {
  color: black !important;        
  font-family: 'Poppins', sans-serif; 
  font-weight: 600;
  font-size: 1.7rem;
}


.easy-button-button {
  background: linear-gradient(145deg, #e0e0e0, #ffffff);
  border: 1px solid #ccc;
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  color: #0d6efd;
  transition: transform 0.2s ease;
}
.easy-button-button:hover {
  transform: scale(1.1);
}
#infoModal .modal-content {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #ddd;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  font-family: 'Nunito', sans-serif;
}


#infoModal .card {
  border: none;
  background-color: #fdfdfd;
  border-radius: 0.85rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
}


#infoModal .card-title img {
  vertical-align: middle;
  margin-right: 8px;
}

#infoModal h3 {
  font-size: 2rem;
  color: #0d6efd;
}

#infoModal .modal-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#infoModal .img-fluid {
  max-height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
}


.local-time-box {
  background-color: #f0f9ff;
  border-left: 4px solid #0d6efd;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: 0.75rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
}

.local-time-box strong {
  color: #0d6efd;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}

.local-time-box i {
  color: #0d6efd;
  margin-right: 6px;
}
.local-time-box {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  margin-top: 1rem;
}

.leaflet-control-layers {
  background: white;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  max-height: 30px;         
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 5000;           
}

.leaflet-control-layers.leaflet-control-layers-expanded {
  max-height: 500px;        
  overflow: auto;
}
#toggleLayersBtn {
  z-index: 10000 !important;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.leaflet-control-layers {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: absolute !important;
  top: 70px;  
  right: 20px;
  z-index: 5000;
}


.leaflet-control-layers.leaflet-control-layers-expanded {
  background-color: white !important;
  border: 1px solid #ccc !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 8px;
}

.close-panel-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 1.2rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}

.close-panel-btn:hover {
  color: #dc3545;
}



.leaflet-control-layers-toggle {
  display: none !important;
}
