body {
    min-height: 100vh;
    padding: 32px 16px;
    background: #f4f7fb;
}
.img-login {
    margin-left: calc(50% - 130px);
    margin-bottom: 2rem;
}
.form-signin {
    width: 380px;
    max-width: calc(100vw - 32px);
    padding: 30px 32px 32px;
    margin: 40px auto;
    background-color: #fff;
    border: 1px solid #e7ebf1;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(31, 51, 79, 0.14);
    position: relative;
}

.language-switcher-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 1px 2px;
    background: #f3f6fa;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
}

.language-switcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 21px;
    color: #64748b;
    font-size: 10px;
}

.language-option {
    min-width: 23px;
    height: 21px;
    padding: 0 3px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-option:hover,
.language-option:focus-visible {
    background: rgba(255, 255, 255, 0.75);
    color: var(--secondary-color);
    outline: none;
}

.language-option.is-active {
    background: #fff;
    color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(31, 51, 79, 0.14);
}

.login-brand {
    padding: 12px 0 24px;
    text-align: center;
}

.login-brand img {
    max-width: 100%;
    height: auto;
}

.login-title {
    margin: 0;
    color: #1f2937;
    font-size: 1.55rem;
    font-weight: 700;
    text-align: center;
}

.login-subtitle {
    margin: 6px 0 26px;
    color: #718096;
    font-size: 0.94rem;
    text-align: center;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 12px;
    border: 1px solid #dce3ec;
    border-radius: 10px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-signin .form-password {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 15;
    margin-bottom: 30px;
    border-radius: 0;
}

.form-signin .form-control:focus {
    z-index: 2;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(36, 83, 143, 0.12);
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
}

#login .btn-block, #password .btn-block  {
    margin-top: 20px;
    background-color: var(--secondary-color);
    border: 0;
    color:#ffffff;
    cursor: pointer;
    min-height: 48px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(31, 51, 79, 0.16);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

#login .btn-block:hover,
#login .btn-block:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(31, 51, 79, 0.22);
}


.btn-group-lg>.btn, .btn-lg{
    border-radius: 0;
}
.header__logo {
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .form-signin {
        margin: 16px auto;
        padding: 22px 20px 26px;
        border-radius: 14px;
    }

    .login-brand {
        padding-bottom: 20px;
    }
}
