body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login {
    font-family: 'Inter', sans-serif;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    grid-template-rows: 100%;
    height: 100vh;
    overflow: hidden;
}

.main__image {
    width: 100%;
    height: 100%;
}

.form__footer {
    display: flex;
    position: absolute;
    bottom: 8px;
    width: 95%;
    justify-content: space-between;
}

.login__logo {
    position: absolute;
    top: 15px;
    left: 15px;
}

.login__wrapper {
    position: relative;
    display: flex;
    background-color: #1B1E23;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login__header {
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    font-size: 26px;
    text-align: center;
    line-height: 30px;
}


.form_subtitle {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    text-align: center;
    line-height: 18px;
    margin-bottom: 24px;
}

.login__form {
    display: flex;
    flex-direction: column;
}

.form__input {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgb(58,65,74);
    color: rgba(113,121,129,255);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 8px;
    padding: 0 12px;
    height: 48px;
    min-width: 338px;
    transition: all 0.5s;
}

.input__label {
    color: rgba(155, 163, 171, 1);
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.input__label:hover {
    color: rgba(254, 110, 54, 1);
}

.input__label_focus {
    top: 9px;
    font-size: 12px;
    transform: translateY(-3px);
    color: rgba(254, 110, 54, 1);
}


.input__label_value {
    top: 9px;
    font-size: 12px;
    transform: translateY(-3px);
}

.input__field__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}

.field__title {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    top: 100%;
    left: 25%;
    color: rgba(255, 255, 255, 1);
    z-index: 10;
    background-color: rgba(58, 65, 74, 1);
    padding: 12px;
    width: 280px;
    border-radius: 5px;
}

.field__title__header {
    color: rgba(255, 255, 255, 1);
}

.field__title__el__text_valid {
    color: rgba(86, 195, 176, 1);
}

.field__title__el__text_error {
    color: rgba(255, 73, 73, 1);
}

.input__field {
    background-color: transparent;
    border: 0;
    flex-grow: 1;
    color: rgba(255, 255, 255, 1);
    outline: 0;
}

.input__field_focus {
    margin-top: 10px;
}

.input__field_value {
    margin-top: 10px;
}

.form__error {
    color: rgba(255, 73, 73, 1);
    font-size: 12px;
    max-width: 338px;
    margin-bottom: 8px;
}

.field_error {
    color: rgba(255, 73, 73, 1);
    font-size: 12px;
}

.form__input__error {
    padding-bottom: 4px;
}

.icon__input {
    height: 24px;
    width: 24px;
    cursor: pointer;
}


.form__part__delimiter {
    margin-top: 24px;
}

.success_response {
    max-width: 446px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
}


.info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1B1E23;
    box-sizing: border-box;
    padding: 40px;
    z-index: 1;
    color: white;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px rgb(58,65,74) inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 1);
}

.form__link {
    color: rgba(111, 190, 254, 1);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.success__response__link {
    color:  rgba(254, 110, 54, 1);
}

.link__recovery {
    margin-top: 24px;
    align-self: center;
}

.form__button__main {
    width: 100%;
    height: 48px;
    font-size: 14px;
    background-color: rgba(254, 110, 54, 1);
    color: rgba(255, 255, 255, 1);
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

.popup-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.popup {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(36, 40, 46, 1);
    padding: 24px;
    border-radius: 3px;
}

body > div.popup-wrapper > div > div > p:nth-child(1) > a {
 color: rgba(254, 110, 54, 1);
}

.popup__button {
    background-color: rgba(254, 110, 54, 1);
    color: #FFFFFF;
    font-size: 14px;
    padding: 15px 24px;
    border: 0;
    border-radius: 3px;
}

@media (min-width: 320px) and (max-width: 480px)  {
    .login {
        grid-template-columns: 1fr;
    }

    .main__image {
        display: none;
    }
}
@media (min-width: 481px) and (max-width: 767px)   {
    .login {
        grid-template-columns: 1fr;
    }

    .main__image {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape)  {
    .login {
        grid-template-columns: 1fr;
    }

    .main__image {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .login {
        grid-template-columns: 1fr;
    }

    .main__image {
        display: none;
    }
}
