@font-face {
    font-family: "VK Sans Display";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/VK-Sans-Display-Light.woff2") format("woff2");
}

@font-face {
    font-family: "VK Sans Display";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/VK-Sans-Display-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "VK Sans Display";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/VK-Sans-Display-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "VK Sans Display";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/VK-Sans-Display-DemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "VK Sans Display";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/VK-Sans-Display-Bold.woff2") format("woff2");
}

* {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: "VK Sans Display", sans-serif;
    box-sizing: border-box;
}

html, body {
    overflow: hidden;
    height: 100%;
}

body {
    background-image: conic-gradient(from -46deg at 91.26% 88%, #005EFF 0deg, #031D49 147.59999871253967deg, #1E1E1E 198.00000429153442deg, #031D49 250.19999742507935deg, #005EFF 360deg);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

a {
    color: #07F;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

a:hover {
    color: #0071F2;
    text-decoration: underline;
}

.container {
    height: 100%;
    position: relative;
}

.left-container {
    position: absolute;
    top: 0;
    left: 0;
    background: #07F;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    height: 100%;
}

.logo-container {
    margin-top: 5vh;
    margin-left: 5vw;
    display: flex;
    align-items: center;
    gap: 63px;
    max-width: 70%;
}

.logo {
    width: 7vw;
    height: auto;
    flex-shrink: 1;
}

.divider {
    flex-shrink: 0;
}

.keyboard-img {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 70vw;
    z-index: 1;
}

.bottom-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2vh;
}

.auth-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 40px 5vw 0 5vw;
    max-width: 473px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px 32px 0 32px;
    overflow: hidden;
    z-index: 2;
}

.title {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    text-align: center;
}

.description {
    font-size: 16px;
    line-height: 18px;
    margin-top: 8px;
    text-align: center;
}

.vk-id-container {
    margin-top: 24px;
    margin-bottom: 12px;
}

.error-message {
    color: #ff3985;
    margin-bottom: 20px;
}

.help {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #F6F7F8;
    padding: 32px;
    margin: 0 -32px;
}

.help-icon {
    flex-shrink: 0;
}

.help-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

.help-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin-top: 2px;
}

.help-email {
    display: flex;
    gap: 6px;
    align-items: center;
}

.copy-icon {
    cursor: pointer;
}

.copy-icon path {
    transition: fill 0.3s;
}

.copy-icon:hover path {
    fill: #848d97;
}

.footer {
    margin: 0 5vw 24px 5vw;
}

.footer p, .footer a {
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.48;
    color: #FFFFFF;
}

.success-text {
    display: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #99A2AD;
}

.year {
    flex-shrink: 0;
}

.policy {
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 1024px) {
    .auth-box {
        margin: 20px 3vw 0 3vw;
        padding: 25px 25px 0 25px;
    }

    .title {
        font-size: 22px;
    }

    .description {
        font-size: 14px;
    }

    .footer {
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }

    .policy {
        flex-direction: column;
        gap: 2px;
        flex-grow: 0;
    }
}

@media (max-width: 767px) {
    .left-container {
        background: transparent;
        width: 100%;
    }

    .keyboard-img {
        left: 14px;
        top: 12vh;
        transform: none;
        width: 125vw;
        max-width: 700px;
    }

    .logo-container {
        margin-top: 20px;
        margin-left: 20px;
        gap: 25px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .divider {
        height: 21px;
    }

    .bottom-container {
        gap: 12px;
    }

    .auth-box, .footer {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 473px;
    }

    .auth-box {
        height: auto;
        min-height: 324px;
        margin: 0;
    }

    .title {
        font-size: 20px;
        line-height: 24px;
    }

    .description {
        font-size: 14px;
        line-height: 18px;
    }

    .vk-id-container {
        margin-bottom: 24px;
    }

    .footer {
        margin-left: 0;
    }

    .footer p, .footer a {
        font-size: 14px;
        line-height: 20px;
    }

    .success-text {
        font-size: 12px;
    }
}