@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* =====================
   Reset & Base
   ===================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  background: #fbfcff;
  text-align: center;
}

.hidden {
  display: none !important;
}

/* =====================
   Header
   ===================== */
header {
  width: 100%;
  background: #f2f5fa;
  position: relative;
  padding: 10px 0;
}

header .wrapper {
  width: calc(100% - 20px);
  height: 100%;
}

.wrapper {
  display: flex;
  max-width: 1140px;
  max-height: 100%;
  position: relative;
  margin: 0 auto;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-logo {
  height: 18px;
  width: auto;
  max-width: none;
  display: block;
}

.footer-logo {
  width: 160px;
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.home-link {
  font-family: Nunito, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #f2f5fa;
  text-decoration: none;
}

/* =====================
   Hero Image
   ===================== */
.hero-image {
  max-width: 158px;
  width: 100%;
  margin: 25px auto 25px;
}

.image-container {
  display: flex;
  max-width: 141px;
  flex-direction: column;
  overflow: hidden;
}

.image-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  aspect-ratio: 1.216;
  width: 100%;
  align-items: center;
  padding: 32px 28px 19px;
}

.image-wrapper .bg-img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.image-wrapper .arrow-img {
  aspect-ratio: 0.75;
  object-fit: contain;
  object-position: center;
  width: 36px;
  animation: move-down 1.5s infinite;
}

.image-wrapper .logo-img {
  aspect-ratio: 7.87;
  object-fit: contain;
  object-position: center;
  width: 63px;
  margin-top: 9px;
}

/* =====================
   CTA Section
   ===================== */
.cta-section {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

.cta-headline {
  font-family: Montserrat, sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 40.8px;
  text-align: center;
  color: #212233;
  text-transform: uppercase;
  line-height: 27px;
}

.cta-headline .highlight {
  color: #00a254;
}

.cta-step-label {
  font-family: Montserrat, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 40.8px;
  text-align: center;
  color: #212233;
  text-transform: uppercase;
  margin: 0 auto 14px;
}

/* =====================
   Progress Bar
   ===================== */
.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 0;
  margin: 0 auto;
  margin-top: -30px;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.stepper-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #d9dce0;
  color: #9a9a9a;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 14px;
  background: #fff;
}

.stepper-label {
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  color: #9a9a9a;
  text-align: center;
  white-space: nowrap;
}

.stepper-step--active .stepper-circle {
  border-color: #00a254;
  background: #00a254;
  color: #fff;
}

.stepper-step--active .stepper-label {
  color: #00a254;
}

.stepper-line {
  align-self: flex-start;
  margin-top: 15px;
  flex: 0 1 24px;
  height: 2px;
  background: #d9dce0;
}

.progress-wrapper {
  position: relative;
  margin: 10px auto 16px;
  max-width: 480px;
  width: calc(100% - 10px);
}

.progress-track {
  box-sizing: content-box;
  height: 29px;
  position: relative;
  border-radius: 25px;
  background: #d9dce0;
  max-width: 340px;
  width: calc(100% - 10px);
  margin: 0 auto;
  bottom: -11px;
  box-shadow: 0 0 18px 0 #004dc0b2;
}

.progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background: #bac4f5;
  box-shadow:
    inset 0 2px 9px rgb(255 255 255 / 30%),
    inset 0 -2px 6px rgb(0 0 0 / 40%);
  position: relative;
  overflow: hidden;
  transition: width 0.3s ease;
}

.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  animation: striped-move 2s linear infinite;
  border-radius: inherit;
}

.progress-label-row {
  display: flex;
  justify-content: space-around;
  padding: 0;
  color: #fff;
  font-weight: normal;
  font-size: 12px;
}

.progress-percent {
  position: absolute;
  top: 15px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 21.78px;
  line-height: 100%;
  color: #fff;
  text-transform: uppercase;
}

.progress-bar.state--active {
  animation: progress-active 1s linear forwards;
}

.progress-bar.state--start {
  animation: progress-start 1s linear forwards;
}

.progress-bar.state--default {
  animation: progress-default 1s linear forwards;
}

.progress-bar.state--success {
  animation: progress-success 1s linear forwards;
}

