/* Login module */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.login-body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: #080808;
    background: #f7f8f8;
    font-family: var(--font-family-base);
}

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.login-container {
    width: 100%;
    max-width: 445px;
    margin: auto;
    padding: 20px;
}

.login-brand {
    margin-bottom: 30px;
    text-align: center;
}

.login-brand a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-logo {
    display: block;
    width: 180px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.login-card {
    border: 2px solid #ffd400;
    border-radius: 5px;
    background: #fff;
}

.login-card-body {
    padding: 39px 40px 56px;
}

.login-title {
    margin: 0 0 28px;
    text-align: center;
    font-size: var(--font-size-card-title);
    font-weight: 400;
    line-height: 1.25;
}

.login-alert {
    margin-bottom: 20px;
    padding: 10px 12px;
    border: 1px solid #f0b8b8;
    border-radius: 4px;
    color: #9d3030;
    background: #fff3f3;
    font-size: var(--font-size-label);
}

.login-field {
    margin-bottom: 20px;
}

.login-password-field {
    margin-bottom: 31px;
}

.login-label {
    display: block;
    margin-bottom: 10px;
    font-size: var(--font-size-control);
    font-weight: 400;
}

.login-input {
    display: block;
    width: 100%;
    height: 41px;
    padding: 8px 14px;
    border: 1px solid #dce3ec;
    border-radius: 5px;
    color: #111;
    background: #fff;
    box-shadow: 0 2px 5px rgba(20, 30, 40, .08);
    font: inherit;
    font-size: var(--font-size-control);
    outline: none;
}

.login-input:focus {
    border-color: #9db8d8;
    box-shadow: 0 0 0 2px rgba(157, 184, 216, .22);
}

.login-input::placeholder {
    color: #9aa4af;
}

.login-button {
    width: 100%;
    height: 41px;
    margin: 0 0 28px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #ed1c24;
    font: inherit;
    font-size: var(--font-size-body);
    font-weight: 600;
    cursor: pointer;
}

.login-button:hover,
.login-button:focus-visible {
    background: #cf1118;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: var(--font-size-body);
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-option input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #ed1c24;
}

.forgot-link {
    color: #6056e8;
    text-decoration: underline;
}

@media (max-width: 480px) {

    .login-card-body {
        padding: 32px 24px 40px;
    }

    .login-logo {
        width: 165px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
