﻿@charset "UTF-8";

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    box-sizing: border-box;
    background-color: #242f4b;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.logo {
    height: 60px;
    width: 50%;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-left {
    max-width: 220px;
}

.logo-right {
    max-width: 320px;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #0f172a, #111827);
}

.button {
    cursor: pointer;
    border: 0;
    height: 56px;
    padding: 16px 24px;
    border-radius: 8px;
    background-color: #1541DC;
    transition: background-color ease-out .2s;
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.32px;
    font-family: Inter;
    border-radius: 8px;
}

@media (max-width: 834px) {
    .button {
        display: inline-block;
        vertical-align: middle;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
        padding: 0 16px;
        height: 40px;
    }
}

.button:hover {
    background-color: #1565DC;
}

.wrapper {
    max-width: 1728px;
    width: 100%;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

@media (max-width: 1380px) {
    .wrapper {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 834px) {
    .wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.form-group {
    margin-bottom: 16px;
}

.form-field,
.form-field-textarea {
    width: 100%;
    padding: 24px;
    border: 1px solid white;
    border-radius: 16px;
    background: #fff;
    outline: 0;
}

.form-group-error .form-field,
.form-group-error .form-field-textarea {
    border: 1px solid #F00;
    margin-bottom: 16px;
}

.form-field,
.form-field-textarea textarea {
    color: #404040;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

    .form-field::placeholder,
    .form-field-textarea textarea::placeholder {
        color: #BABABA;
    }

.form-field {
    outline: 0;
}

.form-field-textarea textarea {
    width: 100%;
    margin: 0;
    padding: 0 5px 0 0;
    border: 0;
    outline: 0;
    resize: none;
    background: inherit;
    scrollbar-width: thin;
    scrollbar-color: #BABABA #E4E6ED;
}

    .form-field-textarea textarea::-webkit-scrollbar {
        width: 8px;
    }

    .form-field-textarea textarea::-webkit-scrollbar-track {
        background: #E4E6ED;
        border-radius: 5px;
    }

    .form-field-textarea textarea::-webkit-scrollbar-thumb {
        background-color: #BABABA;
        border-radius: 5px;
    }

        .form-field-textarea textarea::-webkit-scrollbar-thumb:hover {
            background-color: #1565DC;
        }

.validation-message {
    padding-left: 30px;
    background: url(/img/warning-red-icon.svg) bottom left/24px 24px no-repeat;
    color: #F00;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-field-error-message {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    text-align: left;
    color: #F00;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

    .form-field-error-message svg {
        position: absolute;
        bottom: 0;
        left: 0;
    }

.request {
    display: block;
    position: static;
    overflow: visible;
    padding: 60px 20px;
    transition: top ease-out .3s;
}

.request__animate {
    top: 0;
}

.request__logo {
    width: 247px;
    height: 56px;
    display: block;
    margin: 0 auto 40px auto;
}

.request__wrapper {
    background: #000;
    padding: 80px;
    border-radius: 32px;
    position: relative;
    max-width: 1280px;
}

@media (max-width: 1380px) {
    .request__wrapper {
        max-width: calc(100vw - 100px);
    }
}

@media (max-width: 1194px) {
    .request__wrapper {
        max-width: 630px;
        padding: 40px 40px;
        width: 100%;
    }
}

@media (max-width: 834px) {
    .request__wrapper {
        max-width: 540px;
        padding: 40px 32px;
    }
}

.request__close {
    cursor: pointer;
    width: 52px;
    height: 52px;
    top: 24px;
    right: 24px;
    position: absolute;
}

@media (max-width: 834px) {
    .request__close {
        width: 40px;
        height: 40px;
    }

        .request__close svg {
            width: 100%;
        }
}

.request__close path {
    transition: ease-out .2s;
}

.request__close:hover path {
    stroke: white;
}

.request__view-init {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
}

.request__view-error, .request__view-success, .request__view-limit {
    opacity: 0;
    position: absolute;
    left: -10000px;
    transition: opacity ease-out .5s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.request-success .request__view-init,
.request-error .request__view-init,
.request-limit .request__view-init {
    display: none;
}

.request-success .request__view-success {
    position: static;
    opacity: 1;
}

.request-error .request__view-error {
    position: static;
    opacity: 1;
}

.request-limit .request__view-limit {
    position: static;
    opacity: 1;
}

.request__title {
    margin-bottom: 40px;
    color: #FFF;
    font-size: 52px;
    font-weight: 600;
    line-height: 64px;
    /* 123.077% */
    letter-spacing: -2.6px;
}

.request__description {
    margin-bottom: 40px;
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    /* 155.556% */
    letter-spacing: -0.36px;
}

.request__last-form-group {
    margin-bottom: 40px;
}

.request__loader {
    display: none;
    align-self: center;
    padding: 16px 0 16px 30px;
    background: url(/img/loading-gray-icon.svg) left 16px/24px 24px no-repeat;
    color: var(--White, #FFF);
    font-feature-settings: 'liga' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.request__back-button {
    max-width: 450px;
    width: 100%;
}

    .request__back-button span {
        padding-left: 35px;
        background: url(/img/left-arrow-icon.svg) center left/24px 24px no-repeat;
    }

.request__image {
    max-width: 550px;
    width: 55%;
    max-height: 550px;
}

@media (max-width: 1194px) {
    .request__image {
        display: none;
    }
}

.request__form {
    /*max-width: 450px;*/
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1194px) {
    .request__form {
        max-width: 550px;
        width: 100%;
    }
}

.request__form .form-field,
.request__form .form-field-textarea {
    background: #141414;
    border: 1px solid #141414;
}

    .request__form .form-field,
    .request__form .form-field-textarea textarea {
        color: #E4E6ED;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

        .request__form .form-field::placeholder,
        .request__form .form-field-textarea textarea::placeholder {
            color: #BABABA;
        }

    .request__form .form-field-textarea textarea {
        scrollbar-width: thin;
        scrollbar-color: #BABABA #000;
    }

        .request__form .form-field-textarea textarea::-webkit-scrollbar-thumb {
            background-color: #BABABA;
        }

        .request__form .form-field-textarea textarea::-webkit-scrollbar-track {
            background: #000;
        }

.request__form .validation-message {
    color: #A967FF;
    background-image: url(/img/warning-purple-icon.svg);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.request__form .form-group-error .form-field, .request__form .form-group-error .form-field-textarea {
    border: 1px solid #A967FF;
}

.request__loading-form {
    pointer-events: none;
}

    .request__loading-form .form-field,
    .request__loading-form .form-field-textarea {
        background: #404040;
        border: 1px solid #404040;
    }

        .request__loading-form .form-field,
        .request__loading-form .form-field::placeholder,
        .request__loading-form .form-field-textarea textarea,
        .request__loading-form .form-field-textarea textarea::placeholder {
            color: #BABABA;
        }

    .request__loading-form .request__submit-button {
        display: none;
    }

    .request__loading-form .request__loader {
        display: block;
    }
