@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gx-lime: #E6F355;
  --gx-lime-press: #D9E940;
  --gx-ink: #12141A;
  --gx-text: #1C2030;
  --gx-muted: #6B7183;
  --gx-field: #F5F6F9;
  --gx-blue: #1563FF;
}
* {
  box-sizing: border-box;
}
body {
  font-family: 'Manrope', sans-serif;
  background-color: #FFFFFF;
  color: var(--gx-text);
  margin: 0;
  min-height: 100vh;
}
.gx-screen {
  display: flex;
  min-height: 100vh;
}
.gx-visual {
  width: 34%;
  min-width: 340px;
  max-width: 520px;
  position: relative;
  overflow: hidden;
  background: #DFE8F6;
}
.gx-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gx-auth {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 64px 24px;
}
.gx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gx-brand svg {
  width: 34px;
  height: 34px;
  color: var(--gx-ink);
}
.gx-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gx-ink);
}
.gx-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}
.gx-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gx-ink);
  margin: 0;
  text-wrap: balance;
}
.gx-lead {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gx-muted);
}
.gx-form {
  margin-top: 30px;
}
.gx-foot {
  font-size: 12px;
  color: #9AA0B0;
  text-align: center;
}
.floating-group {
  position: relative;
  margin-bottom: 14px;
}
.floating-input {
  width: 100%;
  height: 56px;
  padding: 20px 16px 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--gx-text);
  background: var(--gx-field);
  border: 1.5px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.floating-input:focus {
  background: #fff;
  border-color: var(--gx-ink);
}
.floating-input:-webkit-autofill,
.floating-input:-webkit-autofill:hover,
.floating-input:-webkit-autofill:focus,
.floating-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--gx-field) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}
.floating-input:focus:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
}
.floating-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 500;
  color: var(--gx-muted);
  pointer-events: none;
  transition: all .15s ease;
}
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
  top: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
}
.password-wrapper .floating-input {
  padding-right: 52px;
}
.toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gx-muted);
  border-radius: 9px;
  z-index: 10;
}
.toggle-password:hover {
  color: var(--gx-text);
  background: #ECEDF2;
}
.btn-primary {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--gx-ink);
  background: var(--gx-lime);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
}
.btn-primary:hover:not(:disabled) {
  background: var(--gx-lime-press);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-primary:disabled {
  background: #EFF1F5;
  color: #9AA0B0;
  cursor: not-allowed;
}
.btn-primary:focus-visible {
  outline: 2.5px solid var(--gx-blue);
  outline-offset: 2px;
}
.gx-switch-line {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--gx-muted);
  font-weight: 500;
}
.gx-switch-line a {
  font-weight: 700;
  color: var(--gx-blue);
  text-decoration: none;
}
.gx-switch-line a:hover {
  text-decoration: underline;
}
.gx-terms {
  font-size: 12px;
  line-height: 1.6;
  color: #9AA0B0;
  margin-top: 18px;
  text-align: center;
  font-weight: 500;
}
.gx-terms a {
  color: var(--gx-muted);
  font-weight: 600;
  text-decoration: none;
}
.gx-terms a:hover {
  color: var(--gx-ink);
}
@media (max-width: 980px) {
  .gx-visual {
    display: none;
  }
  .gx-auth {
    padding: 24px 28px;
  }
}
