﻿@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeueLTGEO-45Light.woff2") format("woff2"), url("../fonts/HelveticaNeueLTGEO-45Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeueLTGEO-55Roman.woff2") format("woff2"), url("../fonts/HelveticaNeueLTGEO-55Roman.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeueLTGEO-65Medium.woff2") format("woff2"), url("../fonts/HelveticaNeueLTGEO-65Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("../fonts/HelveticaNeueLTGEO-75Bold.woff2") format("woff2"), url("../fonts/HelveticaNeueLTGEO-75Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: "Helvetica Neue", sans-serif;
}

body {
  margin: 0;
  color: #00091c;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: linear-gradient( to left, rgba(248, 248, 249, 0), rgba(248, 248, 249, 0.5) 50%, rgba(248, 248, 249, 0) ), radial-gradient( circle at top left, rgba(137, 82, 255, 0.4), transparent 40% ), radial-gradient( circle at top right, rgba(44, 97, 242, 0.3), transparent 30% ), radial-gradient( circle at bottom right, rgba(48, 197, 130, 0.3), transparent 30% ), radial-gradient( circle at bottom left, rgba(255, 203, 71, 0.4), transparent 40% );
  background-position: center, top left, top right, bottom right, bottom left;
  background-repeat: no-repeat;
}

header {
  height: 6.75rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: stretch;
}

main {
  flex-grow: 1;
  display: flex;
  flex-shrink: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  max-width: 28rem;
  width: 100%;
  margin: 0 auto 4.5rem;
  display: flex;
  flex-direction: column;
}

/************************************************/

.ss-logo {
  width: 7.25rem;
  margin: 0 auto;
}

#lang-switch {
  align-items: flex-end;
}

#card {
  background-color: white;
  border: 1px solid #e3e4e6;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 16rem;
}

  #card > div {
    overflow: visible !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  #card .page {
    flex: 1;
    padding: 2rem;
    box-sizing: border-box;
    min-width: 100%;
  }

    #card .page form {
      display: flex;
      flex-direction: column;
    }

    #card .page .page-head {
      display: flex;
      align-items: center;
      margin-bottom: 1.5rem;
    }

      #card .page .page-head .back-btn {
        flex-grow: 0;
        min-width: 2rem;
        height: 2rem;
        margin: 0 0.5rem 0 0;
        padding: 0;
        outline: none;
        border-radius: 50%;
        background-color: transparent;
        color: inherit;
        border: 1px solid #c6c8cd;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        box-shadow: 0 0 0 0 rgba(44, 97, 242, 0.25);
      }

        #card .page .page-head .back-btn:hover {
          background-color: #f8f8f9;
        }

        #card .page .page-head .back-btn:focus {
          border-color: #2c61f2;
          box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25);
        }

      #card .page .page-head h1 {
        display: block;
        font-size: 1.25rem;
        font-weight: bold;
        line-height: 2rem;
        margin: 0;
      }

  #card.loading {
    position: relative;
  }

    #card.loading::after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      right: 0;
      background-color: rgba(255, 255, 255, 0.66);
    }

    #card.loading::before {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 1.6rem;
      height: 1.6rem;
      border-radius: 50%;
      border: 0.25rem solid #2c61f2;
      border-top-color: transparent;
      z-index: 1;
      animation-name: spin;
      animation-duration: 220ms;
      animation-iteration-count: infinite;
      animation-timing-function: ease-in;
    }

/********************************************************/

.form-group {
  display: flex;
  flex-direction: column;
}

  .form-group > * {
    margin-bottom: 1rem;
  }

.form-input {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: white;
  border: 1px solid #c6c8cd;
  height: 3rem;
  box-shadow: 0 0 0 0 rgba(44, 97, 242, 0.25);
  display: flex;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  box-sizing: border-box;
}

  .form-input span {
    position: absolute;
    top: 50%;
    font-size: 1rem;
    line-height: 1rem;
    left: 0.75rem;
    transform: translate(0, -50%);
    transition: all 0.2s ease-in-out;
    pointer-events: none;
  }

  .form-input.open span {
    top: 0.5rem;
    font-size: 0.625rem;
    line-height: 0.625rem;
    transform: translate(0, 0);
    color: #494f5d;
  }

  .form-input.focus {
    border-color: #2c61f2;
    box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25);
  }

    .form-input.focus:has(input.error) {
      border-color: #f43e50;
      box-shadow: 0 0 0 0.2rem rgba(244, 62, 80, 0.25);
    }

  .form-input + .error {
    color: #f43e50;
    margin-top: -0.75rem;
    font-size: 0.75rem;
    line-height: 1;
  }

  .form-input:has(input.error) {
    border-color: #f43e50;
  }

  .form-input input {
    margin: 0;
    padding: 0.875rem 0.75rem 0;
    border: none !important;
    display: block;
    flex-grow: 1;
    outline: none;
    font-size: 16px;
    color: #00091c;
  }

  .form-input .form-input-btn {
    margin: 0.125rem;
    padding: 0;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 0 0 rgba(44, 97, 242, 0.25);
  }

    .form-input .form-input-btn:hover {
      background-color: #f8f8f9;
    }

    .form-input .form-input-btn:focus {
      border-color: #2c61f2;
      box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25);
    }

/********************************************************/

.primary-btn {
  background-color: #2c61f2;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  height: 3rem;
  min-height: 3rem;
  font-size: 0.875rem;
  color: white;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(44, 97, 242, 0.25);
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

  .primary-btn:hover {
    background-color: #234dbf;
  }

  .primary-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25);
  }

