/**
 * Gestão de Informações - Sistema para a gestão de anotações e credenciais
 * PHP Version 8.0.6
 *
 * @see https://github.com/drSolutions-OpenSource/gestor-informacoes/ Projeto Gestor de Informações
 *
 * @author    Diego Mendes Rodrigues <projetos@drsolutions.com.br>
 * @copyright 2025 Diego Mendes Rodrigues
 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
 * @note      Este programa é distribuído na esperança de que seja útil - SEM
 * NENHUMA GARANTIA; nem mesmo a garantia implícita de COMERCIALIZAÇÃO ou ADEQUAÇÃO A UM 
 * DETERMINADO FIM.
 */

/*
  Configurações gerais da página
  ----------------------------------
*/
* {
  padding: 0;
  margin: 0;
}

html, body {
  height: 100%;
  margin: 0%;
  border: none;
  outline: 0;
  background-color: none;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: medium;
}

/* 
  Tabela geral da página
  -----------------------------------
*/
table {
  border-collapse: collapse;
}

.tabela_pagina {
  width: 100%;
  table-layout: fixed;
  height: 100%;
  border-collapse: collapse;
}

.tabela_topo {
  background-color: #4E95D9;
  color: #FFFFFF;
}

.tabela_topo_anotacoes {
  background-color: #3b7d23;
  color: #FFFFFF;
}

.tabela_topo_home {
  background-color: #595959;
  color: #FFFFFF;
}

.cabecalho_home {
  width: 100%;
  vertical-align: middle;
  text-align: center;
  font-weight: bolder;
  font-size: large;
  padding-top: 10px;
  padding-bottom: 10px;
}

.cabecalho_esquerda {
  width: 50%;
  vertical-align: middle;
  text-align: right;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 50px;
}

.cabecalho_direita {
  width: 50%;
  vertical-align: middle;
  text-align: left;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 50px;
}

.cabecalho_esquerda_anotacao {
  width: 15%;
  vertical-align: middle;
  text-align: left;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 20px;
  padding-left: 20px;
}

.cabecalho_centro_anotacao {
  width: 35%;
  vertical-align: middle;
  text-align: right;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 40px;
}

.cabecalho_direita_anotacao {
  width: 50%;
  vertical-align: middle;
  text-align: left;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 50px;
}

.centro_esquerda {
  width: 50%;
  vertical-align: top;
  text-align: right;
  padding-top: 25px;
  padding-right: 50px;
}

.centro_esquerda_anotacao {
  vertical-align: top;
  text-align: left;
  padding-top: 25px;
  padding-right: 40px;
  background-color: #ccded2;
  padding-left: 20px;
}

.centro_esquerda_home {
  width: 50%;
  vertical-align: top;
  text-align: right;
  padding-top: 80px;
  padding-right: 50px;
  background-color: #ccded2;
}

.centro_direita {
  width: 50%;
  height: 100%;
  vertical-align: top;
  text-align: left;
  padding-top: 25px;
  padding-left: 50px;
  background-color: #DCEAF7;
}

.centro_direita_anotacao {
  height: 100%;
  vertical-align: top;
  text-align: left;
  padding-top: 0px;
  padding-left: 40px;
  background-color: #d9f2d0;
  padding-top: 20px;
}

.centro_anotacao {
  height: 100%;
  vertical-align: top;
  text-align: left;
  padding-top: 25px;
  padding-left: 40px;
  background-color: #FFFFFF;
}

.centro_direita_home {
  width: 50%;
  height: 100%;
  vertical-align: top;
  text-align: left;
  padding-top: 80px;
  padding-left: 50px;
  background-color: #dceaf7;
}

/* 
  Tabela da página com a Listagem das Credenciais e Anotações
*/
.tabela_credenciais {
  width: 540px;
  border: 0px;
  float: right;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: medium;
  padding: 10px;
  padding-top: 0px;
}

.tabela_credenciais_cabecalho {
  font-weight: bolder;
  color: #AAAAAA;
  padding-bottom: 15px;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #AAAAAA;
}

