/* FarmAutomation Weather Module */
.weather-sidebar{
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.weather-mini{
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,rgba(22,163,74,.16),rgba(255,255,255,.045));
  border:1px solid rgba(134,239,172,.16);
  border-radius:14px;
  padding:10px 11px;
  cursor:pointer;
  transition:all var(--transition);
}
.weather-mini:hover{
  background:linear-gradient(135deg,rgba(22,163,74,.24),rgba(255,255,255,.07));
  transform:translateY(-1px);
}
.weather-mini img{
  width:38px;
  height:38px;
}
.weather-mini-main{
  min-width:0;
  flex:1;
  line-height:1.2;
}
.weather-mini-temp{
  color:#fff;
  font-size:15px;
  font-weight:800;
}
.weather-mini-place{
  color:#b8c4bf;
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.weather-mini-desc{
  color:#86efac;
  font-size:11px;
  text-transform:capitalize;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.weather-mini-loading,
.weather-mini-error{
  color:#b8c4bf;
  font-size:12px;
  padding:8px 4px;
}
.weather-page-grid{
  display:grid;
  grid-template-columns:minmax(280px,420px) 1fr;
  gap:18px;
  align-items:start;
}
.weather-card-main{
  background:linear-gradient(160deg,#26312d,#151f1b);
  color:#f8faf9;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  position:relative;
}
.weather-card-main::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 80% 0%,rgba(34,197,94,.22),transparent 42%);
  pointer-events:none;
}
.weather-card-main > *{
  position:relative;
  z-index:1;
}
.weather-current-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.weather-location{
  font-size:18px;
  font-weight:800;
  letter-spacing:-.3px;
}
.weather-updated{
  color:#b8c4bf;
  font-size:12px;
}
.weather-current-temp{
  font-size:48px;
  font-weight:800;
  letter-spacing:-2px;
  margin:16px 0 4px;
}
.weather-current-desc{
  color:#86efac;
  font-size:14px;
  font-weight:700;
  text-transform:capitalize;
}
.weather-current-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:18px;
}
.weather-meta-item{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:10px;
}
.weather-meta-label{
  color:#aab8b2;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.4px;
}
.weather-meta-value{
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.weather-control-card{
  background:rgba(255,255,255,.92);
  border:1px solid #d6ded9;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
  margin-bottom:16px;
}
.weather-search-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.weather-search-row input{
  flex:1;
  min-width:220px;
  padding:10px 12px;
  border:1.5px solid #d6ded9;
  border-radius:10px;
  font-family:var(--font);
  outline:none;
}
.weather-search-row input:focus{
  border-color:#16a34a;
  box-shadow:0 0 0 3px rgba(22,163,74,.14);
}
.weather-results{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:12px;
}
.weather-result-btn{
  text-align:left;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #e2e9e5;
  background:#fff;
  cursor:pointer;
  font-family:var(--font);
  font-weight:700;
  color:#151f1b;
}
.weather-result-btn:hover{
  background:#f0fdf4;
  border-color:#86efac;
}
.weather-favorites{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.weather-chip{
  border:1px solid #bbf7d0;
  background:#f0fdf4;
  color:#166534;
  border-radius:20px;
  padding:6px 11px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.weather-forecast-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(145px,1fr));
  gap:12px;
}
.weather-forecast-card{
  background:#fff;
  border:1px solid #d6ded9;
  border-radius:16px;
  padding:14px;
  box-shadow:0 4px 16px rgba(15,23,42,.045);
}
.weather-forecast-day{
  font-weight:800;
  font-size:13px;
  color:#151f1b;
}
.weather-forecast-desc{
  font-size:12px;
  color:#53615b;
  text-transform:capitalize;
  min-height:36px;
}
.weather-forecast-temp{
  font-size:20px;
  font-weight:800;
  color:#166534;
  margin-top:6px;
}
.weather-hourly-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(105px,1fr));
  gap:10px;
}
.weather-hourly-item{
  background:#fff;
  border:1px solid #e2e9e5;
  border-radius:14px;
  padding:10px;
  text-align:center;
}
.weather-hourly-time{
  font-size:11px;
  color:#76837d;
  font-weight:700;
}
.weather-hourly-temp{
  font-size:15px;
  font-weight:800;
  color:#151f1b;
}
.weather-section-title{
  font-size:15px;
  font-weight:800;
  margin-bottom:12px;
}
@media(max-width:900px){
  .weather-page-grid{
    grid-template-columns:1fr;
  }
}
/* End FarmAutomation Weather Module */
