body {
  font-family: "Inter", "Arial", sans-serif;
  background: linear-gradient(to right, #a1c4fd, #c2e9fb);
  transition: background 0.3s ease;
}
body.dark-mode {
  background: linear-gradient(to right, #2d3748, #1a202c);
  color: #f7fafc;
}

.weather-card {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.weather-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.weather-card .weather-icon {
  animation: bounce-slow 3s infinite;
}

.search-bar {
  transition: box-shadow 0.3s ease;
}
.search-bar:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.toggle-container {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-checkbox:checked + .toggle-slider {
  background-color: #3b82f6;
}
.toggle-checkbox:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #6b7280;
  transition: 0.3s;
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.loading {
  animation: spin 1s linear infinite;
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/*# sourceMappingURL=main.css.map */
