@font-face {
  font-family: "Builder Sans";
  src: url("../assets/fonts/builder-sans-300.woff2") format("woff2"),
       url("../assets/fonts/builder-sans-300.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Builder Sans";
  src: url("../assets/fonts/builder-sans-400.woff2") format("woff2"),
       url("../assets/fonts/builder-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Builder Sans";
  src: url("../assets/fonts/builder-sans-500.woff2") format("woff2"),
       url("../assets/fonts/builder-sans-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Builder Extended";
  src: url("../assets/fonts/builder-extended-400.woff2") format("woff2"),
       url("../assets/fonts/builder-extended-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Builder Extended";
  src: url("../assets/fonts/builder-extended-700.woff2") format("woff2"),
       url("../assets/fonts/builder-extended-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

:root {
  --color-surface-0: #121215;
  --color-shift-200: rgba(208, 217, 251, 0.08);
  --color-stroke-default: #494d5a;
  --color-content-default: #d5d7dd;
  --color-content-emphasis: #f7f7f8;
  --color-extended-gray-500: #bcbec8;
  --color-extended-blue-500: #70a0ff;
  --color-extended-gray-1200: #121215;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #191a1f;
  color: var(--color-content-emphasis);
  font-family: "Builder Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  overflow-y: auto;
}

#RollerContainer {
  margin-left: 0;
  background: #212326;
  min-height: 100vh;
}

#RollerContainer.rollercoaster-background {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

#RollerContainer.fixed-background {
  background-attachment: fixed;
}

#RollerContainer.default-background {
  background-image: url("../assets/images/background.jpg");
}

#InnerRollerContainer {
  background-image: url("../assets/images/vignette.png");
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.lower-logo-container {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#signup-container {
  margin: 0 auto;
  width: 100%;
  max-width: 465px;
  position: relative;
  padding: 0 16px;
}

#signup-header-container {
  height: 80px;
  width: 100%;
  position: absolute;
  top: -90px;
}

#signup-header {
  width: 100%;
  margin: 0 auto;
  max-width: 465px;
}

.text-logo {
  background-image: url("../assets/images/logo.png");
  height: 50px;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  margin: 0 24px;
}

@media (min-width: 1199px) {
  .text-logo {
    height: 55px;
  }
}

.rbx-login-partial {
  box-shadow: 0 1px 4px 0 #121215;
  max-width: 400px;
  margin: 0 auto;
  padding: 24px 10px 10px;
  border-radius: 8px;
}

.theme-bg {
  background-color: var(--color-surface-0);
}

.signup-title {
  margin: 5px 10px 10px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Builder Extended", "Builder Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-content-emphasis);
}

.promo-title {
  text-transform: none;
  line-height: 1.35;
  font-size: 18px;
  margin-bottom: 16px;
}

.promo-title-step2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.tricolor-word {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 33%,
    #0039a6 33%,
    #0039a6 66%,
    #d52b1e 66%,
    #d52b1e 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
}

.promo-step {
  padding: 10px;
}

.promo-step-hidden {
  display: none;
}

.signup-container {
  height: auto;
  padding: 10px;
}

.form-group {
  margin-bottom: 10px;
}

.field-label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-content-emphasis);
}

.input-field {
  display: block;
  width: 100%;
  height: 38px;
  padding: 5px 12px;
  border: 1px solid var(--color-stroke-default);
  border-radius: 8px;
  background-color: var(--color-shift-200);
  color: var(--color-content-emphasis);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  appearance: none;
}

.input-field::placeholder {
  color: var(--color-content-default);
  font-weight: 300;
  opacity: 1;
}

.input-field:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
}

.input-field-old {
  height: 46px;
  font-size: 20px;
}

.signup-submit-button {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background-color: #f7f7f8;
  color: #393b3d;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.signup-submit-button:hover,
.signup-submit-button:focus {
  opacity: 0.9;
  outline: none;
}

@media (max-width: 991px) {
  .lower-logo-container {
    min-height: 100vh;
    height: auto;
    display: block;
    padding-top: 72px;
  }

  #signup-header-container {
    position: relative;
    top: 0;
    margin-bottom: 8px;
  }

  #signup-container {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .input-field-old {
    font-size: 16px;
    height: 44px;
  }

  .promo-title {
    font-size: 16px;
    line-height: 1.35;
  }
}

.rbx-error {
  margin: 0 0 10px;
  color: #ff6b6b;
  font-size: 14px;
  text-align: center;
}

.rbx-error.is-hidden {
  display: none;
}

.rbx-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.rbx-back {
  border: 0;
  background: none;
  color: var(--color-extended-blue-500);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.rbx-code-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.rbx-code-digit {
  width: 40px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-stroke-default);
  border-radius: 8px;
  background-color: var(--color-shift-200);
  color: var(--color-content-emphasis);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  outline: none;
}

.rbx-code-digit:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.signup-submit-button.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.signup-submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.rbx-success-text {
  color: var(--color-content-default);
  font-size: 15px;
  text-align: center;
  line-height: 1.45;
  margin-bottom: 4px;
}

.rbx-phone-note {
  margin: 14px 0 0;
  color: var(--color-extended-gray-500);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
  text-align: center;
}
