.wwp-ui {
  color: #fff;
}

/* Search Bar Styles */
.wwp-search-container {
  margin-bottom: 18px;
}

.wwp-search-form {
  display: flex;
  gap: 10px;
  background: #2d2f4f;
  padding: 12px;
  border-radius: 18px;
}
.wwp-search-form button.wwp-search-btn {
    gap: 10px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 42px !important;
    border-radius: 0px !important;
    background: #a52a2a !important;
}
.wwp-search-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: white !important;
  font-size: 14px;
  transition: all 0.3s ease;
}

.wwp-search-container input:focus {
    border: none !important;
}
.wwp-search-container input {
    color: white !important;
}

.wwp-search-input::placeholder {
  color: rgba(255,255,255,0.5);
}


.wwp-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.wwp-search-btn:active {
  transform: translateY(0);
}

.wwp-search-btn svg {
  width: 18px;
  height: 18px;
}

.wwp-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.wwp-card {
  background: #2d2f4f;
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
}

.wwp-current .wwp-meta {
  display: flex;
  gap: 10px;
  align-items: baseline;
  opacity: 0.95;
  flex-wrap: wrap;
}
.wwp-meta-title { font-weight: 700; font-size: 16px; }
.wwp-meta-region { font-size: 12px; opacity: 0.7; font-weight: 500; }
.wwp-meta-sub { font-size: 12px; opacity: 0.8; }

.wwp-temp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.wwp-temp {
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
}
.wwp-icon { width: 70px; height: 70px; }

.wwp-cond { margin-top: 6px; font-size: 14px; opacity: 0.9; }
.wwp-hilo { margin-top: 6px; font-size: 13px; opacity: 0.85; }
.wwp-feels { margin-left: 10px; opacity: 0.8; }

.wwp-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  font-size: 13px;
}
.wwp-strip span {
  display:block;
  font-size: 11px;
  opacity: 0.75;
  margin-bottom: 4px;
}

.wwp-map {
  padding: 12px;
}
.wwp-map-head {
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 10px;
  opacity: 0.9;
  font-size: 13px;
}
.wwp-map-brand { opacity: 0.75; }
.wwp-map-frame {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}
.wwp-map-frame iframe {
  width: 100%;
  height: 210px;
  border: 0;
  display: block;
}

.wwp-forecast-panel { margin-top: 18px; }
.wwp-panel-title {
  display:flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 12px;
}
.wwp-title { font-size: 16px; font-weight: 700; }
.wwp-subtitle { font-size: 12px; opacity: 0.75; margin-top: 3px; }

.wwp-forecast-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.wwp-daycard {
  min-width: 180px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
}
.wwp-dayname { font-size: 13px; opacity: 0.9; margin-bottom: 6px; }
.wwp-daycard img { width: 40px; height: 40px; }
.wwp-daytemps { margin-top: 8px; display:flex; gap: 10px; align-items: baseline; }
.wwp-max { font-size: 20px; font-weight: 700; }
.wwp-min { font-size: 14px; opacity: 0.75; }
.wwp-daymeta { margin-top: 8px; font-size: 12px; opacity: 0.8; display:flex; flex-direction: column; gap: 4px; }

.wwp-tabs {
  display:flex;
  gap: 18px;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.wwp-tabs button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  padding: 12px 2px;
  cursor: pointer;
  font-weight: 600;
}
.wwp-tabs button.is-active {
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,0.85);
}

.wwp-tabpanes { margin-top: 12px; }
.wwp-pane { display:none; }
.wwp-pane.is-active { display:block; }

.wwp-chart {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
}
.wwp-chart svg { width: 100%; height: 180px; display:block; }

.wwp-hourly-scroll {
  display:flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.wwp-hourcard {
  min-width: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
  text-align:center;
  transition: transform .2s ease;
}
.wwp-hourcard:hover { transform: translateY(-3px); }
.wwp-hourtime { font-size: 12px; opacity: 0.8; }
.wwp-hourcard img { width: 36px; height: 36px; margin: 8px 0; }
.wwp-hourtemp { font-size: 20px; font-weight: 800; }
.wwp-hourmeta { font-size: 12px; opacity: 0.8; margin-top: 5px; }

.wwp-details-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wwp-kv {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
}
.wwp-kv span { display:block; font-size: 11px; opacity: 0.75; margin-bottom: 6px; }
.wwp-kv b { font-size: 14px; }

.wwp-alerts { margin-top: 14px; }
.wwp-alert-title { font-weight: 800; margin-bottom: 10px; }
.wwp-alert {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}
.wwp-alert-sub { font-size: 12px; opacity: 0.8; margin-top: 4px; }
.wwp-alert-desc { font-size: 12px; opacity: 0.85; margin-top: 8px; }

.wwp-note { margin-top: 10px; font-size: 12px; opacity: 0.75; }

@media (max-width: 900px) {
  .wwp-top { grid-template-columns: 1fr; }
  .wwp-strip { grid-template-columns: repeat(2, 1fr); }
  .wwp-details-grid { grid-template-columns: repeat(2, 1fr); }
  
  .wwp-search-form {
    flex-direction: column;
  }
  
  .wwp-search-btn {
    justify-content: center;
  }
}