@charset "UTF-8";
/* Vreme - pagina publica de afisare a widgetului de vreme */
.vreme-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0px 12px 35px 0px rgba(2, 14, 103, 0.12);
}

.vreme-hero {
  position: relative;
  padding: 28px 28px 26px 28px;
  background: linear-gradient(120deg, #2193b0 0%, #4facfe 55%, #6dd5ed 100%);
  color: #ffffff;
  overflow: hidden;
  border: none;
  border-radius: 16px 16px 0 0;
}

.vreme-body {
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.vreme-hero::before,
.vreme-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.vreme-hero::before {
  width: 220px;
  height: 220px;
  top: -110px;
  right: -40px;
}

.vreme-hero::after {
  width: 140px;
  height: 140px;
  bottom: -80px;
  right: 120px;
  background: rgba(255, 255, 255, 0.08);
}

.vreme-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.vreme-hero__title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vreme-hero__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 26px;
  flex-shrink: 0;
}

.vreme-hero__title h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.vreme-hero__subtitle {
  margin: 2px 0 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.vreme-hero .btn-vreme-inapoi {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  transition: background 0.2s;
}

.vreme-hero .btn-vreme-inapoi:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.vreme-body {
  background: linear-gradient(180deg, #f4f9fd 0%, #ffffff 60%);
  padding: 26px 20px;
}

.vreme-widget-container {
  position: relative;
  min-height: 220px;
  padding: 6px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vreme-widget-container > .vreme-widget-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin: 0;
  color: #6c8aa3;
  font-size: 14px;
}

.vreme-widget-container > .vreme-widget-loading i {
  font-size: 26px;
  color: #2193b0;
}

.vreme-widget-container iframe {
  width: 100%;
  max-width: 100%;
  height: 280px;
  border: 0;
  border-radius: 10px;
}

/* Widget-urile externe (forecast7/weatherwidget.io etc.) presupun flux normal de bloc si isi calculeaza
   latimea ca 100% din parinte — un parinte flex fara latime explicita pe copil le prabuseste la 0 latime.
   :not(script) — tag-urile <script> nu trebuie sa devina vizibile (display:block le-ar arata ca text brut). */
.vreme-widget-container > *:not(script) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .vreme-hero {
    padding: 22px 18px;
  }
  .vreme-hero__icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .vreme-hero__title h1 {
    font-size: 19px;
  }
  .vreme-body {
    padding: 18px 10px;
  }
}
/* Valul decorativ de jos (identic cu cel de pe Home/Index) */
.wave-div {
  width: 99.225vw;
  margin-left: -49.59vw;
  overflow: hidden;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}