.thank-you .progress-wrapper {
  margin-bottom: 30px;
}

/* =====================
   MSISDN Form
   ===================== */
.form-section {
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 0;
}

.form-title {
  font-family: Montserrat, sans-serif;
  color: #000;
  margin: 0 auto 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  text-align: center;
}

.msisdn-input-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 348px;
  margin: 10px auto 0;
  position: relative;
  animation: pulse 2s infinite;
}

.msisdn-input-prefix {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 52px;
  width: 100%;
  max-height: 54px;
  height: 100%;
  background: #00a254;
  border-radius: 10px 0 0 10px;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28.8px;
  z-index: 1;
}

.msisdn-input-wrapper.state--active {
  animation: none;
}

.msisdn-input-wrapper.state--active::after {
  position: absolute;
  content: "";
  width: 39px;
  height: 100%;
  top: -5px;
  right: 10px;
  background: url(../images/check.webp) no-repeat center;
}

.msisdn-input-wrapper.state--error {
  animation: none;
}

.msisdn-input-wrapper.state--error .msisdn-input-prefix {
  background: #ff0000;
}

.msisdn-input-wrapper.state--active::after {
  content: "";
}

.error .msisdn-input-wrapper.state--active::after {
  content: "";
  background: none;
}

.msisdn-input {
  outline: 0;
  width: 100%;
  height: 54px;
  color: #3b3c3f;
  text-align: left;
  padding-left: 62px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28.8px;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  background: #fff;
  margin-bottom: 10px;
}

.msisdn-input::placeholder {
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28.8px;
  color: #3b3c3f;
}

.msisdn-input.state--entering {
  border: 1px solid #5edb9f;
}

.msisdn-input.state--active {
  color: #00a254;
  border: 1px solid #00a254;
  animation: none;
}

.body--error .msisdn-input {
  color: #f00;
  border: 1px solid #ff0000;
}

.msisdn-input.state--error {
  color: #f00;
  border: 1px solid #ff0000;
  animation: none;
}

/* =====================
   PIN Form
   ===================== */
.pin-section {
  display: none;
  max-width: 390px;
  margin: 0 auto;
  padding: 20px 0;
}

.body--pin-step .pin-section {
  display: block;
}

.body--pin-step .msisdn-section {
  display: none;
}

.pin-inputs-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px auto;
  max-width: 348px;
}

.body--pin-plus .pin-inputs-wrapper {
  justify-content: center;
}

.pin-digit {
  width: 70px;
  height: 70px;
  border: 2px solid #999;
  border-radius: 12px;
  background: #fff;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  color: #212529;
  outline: 0;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: Montserrat, sans-serif;
}

.pin-digit::placeholder {
  color: #999;
  font-size: 32px;
  font-weight: 400;
}

.pin-digit:focus {
  border-color: #00a254;
  box-shadow: 0 0 0 3px rgba(0, 162, 84, 0.1);
}

.pin-digit.state--active {
  border-color: #00a254;
  background: #f0fff7;
}

.pin-digit.state--error {
  border-color: #dc3545;
  background: #fff5f5;
}

.body--error .pin-digit.state--active {
  border-color: red;
  background: #fff5f5;
  color: red;
}

/* =====================
   Action Buttons
   ===================== */
.action-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 348px;
  width: 100%;
  height: 109px;
  border: 4px solid #c5c5c5;
  border-radius: 15px;
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  background: #c5c5c5;
  color: #c5c5c5;
  outline: 0;
  margin: 0 auto;
  cursor: default;
}

.action-btn.state--active {
  background: #00a254;
  border-color: #00a254;
  color: #fff;
  cursor: pointer;
  animation: pulse 2s infinite;
}

.action-btn.state--active:hover {
  background: #04d671;
  border-color: #04d671;
}

.action-btn.state--active:hover .btn-label {
  background: #04d671;
}

.action-btn.state--active:hover .btn-icon-wrapper {
  background: #04d671;
}

.body--error .action-btn {
  background: #c5c5c5;
  border-color: #c5c5c5;
  animation: none;
  cursor: default;
}

.body--error .action-btn:hover {
  background: #c5c5c5;
}

