* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: #333;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
  margin-bottom: 20px;
}

h1 {
  text-align: center;
  color: #4a5568;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: 300;
}

#weather {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#temperature {
  font-size: 4rem;
  font-weight: 300;
  color: #2d3748;
  margin: 10px 0;
}

#weatherIcon {
  font-size: 4rem;
  margin-bottom: 10px;
}

#description {
  font-size: 1.2rem;
  color: #718096;
  text-transform: capitalize;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

button:active {
  transform: translateY(0);
}

#search {
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

#cityInput {
  padding: 12px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 1rem;
  width: 300px;
  max-width: 100%;
  outline: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

#cityInput:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#map {
  height: 350px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

#forecastContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.forecast-day {
  background: rgba(255, 255, 255, 0.8);
  padding: 20px 10px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.forecast-day:hover {
  transform: translateY(-5px);
}

.forecast-day h3 {
  color: #4a5568;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.forecast-day .temp {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 5px 0;
}

.forecast-day .icon {
  font-size: 2rem;
  margin: 10px 0;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .container {
    padding: 20px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  #temperature {
    font-size: 3rem;
  }
  
  #weatherIcon {
    font-size: 3rem;
  }
  
  .button-group {
    flex-direction: column;
    align-items: center;
  }
  
  button {
    width: 100%;
    max-width: 200px;
  }
}
