html,
body {
  margin: 0;
  padding: 0;
}

#map {
  width: 100%;
  height: 100vh;
}

#selectContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 11px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#countrySelect {
  width: 200px;
}

.leaflet-bar a:hover,
.leaflet-bar a:focus {
  background-color: #28a745;
  color: white;
}

@media (max-width: 768px) {
  .btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }

  .easy-button-button,
  .leaflet-bar a {
    width: 44px;
    height: 44px;
    line-height: 44px;
  }

  #countrySelect,
  #fromCurrency,
  #toCurrency,
  input[type="number"] {
    font-size: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
  }

  #selectContainer {
    padding: 0 10px;
  }

  .modal-dialog {
    margin: 0.5rem;
    max-width: 100%;
  }

  .modal-content {
    border-radius: 0.5rem;
  }

  table.table td {
    font-size: 0.9rem;
    padding: 0.4rem;
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#wiki .modal-body table th,
#wiki .modal-body table td:first-child {
  white-space: nowrap;
}

#wiki .modal-body table td:last-child {
  word-break: break-word;
  max-width: 70%;
}
