﻿body {
    background: url('../img/login_theme.png') no-repeat center center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    min-height: 100vh;
}

.login-container.log {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FDFEFF;
    padding: 40px 32px;
    border-radius: 20px;
    height: auto;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.10);
    z-index: 0;
}
.login-container.log::after {
    content: "";
    position: absolute;
    top: -9px;
    left: -9px;
    right: -9px;
    bottom: -9px;
    border-radius: calc(20px + 9px);
    border: 1px solid rgba(255,255,255,0.5);
    pointer-events: none;
    z-index: -1;
}

.login-logo {
    width: 56px;
    height: 56px;
    display: inline-block;
}

.login-header {
    margin-top: 24px;
    margin-bottom: 24px;
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0F172A;
}

.login-input {
    position: relative; 
    margin-bottom: 28px;
}

.login-input input {
    width: 100%;
    height: 40px;
    padding: 8px 40px 8px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
    background: #FFFFFF;
    color: #0F172A;
}

.input-pass input {
    width: 100%;
    height: 40px;
    padding: 8px 40px 8px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
    background: #FFFFFF url('../img/closed_eye.svg') no-repeat right 10px center;
    background-size: 22px;
    color: #0F172A;
}

.login-label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
}

.login-checkbox {
    margin-top: -2px;
    margin-right: 8px;
    width: 16px;
    height: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #ffffff;
    position: relative;
    cursor: pointer;
}
.login-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.login-checkbox:checked {
    background-color: #4F46E5;
    border-color: #4F46E5;
}
.login-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-button-blue {
    width: 100%;
    height: 40px;
    min-height: 40px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    transform: rotate(0deg);
    opacity: 1;
    border-radius: 0.5rem;
    padding: 7.5px 14px;
    background-color: #4F46E5;
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    vertical-align: middle;
}

.login-container,
.reset-password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.login-form,
.reset-password-form {
    width: 360px;
}

.enable-two-factor-form {
    width: 590px;
    text-align: center;
}

.qr-code-background {
    background-color: #EEF2FF;
    padding: 4px;
    display: inline-block;
}

.reset-password-message {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.error-message {
    padding-left: 4px;
    padding-top: 4px;
    color: #DC2626;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    display: none;
}

.login-input-checkbox{
    margin-bottom: -4px;
}

.login-submit{
    margin-top: 28px;
}

.login-result-message {
    display: inline-block;
    margin-top: 8px;
    color: #DC2626;
    font-family: "Inter", sans-serif;
    font-size: 14px;
}
.login-result-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: text-top;
}

.font-key {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4F46E5;
}