.login-card {
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.login-title {
    margin: 0 0 12px;
    font-size: 1.55rem;
    font-weight: 700;
    color: #24583d;
}

.login-description {
    margin-left: auto;
    margin-right: auto;
}

.login-form {
    width: 100%;
    margin-top: 24px;
    text-align: left;
}

.login-form .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #34473d;
    margin-bottom: 7px;
}

.login-form .input-group {
    display: flex;
    flex-wrap: nowrap;
}

.login-form .input-group-text {
    min-width: 46px;
    display: flex;
    justify-content: center;
    background-color: #f4f8f5;
    border-color: #d5e2da;
    color: #31714c;
}

.login-form .form-control {
    min-width: 0;
    min-height: 46px;
    border-color: #d5e2da;
    box-shadow: none;
}

.login-form .form-control:focus {
    border-color: #398558;
    box-shadow: 0 0 0 0.2rem rgba(57, 133, 88, 0.12);
}

.login-form .form-control::placeholder {
    color: #98a49d;
}

.login-form .btn-toggle-password {
    min-width: 46px;
    background-color: #f4f8f5;
    border: 1px solid #d5e2da;
    color: #31714c;
}

.login-form .btn-toggle-password:hover {
    background-color: #e8f2eb;
    color: #24583d;
}

.login-form .form-check-input {
    cursor: pointer;
    border-color: #b8cfc0;
}

.login-form .form-check-input:checked {
    background-color: #287347;
    border-color: #287347;
}

.login-form .form-check-label {
    color: #65746a;
    font-size: 0.92rem;
    cursor: pointer;
}

.login-submit {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-register {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.92rem;
    color: #65746a;
}

.login-register a,
.login-back a {
    color: #287347;
    font-weight: 600;
    text-decoration: none;
}

.login-register a:hover,
.login-back a:hover {
    color: #174d2d;
    text-decoration: underline;
}

.login-back {
    text-align: center;
    font-size: 0.9rem;
}

.login-card .alert {
    font-size: 0.9rem;
    border-radius: 9px;
}

@media (max-width: 576px) {
    .login-card {
        max-width: 100%;
    }

    .login-title {
        font-size: 1.35rem;
    }

    .login-form {
        margin-top: 18px;
    }
}
