.weather-card {
  background: linear-gradient(135deg, #c82333, #cc0000);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 24px;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  max-width: 460px;
  margin: 24px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.weather-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.weather-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.weather-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.weather-header #weather-status {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.icon-temp {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.weather-icon {
  font-size: 3.8rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.temp {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.temp .feels {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
  display: block;
}

.details {
  margin-top: 16px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.details strong {
  color: #ffd700;
}


.weather-tabs {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.weather-tab {
  flex: 0 0 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  color: #fff;
  font-size: 0.75rem;
  white-space: nowrap;
}

.weather-tab.active {
  background: #fff;
  color: #c82333;
  font-weight: 700;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.weather-tab:hover {
  background: #e53946;
  color: #fff;
}

.weather-tab .icon {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.weather-tab .temp {
  font-weight: 600;
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  .weather-card {
    padding: 20px;
    font-size: 0.95rem;
  }

  .weather-icon {
    font-size: 3rem;
  }

  .temp {
    font-size: 2.6rem;
  }

  .weather-header h3 {
    font-size: 1.25rem;
  }

  .weather-tab {
    flex: 0 0 54px;
    font-size: 0.65rem;
    padding: 6px 2px;
  }

  .weather-tab .icon {
    font-size: 1.2rem;
  }
}