.btn-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72%;
  height: 100%;
  background: #fff;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.action-btn.state--active .btn-label {
  background: #00a254;
  color: #fff;
  border: none;
}

.btn-label .btn-text {
  display: block;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  color: #c5c5c5;
}

.action-btn.state--active .btn-text {
  color: #fff;
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28%;
  height: 100%;
  background: #c5c5c5;
}

.action-btn.state--active .btn-icon-wrapper {
  background: #00a254;
  border-color: #00a254;
  border-left: 1px solid #fff;
  height: 56px;
}

/* Error: label + icon go grey with the button (also on hover) */
.body--error .action-btn .btn-label,
.body--error .action-btn .btn-icon-wrapper,
.body--error .action-btn.state--active:hover .btn-label,
.body--error .action-btn.state--active:hover .btn-icon-wrapper {
  background: #c5c5c5;
}

.body--error .action-btn .btn-text {
  color: #fff;
}

.body--error .action-btn.state--active:hover {
  border-color: #c5c5c5;
}

.btn-icon {
  height: 50px;
  padding: 0 24px;
}

/* =====================
   Error Messages
   ===================== */
.field-error {
  display: none;
  color: #f00;
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 10px;
  text-align: center;
}

.body--error .field-error {
  display: block;
}

/* =====================
   Footer Icons Section
   ===================== */
.features-section {
  margin-top: 50px;
}

.features-icons {
  background: #f2f5fa;
}

.features-icons .wrapper {
  justify-content: center;
  max-width: 820px;
  padding: 30px 0 20px;
}

.features-icons .icon {
  width: 140px;
  text-align: center;
}

.features-icons .icon img {
  width: 45px;
  height: 45px;
  margin: 0 auto;
}

.features-icons .icon p {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  color: #adacd1;
  margin-top: 10px;
}

/* =====================
   Disclaimer / Footer
   ===================== */
.disclaimer-section {
  color: #777682;
  margin-top: 20px;
}

.disclaimer-section .wrapper--1200 {
  margin-top: 20px;
}

.disclaimer-section .footer-text p {
  max-width: 1140px;
  margin: 0 auto;
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 16.37px;
  text-align: center;
  padding: 0 0 20px;
  width: 75%;
  color: #abb3ac;
}

.footer-text a {
  color: #abb3ac;
}

.footer-links a {
  font-size: 13px;
  color: #abb3ac;
  text-decoration: none;
  font-family: Nunito, sans-serif;
}

.footer-info p {
  max-width: 100%;
  margin: 0 auto;
  font-family: Nunito, sans-serif;
  color: #bfc2cc;
  font-size: 12px;
  font-weight: 400;
  line-height: 16.37px;
  text-align: center;
  padding: 0 0 5px;
  width: 95%;
  margin: 0 auto;
}

.disclaimer-section-play-carrier {
  margin-top: 80px;
}

.links a {
  text-decoration: underline;
  font-family: Nunito;
  font-size: 12px;
  font-weight: 400;
  line-height: 16.37px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #bfc2cc;
  padding-bottom: 20px;
}

/* =====================
   Burger Menu
   ===================== */
.menu__box {
  background-color: #212233e5;
  backdrop-filter: blur(10px);
  z-index: 20;
  padding: 76px 30px 0;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  background-color: #adacd1;
}

.menu__btn > span:hover,
.menu__btn > span:hover::before,
.menu__btn > span:hover::after {
  background-color: #6842ff !important;
}

.menu__box a:hover {
  color: #6842ff !important;
}

#menu__toggle:checked ~ .menu-overlay {
  opacity: 1;
  visibility: visible;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: #59597e4d;
  backdrop-filter: blur(10px);
  z-index: 10;
  visibility: hidden;
}

.menu__item {
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.36px;
  padding: 20px 0;
}

.menu__item:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo + burger on one row: the button sits in the header flow (not absolute)
   so flex centers it vertically with the logo. */
header .wrapper {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.hamburger-menu {
  display: flex;
  align-items: center;
}

#menu__toggle {
  display: none;
}

header .wrapper .menu__btn {
  position: relative;
  top: 0 !important;
  right: 0;
  z-index: 40;
}

