/* Previsão do Tempo – Jauclick (v1.3.1) */
.jau-weather-card{
  --jc-forecast-font: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  border-radius: 22px;
  padding: 16px 16px 14px;
  color: #ffffff;
  position: relative;
  background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
  box-shadow: 0 10px 25px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.15);
  overflow: hidden;
}
.jau-weather-card.theme-dark{ background: linear-gradient(180deg, #0f172a 0%, #111827 100%); }
.jau-weather-card.theme-ios-blue{ background: linear-gradient(180deg, #3b82f6 0%, #1e3a8a 100%); }

/* BG animado estilo iOS (gradiente suave) */
.jau-weather-card.animated-bg::before{
  content: "";
  position: absolute; inset: -40% -40% -40% -40%;
  background: radial-gradient(60% 60% at 20% 20%, rgba(255,255,255,.18), transparent 60%),
              radial-gradient(50% 50% at 80% 30%, rgba(255,255,255,.12), transparent 60%),
              radial-gradient(70% 70% at 40% 80%, rgba(255,255,255,.10), transparent 60%);
  animation: jcFloat 18s ease-in-out infinite;
  filter: blur(20px);
}
@keyframes jcFloat { 0%{transform:translate3d(-8%,-8%,0) scale(1);} 50%{transform:translate3d(8%,6%,0) scale(1.05);} 100%{transform:translate3d(-8%,-8%,0) scale(1);} }

.jau-weather-top{ display:flex; align-items:center; justify-content:space-between; opacity:.95; position:relative; z-index:1; }
.jau-weather-city{ font-weight:600; letter-spacing:.2px; font-size:14px; }
.jau-weather-state{opacity:.8; font-weight:500;}

.jau-weather-middle{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; position:relative; z-index:1; }
.jau-weather-temp{ line-height:1; font-weight:700; letter-spacing:-2px; }
.jau-weather-degree{font-size:.5em; vertical-align:top; opacity:.9;}
.jau-weather-icon{ color:#eef6ff; opacity:.95; }

.jau-weather-bottom{ margin-top:4px; font-size:13px; opacity:.95; position:relative; z-index:1;}
.jau-weather-cond{}

.jau-weather-error{background:#1f2937; color:#fff;}

/* Estendida */
.jau-weather-extended{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position:relative; z-index:1;
}
.jau-weather-extended .jc-day{
  display:grid;
  grid-template-rows: auto auto auto;
  align-items:center;
  justify-items:center;
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 8px 6px;
  backdrop-filter: blur(2px);
}
.jau-weather-extended .jc-dayname{ font-size: var(--jc-forecast-font); font-weight:600; }
.jau-weather-extended .jc-icon svg{ width: 28px; height: 28px; }
.jau-weather-extended .jc-range{ font-size: calc(var(--jc-forecast-font) - 1px); margin-top: 2px; }
.jau-weather-extended .jc-max{ font-weight:700; }
.jau-weather-extended .jc-min{ opacity:.85; margin-left: 4px; }

@media (prefers-color-scheme: dark){
  .jau-weather-card{ box-shadow: 0 10px 25px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); }
}
