
.dw-weather-box{
  --dw-weather-bg:#ffffff;
  --dw-weather-color:#1b2340;
  --dw-weather-muted:rgba(27,35,64,.72);
  --dw-weather-chip-bg:rgba(27,35,64,.06);
  --dw-weather-chip-border:rgba(27,35,64,.08);
  --dw-weather-border:rgba(27,35,64,.08);
  --dw-weather-shadow:0 10px 28px rgba(15,23,42,.10);
  background:var(--dw-weather-bg);
  color:var(--dw-weather-color);
  border-radius:12px;
  padding:16px;
  border:1px solid var(--dw-weather-border);
  box-shadow:var(--dw-weather-shadow);
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.dw-weather-box.dw-weather-scheme-light{
  --dw-weather-bg:#ffffff;
  --dw-weather-color:#1b2340;
  --dw-weather-muted:rgba(27,35,64,.72);
  --dw-weather-chip-bg:rgba(27,35,64,.06);
  --dw-weather-chip-border:rgba(27,35,64,.08);
  --dw-weather-border:rgba(27,35,64,.08);
  --dw-weather-shadow:0 10px 28px rgba(15,23,42,.10);
}

.dw-weather-box.dw-weather-scheme-dark{
  --dw-weather-bg:#1f2747;
  --dw-weather-color:#ffffff;
  --dw-weather-muted:rgba(255,255,255,.82);
  --dw-weather-chip-bg:rgba(255,255,255,.08);
  --dw-weather-chip-border:rgba(255,255,255,.10);
  --dw-weather-border:rgba(255,255,255,.08);
  --dw-weather-shadow:0 10px 28px rgba(0,0,0,.16);
}


.dw-weather-box.dw-weather-scheme-auto[data-dw-auto-scheme="light"]{
  --dw-weather-bg:#ffffff;
  --dw-weather-color:#1b2340;
  --dw-weather-muted:rgba(27,35,64,.72);
  --dw-weather-chip-bg:rgba(27,35,64,.06);
  --dw-weather-chip-border:rgba(27,35,64,.08);
  --dw-weather-border:rgba(27,35,64,.08);
  --dw-weather-shadow:0 10px 28px rgba(15,23,42,.10);
}

.dw-weather-box.dw-weather-scheme-auto[data-dw-auto-scheme="dark"]{
  --dw-weather-bg:#1f2747;
  --dw-weather-color:#ffffff;
  --dw-weather-muted:rgba(255,255,255,.82);
  --dw-weather-chip-bg:rgba(255,255,255,.08);
  --dw-weather-chip-border:rgba(255,255,255,.10);
  --dw-weather-border:rgba(255,255,255,.08);
  --dw-weather-shadow:0 10px 28px rgba(0,0,0,.16);
}

@media (prefers-color-scheme: dark){
  .dw-weather-box.dw-weather-scheme-auto{
    --dw-weather-bg:#1f2747;
    --dw-weather-color:#ffffff;
    --dw-weather-muted:rgba(255,255,255,.82);
    --dw-weather-chip-bg:rgba(255,255,255,.08);
    --dw-weather-chip-border:rgba(255,255,255,.10);
    --dw-weather-border:rgba(255,255,255,.08);
    --dw-weather-shadow:0 10px 28px rgba(0,0,0,.16);
  }
}

body.dark .dw-weather-box.dw-weather-scheme-auto,
body.dark-mode .dw-weather-box.dw-weather-scheme-auto,
body.theme-dark .dw-weather-box.dw-weather-scheme-auto,
body.is-dark-theme .dw-weather-box.dw-weather-scheme-auto,
body[data-theme="dark"] .dw-weather-box.dw-weather-scheme-auto,
html[data-theme="dark"] .dw-weather-box.dw-weather-scheme-auto,
body[data-bs-theme="dark"] .dw-weather-box.dw-weather-scheme-auto,
html[data-bs-theme="dark"] .dw-weather-box.dw-weather-scheme-auto{
  --dw-weather-bg:#1f2747;
  --dw-weather-color:#ffffff;
  --dw-weather-muted:rgba(255,255,255,.82);
  --dw-weather-chip-bg:rgba(255,255,255,.08);
  --dw-weather-chip-border:rgba(255,255,255,.10);
  --dw-weather-border:rgba(255,255,255,.08);
  --dw-weather-shadow:0 10px 28px rgba(0,0,0,.16);
}

body.light .dw-weather-box.dw-weather-scheme-auto,
body.light-mode .dw-weather-box.dw-weather-scheme-auto,
body.theme-light .dw-weather-box.dw-weather-scheme-auto,
body[data-theme="light"] .dw-weather-box.dw-weather-scheme-auto,
html[data-theme="light"] .dw-weather-box.dw-weather-scheme-auto,
body[data-bs-theme="light"] .dw-weather-box.dw-weather-scheme-auto,
html[data-bs-theme="light"] .dw-weather-box.dw-weather-scheme-auto{
  --dw-weather-bg:#ffffff;
  --dw-weather-color:#1b2340;
  --dw-weather-muted:rgba(27,35,64,.72);
  --dw-weather-chip-bg:rgba(27,35,64,.06);
  --dw-weather-chip-border:rgba(27,35,64,.08);
  --dw-weather-border:rgba(27,35,64,.08);
  --dw-weather-shadow:0 10px 28px rgba(15,23,42,.10);
}

.dw-weather-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.dw-weather-title{
  font-size:18px;
  font-weight:700;
  line-height:1.3;
  margin-bottom:4px;
}

.dw-weather-location{
  font-size:13px;
  color:var(--dw-weather-muted);
}

.dw-weather-condition-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:currentColor;
  flex:0 0 auto;
}