.menu__btn > span {
  top: 50%;
  margin-top: -1.5px;
}

#menu__toggle:checked ~ .menu__btn {
  position: fixed;
  right: 30px;
  top: 32.5px !important;
}

/* =====================
   Animations
   ===================== */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes move-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes striped-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

@keyframes progress-default {
  0% {
    width: 0%;
  }
  50% {
    width: 5%;
  }
  100% {
    width: 10%;
  }
}

@keyframes progress-start {
  0% {
    width: 10%;
  }
  50% {
    width: 25%;
  }
  100% {
    width: 50%;
  }
}

@keyframes progress-active {
  0% {
    width: 50%;
  }
  50% {
    width: 75%;
  }
  100% {
    width: 90%;
  }
}

@keyframes progress-success {
  0% {
    width: 97%;
  }
  50% {
    width: 98%;
  }
  100% {
    width: 99%;
  }
}

/* =====================
   Responsive — Tablet / Mobile
   ===================== */
@media screen and (max-width: 768px) {
  header {
    height: auto;
    min-height: 50px;
  }

  .header-logo {
    height: 16px;
    width: auto;
    max-width: none;
  }

  .footer-logo {
    width: 140px;
  }

  .stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 390px;
    margin: 0 auto;
    padding: 0px 0;
    margin: 0 auto;
    margin-top: 15px;
  }

  .cta-headline {
    font-size: 23px;
    width: 98%;
    max-width: 100%;
  }

  .hero-image {
    max-width: 158px;
    margin: 25px auto 0;
  }

  .form-section {
    max-width: 390px;
    margin: 0 auto;
    padding: 0px 0;
  }

  .form-title.form-title--msisdn {
    font-size: 16px;
    margin: 0 auto 15px;
  }

  .form-title.form-title--pin {
    font-size: 14px;
    margin: 0 auto 10px;
  }

  .pin-inputs-wrapper {
    margin: 15px auto;
  }

  .features-icons .icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 120px !important;
    height: 89px;
  }

  .features-icons .icon img {
    width: 30px;
    height: 30px;
  }

  .features-icons .wrapper {
    justify-content: center;
    padding: 20px 0;
  }

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

  .disclaimer-section .footer-text p {
    width: 90%;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 10px;
  }

  .body--pin-step .cta-headline {
    display: none;
  }
}

@media screen and (max-width: 360px) and (max-height: 780px) {
  .cta-headline {
    font-size: 22px;
    width: 98%;
    max-width: 100%;
  }

  .stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 390px;
    margin: 0 auto;
    padding: 0;
    margin: 0 auto;
    margin-top: 22px !important;
  }
}

