body {
            font-family: Arial, sans-serif;
            background-color: #f0f2f5;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh; /* Garante que o body ocupe a altura total da viewport */
            margin: 0;
            padding: 20px; /* Adiciona um padding geral para não colar nas bordas em telas pequenas */
            box-sizing: border-box; /* Inclui padding na largura total */
        }
        .login-container {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 100%; /* Ocupa toda a largura disponível */
            max-width: 400px; /* Limita a largura em telas maiores */
            box-sizing: border-box;
        }
        .login-header {
            text-align: center;
            margin-bottom: 20px;
        }
        .login-header img {
            max-width: 150px;
            height: auto;
            margin-bottom: 10px;
        }
        .login-header h2 {
            color: #009090;
            margin: 0;
            font-size: 1.5em;
        }
        .form-group-login {
            margin-bottom: 15px;
        }
        .form-group-login label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #333;
        }
        .form-group-login input[type="text"],
        .form-group-login input[type="password"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 1em;
        }
        .btn-login {
            width: 100%;
            padding: 10px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1.1em;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        .btn-login:hover {
            background-color: #0056b3;
        }
        .links-login {
            text-align: center;
            margin-top: 20px;
            display: flex;
            justify-content: space-around; /* Distribui os links uniformemente */
            flex-wrap: wrap; /* Permite que os links quebrem linha em telas pequenas */
        }
        .links-login a {
            color: #007bff;
            text-decoration: none;
            font-size: 0.9em;
            margin: 5px 10px; /* Margem para espaçar em telas pequenas */
            white-space: nowrap; /* Evita que o texto do link quebre no meio */
        }
        .links-login a:hover {
            text-decoration: underline;
        }

        /* Estilos para o modal de alteração de senha */
        .modal-senha {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6); /* Fundo semi-transparente mais escuro */
            display: none; /* Esconde por padrão, JS mostra */
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 15px; /* Padding para o modal em telas pequenas */
            box-sizing: border-box;
            overflow-y: auto; /* Permite rolagem se o conteúdo for muito grande */
        }
        .modal-senha-content {
            background-color: #fff;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 500px; /* Largura máxima do modal */
            box-sizing: border-box;
            position: relative;
        }
        .modal-senha-header {
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.4em;
            font-weight: bold;
            color: #009090;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
            position: relative; /* Para alinhar o botão fechar */
        }
        .modal-senha-header .fechar_janela {
            position: absolute;
            top: 0px; /* Ajustado para estar mais próximo do topo */
            right: 0px; /* Ajustado para estar mais próximo da direita */
            background: #dc3545; /* Vermelho para fechar */
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            cursor: pointer;
            font-weight: bold;
            font-size: 1.2em;
            display: flex;
            justify-content: center;
            align-items: center;
            line-height: 1; /* Para centralizar o 'X' */
        }
        .modal-senha-header .fechar_janela:hover {
            background: #c82333;
        }
        .modal-senha .aviso {
            background-color: #e0f2f7; /* Um tom de azul claro */
            padding: 12px;
            text-align: center;
            margin-bottom: 20px;
            border-radius: 5px;
            color: #005666; /* Cor de texto mais escura para contraste */
            font-size: 0.95em;
        }
        .modal-senha-form-group {
            margin-bottom: 18px;
            display: flex; /* Para alinhar label e input lado a lado no modal */
            align-items: center;
        }
        .modal-senha-form-group label {
            flex: 0 0 100px; /* Largura fixa para a label */
            text-align: right;
            padding-right: 15px;
            font-weight: bold;
            color: #555;
            font-size: 0.9em;
        }
        .modal-senha-form-group input {
            flex-grow: 1; /* Permite que o input preencha o restante do espaço */
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 0.95em;
        }
        .modal-senha-button-container {
            text-align: center;
            margin-top: 25px;
        }
        .modal-senha-button-container button {
            padding: 12px 25px;
            background-color: #28a745;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1em;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        .modal-senha-button-container button:hover {
            background-color: #218838;
        }

        /* Media queries para responsividade específica */
        @media (max-width: 480px) {
            .login-container {
                padding: 20px;
            }
            .links-login {
                flex-direction: column; /* Links um abaixo do outro em telas muito pequenas */
                gap: 5px;
            }
            .links-login a {
                margin: 0;
            }
            .modal-senha-content {
                padding: 15px;
            }
            .modal-senha-form-group {
                flex-direction: column; /* Labels acima dos inputs no modal em telas pequenas */
                align-items: flex-start;
            }
            .modal-senha-form-group label {
                width: 100%;
                text-align: left;
                padding-right: 0;
                margin-bottom: 5px;
            }
}