#lisio-popup-info {
  border-radius: 15px;
  width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #ededed;
  overflow: hidden;
  gap: 10px;
}

#lisio-label.popin-lisio-left #lisio-popup-info {
  left: 8px;
}

#lisio-label.popin-lisio-right #lisio-popup-info {
  right: 8px;
}

#lisio-popup-info > * {
  padding-right: 20px;
  padding-left: 20px;
}

.popup-header {
  display: flex;
  background-color: white;
  width: 100%;
  justify-content: space-between;
  align-items: start;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 5px;
  padding-right: 0px !important;
  padding-left: 0px !important;
}

.popup-header::after {
  content: "";
  position: absolute;
  background-color: white;
  width: 350px;
  height: 40px;
  clip-path: path(
    "M0 29C18 31.5 17.4262 31 30 31C95 31 167.5 1.55276 268.033 1.55276C288.066 1.55276 322.5 3.5 350 14.5V0H0V29Z"
  );

  bottom: 0;
  left: 0;
  transform: translateY(98%);
}

.popup-header-title-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding-top: 25px;
  padding-left: 20px;
  font-weight: bold;
  word-break: break-word;
  font-size: 1em;
}

.popup-header-image-container {
  height: 90px;
  width: 90px;
  min-height: 90px;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 20px;
}

.popup-header-image-container img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

#popup-header-subtitle {
  font-weight: bold;
  line-height: 1.5;
  font-size: 1.1em;
}

.popup-links {
  background-color: white;
  border-radius: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  overflow: hidden;
}

.popup-links li button {
  display: flex;
  align-items: center;
  gap: 1ch;
  padding: 10px;
  line-height: 1;
  flex-wrap: nowrap;
  background-color: white;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 1em;
  text-align: start;
  color: black;
}

.popup-links li:first-child button {
  border-radius: 15px 15px 0px 0px;
}

.popup-links li:last-child button {
  border-radius: 0px 0px 15px 15px;
}

#lisio-popup-info button:hover p,
#lisio-popup-info button:focus p,
#lisio-popup-info button:focus-visible p,
#lisio-popup-info button:hover span,
#lisio-popup-info button:focus span,
#lisio-popup-info button:focus-visible span {
  font-weight: bold;
}

.popup-footer a:hover span.underline,
.popup-footer a:focus span.underline,
.popup-footer a:focus-visible span.underline {
  text-decoration: underline;
}

li {
  position: relative;
}

#lisio-popup-info li:not(:nth-last-child(-n + 2))::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  border-bottom: 2px solid #ededed;
  pointer-events: none;
}

.popup-link-icon-container {
  height: 25px;
  width: 25px;
  min-width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-links li svg {
  max-width: 100%;
  max-height: 100%;
  color: var(--theme-primary);
}

.popup-links li button:focus-visible,
.popup-links li button:focus {
  outline: none;
}

.popup-link-text {
  margin-right: auto;
  margin-top: 3px;
  word-break: break-word;
}

.popup-link-right-carret {
  line-height: 0;
  min-width: 11px;
}

.popup-footer {
  display: flex;
  padding-bottom: 10px;
  align-items: end;
  width: 100%;
}

.popup-footer .logo-lisio {
  margin-right: 4px;
}

.popup-footer a {
  text-decoration: none;
}

.popup-footer > *:not(svg) {
  color: #363636 !important;
  line-height: 1.1;
  word-break: break-word;
  font-size: 0.7em;
}

.popup-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 290px;
  margin: 10px 0;
}

#lisio-popup-info-close {
  background-color: white;
  border: none;
  padding: 0.6em 1em 0.6em 1.4em;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 2ch;
  word-break: break-word;
}

#lisio-popup-info-close > span {
  color: black !important;
}

#lisio-popup-info-close svg {
  color: var(--theme-primary);
}

@media screen and (max-width: 350px) {
  #lisio-popup-info {
    width: 320px;
  }
  .popup-header::after {
    transform: translateY(98%);
  }
}

@supports (margin-inline-end: auto) {
  .popup-link-text {
    margin-inline-end: auto;
  }
}

@supports(padding-inline: 20px){
  #lisio-popup-info > * {
    padding-inline: 20px;
  }
  .popup-header{
    padding-inline: 0px !important;
  }
}