@media screen and (max-width: 560px) {
  .pin-inputs-wrapper {
    gap: 8px;
    padding: 0 10px;
  }

  .cta-headline-bottom {
    margin-bottom: 15px;
  }

  .cta-headline-top {
    margin-top: 15px;
  }

  .cta-headline {
    line-height: 30px;
  }

  .pin-digit {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .pin-digit::placeholder {
    font-size: 28px;
  }

  .disclaimer-section {
    margin-top: 55px;
  }
}

@media screen and (max-width: 400px) {
  .features-icons .wrapper {
    gap: 5px;
  }
}

@media screen and (max-width: 390px) {
  .form-section {
    margin: 0 20px;
  }
}

@media screen and (max-width: 375px) {
  .pin-inputs-wrapper {
    gap: 6px;
  }

  .pin-digit {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .pin-digit::placeholder {
    font-size: 24px;
  }
}

@media screen and (max-width: 320px) {
  .btn-icon {
    padding-left: 20px;
    height: 50px;
  }
}

@media screen and (max-width: 320px) {
  .tpl-two-line-footer {
    position: unset !important;
  }
}

@media screen and (max-width: 560px) {
  .tpl-two-line-footer {
    position: absolute;
    top: calc(var(--vh, 1vh) - 108px) !important;
    margin-top: -15px !important;
  }

  .body--pin-step .tpl-two-line-footer {
    position: unset !important;
    margin-top: 40px !important;
  }

  .body--pin-step .features-section {
    margin-top: 100px;
  }

  .play-ui .features-section {
    margin-top: 100px;
  }

  .features-section {
    /* margin-top: 380px; */
  }
}

/* =====================
   Checkbox (shared by modal + PIN confirmation)
   ===================== */
.checkbox-wrapper {
  --size: 24px;
}

.checkbox-wrapper * {
  box-sizing: border-box;
}

.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-wrapper input + label {
  display: block;
  position: relative;
  border: 1px solid #00a254;
  width: var(--size);
  height: var(--size);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-wrapper input + label svg {
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 5%;
}

.checkbox-wrapper input + label svg path {
  fill: none;
  stroke: #00a254;
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 101;
  transition: all 250ms cubic-bezier(1, 0, 0.37, 0.91);
}

.checkbox-wrapper input:checked + label svg path {
  stroke-dashoffset: 3;
}

.checkbox-wrapper.error input + label {
  border: 2px solid #ff0000;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* Draws attention to the PIN-step consent checkbox when it gets
   auto-ticked (first tap of Submit PIN while unticked). */
.checkbox-wrapper.checkbox-pulse input + label {
  animation: checkboxPulse 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkboxPulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  70% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

/* =====================
   PIN-step checkbox ripple
   A ::before layer behind the label expands from center and fades out,
   on loop, to draw attention to the still-unticked consent checkbox
   without altering the checkbox's own size/position. Purely CSS/GPU
   (transform + opacity), one --ripple-color custom property so each
   operator context (green Plus / orange Orange) can retint it without
   duplicating the keyframes.
   ===================== */
.pin-confirm-checkbox-wrapper input + label {
  --ripple-color: #00a254;
}

#pin-confirmation-orange .pin-confirm-checkbox-wrapper input + label {
  --ripple-color: #ff9800;
}

.pin-confirm-checkbox-wrapper input + label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ripple-color);
  opacity: 0;
  pointer-events: none;
  animation: checkboxRipple 1.8s ease-out infinite;
}

.pin-confirm-checkbox-wrapper input:checked + label::before {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes checkboxRipple {
  0% {
    transform: scale(1);
    opacity: 0.45;
  }
  70% {
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pin-confirm-checkbox-wrapper input + label::before {
    animation: none;
    opacity: 0;
  }
}

/* =====================
   Operator Confirmation Modal (Plus / Orange)
   ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
}

.modal-box {
  background: #212233;
  border-radius: 16px;
  padding: 24px 20px;
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  margin: auto;
  font-family: Montserrat, sans-serif;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #2c2d42;
  border-radius: 10px;
  padding: 14px;
}

.modal-checkbox-wrapper {
  flex-shrink: 0;
  --size: 26px;
}

.modal-checkbox-text {
  font-size: 13px;
  line-height: 1.5;
  color: #d0dde8;
  margin: 0;
  cursor: pointer;
  text-align: left;
}

.modal-checkbox-text a {
  color: #00a254;
  text-decoration: none;
}

.modal-orange-intro {
  font-size: 13px;
  line-height: 1.6;
  color: #d0dde8;
  margin: 0;
  text-align: left;
}

.modal-orange-collapsible {
  background: #2c2d42;
  border-radius: 10px;
  overflow: hidden;
}

.modal-orange-toggle {
  width: 100%;
  background: none;
  border: none;
  color: #ff9800;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.modal-orange-toggle-label {
  flex: 1;
}

.modal-orange-toggle-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.modal-orange-toggle[aria-expanded="true"] .modal-orange-toggle-arrow {
  transform: rotate(180deg);
}

.modal-orange-expanded {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  font-size: 12px;
  line-height: 1.6;
  color: #c0ccd8;
}

.modal-orange-expanded.is-open {
  grid-template-rows: 1fr;
}

.modal-orange-expanded-inner {
  overflow: hidden;
  padding: 0 14px;
  transition: padding 0.35s ease;
}

.modal-orange-expanded.is-open .modal-orange-expanded-inner {
  padding: 0 14px 14px;
}

.modal-orange-expanded p {
  margin: 0;
}

.modal-confirm-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #afafaf;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: not-allowed;
  transition:
    background 0.2s,
    color 0.2s;
}

.modal-confirm-btn.active {
  background: #00a254;
  color: #fff;
  cursor: pointer;
}

.modal-confirm-btn.active:hover {
  background: #018943;
}

.modal-confirm-btn--orange.active {
  background: #ff9800;
  color: #1a1a1a;
}

.modal-confirm-btn--orange.active:hover {
  background: #e08600;
}

.modal-link {
  display: block;
  color: #00a254;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
}

.modal-link:hover {
  text-decoration: underline;
}

.modal-checkbox-wrapper.shake {
  animation: shake 0.3s ease-in-out;
}

/* Orange modal checkbox accent */
#modal-orange .checkbox-wrapper input + label {
  border-color: #ff9800;
}

#modal-orange .checkbox-wrapper input + label svg path,
#modal-orange .checkbox-wrapper input:checked + label svg path {
  stroke: #ff9800;
}

/* =====================
   PIN Step Confirmation Box (Plus / Orange)
   ===================== */
.pin-confirmation-box {
  max-width: 320px;
  margin: 12px auto 0;
  background: #f0f4f8;
  border-radius: 10px;
  padding: 14px;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #444;
  text-align: left;
}

.pin-confirm-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pin-confirm-checkbox-wrapper {
  flex-shrink: 0;
  --size: 22px;
  cursor: pointer;
}

.pin-confirm-text {
  margin: 0;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.pin-confirm-text a {
  color: #00a254;
  text-decoration: none;
}

#pin-confirmation-orange .checkbox-wrapper input + label {
  border-color: #ff9800;
}

#pin-confirmation-orange .checkbox-wrapper input + label svg path,
#pin-confirmation-orange .checkbox-wrapper input:checked + label svg path {
  stroke: #ff9800;
}

#pin-confirmation-orange .pin-confirm-text a {
  color: #ff9800;
}

