/* FUNDO */
body.function-login,
body.function-login .r-pretty-login-page {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    margin: 0;
    padding: 0;

    background: url("https://isys.isbl.org.br/images/bgimage.jpg")
                center / cover no-repeat fixed !important;
}

/* REMOVE A IMAGEM LATERAL PADRÃO */
body.function-login .r-sideimage,
body.function-login .r-sideimage .r-image,
body.function-login .r-sideimage img {
    display: none !important;
}

/* CENTRALIZAÇÃO */
body.function-login .r-controls {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    background: transparent !important;
}

/* CARD */
body.function-login .r-mainform {
    width: 100%;
    max-width: 420px;

    padding: 40px 30px !important;

    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);
}

/* TÍTULO E LABELS */
body.function-login [data-itemid="login_welcome"] p {
    color: #fff !important;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

body.function-login .r-edit-label,
body.function-login .r-edit-field label {
    color: #fff !important;
}

/* CAMPOS */
body.function-login input.form-control {
    min-height: 46px;
    padding: 12px !important;

    color: #fff !important;
    background: rgba(255, 255, 255, 0.25) !important;

    border: 1px solid rgba(255, 255, 255, 0.40) !important;
    border-radius: 7px !important;

    box-shadow: none !important;
}

body.function-login input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.80);
}

body.function-login input.form-control:focus {
    border-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.20) !important;
}

/* BOTÃO */
body.function-login .btn-primary {
    width: 100%;
    min-height: 46px;
    padding: 12px;

    color: #fff !important;
    background: rgba(255, 255, 255, 0.25) !important;

    border: 1px solid rgba(255, 255, 255, 0.40) !important;
    border-radius: 7px !important;

    transition: 0.2s ease !important;
}

body.function-login .btn-primary:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;

    transform: translateY(-1px);
}

/* ESQUECI A SENHA */
body.function-login .btn-link {
    padding: 0;
    color: #fff !important;
    font-size: 14px;
    opacity: 0.85;
}

body.function-login .btn-link:hover {
    opacity: 1;
}

/* MENSAGENS */
body.function-login .alert {
    color: #fff !important;
    background: rgba(180, 30, 30, 0.65) !important;

    border: none !important;
    border-radius: 7px;
}

/* LEMBRE-ME E ESQUECI A SENHA */
body.function-login .login-extra-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    margin: 10px 0 20px;
}

body.function-login [data-cellid="grid_c4"] div,
body.function-login [data-cellid="grid_c6"] span {
    margin: 0 !important;
    padding: 0 !important;
}

/* CHECKBOX */
body.function-login .r-edit-field input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    position: relative;

    width: 18px;
    height: 18px;
    margin-right: 6px;

    cursor: pointer;

    background: rgba(255, 255, 255, 0.20);
    border: 2px solid rgba(255, 255, 255, 0.80);
    border-radius: 4px;
}

body.function-login .r-edit-field input[type="checkbox"]:checked {
    background: #fff;
    border-color: #fff;
}

body.function-login .r-edit-field input[type="checkbox"]:checked::after {
    content: "";

    position: absolute;
    top: 1px;
    left: 5px;

    width: 5px;
    height: 10px;

    border: solid #222;
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}

/* CELULAR */
@media (max-width: 600px) {
    body.function-login,
    body.function-login .r-pretty-login-page {
        background-attachment: scroll !important;
    }

    body.function-login .r-controls {
        padding: 15px;
    }

    body.function-login .r-mainform {
        padding: 30px 22px !important;
    }

    body.function-login .login-extra-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}