* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.bodylogin {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-size: contain; /* Mantém a imagem dentro do contêiner */
}

    .bodylogin::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('images/LogoFacilityHD-2.png') no-repeat center center;
        background-size: contain; /* Mantém a imagem dentro do contêiner */
        opacity: 0.5; /* Ajuste a opacidade conforme necessário */
        z-index: -1; /* Coloca a imagem atrás do conteúdo */
    }


.headerlogin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    box-sizing: border-box;
}

.logologin {
    height: 70px; /* Ajuste a altura conforme necessário */
    width: auto; /* Mantém a proporção da imagem */
    user-select: none;
}

.navigationlogin {
    position: relative;
    font-size: 1.1em;
    text-decoration: none;
    font-weight: 500;
}

    .navigationlogin a {
        position: relative;
        font-size: 1.1em;
        color: black;
        text-decoration: none;
        margin-left: 50px; /* Espaçamento entre os itens */
    }

        .navigationlogin a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 100%;
            height: 3px;
            background: black;
            border-radius: 5px;
            transform-origin: right;
            transform: scaleX(0);
            transition: transform .5s;
        }

        .navigationlogin a:hover::after {
            transform-origin: left;
            transform: scaleX(1);
        }

    .navigationlogin .btnLogin-popup {
        width: 130px;
        height: 50px;
        background: transparent;
        border: 2px solid black;
        outline: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1.1em;
        color: black;
        font-weight: 500;
        margin-left: 60px;
    }

        .navigationlogin .btnLogin-popup:hover {
            background: darkblue;
            border: 2px solid darkblue;
            color: white;
        }

.wrapperlogin {
    position: relative;
    width: 400px;
    height: 480px;
    background: transparent;
    border: 2px solid rgba(255,255,255, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .5s ease, height .2s ease;
}

    .wrapperlogin .boxlogin {
        width: 100%;
        padding: 40px;
    }

.boxlogin h2 {
    font-size: 2em;
    color: black;
    text-align: center;
}

.boxlogin h3 {
    font-size: 1.6em;
    color: black;
    text-align: center;
    margin-bottom: 60px;
}

.inputlogin {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid black;
    margin: 30px 0;
}

    .inputlogin label {
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        font-size: 1em;
        color: black;
        font-weight: 500;
        pointer-events: none;
        transition: 0.5s;
    }

    .inputlogin input:-webkit-autofill ~ label,
    .inputlogin input:not(:placeholder-shown) ~ label,
    .inputlogin input:focus ~ label,
    .inputlogin input:valid ~ label {
        top: -5px;
    }

    .inputlogin input {
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
        outline: none;
        font-size: 1em;
        color: black;
        font-weight: 600;
        padding: 0 35px 0 5px;
    }

.iconlogin {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: black;
    line-height: 57px;
}

/* Classe do Lembrar-me*/
.remember-forgot {
    font-size: .9em;
    color: black;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

    .remember-forgot label input {
        accent-color: black;
        margin-right: 3px;
    }

    .remember-forgot a {
        color: black;
        text-decoration: none;
    }

        .remember-forgot a:hover {
            text-decoration: underline;
        }

/* Botão das telas de Login */
.btnlogin {
    width: 100%;
    height: 45px;
    background: blue;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: white;
    font-weight: 500;
}

    .btnlogin:hover {
        background-color: darkblue;
    }

    .btnlogin:active {
        transform: scale(0.97); /* Reduz ligeiramente o tamanho do botão */
        background-color: #004494; /* Cor um pouco mais escura ao clicar */
    }

    .btnlogin:focus {
        outline: none;
    }


/* Classe do "Clique aqui" */
.login-cert {
    font-size: .9em;
    color: black;
    text-align: center;
    font-weight: 500;
    margin: 20px 0 10px;
}

    .login-cert p {
        color: black;
        text-decoration: none;
        font-weight: 600;
        margin-bottom: 10px; /* Adiciona o espaçamento entre os links */
    }

    .login-cert a {
        color: blue;
        text-decoration: none;
        font-weight: 600;
    }

    .login-cert p a:hover {
        color: blue;
        text-decoration: underline;
    }

/* Mensagem acizentada*/
.msg-login {
    text-align: center;
    color: dimgray;
    margin-bottom: 25px;
    margin-top: 15px;
}

/* Efeito de animação da logo no login*/
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.logo-login {
    max-width: 300px; /* Define a largura máxima */
    max-height: 300px; /* Define a altura máxima */
    width: auto; /* Mantém a proporção da imagem */
    height: auto; /* Mantém a proporção da imagem */
}

.droph2 {
    margin-bottom: 35px;
}

/* Estilo para o grupo de formulario */
.form-groupdrop {
    margin-bottom: 20px;
}

/* Estilo para o rótulo do campo */
.control-labeldrop {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* Estilo para o container do input */
.input-groupdrop {
    position: relative;
    width: 100%;
}

/* Estilo para o Dropdown */
.form-controldrop {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    position: relative;
}

    /* Estilo para o Dropdown ao focar */
    .form-controldrop:focus {
        border-color: #007bff;
        outline: none;
    }


@keyframes showError {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.text-danger {
    color: red !important;
    margin-top: 5px !important; /* Força a aplicação da margem */
    display: block; /* Garante que a margem funcione */
}