img, legend {
    border: 0
}


article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
    display: block
}

audio, canvas, video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

.button, .button.glow span {
    display: inline-block;
    position: relative
}

html {
    background: #000;
    color: #555;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 14px;
    line-height: 1
}

button, html, input, select, textarea {
    font-family: 'Roboto', sans-serif;
}

body {
    margin: 0
}

a {
    background: 0 0;
    color: #cf0103
}

a:active, a:hover {
    outline: 0;
    text-decoration: none
}

p.attention {
    color: #fa8564
}

abbr[title] {
    border-bottom: 1px dotted
}

dfn {
    font-style: italic
}

mark {
    background: #ff0;
    color: #000
}

code, kbd, pre, samp {
    font-family: monospace, serif;
    font-size: 1em
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019"
}

q:after, q:before {
    content: '';
    content: none
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

dl, menu, ol, ul {
    margin: 0;
    padding: 0;
    list-style: none
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 0
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    padding: 0;
    white-space: normal
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    vertical-align: baseline
}

.button, textarea {
    vertical-align: top
}

input::-webkit-input-placeholder {
    color: #BAA5DC;
    opacity: 1;
    font-size: 14px;
    line-height: 130%;
}

input::-moz-placeholder {
    color: #BAA5DC;
    opacity: 1;
    font-size: 14px;
    line-height: 130%;
}

button, input {
    line-height: normal
}

button, select {
    text-transform: none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], input[disabled] {
    cursor: default
}

input[type=checkbox], input[type=radio] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0
}

input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

.button {
    border-radius: 16px;
    color: #fefeff;
    text-decoration: none;
    padding: 17px 16px;
    border-width: 0;
}

.button.disabled {
    cursor: default;
    pointer-events: none
}

.button.green {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #7F1DFB;
    color: #fff;
    font-size: 14px;
    line-height: 130%;
    font-weight: 400;
    height: 40px;
    width: 100%;
    padding: 8px 24px;
    border-radius: 8px;
    margin: 24px 0;
    transition: all 0.3s ease;
}

.button.green:hover {
    background: #4b0d99;
    color: #fff;
}

.button.green:active {
    background: #320966;
    color: #fff;
}

.button.green.disabled, .button.green.disabled:active, .button.green.disabled:hover {
    opacity: 0.5;
    background: #301c54;
    color: #baa5dc;
    box-shadow: none;
    pointer-events: none;
}

button.button, input.button {
    outline: 0
}

@font-face {
    font-family: 'Roboto';
    src: local("Roboto"), url(/landings/_common/fonts/Raleway_W.woff) format("woff"), url(../../_common/fonts/Raleway_W.ttf) format("truetype")
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.container {
    display: flex;
    background: #EFF0F6;
    min-width: 320px;
}

.popup_authorization {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    padding: 24px 16px;
    background: #1B0D34;
}

.popup_authorization h1 {
    color: #FFF;
    font-size: 17.5px;
    font-weight: 600;
    line-height: 130%;
    text-align: start;
    margin: 0 0 24px;
    text-shadow: none
}

.popup_wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    background: #1B0D34;
}

.social__link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    background: #3B507A;
    border-radius: 8px;
    padding: 8px;
    text-decoration: none;
}

.social__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    color: #EAE1F9;
}

.social__img {
    display: block;
    width: 24px;
    height: 24px;
}

.label__text {
    display: block;
    color: #BAA5DC;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 8px;
}

.label__text:first-child {
    margin-bottom: 4px;
}
.label__text:nth-child(2) {
    margin-bottom: 4px;
}

.form_wrapper {
   width: 100%;
}

.hide {
    display: none
}

input.button {
    width: 100%
}

input.button.disabled {
    cursor: default;
    pointer-events: none;
    opacity: .5
}

span.input_comment {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 13px;
    margin: -5px auto 16px
}

.input_error span, label {
    display: inline-block;
    font-weight: 700
}

input.error {
    border-color: #ff1616;
    color: #ff1616;
}

.input_error {
    margin-top: 10px;
}

.input_error span {
    font-size: 11.2px;
    line-height: 130%;
    color: #ff1616;
}

.auth_block {
    width: 100%;
}

.auth_block:first-child {
    margin-bottom: 16px;
}
.auth_block:nth-child(2) {
    margin-bottom: 24px;
}

.login__modal-input > label {
    width: 100%;
    display: flex;
}

@media screen and (min-width: 768px) {
    .container {
        background: url(/landings/login_layer_page_spw/img/background/background.webp) no-repeat;
        background-position-x: center;
        background-size: cover;
        min-height: 100%
    }

    .popup_wrapper {
        align-items: center;
        justify-content: center;
        background: none;
    }

    .popup_authorization {
        padding: 24px;
        max-width: 376px;
        border-radius: 16px;
    }
}

.login__modal-input {
    display: block;
    position: relative;
    width: 100%;
}

.login__modal-input > input {
    opacity: 1;
}

.input {
  border-radius: 8px;
  appearance: none;
  box-shadow: none;
  color: #FFF;
  font-weight: 400;
  background-color: #301C54;
  border: 1px solid #7F64AF;
  font-size: 14px;
  line-height: 130%;
  padding: 8px 8px 8px 12px;
  width: 100%;
  height: 22px;
  outline: none;
}

.input__icon {
    filter: brightness(0) invert(1);
}

.input + .input__text {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #FFF;
  opacity: 0.6;
  transition: all 0.2s;
  width: 90%;
}

.input:disabled {
  background: #EEEFFA;
  border-color: #DBDCEE;
  cursor: not-allowed;
}

.input__btn {
    position: absolute;
    width: 24px;
    height: 100%;
    top: 65%;
    transform: translateY(-45%);
    right: 9px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    mask-repeat: no-repeat;
    mask-position: 50% 50%;
    cursor: pointer;
    background-color: transparent;
    outline: none;
    box-sizing: content-box;
    border: none;
}

.input__text {
    font-size: 18px;
    line-height: 144%;
    font-weight: 700;
}