.dw-weather-condition-icon svg{
  display:block;
}

.dw-weather-icon-svg{
  width:68px;
  height:68px;
}

.dw-weather-temp-row{
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin-top:10px;
  flex-wrap:wrap;
}

.dw-weather-temp{
  font-size:40px;
  line-height:1;
  font-weight:800;
}

.dw-weather-desc{
  font-size:14px;
  text-transform:capitalize;
  color:var(--dw-weather-muted);
  margin-bottom:4px;
}

.dw-weather-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-top:14px;
  font-size:13px;
}

.dw-weather-meta span{
  display:inline-flex;
  align-items:center;
  background:var(--dw-weather-chip-bg);
  border:1px solid var(--dw-weather-chip-border);
  color:var(--dw-weather-color);
  padding:7px 10px;
  border-radius:999px;
}

.dw-weather-error{
  background:#7a1f1f;
  color:#fff;
  border-color:rgba(255,255,255,.08);
}

.dw-weather-inline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#fff;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
  min-height:24px;
  vertical-align:middle;
}

.dw-weather-inline-icon-wrap,
.dw-weather-inline-weather,
.dw-weather-inline-meta,
.dw-weather-inline-date,
.dw-weather-inline-time{
  display:inline-flex;
  align-items:center;
}

.dw-weather-inline-icon-wrap{
  width:18px;
  height:18px;
  justify-content:center;
  flex:0 0 auto;
}

.dw-weather-inline-main{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-height:24px;
}

.dw-weather-inline-weather,
.dw-weather-inline-meta{
  gap:8px;
  min-height:24px;
}

.dw-weather-inline-text{
  font-weight:700;
}

.dw-weather-inline-temp,
.dw-weather-inline-desc,
.dw-weather-inline-date,
.dw-weather-inline-time{
  opacity:.92;
}

.dw-weather-inline-meta{
  position:relative;
  padding-left:14px;
}

.dw-weather-inline-meta:before{
  content:'';
  position:absolute;
  left:0;
  top:50%;
  width:1px;
  height:20px;
  background:rgba(255,255,255,.18);
  transform:translateY(-50%);
}

.dw-weather-inline-date,
.dw-weather-inline-time{
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.dw-weather-inline-icon{
  width:18px;
  height:18px;
}

@media (max-width:767px){
  .dw-weather-box{
    padding:14px;
    border-radius:10px;
  }

  .dw-weather-temp{
    font-size:34px;
  }

  .dw-weather-inline{
    font-size:13px;
    gap:8px;
    min-height:22px;
  }

  .dw-weather-inline-icon-wrap{
    width:16px;
    height:16px;
  }

  .dw-weather-inline-main{
    gap:10px;
    min-height:22px;
  }

  .dw-weather-inline-weather,
  .dw-weather-inline-meta{
    gap:6px;
    min-height:22px;
  }

  .dw-weather-inline-meta{
    padding-left:10px;
  }

  .dw-weather-inline-meta:before{
    height:18px;
  }

  .dw-weather-inline-icon{
    width:16px;
    height:16px;
  }
}


.dw-weather-cities-inline{
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:#fff;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
  max-width:100%;
  vertical-align:middle;
}

.dw-weather-cities-track{
  display:inline-flex;
  align-items:center;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.dw-weather-cities-track::-webkit-scrollbar{
  display:none;
}

.dw-weather-city-pill,
.dw-weather-cities-divider,
.dw-weather-cities-datetime{
  flex:0 0 auto;
}

.dw-weather-city-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:24px;
}

.dw-weather-city-pill-label{
  font-weight:700;
}

.dw-weather-city-pill-temp{
  opacity:.92;
  font-variant-numeric:tabular-nums;
}

.dw-weather-city-pill-icon .dw-weather-inline-icon{
  width:16px;
  height:16px;
}

.dw-weather-cities-divider{
  display:inline-block;
  width:1px;
  height:20px;
  margin:0 12px;
  background:rgba(255,255,255,.18);
  align-self:center;
}

.dw-weather-cities-datetime{
  min-height:24px;
}

@media (max-width:767px){
  .dw-weather-cities-inline{
    font-size:13px;
    gap:10px;
  }

  .dw-weather-city-pill{
    gap:6px;
    min-height:22px;
  }

  .dw-weather-cities-divider{
    height:18px;
    margin:0 10px;
  }

  .dw-weather-city-pill-icon .dw-weather-inline-icon{
    width:15px;
    height:15px;
  }
}
