.ryg-widget,
.ryg-widget *,
.ryg-widget *::before,
.ryg-widget *::after {
  box-sizing: border-box;
}

.ryg-widget {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #072944;
  line-height: 1.4;
}


.ryg-widget input,
.ryg-widget button,
.ryg-widget select,
.ryg-widget textarea {
  font-family: inherit;
  box-shadow: none;
}

.ryg-widget button {
  appearance: none;
  -webkit-appearance: none;
}

.ryg-widget input {
  appearance: none;
  -webkit-appearance: none;
}

.ryg-widget .referidos-page {
  position: relative;
  min-height: 700px;
  display: block;
  padding: 35px 20px;
}


@property --angulo {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --color-1 {
  syntax: "<color>";
  initial-value: #072944;
  inherits: false;
}

@property --color-2 {
  syntax: "<color>";
  initial-value: #ff1f79;
  inherits: false;
}

@property --color-3 {
  syntax: "<color>";
  initial-value: #32c5cc;
  inherits: false;
}

.ryg-widget .referidos-card {
  position: absolute;

  top: 40%;
  right: 43px;

  transform: translateY(-50%);

  width: 100%;
  max-width: 520px;

  margin: 0;
  padding: 7px;

  border: none;
  border-radius: 19px;

  background: conic-gradient(
    from var(--angulo),

    transparent 0deg,
    transparent 130deg,

    color-mix(
      in srgb,
      var(--color-1) 15%,
      transparent
    ) 160deg,

    color-mix(
      in srgb,
      var(--color-1) 40%,
      transparent
    ) 200deg,

    var(--color-1) 260deg,
    var(--color-2) 320deg,
    var(--color-3) 350deg,

    transparent 360deg
  );

  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  animation:
    ryg-girar-borde 6s linear infinite,
    ryg-cambiar-color 20s ease-in-out infinite;
  z-index: 10;
}


.ryg-widget .referidos-card__inner {
  position: relative;
  margin: 0;
  padding: 35px 45px 28px;
  background: #ffffff;
  border-radius: 16px;
}

@keyframes ryg-girar-borde {
  to {
    --angulo: 360deg;
  }
}


@keyframes ryg-cambiar-color {

  0%,
  20% {
    --color-1: #072944;
    --color-2: #ff1f79;
    --color-3: #ff8fbf;
  }

  25%,
  45% {
    --color-1: #072944;
    --color-2: #1f8fff;
    --color-3: #32c5cc;
  }

  50%,
  70% {
    --color-1: #072944;
    --color-2: #0fbf8f;
    --color-3: #32c5cc;
  }

  75%,
  95% {
    --color-1: #072944;
    --color-2: #7b2ff7;
    --color-3: #ff1f79;
  }

  100% {
    --color-1: #072944;
    --color-2: #ff1f79;
    --color-3: #ff8fbf;
  }

}

.ryg-widget .stepper {
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 0 20px;
  padding: 0;
}

.ryg-widget .step {
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 1.5px solid #072944;
  border-radius: 50%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #072944;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.ryg-widget .step span {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.ryg-widget .step.active,
.ryg-widget .step.completed {
  background: #072944;
  color: #ffffff;
}

.ryg-widget .step-line {
  width: 55px;
  height: 2px;

  margin: 0;
  padding: 0;

  background: #b7bec4;
}

.ryg-widget .step-line.completed {
  background: #072944;
}

.ryg-widget .ryg-title,
.ryg-widget .form-step h1 {
  margin: 0 0 38px;
  padding: 0;
  text-align: center;
  color: #072944;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;

  text-transform: none;
  letter-spacing: normal;
}


.ryg-widget .section-title {
  margin: 0 0 12px;
  padding: 0;

  color: #072944;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.ryg-widget .info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 10px 14px;
  color: #14bec8;
  background: transparent;
  border: 1px solid #20c5cb;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.3;
}

.ryg-widget .info-box > span {
  margin: 0;
  padding: 0;
}

.ryg-widget .info-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0;
  padding: 0;

  border: 2px solid #18c4cc;
  border-radius: 50%;

  color: #18c4cc;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.ryg-widget .form-group {
  flex: 1;
  margin: 0 0 18px;
  padding: 0;
}

.ryg-widget .form-group label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  color: #072944;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}


.ryg-widget .form-group input {
  display: block;

  width: 100%;
  height: 44px;

  margin: 0;
  padding: 0 13px;

  border: 1px solid #24425a;
  border-radius: 8px;

  background: #ffffff;
  color: #072944;

  outline: none;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;

  box-shadow: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.ryg-widget .form-group input::placeholder {
  color: #9aa5ae;
  opacity: 1;
}


.ryg-widget .form-group input:hover {
  border-color: #24425a;
}


.ryg-widget .form-group input:focus {
  border-color: #ff2b85;

  box-shadow:
    0 0 0 1px rgba(255, 43, 133, 0.08);

  outline: none;
}


.ryg-widget .form-group input[readonly] {
  background: #fafafa;

  color: #072944;

  cursor: default;
}


.ryg-widget .form-row {
  display: flex;

  gap: 20px;

  margin: 0;
  padding: 0;
}

.ryg-widget .input-search {
  position: relative;

  width: 100%;

  margin: 0;
  padding: 0;
}


.ryg-widget .input-search input {
  padding-right: 50px;
}


.ryg-widget .input-search button {
  position: absolute;

  right: 8px;
  top: 50%;

  transform: translateY(-50%);

  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;

  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 0;

  background: transparent;
  color: #072944;

  box-shadow: none;

  cursor: pointer;

  font-size: 17px;
  line-height: 1;
}


.ryg-widget .input-search button:hover,
.ryg-widget .input-search button:focus {
  background: transparent;
  color: #072944;

  border: none;
  box-shadow: none;

  outline: none;
}

.ryg-widget .primary-button {
  display: block;

  min-width: 130px;
  height: 42px;

  margin: 30px auto 0;
  padding: 0 28px;

  background: #ffffff;
  color: #ff1f79;

  border: 1.5px solid #ff1f79;
  border-radius: 8px;

  box-shadow: none;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  text-transform: none;
  letter-spacing: normal;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}


.ryg-widget .primary-button:hover,
.ryg-widget .primary-button:focus {
  background: #ff1f79;
  color: #ffffff;

  border-color: #ff1f79;

  box-shadow: none;
  outline: none;
}

.ryg-widget .back-button {
  position: absolute;

  left: 26px;
  top: 37px;

  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;

  margin: 0;
  padding: 0;

  background: transparent;
  color: #9b9b9b;

  border: none;
  border-radius: 0;

  box-shadow: none;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;
}


.ryg-widget .back-button:hover,
.ryg-widget .back-button:focus {
  background: transparent;
  color: #072944;

  border: none;
  box-shadow: none;

  outline: none;
}


.ryg-widget .secure-text {
  margin: 18px 0 0;
  padding: 0;

  text-align: center;

  color: #ababab;

  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
}

.ryg-widget .form-step {
  display: none;

  margin: 0;
  padding: 0;
}


.ryg-widget .form-step.active {
  display: block;
}


html.is-loading,
html.is-loading body {
  overflow: hidden;

  overscroll-behavior: none;
}


.ryg-widget .loading-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: #ffffff;
  outline: none;
  touch-action: none;
  user-select: none;
  z-index: 999999;
}


.ryg-widget .loading-overlay[open] {
  display: grid;

  place-items: center;
}


.ryg-widget .loading-overlay::backdrop {
  background:
    rgba(3, 17, 30, 0.78);

  backdrop-filter: blur(5px);
}


.ryg-widget .loading-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 340px;

  margin: 0;
  padding: 0;

  text-align: center;
}


