﻿* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
}

.LoginPage {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.LoginPage {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.BoxLogin {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

    .BoxLogin h1 {
        margin: 0 0 25px 0;
        text-align: center;
        font-size: 2rem;
        color: #1b4174;
    }

    .BoxLogin input[type="text"],
    .BoxLogin input[type="password"],
    .BoxLogin input[type="number"],
    .BoxLogin input[type="email"] {
        width: 100%;
        max-width: 100%;
        margin: 8px 0;
        padding: 12px 14px;
        border: 1px solid #ddd;
        border-radius: 6px;
        color: #1b4174;
        font-size: 16px;
    }

    .BoxLogin input[type="submit"],
    .BoxLogin input[type="button"],
    .BoxLogin button {
        width: 100%;
        margin-top: 12px;
        padding: 12px;
        border: 0;
        border-radius: 6px;
        cursor: pointer;
    }

.footerHome {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    box-sizing: border-box;
    font-size: 14px;
    color: #f26907;
    text-align: center;
    background-color: #2b2b2b;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.footerHome-Dados {
    flex: 1;
    text-align: center;
}

.footerHome-Img {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerHome img {
    width: 50px;
    max-width: 100%;
    height: auto;
}


.navHome-Internas {
    min-height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1b4174;
    box-sizing: border-box;
}

    .navHome-Internas p {
        margin: 0;
        padding: 0;
        text-align: center;
    }
.navHome-Internas-Img {
    max-width: 180px;
    width: 100%;
    height: auto;
}
.checkbox-container {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Garante que fiquem juntos no início */
    gap: 8px; /* Espaço correto entre o checkbox e o texto */
}

.dv_termo_login {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 700px;
    max-height: calc(100vh - 80px);
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.termo {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    cursor: pointer;
}
.aprova {
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
}
    .aprova input[type="submit"] {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 6px;
    }
.overlay-termo {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
}

@media (max-width: 600px) {

    .LoginPage {
        padding: 12px;
        align-items: flex-start;
    }

    .BoxLogin {
        max-width: 100%;
        margin-top: 20px;
        padding: 22px 16px;
    }

        .BoxLogin h1 {
            font-size: 1.6rem;
        }

    .footerHome {
        min-height: 60px;
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .footerHome-Dados {
        padding: 0 8px;
    }

    .footerHome img {
        width: 45px;
    }

    .navHome-Internas {
        min-height: 70px;
        padding: 10px;
    }

    .navHome-Internas-Img {
        max-width: 140px;
    }
    dv_termo_login {
        width: calc(100% - 24px);
        max-height: calc(100vh - 40px);
        padding: 14px;
    }

    .aprova input[type="submit"] {
        max-width: 100%;
        font-size: 1rem;
    }
}
