/* Static copy of the Global Bank login page: the rules are taken from gb/src/scss in their compiled order. */

.first-page .btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  font-size: 16px;
  outline: none;
  cursor: pointer;
  overflow: hidden;
}

button {
  cursor: pointer;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
}

@media screen and (min-width: 1200px) {
  .container {
    position: relative;
    overflow: hidden;
  }
}

footer .container {
  padding: 20px;
  background-color: #fff;
  text-align: center;
}

footer .copyright {
  margin-bottom: 20px;
  color: black;
  font-size: 13px;
  line-height: 15px;
}

footer a {
  color: black;
  font-size: 13px;
  line-height: 15px;
}

.first-page .container {
  background-color: transparent;
}

.first-page main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.first-page main .container {
  display: flex;
}

@media screen and (min-width: 700px) {
  .first-page main.background-coin {
    background-repeat: no-repeat;
    background-size: 800px;
    background-position: 40% 0;
    background-image: url("/img/bg-desktop-coin.webp");
  }
}

.first-page main .wrapper {
  position: relative;
  margin-top: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #F3F3F3 0%, #FFFFFF 100%), #FFFFFF;
  border: 1px solid #FFFFFF;
  box-shadow: 0 32px 54px rgba(0, 0, 0, 0.09);
  border-radius: 16px;
}

@media screen and (min-width: 700px) {
  .first-page main .wrapper {
    width: 650px;
    min-height: 320px;
    margin-top: 10px;
    margin-left: auto;
  }
}

.first-page main .logo {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: auto;
}

@media screen and (min-width: 700px) {
  .first-page main .logo {
    position: absolute;
    top: 30px;
    right: 30px;
  }
}

.first-page .form__auth {
  display: grid;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 700px) {
  .first-page .form__auth {
    grid-template-columns: 1fr 1fr;
  }
}

.first-page .form__auth .auth-block {
  display: flex;
  flex-direction: column;
  margin-right: 10%;
}

.first-page .form__auth .auth-buttons {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  white-space: nowrap;
}

.first-page .form__auth .auth-buttons button {
  justify-content: left;
}

@media screen and (min-width: 700px) {
  .first-page .form__auth .auth-buttons button {
    justify-content: center;
  }
}

@media screen and (min-width: 700px) {
  .first-page .form__auth .auth-buttons {
    margin-bottom: 10px;
    align-self: end;
  }
}

.first-page .form__auth .auth-form {
  display: flex;
  flex-direction: column;
}

.first-page .form__auth img {
  display: none;
  margin: 10px;
  width: 63px;
  height: 63px;
}

@media screen and (min-width: 700px) {
  .first-page .form__auth img {
    display: block;
  }
}

.first-page .form__auth h2 {
  font-size: 14px;
  color: #262F34;
  text-transform: uppercase;
  margin-top: 20px;
}

.first-page .form__auth label {
  margin-top: 15px;
  position: relative;
}

.first-page .form__auth input {
  width: 250px;
  padding: 10px;
  border: 1px solid #D2D6DA;
  border-radius: 3px;
  color: black;
  font-size: 13px;
  line-height: 15px;
}

.first-page .form__auth input::placeholder {
  color: #88A5B8;
}

.first-page .form__auth .eye {
  width: 1.25em;
  height: 0.75em;
  display: inline-block;
  color: black;
  position: absolute;
  right: 25px;
  top: 13px;
  cursor: pointer;
}

.first-page .form__auth .eye:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.35em;
  height: 0.35em;
  background: black;
  border: 0.1em solid #aaa;
  border-radius: 100%;
  z-index: 1;
}

.first-page .form__auth .eye:after {
  content: "";
  position: absolute;
  top: -0.15em;
  left: calc(33.333% - 0.15em);
  transform: rotate(45deg) scaleX(0);
  transform-origin: left center;
  width: 90%;
  height: 0.1em;
  background: black;
  border-top: 0.1em solid #aaa;
  z-index: 2;
}

.first-page .form__auth .eye.slash:after {
  transform: rotate(45deg) scaleX(1);
}

.first-page .form__auth .eye span {
  display: block;
  overflow: hidden;
  height: 50%;
  position: relative;
  margin-bottom: -1px;
}

.first-page .form__auth .eye span:before {
  content: "";
  background: currentColor;
  position: absolute;
  left: 0;
  right: 0;
  height: 300%;
  border-radius: 100%;
}

.first-page .form__auth .eye span:last-child:before {
  bottom: 0;
}

.first-page .btn--gold {
  width: 170px;
  margin: 15px 0 0;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  line-height: 18px;
  border-radius: 4px;
  color: white;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%), #D6A659;
  transition: 0.2s box-shadow ease-in-out, 0.2s background ease-in-out;
}

.first-page .btn--gold:hover {
  box-shadow: 0 7px 10px rgba(68, 16, 0, 0.25);
}

.first-page .btn--link {
  text-decoration: underline;
  font-size: 13px;
  line-height: 15px;
  text-transform: uppercase;
  font-weight: 600;
}

.first-page .btn--link:hover {
  text-decoration: none;
}

.first-page .btn--grey {
  color: #AFB7BF;
}

.first-page footer {
  background: transparent;
}

.first-page footer .container {
  transform: none !important;
}

.first-page.background-coin {
  background-image: url("/img/bg-mobile-coin.webp");
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (min-width: 700px) {
  .first-page.background-coin {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, #DDDDDD 58.85%, rgba(245, 245, 245, 0) 100%), #FFFFFF;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  background: linear-gradient(180deg, #FFFFFF 0%, #E3E3E3 100%);
}

body.first-page {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, #DDDDDD 58.85%, rgba(245, 245, 245, 0) 100%), #FFFFFF;
}

@media screen and (min-width: 700px) {
  body.first-page .container {
    transform: translateY(150px);
  }
}

main {
  overflow: hidden;
  display: grid;
  flex-grow: 1;
}
