* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
}

.container {
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #ffffff;
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.easy {
  color: #00ff00;
}

.farms {
  color: #ff8c00;
}

.profile-icon {
  width: 50px;
  height: 50px;
}

/* Main Content Styles */
main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.weather-section {
  background-color: #e8ffd8;
  border-radius: 20px;
  padding: 1.5rem;
  border: 3px solid #00ff00;
}

.weather-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-decoration: underline;
}

.weather-cards {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
}

.weather-card {
  flex: 0 0 auto;
  background-color: #e0c0ff;
  border-radius: 30px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  scroll-snap-align: center;
}

.weather-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.weather-temp {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.weather-time {
  font-size: 1.2rem;
}

.loading {
  width: 100%;
  text-align: center;
  padding: 2rem;
  font-style: italic;
  color: #666;
}

/* #footer Styles */
#footer {
  background-color: #d8ffcf;
  padding: 0.5rem;
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  cursor: pointer;
  color: #333;
}

.nav-item svg {
  width: 30px;
  height: 30px;
  margin-bottom: 0.3rem;
}

.nav-item span {
  font-size: 0.8rem;
}

.nav-item.active {
  color: #00aa00;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .logo {
    font-size: 2rem;
  }

  .weather-cards {
    justify-content: flex-start;
  }

  .weather-card {
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.8rem;
  }

  .nav-item svg {
    width: 24px;
    height: 24px;
  }

  .nav-item span {
    font-size: 0.7rem;
  }

  .weather-card {
    min-width: 90px;
    padding: 1rem 0.8rem;
  }

  .weather-temp {
    font-size: 1.3rem;
  }

  .weather-time {
    font-size: 1rem;
  }
}

/* Weather Icons Styles */
.weather-icon.clear {
  color: #ff7b00;
}

.weather-icon.clouds,
.weather-icon.rain,
.weather-icon.snow {
  color: #60c8ff;
}

.quick-action-bar {
  display: grid;
  border: #333 1px solid;
  grid-template-columns: repeat(4, 1fr);
  
  padding: 20px;
  background: #f5f5f5;
  border-radius: 15px;
  margin: 20px 0;
}

.action-item {
  text-align: center;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.action-item:hover {
  transform: translateY(-3px);
}

.action-icon {
  font-size: 24px;
  margin-bottom: 8px;
  background: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.action-label {
  font-family: Arial, sans-serif;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.alert-section {
  margin: 20px;
  margin-bottom: 100px;
  font-family: Arial, sans-serif;
}

.alert-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.alert-badge {
  background: red;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  margin-right: 10px;
}

.alert-card {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  position: relative;
}

.alert-card.weather {
  background: #ffe6e6;
  border-left: 5px solid #ff4444;
}

.alert-card.emi {
  background: #fff3e6;
  border-left: 5px solid #ff9900;
}

.alert-card.scheme {
  background: #e6ffe6;
  border-left: 5px solid #4CAF50;
}

.alert-icon {
  font-size: 24px;
  margin-right: 15px;
}

.alert-content {
  flex-grow: 1;
}

.alert-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.alert-message {
  font-size: 14px;
  color: #666;
}

.alert-time {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.close-btn {
  cursor: pointer;
  margin-left: 15px;
  color: #999;
}

.progress-bar {
  height: 5px;
  background: #ddd;
  border-radius: 3px;
  margin-top: 10px;
}

.progress {
  height: 100%;
  background: #4CAF50;
  width: 30%;
  border-radius: 3px;
}