@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: transparent !important;
  overflow: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1;
}

a {
  color: inherit;
  text-decoration: inherit;
}

/* ========================================
   FIXED POSITIONING CONTAINER (Bottom-Left)
   ======================================== */

.widget-fixed-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

/* Layout utilities */
.flex-eco {
  display: flex;
}

.items-center-eco {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.block {
  display: block;
}

.text-center-eco {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.uppercase {
  text-transform: uppercase;
}

/* Spacing */
.p-8-eco {
  padding: 1.5rem 2em 1em 2em;
}

.pt-8-eco {
  padding-top: 1.5rem;
}

.pt-2-eco {
  padding-top: 0.5rem;
}

.pb-2-eco {
  padding-bottom: 0.5rem;
}

.px-3-eco {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-6-eco {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2-eco {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.ml-8-eco {
  margin-left: 2rem;
}

.mt-2-eco {
  margin-top: 0.5rem;
}

.mt-3-eco {
  margin-top: 0.75rem;
}

.mt-4-eco {
  margin-top: 1rem;
}

.mt-5-eco {
  margin-bottom: 1.25rem;
}

.mt-6-eco {
  margin-top: 1.1rem;
}

.mt-12-eco {
  margin-top: 2.3rem;
}

.my-4-eco {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mx-auto-eco {
  margin-left: auto;
  margin-right: auto;
}

/* Width */
.w--25--eco {
  width: 31%;
}

.w--50p-eco {
  width: 50%;
}

.w--100p-eco {
  width: 100%;
}

/* Typography */
.lato-light {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-style: normal;
}

.font-bold-eco {
  font-weight: 700;
}

.text-xs-eco {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm-eco {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-4xl-eco {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.large-size--eco {
  font-size: 30px;
}

.size-fa-eco {
  font-size: 20px;
}

/* Colors */
.color-green-eco {
  color: #0b4703;
}

.text-white-eco {
  color: #fff;
}

.text-green-800-eco {
  color: rgb(22 101 52) !important;
}

.bg-white-eco {
  background-color: #fff;
}

.bg-green-800-eco {
  background-color: #24520a;
}

/* Shadow */
.shadow-lg-eco {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
}

/* Border */
.rounded-full-eco {
  border-radius: 9999px;
}

.border-t-eco {
  border-top: 0.5px solid rgba(255, 255, 255, 0.5);
}

.border-white-eco {
  border-color: rgb(255 255 255);
}

.border-right--eco {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.border-left--eco {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* ========================================
   WIDGET CONTAINER - Popup Card Style
   ======================================== */

.widget-wrapper {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: transparent;
}

.header--eco {
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 12px;
}

/* Main widget card */
.container-eco {
  width: 100%;
  max-width: 350px;
  min-width: 300px;
  background-image: linear-gradient(to right bottom, #0b4703c2, #0b4703c2),
    url(https://media.springernature.com/m685/springer-static/image/art%3A10.1038%2Fs41477-019-0374-3/MediaObjects/41477_2019_374_Figa_HTML.jpg);
  background-size: cover;
  border-radius: 20px;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}

.container-eco a:hover {
  color: #fff;
  outline: none;
}

/* Icon containers */
.icon-container--eco {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  border-radius: 30px;
  z-index: 2;
}

.icon-holder--eco {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: 0.5px solid #0b470369;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Counter containers */
.counter-container--eco {
  height: 44px;
  background-color: white;
  width: 60%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.counter--medium--eco {
  color: #0b4703;
  font-family: sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 0.8;
}

.ml---25-eco {
  margin-left: -20px;
  z-index: 1;
}

.mr---25-eco {
  margin-right: -20px;
  z-index: 1;
}

.ml---35-eco {
  margin-left: 20px;
}

.mr---35-eco {
  margin-right: 20px;
}

/* Secondary counter boxes */
.counter-secondary--eco {
  border: 0.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 110px;
  padding: 15px 5px 10px;
}

.counter-secondary--eco .text-white-eco.block {
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.top--icon--holder-eco {
  position: absolute;
  top: -15px;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main text */
.main-text--eco {
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

/* Close button */
.container-handler-eco {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.container-handler-eco:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   COLLAPSED STATE - Floating Button
   ======================================== */

.widget-collapsed {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.ecco-wiget-loader {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: #24520a;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.ecco-wiget-loader:hover {
  background-color: #24520a;
  transform: scale(1.05);
}

.over-lay-action {
  background-color: transparent;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

/* ========================================
   EXPANDED STATE - Full Card
   ======================================== */

.widget-expanded {
  display: none;
}

.widget-expanded.show {
  display: block;
}

.widget-collapsed.hide {
  display: none;
}

/* Button styles */
button.btn-eco {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding-left: 20px;
  padding-right: 20px;
  outline: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button.btn-eco:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[role='button'],
button {
  cursor: pointer;
}

/* ========================================
   RESPONSIVE - Mobile adjustments
   ======================================== */

@media screen and (max-width: 480px) {
  .widget-fixed-container {
    bottom: 10px;
    left: 10px;
  }

  .ecco-wiget-loader {
    width: 55px;
    height: 55px;
  }

  .ecco-wiget-loader iframe {
    width: 55px !important;
    height: 55px !important;
  }

  .container-eco {
    min-width: 280px;
    max-width: 320px;
    border-radius: 15px;
  }

  .widget-wrapper {
    padding: 5px;
  }

  .counter-secondary--eco {
    height: 100px;
  }
}

@media screen and (max-width: 360px) {
  .widget-fixed-container {
    bottom: 8px;
    left: 8px;
  }

  .ecco-wiget-loader {
    width: 50px;
    height: 50px;
  }

  .ecco-wiget-loader iframe {
    width: 50px !important;
    height: 50px !important;
  }

  .container-eco {
    min-width: 260px;
    max-width: 300px;
  }
}