* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    overflow: hidden;
}


body {
    background-image: url('../img/background-login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    visibility: hidden;
}
body.loaded {
    visibility: visible;
}


.containerGeral {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.containerLogin {
    width: 35%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cardLogin {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    width: 85%;
    height: 65%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgLogo {
    width: 100%;
}

.imgLogo img {
    width: 85%;
    display: block;
    margin: 0 auto;
}

.containerForm {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.inputForm {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 1px solid #000000; /* preto */
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    transition: border 0.3s, box-shadow 0.3s;
}

.inputForm::placeholder {
    color: #757575;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
}

.inputForm:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(26, 43, 31, 0.5);
}

.botaoLogin {
    background: #D4DE2E;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.24);
    border: none; /* remove borda para limpar visual */
    border-radius: 12px;
    height: 48px;
    padding: 0 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}


.botaoLogin:hover {
    background: #c1cb25; /* tom mais escuro no hover */
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.35); /* sombra mais intensa */
}

.botaoLogin:active {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.24); /* volta à sombra original no clique */
}

#mensagem-erro {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.forgot-password {
    text-align: center;
}

.forgot-password a {
    color: #D4DE2E;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #b5c223; /* um tom um pouco mais escuro no hover */
    text-decoration: underline;
}

.modal-header.bg-black {
    background-color: #111111;
}
.btn-close-white {
    filter: invert(1);
}


.swal2-confirm-custom {
    color: #111 !important; /* preto */
}

.cadastro-input {
    margin: 0 auto;
    border: 2px solid #D4DE2E;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cadastro-input:focus {
    outline: none;
    border-color: #bfc92c;
    box-shadow: 0 0 5px rgba(212, 222, 46, 0.5);
}



.btn-novo {
    background-color: #D4DE2E;
    border: none;
    color: #111;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s;
}

.btn-novo:hover {
    background-color: #bfc92c;
}

.btn-cancelar {
    background-color: #6c757d; /* cinza escuro suave */
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-cancelar:hover {
    color: #fff;
    background-color: #5a6268; /* tom mais escuro ao passar o mouse */
}

/* === Mobile: até 480px === */
@media (max-width: 480px) {
    .imgLogo img {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    .containerLogin {
        width: 90%;
        height: auto;
    }

    .cardLogin {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .containerForm {
        width: 100%;
    }

    .inputForm, .botaoLogin {
        font-size: 16px;
        height: 44px;
    }
}

/* === Tablet: 481px a 768px === */
@media (min-width: 481px) and (max-width: 768px) {
    .containerLogin {
        width: 75%;
        height: auto;
    }

    .cardLogin {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .containerForm {
        width: 90%;
    }
}

/* === Notebook: 769px a 1280px === */
@media (min-width: 769px) and (max-width: 1280px) {
    .containerLogin {
        width: 50%;
        height: 55%;
    }

    .cardLogin {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .containerForm {
        width: 80%;
    }
}

/* === Desktop/monitor: acima de 1281px === */
@media (min-width: 1281px) {
    .containerLogin {
        width: 40%;
        height: 50%;
    }

    .cardLogin {
        width: 85%;
        height: 100%;
        padding: 20px;
    }

    .containerForm {
        width: 65%;
    }
}