.login-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: 50px auto;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.login-container input[type="email"],
.login-container input[type="password"],
.login-container input[type="text"] {
    /*width: calc(100% - 20px);*/
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.login-container p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 20px;
    color: #555;
    text-align: center;
}

.login-container input[name="code"] {
    text-align: center;
    font-size: 22px;
    letter-spacing: 6px;
    font-weight: 600;
}

.code-expiry-note {
    margin-top: -12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #777;
    text-align: left;
}

.remember-device {
    margin-bottom: 20px;
}

.remember-device label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
}

.remember-device input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.resend-form {
    margin-top: 14px;
    text-align: center;
}

.login-container button.resend-btn,
.btn-link {
    width: auto;
    padding: 0;
    background: none;
    border: none;
    color: #007bff;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.login-container button.resend-btn:hover,
.btn-link:hover {
    background: none;
    color: #0056b3;
}

.login-session-status {
    margin-top: 16px;
    padding: 10px;
    border-radius: 5px;
    background-color: #e6f4ea;
    color: #1e7e34;
    font-size: 14px;
    text-align: center;
}

.login-container .g-recaptcha {
    margin-bottom: 20px;
}

/* Invisible-виджет в потоке места не занимает (бейдж fixed), отступ под ним
   даёт пустую полосу над кнопкой. Атрибут в селекторе перебивает и правила
   из adaptive.css. */
.login-container .g-recaptcha[data-size="invisible"] {
    margin-bottom: 0;
}

.login-button-container {
    text-align: center;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    margin-bottom: 10px;
    text-align: left;
}

.login-btn {
    /*margin-top: 20px;*/
    margin-top: 5px;
}
