.api-warning-note {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  max-width: 700px;
  margin: 1.5rem auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.api-warning-note strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.api-warning-note a {
  color: #004085;
  text-decoration: underline;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.weather-app {
  text-align: center;
}

.app-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.search-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
}

.city-input {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 200px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.city-input:focus {
  border-color: #5c80d1;
  outline: none;
}

.get-weather-btn {
  background-color: #5c80d1;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
}
.get-weather-btn:hover {
  background-color: #4a6bbf;
}
.error-msg {
  color: red;
  display: none;
  margin-top: 10px;
  
 .forimg{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  .error-text{
    font-size: 1.2rem;
    
  }
  .error-img{
    width: 10vw;
   margin-right: 5px;
  }
  a{
    font-size: 0.5rem;
  }
}
}
.weather-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  margin: 0 auto;
  display: none;
}

.weather-icon-box {
  margin-bottom: 1rem;
}

.weather-icon {
  width: 60px;
  height: 60px;
  fill: #555;

}

.temperature {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.weather-details {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 1rem;
  color: #444;
}

.separator {
  height: 40px;
  width: 1px;
  background-color: #ccc;
}