.play-ui .hide-on-play,
.play-ui .stepper {
  display: none !important;
}

.show-on-play {
  display: none;
}

.play-ui .show-on-play {
  display: inline;
}

.play-ui .footer-logo-play {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 18px;
  background: #212233;
  border-radius: 12px;
}

.footer-logo-play img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

/* Submit in progress (also covers the click Evina holds back) */
.action-btn.loading {
  animation: none;
  cursor: progress;
}

.action-btn.loading .btn-icon-wrapper {
  position: relative;
}

.action-btn.loading .btn-icon {
  visibility: hidden;
}

.action-btn.loading .btn-icon-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* =====================
   Forward TV (pl-od-01)
   ===================== */
/* Hero image sits above the CTA section (same as pl-hyb-gcd-02), so no extra top margin. */
.cta-section {
  margin-top: 0;
}

/* OD: .cta-fold min-height (first 3 disclaimer lines above the fold) is set by
   scripts/disclaimer-fold.js from the real window height. */

.cta-step-label {
  font-size: 22px;
  line-height: 28px;
  text-transform: none;
}

.ftv-disclaimer a {
  color: #00a254;
  text-decoration: underline;
}

.legal-highlight {
  color: #00a254;
}

#em-verify-pin .btn-text {
  font-size: 18px;
}

.ftv-disclaimer {
  max-width: 348px;
  margin: 16px auto 0;
  padding-bottom: 20px;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  line-height: 1.5;
  color: #777682;
  text-align: left;
}

.ftv-disclaimer p {
  margin-bottom: 10px;
}

.flow-status {
  max-width: 348px;
  margin: 0 auto 16px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  color: #212233;
}

.flow-status p {
  margin-bottom: 10px;
}

.flow-status-retry {
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  background: #00a254;
  color: #fff;
  font: 700 14px Montserrat, sans-serif;
  cursor: pointer;
}

.ftv-footer {
  margin-top: 40px;
  padding: 20px 10px 30px;
  background: #f2f5fa;
}

.ftv-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

/* The PIN step keeps the service description visible (mandatory field). */
@media screen and (max-width: 768px) {
  .body--pin-step .cta-headline {
    display: block;
  }

  .cta-section {
    margin-top: 0;
  }
}
