/* Modal RSR Exclusivo para Assinantes */
.rsr-epa-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.rsr-epa-popup--visible {
  opacity: 1;
  visibility: visible;
}

.rsr-epa-popup__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.rsr-epa-popup__box {
  position: relative;
  background: #fff;
  max-width: 720px;
  width: 92%;
  border-radius: 10px;
  border: 1px solid #d5dde4;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.rsr-epa-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem 0.45rem 1.1rem;
  background: #354f3b;
}

.rsr-epa-popup__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

.rsr-epa-popup__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.rsr-epa-popup__close svg {
  display: block;
  width: 12px;
  height: 12px;
}

.rsr-epa-popup__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.rsr-epa-popup__content {
  padding: 2rem 2rem 0.5rem;
  text-align: center;
  color: #606E7D;
  font-family: "Roboto", Sans-serif;
}

.rsr-epa-popup__body-html h1,
.rsr-epa-popup__body-html h2,
.rsr-epa-popup__body-html h3,
.rsr-epa-popup__body-html h4 {
  margin: 0 0 0.85rem;
  font-family: "Roboto", Sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #69727D;
  line-height: 1.3;
}

.rsr-epa-popup__body-html p {
  margin: 0 0 0.85rem;
  font-family: "Roboto", Sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: #606E7D;
}

.rsr-epa-popup__body-html p:last-child {
  margin-bottom: 0;
}

.rsr-epa-popup__message {
  margin: 0.85rem 0 0;
  font-family: "Roboto", Sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #606E7D;
}

.rsr-epa-popup__body-html:empty,
.rsr-epa-popup__message:empty,
.rsr-epa-popup__footer-note:empty,
.rsr-epa-popup__login.is-hidden {
  display: none;
}

.rsr-epa-popup__footer {
  padding: 1.25rem 2rem 2rem;
  text-align: center;
  font-family: "Roboto", Sans-serif;
}

.rsr-epa-popup__btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #54595F;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid #54595F;
  border-radius: 3px;
  font-family: "Lato", Sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgb(0 0 0 / 0.3);
  box-shadow: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.rsr-epa-popup__btn:hover,
.rsr-epa-popup__btn:focus {
  background-color: #EBBD00;
  color: #fff !important;
  border-color: #DDB200;
}

.rsr-epa-popup__footer-note,
.rsr-epa-popup__footer-note p {
  margin: 1rem 0 0;
  font-family: "Roboto", Sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #606E7D;
}

.rsr-epa-popup__footer-note p {
  margin: 0;
}

.rsr-epa-popup__login {
  margin: 1.15rem 0 0;
  font-family: "Roboto", Sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #606E7D;
}

.rsr-epa-popup__login-link {
  color: #606E7D;
  text-decoration: none;
}

.rsr-epa-popup__login-link span {
  font-weight: 700;
  text-decoration: underline;
}

.rsr-epa-popup__login-link:hover,
.rsr-epa-popup__login-link:hover span {
  color: #3d4a55;
}
