.osfa-aviso {
  width: 488px;
  max-width: calc(100vw - 32px);
  padding: 0;
  border: 0;
  margin: auto;
  background: transparent;
  overflow: visible;
  color: #1c2430;
  font-family:
    "Archivo",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  z-index: 1000;
}

.osfa-aviso:focus {
  outline: 2px solid #1d5aa6;
  outline-offset: 3px;
}

.osfa-aviso::backdrop {
  background-color: rgba(30, 58, 92, 0.5);
}

.osfa-aviso__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 26px 40px;
  border-radius: 26px;
  background: url("../img/popup/fondo-POPUP.svg") no-repeat center / 100% 100%;
  box-shadow: 0 24px 60px rgba(11, 50, 85, 0.28);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.osfa-aviso__cerrar {
  position: absolute;
  top: 10px;
  right: 19px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}

.osfa-aviso__cerrar img {
  width: 18.2px;
  height: 18.2px;
}

.osfa-aviso__cerrar:hover {
  background: rgba(29, 90, 166, 0.08);
}

.osfa-aviso__cerrar:focus-visible {
  outline: 2px solid #1d5aa6;
  outline-offset: 0;
}

.osfa-aviso__icono {
  display: block;
  width: 54px;
  height: 54px;
}

.osfa-aviso__titulo {
  margin: 6.5px 0 0;
  font-size: 31px;
  font-weight: 700;
  line-height: 35px;
  color: #0b3255;
}

.osfa-aviso__titulo span {
  display: block;
}

.osfa-aviso__barra {
  display: block;
  margin-top: 13px;
  width: 44px;
  height: 3.5px;
}

.osfa-aviso__texto {
  margin-top: 19px;
  font-size: 13.3px;
  font-weight: 400;
  line-height: 14px;
  color: #1c2430;
}

.osfa-aviso__texto p {
  margin: 0;
}

.osfa-aviso__texto p + p {
  margin-top: 14px;
}

.osfa-aviso__boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 39px;
  margin-top: 19px;
  padding: 0 28px;
  border-radius: 999px;
  background: #0b4f8a;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.osfa-aviso__boton:hover {
  background: #0b3255;
}

.osfa-aviso__boton:focus-visible {
  outline: 3px solid #1d5aa6;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .osfa-aviso[open] {
    animation: osfa-aviso-entra 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
}

@keyframes osfa-aviso-entra {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

body.osfa-aviso-abierto {
  overflow: hidden;
}

.osfa-aviso__sombra {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(30, 58, 92, 0.5);
}

@media (max-width: 520px) {
  .osfa-aviso {
    max-width: calc(100vw - 24px);
  }
  .osfa-aviso__salto {
    display: none;
  }

  .osfa-aviso__panel {
    padding: 32px 22px 32px;
    background: #ffffff;
  }

  .osfa-aviso__titulo {
    margin-top: 10px;
    font-size: 25px;
    line-height: 1.2;
  }

  .osfa-aviso__barra {
    margin-top: 12px;
  }

  .osfa-aviso__texto {
    margin-top: 15px;
    font-size: 13.5px;
    line-height: 1.5;
  }

  .osfa-aviso__texto p + p {
    margin-top: 14px;
  }

  .osfa-aviso__boton {
    margin-top: 22px;
    min-width: 0;
    width: 100%;
    height: 44px;
  }

  .osfa-aviso__cerrar {
    top: 8px;
    right: 10px;
  }
}