@font-face {
    font-family: "HelveticaNeue";
    src: url("../fonts/HelveticaNeueCyr-Roman.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HelveticaNeue";
    src: url("../fonts/HelveticaNeueCyr-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    box-sizing: border-box;
    min-width: 320px;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: inherit; }

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: #2c445b;
    background: #ebf4fc;
    font: 400 14px/1.42 "HelveticaNeue", Arial, "Helvetica Neue", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
a { color: #419ce6; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
form { margin: 0; }

#wrapper, .wrapper-inner, #main { min-height: 100vh; }
.wrapper-inner { display: grid; grid-template-rows: 1fr; }

.form-section {
    min-height: 100vh;
    padding: 0 0 50px;
    background: #ebf4fc;
}

.form-section .column {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-section .column-content {
    position: relative;
    z-index: 2;
    border-radius: 5px;
}

.form-section .form-content {
    width: 100%;
    max-width: 420px;
    padding: 10px 30px;
}

.form-section .logo {
    display: block;
    width: 100%;
    max-width: 380px;
    padding: 44px 80px;
}

.form-section .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
}

.form-section .logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.login-logo-fallback { color: #2c445b; font-size: 24px; font-weight: 700; }
.login-username label, .login-password label { display: block; }

input[type="text"], input[type="password"] {
    width: 100%;
    min-width: 0;
    height: 35px;
    padding: 5px 15px;
    color: #2c445b;
    background: #fff;
    border: 2px solid #f4f7f8;
    border-radius: 2px;
    outline: 0;
    transition: border-color .2s ease-in-out;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: rgba(56, 127, 213, .5);
}

.login-submit .button-primary, #lostpasswordform .button-primary {
    width: 100%;
    min-height: 55px;
    margin: 0 0 20px;
    padding: 10px 40px;
    color: #fff;
    background: linear-gradient(81.74deg, #419cf6 22.79%, #462ce4 130.45%);
    border: 1px solid transparent;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(56, 127, 213, .35);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: color .2s ease-in-out, background .2s ease-in-out;
}

.login-submit .button-primary:hover,
.login-submit .button-primary:focus-visible,
#lostpasswordform .button-primary:hover,
#lostpasswordform .button-primary:focus-visible {
    color: #419ce6;
    background: #fff;
    border-color: #419ce6;
}

#lost-your-password {
    padding: 0;
    color: #419ce6;
    background: transparent;
    border: 0;
}

#lost-your-password:hover, #lost-your-password:focus-visible {
    color: #3cbbaa;
    text-decoration: underline;
}

#lostpasswordform { padding-top: 10px; }
#lostpasswordform label { display: inline-block; margin: 10px 0; font-size: 20px; }
.dis-none { display: none; height: 0; visibility: hidden; opacity: 0; }

.woocommerce-error, .woocommerce-message {
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: 4px;
    list-style: none;
}

.woocommerce-error { color: #7a2525; background: #ffe9e9; border: 1px solid #e5a5a5; }
.woocommerce-message { color: #1f624f; background: #e8f8f2; border: 1px solid #90cfba; }

@media (min-width: 520px) {
    body { font-size: 15px; line-height: 1.25; }
    .form-section .form-content { max-width: 480px; }
}

@media (min-width: 1024px) {
    body { font-size: 18px; }

    .form-section {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        background: #d6e8f9;
    }

    .form-section .column {
        width: 50%;
        min-height: 100vh;
        padding: 80px 0;
    }

    .form-section .column-content { background: rgba(255, 255, 255, .5); }

    .form-section .column-content::before {
        position: absolute;
        z-index: -1;
        top: 60px;
        right: 100%;
        bottom: 60px;
        left: -36px;
        background: rgba(13, 47, 89, .1);
        filter: blur(20px);
        content: "";
    }

    .form-section .form-content { padding: 0 50px; }
    .form-section .logo { max-width: 420px; padding: 0 50px; }
}

@media (min-width: 1600px) {
    .form-section .column { padding: 100px 0 150px; }
    .form-section .form-content { max-width: 560px; }
    .form-section .logo { max-width: 527px; }

    input[type="text"], input[type="password"] {
        height: 70px;
        font-size: 18px;
    }

}
