* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0881b5 0%, #eaff9e 100%);
  min-height: 100vh;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 700px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.3rem;
}

.input-card {
  padding: 17px;
  background: rgb(241, 241, 241);
  border-radius: 20px;
  margin-bottom: 20px;
}

main h2 {
  text-align: center;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
}

label {
  display: block;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
}

#locationInput {
  width: 100%;
  padding: 12px;
  border-radius: 15px;
  border: 2px solid;
  margin-bottom: 10px;
}

#locationInput:focus {
  outline: none;
  border-color: #1d95ff;
}

#checkButton {
  display: block;
  width: 100%;
  padding: 15px;
  background: rgb(115, 156, 4);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 40px;
  border: 1px solid;
  cursor: pointer;
  transition: transform 0.2s;
}

#checkButton:hover {
  background: rgb(79, 107, 3);
  transform: translateY(-2px);
}

#checkButton:active {
  transform: translateY(0);
  opacity: 0.7;
}

#resultsContainer {
  margin-top: 20px;
}

.result-card {
  background: rgb(241, 241, 241);
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.verdict {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.reason {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.5;
}

.weather-summary {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
}

.weather-summary h3 {
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.weather-summary p {
  margin: 5px 0;
  text-align: center;
}

.status-good {
  color: rgb(103, 121, 47);
}

.status-bad {
  color: rgb(94, 16, 16);
}

.loading {
  text-align: center;
  padding: 30px;
  font-size: 1.2rem;
  background: #f8f9fa;
  border-radius: 20px;
  font-weight: 600;
}

.error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

footer {
  text-align: center;
  font-size: 0.9rem;
}
