body {
    padding: 0;
    margin: 0;
    background: url('/images/novosga-login.png') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.form-signin {
    max-width: 450px;
    height: 500px;
    padding: 50px 40px;;
    background: rgba(255, 255, 255); /* Fundo branco semi-transparente */
    border-radius: 25px; /* Bordas arredondadas */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra ao redor do formulário */
    position: fixed; /* Torna o formulário fixo */
    right: 10%; /* Distância do lado direito */
    top: 50%; /* Centraliza verticalmente */
    transform: translateY(-50%); /* Ajusta para ficar exatamente no centro vertical */
    text-align: center;
    font-family: Arial, sans-serif;
}

.form-signin h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333; /* Cor do título */
}

.form-signin p {
    margin-bottom: 20px;
    color: #555; /* Cor da descrição */
    font-size: 1em;
}

.form-signin .form-control {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-signin .form-control:focus {
    border-color: #4caf50; /* Verde no foco */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.form-signin button {
    width: 100%;
    padding: 10px;
    background: #276340; /* Verde no botão */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.form-signin button:hover {
    background: #1e4e32; /* Verde mais escuro no hover */
}

.form-signin a {
    display: block;
    margin-top: 10px;
    color: #276340; /* Verde nos links */
    text-decoration: none;
    font-size: 14px;
}

.form-signin a:hover {
    text-decoration: underline;
}

.form-signin footer {
    margin-top: 35px;
    font-size: 0.9em;
    color: #7c7878;
}

.form-group {
    margin-bottom: 20px; /* Espaço entre os campos */
    text-align: left; /* Alinha o texto à esquerda */
}

.form-group label {
    display: block; /* Coloca o label em uma linha separada */
    margin-bottom: 5px; /* Espaço entre o label e o campo */
    font-weight: bold; /* Deixa o texto em negrito */
    font-size: 14px; /* Ajuste de tamanho da fonte */
    color: #696767; /* Cor do texto */
}

.form-group .form-control {
    width: 100%; /* Faz o campo preencher toda a largura do container */
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Garante que padding não afete a largura */
}

.form-group .form-control:focus {
    border-color: #4caf50; /* Verde no foco */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.sga-label {
    position: fixed; /* Mantém o texto fixo na posição */
    bottom: 10px; /* Distância do texto em relação à parte inferior da tela */
    right: 10px; /* Distância do texto em relação à lateral direita */
    font-size: 90px; /* Tamanho do texto */
    color: #ffffff; /* Cor do texto */
    font-weight: bold; /* Deixa o texto em negrito */
    z-index: 1000; /* Garante que o texto fique acima de outros elementos */
}

/* Para tablets (largura entre 768px e 1024px)*/
@media (min-width: 768px) and (max-width: 1170px) {
    body {
        background: url('/images/logo-fundo.png') no-repeat center center fixed; /* Nova imagem de fundo para tablets */
        background-size: cover;
        justify-content: center; /* Centraliza horizontalmente */
    }
    

    .form-signin {
        position: static; /* Remove posição fixa */
        right: 0; /* Remove alinhamento direito */
        left: 0; /* adicionado */
        transform: none; /* Remove transformações */
        border-radius: 15px; 
        margin: 0 auto;
    }

    .sga-label {
        right: auto;
        left: 0;
        width: 100%;
        text-align: center;
    }

}


/* Para celulares (largura menor que 768px) */
@media (max-width: 767px) {
    body {
        background: url('/images/logo-fundo.png') no-repeat center center fixed; /* Nova imagem de fundo para celulares */
        background-size: cover;
        justify-content: center; /* Centraliza horizontalmente */
    }

    .form-signin {
        position: static; /* Remove posição fixa */
        right: 0; /* Remove alinhamento direito */
        left: 0; /* adicionado */
        transform: none; /* Remove transformações */
        border-radius: 15px; 
        margin: 0 auto;
    }


    .sga-label {
        right: auto;
        left: 0;
        width: 100%;
        text-align: center;
    }

}

