html, body {
  margin: 0;
  padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
}

#preloader {
  z-index: 9999;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

#map {
  width: 100%;
  height: 100vh;
}

#popLegendContainer {
  display: inline-flex;
  font-size: 0.65rem;
}

#selectContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 11px 0;
}

#countrySelect {
  width: 200px;
  margin: 0 auto;
  display: block;
}

.modal-content {
  border-radius: 10px;
  border: none;
}

#demoContent {
  display: none;
}

#demoLoader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 150px;
}

#countryFlag {
  height: 32px;
  width: auto;
  border-radius: 3px;
  border: 1px solid #dee2e6;
}

#populationGrid {
  font-size: 11px;
  line-height: 1.6;
  word-break: break-all;
}

#forecastCards {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
}

.forecast-card {
  min-width: 90px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

.forecast-time {
  font-weight: bold;
  margin-bottom: 5px;
}

.forecast-temp {
  font-size: 18px;
  color: #007bff;
}

.tile {
  transition: box-shadow 0.15s ease;
}

.tile:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tile-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.tile-value {
  font-size: 1rem;
}

.tile-year {
  font-size: 0.7rem;
  margin-top: 2px;
}

.tile-year::before {
  content: "as of ";
}

#markerBtnContainer button img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  vertical-align: middle;
}

#citiesBtn:focus,
#airportsBtn:focus,
#earthquakesBtn:focus {
  outline: none;
  box-shadow: none;
}

#citiesBtn.active,
#airportsBtn.active,
#earthquakesBtn.active {
  background-color: #198754;
  color: white;
  border-color: #198754;
}

#txtType {
  display: inline;
  vertical-align: middle;
}

#weatherIcon {
  height: 112px;
  width: auto;
  vertical-align: middle;
  margin-left: 12px;
}

#sunriseIcon,
#sunsetIcon,
#tempIcon,
#minIcon,
#maxIcon {
  height: 22px;
  width: auto;
  vertical-align: middle;
}

#minMax{
  padding-top: 20px;
}

#txtSide{
  padding-top: 20px;
}

#sideBySide {
  display: flex;
  align-items: center;
}

#dollar {
  padding-right: 10px;
}

#conversionLoader {
    text-align: center;
    padding: 2rem 0;
}

#conversionLoader .spinner-border {
    width: 3rem;
    height: 3rem;
}


#conversionContent {
    padding: 1rem 0;
}


#amountToConvert {
    margin-top: 0.5rem;
}

#convertBtn {
    margin-top: 0.5rem;
    font-weight: 500;
}

#txtConversion {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    color: #1f7a1f; 
    font-weight: 600;
    text-align: center;
}