﻿body {
    background-color: #F0F2F5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    margin: 20vh 0 80px 0;
    display: flex;
    justify-content: center;
}

input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
}

section {
    width: 360px;
    font-size: 16px;
}

/* form */
.form-wrapper {
    --main-color: #019AA9;
}

.form-title {
    text-align: center;
}

.form-title > h2 {
    font-size: 24px;
}

.form-title > hr {
    border-color: rgba(0, 0, 0, 0.06);
    margin: 8px 0 22px 0;
    opacity: initial;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-input {
    height: 40px;
    border: 1px solid #D9D9D9;
    transition: border-color 0.3s ease;
}

.form-input:focus-within {
    border-color: var(--main-color);
}

.ant-input-affix-wrapper {
    height: 100%;
    border: none;
    font-size: 16px;
}

.ant-input {
    text-align: center;
}

.ant-input-prefix > .anticon {
    color: var(--main-color);
}

.error-message {
    font-size: 14px;
    color: #D32F2F;
    margin-top: 10px;
    text-align: center;
}

.form-options {
    margin: 22px 0;
    display: flex;
    justify-content: space-between;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    user-select: none;
}

.remember-me-checkbox {
    accent-color: var(--main-color);
    width: 1rem;
    height: 1rem;
}

.forgot-password a {
    color: var(--main-color);
}

.login {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-button {
    width: 115px;
    height: 40px;
    background-color: var(--main-color);
    color: white;
    border: 1px solid var(--main-color);
    border-radius: 2px;
    cursor: pointer;
}

.question {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    background-color: white;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    cursor: initial !important;
}