/* General Layout */
body {
  font-family: 'Noto Naskh Arabic', 'Jameel Noori Nastaleeq', 'Noto Sans Arabic', sans-serif;
  background-color: #f0f8ff;
  color: #000;
  direction: rtl;
  margin: 0;
  padding: 0;
}

header {
  background-color: #005b8f;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#language-switcher {
  margin-top: 0.5rem;
  padding: 0.3rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

/* Alert Box */
.alert {
  background-color: #ffcccc;
  color: #800000;
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  border-bottom: 2px solid red;
  display: none;
}

/* Map and Weather Info */
main {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

#map-container {
  width: 100%;
  height: 400px;
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

#weather-info {
  background-color: rgb(6, 178, 247);
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
 }

#weather-icon {
  width: 80px;
  height: 80px;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  background-color: #004060;
  color: white;
  padding: 0.8rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  main {
    flex-direction: row;
    justify-content: space-between;
  }

  #map-container {
    width: 68%;
    height: 500px;
  }

  #weather-info {
    width: 30%;
    height: auto;
    align-self: center;
  }
}