.ryg-widget .loading-overlay__spinner {
  width: 64px;
  height: 64px;

  margin: 0 0 24px;
  padding: 0;

  border:
    4px solid rgba(255, 255, 255, 0.15);

  border-top-color: #32c5cc;
  border-right-color: #ff1f79;

  border-radius: 50%;

  box-shadow:
    0 0 28px rgba(50, 197, 204, 0.15);

  animation:
    ryg-spin 0.9s linear infinite;
}


.ryg-widget .loading-overlay__content p {
  margin: 0 0 10px;
  padding: 0;

  color: #ffffff;

  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}


.ryg-widget
.loading-overlay__content
> span:last-child {
  color: #c8d5df;

  font-size: 14px;
  line-height: 1.6;
}


@keyframes ryg-spin {

  to {
    transform: rotate(360deg);
  }

}


@media (prefers-reduced-motion: reduce) {

  .ryg-widget .loading-overlay__spinner {
    animation: none;
  }

}

@media (max-width: 600px) {

  .ryg-widget .referidos-page {
    min-height: auto;

    justify-content: center;

    padding: 20px 12px;
  }


  .ryg-widget .referidos-card {
    top: 0;
    right: 0;

    width: 100%;
    max-width: 100%;

    padding: 7px;
  }


  .ryg-widget .referidos-card__inner {
    padding:
      32px
      20px
      25px;
  }

  .ryg-widget .form-row {
    flex-direction: column;

    gap: 0;
  }

  .ryg-widget .ryg-title,
  .ryg-widget .form-step h1 {
    font-size: 22px;
  }

  .ryg-widget .step-line {
    width: 45px;
  }
}