@font-face {
    font-family: 'inter';
    src: url('../Fonts/inter/Inter_24pt-Regular.ttf?8jj8q8') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'inter';
    src: url('../Fonts/inter/Inter_24pt-Medium.ttf?8jj8q8') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    /* main colors */
    --white: #FFF;
    --light: #FEFEFE;
    --white-gray: #F1F1F1;
    --light-gray: #E6E6E6;
    --gray: #E7E7E7;
    --dark-gray: #d4d4d4;
    --white-blue: #EAF2F6;
    --light-blue: #D4E4EB;
    --blue: #61A2D0;
    --blue-pale: #7894A3;
    --blue-highlight: #2F709E;
    --dark-blue: #56758B;
    
    /* text colors */
    --t-primary: #1E1E1E;
    --t-secondary: #444;
    --t-gray: #777;
    --black: #000;
    
    /* font sizes */
    --fs-md: 14px;
    
    /* transitions */
    --tr-base: .2s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "inter", Arial, sans-serif;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background-color: var(--light);
}

.login {
    height: 100vh;
    width: 100vw;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-bg {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
.login-bg__svg {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    max-width: 140%;
}

.login-form {
    width: 100%;
    max-width: 320px;
    margin-block-end: 40px;
}

.login-form > * + * {
    margin-block-start: 20px;
}

.login-form__logo {
    display: block;
    max-block-size: 40px;
    margin-inline: auto;
}

.login-form__group {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.login-form__icon {
    position: absolute;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    fill: var(--dark-blue);
}

.login-form__icon--pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.login-form__field {
    font-size: 1rem;
    color: var(--t-primary);
    border: 1px solid var(--light-gray);
    block-size: 40px;
    padding-inline: 40px;
    max-inline-size: 100%;
    inline-size: 100%;
    outline: none;
    transition: var(--tr-base);
}

.login-form__field::placeholder {
    color: var(--dark-blue);
}

.login-form__field:focus {
    box-shadow: inset 0 0 8px var(--light-blue);
}

.login-form__btn {
    cursor: pointer;
    font-weight: 500;
    block-size: 40px;
    font-size: 1rem;
    display: block;
    inline-size: 100%;
    min-inline-size: 112px;
    background-color: transparent;
    color: var(--dark-blue);
    border: 1px solid var(--light-gray);
    transition: var(--tr-base);
    text-decoration: none;
    text-align: center;
    line-height: 40px;
}

.login-form__btn:hover {
    background-color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
    color: var(--white);
}

.login-form__btn:disabled {
    background: rgba(219,220, 227, .8);
    cursor: not-allowed;
    color: rgb(176, 178, 184);
}

.login-form__error {
    font-size: var(--fs-md);
    color: red;
}

.login-form__error ul {
    list-style: none;
}

.version-label {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: var(--fs-md);
    color: var(--t-gray);
    padding: 5px 10px;
}