html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

/*#map {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}
*/

#map {
  position: absolute;      /* fill the entire viewport */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#selectContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 11px 0;
}

#countrySelect {
  width: 200px;
  margin: 0 auto;
}

/* Tooltip container */
.easy-button-container {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip-text {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%; /* Position above the button */
  left: 50%;
  margin-left: -60px; /* Adjust horizontally */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show the tooltip text when hovered */
.easy-button-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* The spinner style */
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* tighten the “at a glance” header */
#countryModal .modal-header {
  padding: .75rem 1.5rem;
}
/* remove cell padding so table lines up flush */
#countryModal .table td {
  padding: .75rem 1.5rem;
}

#weatherModal .modal-header {
  padding: .75rem 1.5rem;
}
#weatherModal .card {
  background-color: #f8f9fa;
}

/* brown Bootstrap-style header */
.bg-brown {
  background-color: #8B4513 !important;
}

/* orange Bootstrap-style header */
.bg-orange {
  background-color: #fd7e14 !important;
}

/* yellow Bootstrap-style header */
.bg-yellow {
  background-color: #ffc107 !important;
}
