:root { --cor-primaria: #223567; --cor-secundaria: #C0B382; --cor-texto: #333333; --cor-fundo: #f5f5f5; } body, html { margin: 0; padding: 0; height: 100%; background-color: var(--cor-fundo); font-family: Arial, sans-serif; } /* Botão de abrir/fechar sidebar */ .btn-sidebar-toggle { font-size: 30px; position: fixed; top: 20px; left: 20px; background-color: transparent; border: none; color: var(--cor-secundaria); cursor: pointer; z-index: 1001; transition: left 0.3s ease; } /* Sidebar personalizada */ .sidebar-custom { width: 250px; height: 100vh; background-color: var(--cor-primaria); position: fixed; color: #ffffff; transition: transform 0.3s ease; transform: translateX(-100%); /* Sidebar começa oculta */ padding-top: 60px; } /* Quando a sidebar estiver visível */ .sidebar-custom.open { transform: translateX(0); } /* Quando a sidebar está aberta, o botão se move junto */ .sidebar-custom.open ~ .btn-sidebar-toggle { left: 270px; /* 250px da sidebar + 20px de margem */ } /* Estilização dos links da sidebar */ .custom-link { color: #ffffff; text-decoration: none; display: block; margin-bottom: 15px; font-size: 1.1em; } .nav-link:hover { color: var(--cor-secundaria); } /* Conteúdo principal */ .flex-grow-1 { margin-left: 0; } /* Para dispositivos menores */ @media (max-width: 768px) { .flex-grow-1 { margin-left: 0; } } .container { margin-top: 30px; text-align: center; background-color: #ffffff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); max-width: 600px; margin-left: auto; margin-right: auto; } h1 { margin-bottom: 20px; font-size: 2em; color: var(--cor-primaria); } .logo { width: 200px; margin-bottom: 20px; cursor: pointer; } .report-section { margin-top: 20px; } .report-section label { display: block; margin-bottom: 10px; font-size: 1.1em; } .report-section input { width: 100%; padding: 10px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 5px; } .report-section button { background-color: var(--cor-primaria); color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .report-section button:hover { background-color: var(--cor-secundaria); } /* Estilização do modal */ .modal { display: none; position: fixed; z-index: 1002; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); justify-content: center; align-items: center; } .modal-content { background-color: white; width: 90%; max-width: 80vw; max-height: 90vh; margin: auto; padding: 20px; position: relative; display: flex; flex-direction: column; border-radius: 10px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); overflow: auto; } /* Novo estilo para alinhar o conteúdo do modal à esquerda */ .modal-content.text-left { text-align: left; } .modal-body-services { display: flex; flex-direction: column; align-items: center; justify-content: center; } .texto-modal-services { font-size: 16px; line-height: 1.6; margin-bottom: 20px; } /* Tela de login com fundo */ .screen { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: var(--cor-fundo); } /* Caixa de login */ .login-box { background-color: #ffffff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: stretch; } .login-box h2 { color: var(--cor-primaria); margin-bottom: 20px; text-align: center; } .login-box input { padding: 12px; font-size: 16px; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 15px; } .login-box button { background-color: var(--cor-primaria); color: white; padding: 12px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; transition: background-color 0.3s ease; } .login-box button:hover { background-color: var(--cor-secundaria); } /* Mensagem de erro */ .error { color: #dc3545; font-size: 14px; margin-top: 10px; text-align: center; } .hidden { display: none !important; } /* Centraliza a Logo */ .logo { display: block; margin: 0 auto 20px auto; } .btn-close-modal { display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: bold; width: 40px; height: 40px; background-color: #dc3545; color: #fff; border: none; border-radius: 0.375rem; cursor: pointer; transition: background-color 0.3s ease; } .btn-close-modal:hover { background-color: #bb2d3b; } /* Modificação para alinhar o texto do formulário no modal de inserção à esquerda */ #inserirModal .modal-content { text-align: left; } .sidebar-custom { /* Adicione estas propriedades para que o posicionamento absoluto funcione */ position: relative; /* Certifique-se de que a altura da sidebar é fixa ou 100vh para que o 'bottom: 0' funcione */ height: 100vh; } .sidebar-bottom-logout { position: absolute; bottom: 20px; /* Ajuste este valor para dar um espaçamento da borda inferior */ left: 20px; /* Ajuste este valor para alinhar com os outros links */ width: calc(100% - 40px); /* Garante que o div ocupa a largura restante com padding */ }