@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #edf8ee;
}

/* APP WRAPPER */
.app {
  max-width: 420px;
  margin: auto;
  min-height: 100vh;
  padding: 20px;
  padding-bottom: 110px;
}

/* HERO WEATHER */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 25px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #2f9e44, #51cf66);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.mini-info {
  font-size: 14px;
  opacity: 0.95;
}

#weatherIcon {
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
}

/* CARD */
.card-ui,
.plant-card,
.header-profile {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-ui {
  padding: 20px;
  margin-top: 20px;
}

.plant-card {
  padding: 15px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* PROGRESS */
.progress {
  height: 10px;
  border-radius: 20px;
}

.progress-bar {
  background: #2f9e44;
}

/* BOTTOM NAV */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  padding: 16px 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.bottom-nav a {
  font-size: 22px;
  color: #8a8a8a;
  text-decoration: none;
  transition: 0.25s;
}

.bottom-nav a:hover,
.bottom-nav a.active {
  color: #2f9e44;
}

.bottom-nav a.active {
  transform: translateY(-3px);
}

/* SCAN BUTTON */
.scan-btn {
  background: #fff;
  color: #2f9e44;
  padding: 16px;
  border-radius: 50%;
  margin-top: -30px;
}

/* PROFILE */
.header-profile {
  text-align: center;
  padding: 30px;
  margin-bottom: 20px;
}

.header-profile img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
}

.stats-box {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.menu-item,
.history-item {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.menu-item {
  cursor: pointer;
}

.menu-item i {
  color: #2f9e44;
  margin-right: 10px;
}

.history-item {
  display: flex;
  flex-direction: column;
}

.profile-page {
  padding-bottom: 10px;
}

.profile-page .card-ui:last-child {
  margin-bottom: 10px;
}
