/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}




body {
    padding-top: 0px; /* evita que o conteúdo fique escondido atrás do header fixo */
}

/* Container Principal 
.container {
    width: 90%;
    max-width: 450px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}
*/

/* Container Principal */
.login-container {
    width: 90%;
    max-width: 450px;
    justify-content: center;
    align-items: flex-start;


}


/* Header/Logo - 300PX DE ALTURA E CENTRALIZAÇÃO */
.logo {
    height: 300px; 
    background-color: #fff;
    display: flex;
    justify-content: center; /* Centraliza horizontalmente (eixo X) */
    align-items: center; /* Centraliza verticalmente (eixo Y) */
    padding: 0 20px;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: block;
}

/* Container do Formulário (a parte azul) */
.form-container {
    background-color: #00AEEF; /* Cor de fundo azul */
    padding: 50px 20px 80px; /* Padding para o conteúdo */
    border-radius: 30px 30px 8px 8px;
    flex-grow: 1; /* Permite estender até a base */
    display: flex;
    flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduzido o espaço entre campos */
    margin-bottom: 20px; /* Espaço antes dos links de rodapé */
}

/* Campo de Input com Ícone */
.input-group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 75px;
    padding-left:15px;
}

.input-group .icon {
    font-size: 20px;
    color: #0A5E81; /* Cor escura para o ícone */
    padding-right: 10px;
}

#cpf, #senha {
    width: 100%;
    padding: 15px 0; /* Padding vertical no input */
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #333;
}

#cpf::placeholder, #senha::placeholder {
    color: #999;
}

/* Texto de Erro */
.error-text {
    display: block;
    color: #ffdddd;
    font-size: 12px;
    text-align: center;
    margin-top: 2px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.error-text.show {
    height: 15px;
}

/* Botão ACESSAR */
#acessarBtn {
    background-color: #0A5E81;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

/* Efeito Hover no Botão */
#acessarBtn:hover {
    background-color: #B7E1FF; /* Cor #B7E1FF quando o cursor estiver sobre ele */
    color: #0A5E81;
}

/* Links de Rodapé */
.links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.link-footer {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-footer:hover {
    color: #B7E1FF;
}

/* Responsividade para telas menores */
@media (max-width: 600px) {
    body {
        padding-top: 0;
        align-items: stretch;
    }

    .container {
        width: 100%;
        /*min-height: 100vh;*/
        border-radius: 0;
        box-shadow: none;
    }

    .logo {
        height: 200px; 
        padding: 0 15px;
    }

    .form-container {
        padding: 40px 15px 100px; /* Mais espaço na parte de baixo para celular */
        border-radius: 30px 30px 0 0;
        margin-top: auto;
    }

    #cpf, #senha, #acessarBtn {
        font-size: 15px;
    }
}