html,
body {
    height: 100%;
}

body {
    margin: 0;
}

.login-page {
    display: flex;
    min-height: 100vh;
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-page__left,
.login-page__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form__options label {
    font-size: 16px;
}

.login-page__left {
    flex: 0 0 35%;
    padding: 20px 56px 48px 28px;
    justify-content: flex-start;
    align-items: stretch;
}

.login-page__right {
    flex: 1 1 65%;
}

.login-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 25vw;
    min-width: 300px;
    width: 100%;
    margin-top: 0;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
}

.login-brand img {
    height: 60px;
}

.login-brand__title {
    margin-top: 8px;
}

.login-brand__system {
    font-size: 26px;
    font-weight: 500;
    color: #222;
}

.field-loginform-rememberme {
    margin-bottom: 0 !important;
}

.login-card {
    width: 100%;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 0 0;
}

.login-body .container-fluid {
    padding: 0;
}

.login-body .required:before {
    content: '';
}

.login-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("/images/background_login.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    z-index: -1;
}

.login-card__title {
    display: none;
}

.alert {
    margin-bottom: 16px;
}

.login-form__field {
    margin-bottom: 16px;
}

.login-form__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}

.login-body .login-form__label {
    display: none;
}

.login-form {
    margin-top: 15vh;
}

.login-form__input-wrapper input {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 16px !important;
    height: 40px !important;
    outline: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    padding-left: 36px;
    background-color: transparent;
}

.login-form__input-wrapper input:focus,
.login-form__input-wrapper input:focus-visible {
    background-color: transparent;
}

.login-body .login-form__input-wrapper input:-webkit-autofill,
.login-body .login-form__input-wrapper input:-webkit-autofill:focus {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    box-shadow: 0 0 0 1000px transparent inset;
    -webkit-text-fill-color: #111827;
    transition: background-color 9999s ease-out, color 9999s ease-out;
}

.login-body .login-form__input-wrapper input:-internal-autofill-selected {
    background-color: transparent !important;
}

.login-form__input-wrapper {
    position: relative;
}

.login-form__input-wrapper::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "FontAwesome";
    font-size: 14px;
    color: #9ca3af;
}

.login-form__input-wrapper--user::before {
    content: "\f007";
}

.login-form__input-wrapper--password::before {
    content: "\f023";
}

.login-form__input-wrapper input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25);
}

.login-form__error {
    margin-top: 4px;
    font-size: 12px;
    color: #b91c1c;
}

.login-form__options {
    margin-top: 4px;
}

.login-form__remember-label {
    font-size: 13px;
    color: #4b5563;
}


.checkbox label:hover {
    text-decoration: none !important;
}

.checkbox label:hover span {
    cursor: pointer;
    text-decoration: underline !important;
}

.login-form__remember-text {
    display: inline-block;
    margin-left: 8px;
    position: relative;
    top: -3px;
}

.login-body .login-form input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    border-radius: 3px;
    border: none;
    background-color: #f97316;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    display: inline-block;
    position: relative;
    top: 2px;
    cursor: pointer;
}

.login-body .login-form input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    width: 6px;
    height: 12px;
    border-radius: 0;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.login-body .login-form__remember-label {
    font-size: 14px;
}

.login-form__forgot-link {
    font-size: 14px;
    color: #f97316;
    position: relative;
    top: -20px;
    text-decoration: underline;
}

.login-form__forgot-link:hover {
    text-decoration: none;
    color: #ea580c;
}

.login-form__submit {
    margin-top: 4px;
}

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    background-color: #f97316;
    color: #ffffff;
    font-size: 24px;
    height: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.login-button:hover {
    background-color: #ea580c;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

.login-divider {
    margin-top: 20px;
    margin-bottom: 0;
    border: none;
    border-top: 2px solid #d1d5db;
}

@media (max-width: 992px) {
    .login-page {
        flex-direction: column;
    }

    .login-page__right {
        display: none;
    }

    .login-page__left {
        flex: none;
        width: 100%;
        padding: 24px 16px;
        justify-content: center;
        align-items: center;
    }

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

    .login-brand {
        margin-right: 0;
        margin-bottom: 24px;
        padding-left: 20px;
    }
}

