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

#map {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
}

#selectContainer {
  z-index: 1000;
  width: 220px;
}

#buttonContainer {
  width: min(520px, 95%);
}

.modal-dialog {
  margin: 1rem auto;
}

.currency-dialog {
  max-width: 360px;
}


.currency-panel {
  display: grid;
  gap: 1rem;
}

.currency-result {
  padding: 0.625rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background: #e9ecef;
}

.currency-result span {
  display: block;
  font-size: 0.875rem;
  color: #6c757d;
}

.weather-icon {
  max-height: 64px;
}



#selectContainer,
#buttonContainer {
  z-index: 1000;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
}

#newsList img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.news-placeholder {
  width: 100%;
  height: 110px;
  background: #f1f3f5;
  border: 1px solid #dee2e6;
}

.news-placeholder i {
  font-size: 2rem;
}


.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.loader-content {
  text-align: center;
}

.loader-content p {
  margin-top: 1rem;
  font-weight: 600;
  color: #333;
}


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