.tabela_anotacao_cabecalho {
  font-weight: bolder;
  color: #AAAAAA;
  padding-bottom: 10px;
  border: 0px;
}

.tabela_credenciais_linha {
  padding-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #AAAAAA;
}

.tabela_anotacoes_linha {
  padding-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #AAAAAA;
}

.tabela_anotacoes_alteracao_linha {
  padding-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #AAAAAA;
  text-align: center;
}

.tabela_credenciais_linha_efeito {
  background-color: #FFFFFF;
}
.tabela_credenciais_linha_efeito:hover {
  background-color: #e8f6fb;
}

.tabela_anotacoes_linha_efeito {
  background-color: #FFFFFF;
}
.tabela_anotacoes_linha_efeito:hover {
  background-color: #e5f2e0;
}

.tabela_credenciais_coluna_categoria {
  width: 140px;
  text-align: center;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #AAAAAA;
}

.tabela_credenciais_coluna_alteracao {
  width: 90px;
  text-align: center;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #AAAAAA;
}

.tabela_credenciais_link {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: medium;
  font-weight: bold;
  color: #000;
}

.tabela_home_link {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: medium;
  font-weight: bold;
  color: #FFF;
}

.tabela_rolagem {
  overflow: scroll;
  height: 80vh;
}

.tabela_rolagem_anotacoes {
  overflow: scroll;
  height: 70vh;
}

/*
  Tabela com as Categorias das Anotação
  -----------------------------------
*/
.tabela_categorias {
  width: 100%; 
}

.coluna_categorias {
  width: 38px; 
  height: 35px; 
  vertical-align: middle;
}

.imagem_categorias {
  width: 20px; 
  padding-top: 9px;
}

/* 
  Tabela com as Informações de cada Credencial e Anotação
  -----------------------------------
*/
.tabela_informacoes {
  width: 540px;
  border: 0px;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: medium;
  padding: 10px;
  padding-top: 0px;
}

.tabela_informacoes_cabecalho {
  font-weight: bolder;
  color: #AAAAAA;
  padding-bottom: 15px;
  border-bottom: 1px;
  border-bottom-style: solid;
  border-bottom-color: #AAAAAA;
}

.tabela_informacoes_linha_titulo {
  padding-top: 10px;
  padding-bottom: 5px;
  color: #AAAAAA;
}

.tabela_informacoes_text {
  width: 540px;
  padding: 5px;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: small;
  border: 1px solid #AAAAAA;
}

.tabela_informacoes_text_usuario {
  width: 480px;
  padding: 5px;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: small;
  border: 1px solid #AAAAAA;
}

.tabela_informacoes_text_senha {
  width: 400px;
  padding: 5px;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: small;
  border: 1px solid #AAAAAA;
}

.tabela_informacoes_senha {
  width: 550px;
  padding: 5px;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: small;
  border: 1px solid #AAAAAA;
  background-color: #FFFFFF;
}

.tabela_informacoes_botoes {
  width: 30px;
  padding: 5px;
  text-align: right;
}

.tabela_anotacoes_nome {
  width: 95%;
  padding: 5px;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 10pt;
  border: 1px solid #AAAAAA;
}

textarea {
  border:1px solid #999999;
  width:97%;
  padding: 5px; 
  position:relative; 
  height: 150px;
  text-align: left;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: medium;
  border: 1px solid #AAAAAA;
}

.tabela_anotacoes_anotacao {
  border:1px solid #999999;
  width:98%;
  margin:5px 0;
  padding:1%;
}

/**
 * Modal (Pop-up) para avisos no Gestor de Informações
 */
.avisos {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 150px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.avisos_conteudo {
  background-color: #FFF;
  margin: auto;
  padding: 30px;
  border: 2px solid #000;
  width: 40%;
}

.avisos_fechar {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -10px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/**
 * DropzoneJS
 */
.dropzone {
  border: 4px solid blueviolet;
  color: rgb(206, 30, 30);
  font-weight: bold;
  margin: 2rem 0;
}