.secondary-btn {
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0 0 1rem;
  outline: none;
  height: 3rem;
  min-height: 3rem;
  font-size: 0.875rem;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(44, 97, 242, 0.25);
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

  .secondary-btn:hover {
    border-color: #c6c8cd;
  }

  .secondary-btn:focus {
    border-color: #2c61f2;
    box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25);
  }

.submit-btn {
  margin-top: 1rem;
}

.form-link.page-link {
  color: #2c61f2;
  font-size: 0.75rem;
  text-decoration: none;
  margin: 0 0 1.75rem auto;
}

  .form-link.page-link:hover {
    color: #234dbf;
    text-decoration: underline;
  }

.or {
  margin-top: 1rem;
}

.or-head {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

  .or-head span {
    margin: 0 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
  }

  .or-head::before,
  .or-head::after {
    content: "";
    display: block;
    height: 1px;
    flex-grow: 1;
    background-color: #e3e4e6;
  }

.or-body {
  display: flex;
  flex: 1;
}

  .or-body .or-btn {
    text-decoration: none;
    color: inherit;
    flex: 1;
    margin: 0 0.5rem;
    height: 3rem;
    padding: 0 0.875rem;
    outline: none;
    border: 1px solid #eaebec;
    background-color: #f8f8f9;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 0 0 0 rgba(44, 97, 242, 0.25);
  }

    .or-body .or-btn:hover {
      background-color: white;
    }

    .or-body .or-btn:focus {
      background-color: white;
      border-color: #2c61f2;
      box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25);
    }

    .or-body .or-btn img {
      margin-right: 0.875rem;
    }

    .or-body .or-btn:first-child {
      margin-left: 0;
    }

    .or-body .or-btn:last-child {
      margin-right: 0;
    }

/**************************************/

#card + span {
  font-size: 0.875rem;
  text-align: center;
  margin: 2.25rem 0;
}

  #card + span a {
    font-weight: 700;
    color: inherit;
    text-decoration: none;
  }

    #card + span a:hover {
      text-decoration: underline;
    }

/***************************************/

.lang-select {
  border-radius: 999999999px;
  background-color: white;
  padding: 0.625rem 0.8rem 0.625rem 0.625rem;
  margin: 0;
  border: 1px solid #e3e4e6;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

  .lang-select:hover {
    background-color: #f8f8f9;
  }

  .lang-select:focus {
    border-color: #2c61f2;
    box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25);
  }

  .lang-select > img {
    border-radius: 50%;
    border: 1px solid #eaebec;
    margin-right: 0.5rem;
  }

#lang-switch {
  z-index: 1;
  position: relative;
  width: 0;
  display: flex;
  justify-content: flex-end;
}

#card .page .step form > h2 {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #494f5d;
  margin: 0;
  margin-bottom: 0.875rem;
}

  #card .page .step form > h2 strong {
    color: #00091c;
  }

#card .page .step {
  margin: -3px -2rem;
  padding: 3px 0;
}

  #card .page .step > div {
    overflow: visible !important;
    display: flex;
    align-items: center;
  }

    #card .page .step > div > form {
      flex: 1 0 100%;
      box-sizing: border-box;
      padding: 0 2rem;
    }

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 800px) {
  body {
    background: white;
  }

    body header {
      height: 10.5rem;
      padding: 0 1.25rem;
    }

      body header .ss-logo {
        margin: 0 auto 0 0;
      }

    body main {
      margin-bottom: 0;
      max-width: 100%;
      justify-content: space-between;
      overflow: hidden;
    }

  main #card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 3px 0;
    margin: -3px 0;
    overflow: visible !important;
  }

    main #card .page {
      padding: 0 1.25rem;
    }

  #card > div {
    overflow: visible !important;
    align-items: flex-start;
  }

  .access-text {
    display: none;
  }

  .step {
    overflow: hidden;
    margin: -3px -1.25rem;
    padding: 3px 1.25rem;
  }

    .step > div > form {
      margin-right: 1.25rem;
    }
}

@media (max-width: 480px) {
  .or-body {
    flex-direction: column;
  }

    .or-body .or-btn {
      margin: 0;
      margin-bottom: 1rem;
      min-height: 3rem;
    }

      .or-body .or-btn:last-child {
        margin: 0;
      }
}

#lang-dropdown {
  display: none;
  width: 9rem;
  position: absolute;
  left: 0;
  top: 0;
  flex-direction: column;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(241, 242, 243);
  box-shadow: rgba(0, 25, 63, 0.05) 0 0.4rem 0.8rem;
  border-radius: 0.5rem;
}

  #lang-dropdown a {
    text-decoration: none;
    color: #00091c;
    margin: 0;
    padding: 0.6rem 1rem;
    border: none;
    background-color: white;
    outline: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 1px solid white;
  }

    #lang-dropdown a:hover {
      background-color: #f8f8f9;
      border: 1px solid #f8f8f9;
    }

    #lang-dropdown a:focus {
      border-color: #2c61f2;
      box-shadow: 0 0 0 0.2rem rgba(44, 97, 242, 0.25) inset;
    }

    #lang-dropdown a:first-child {
      border-radius: 0.5rem 0.5rem 0 0;
    }

    #lang-dropdown a:last-child {
      border-radius: 0 0 0.5rem 0.5rem;
    }

    #lang-dropdown a img {
      width: 1.5rem;
      height: 1.5rem;
      margin-right: 1rem;
      border-radius: 50%;
      border: 1px solid #eaebec;
    }

.page-link {
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#card + span > button {
  font-weight: 700;
}

  #card + span > button:hover {
    text-decoration: underline;
  }

#card strong[data-input-value] {
  margin-left: 0.25rem;
}
