/* ESTILOS DA CALCULADORA REVISIONAL DPECALCWEB - v. 12 05 2025*/

/* Tipografia e Fundo */
html, body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background: linear-gradient(#ffffff, #d7e9de, #ffffff);
  height: 100%;
  font-size: 1rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background-size: cover;
  min-height: 100vh;
  align-items: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* Títulos */
h1, h4 {
  font-weight: bold;
  color: #333;
}

.TooltipDoInput .tooltip-inner {
  background-color: rgba(22, 32, 3, 0.897); /* fundo elegante */
  color: #ffffff; /* texto branco */
  max-width: 350px !important;
  font-size: 0.85rem; /* texto um pouco menor */
  padding: 5px 10px; /* espaço interno confortável */
  border-radius: 12px; /* borda arredondada */
  box-shadow: 0px 2px 6px rgba(71, 71, 71, 0.3); /* sombreamento leve */
  transition: opacity 0.5s ease; /* transição suave */
  transform: translateX(-50px) translateY(10px); /* leve deslocamento para a esquerda e para baixo */
}

  .badge-calculado {
  background-color: #0b4400;
  color: #fff;
  font-size: 0.9rem;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 12px;
  vertical-align: middle;
  font-weight: bold;
  }

.BotaoInfoInput {
  color: #336600; /* cinza elegante padrão Bootstrap, pode mudar para o que quiser */
  background: none;
  text-shadow: rgba(51, 51, 51, 0.342) 2px 2px 2px;
  font-size: 110%;
  border: none;
  padding: 0;
  margin-left: 5px;
  cursor: pointer;
}

.BotaoInfoInput:hover {
  color: #343a40; /* cor um pouco mais forte no hover, opcional */
}

/* Ajusta altura do input-group para igualar aos inputs normais */
.input-group > .form-control, 
.input-group > .input-group-text {
    height: calc(1.5em + 0.75rem + 2px); /* mesma altura dos inputs padrão do Bootstrap */
    padding: 0.375rem 0.75rem; /* mesmo padding interno */
    font-size: 1rem; /* mesmo tamanho de fonte */
    line-height: 1.5; /* mesmo line-height */
}

/* Garante que a borda do grupo seja contínua, sem quebra visual */
.input-group-text {
    border-right: 0;
}

.input-group > .form-control {
    border-left: 0;
}


/* Container */
.container {
  margin-top: 1rem;
  max-width: 80%; 
}

/* Cartões e Fieldsets */
.card {
  border-radius: 0.5rem;
  border: 2px solid #186c4c;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  
}

.card-conclusao {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Tabelas */
.table-responsive {
  margin-top: 1rem;
}
.table-bordered th {
  background-color: #ededed;
  font-weight: bold;
  vertical-align: middle;
}
.table-bordered td,
.table-bordered th {
  border: 1px solid #ccc;
}
.table-primary th {
  background-color: #e3ece6;
}

/* Botões */
.btn-success,
.btn-primary {
  font-size: 1.1rem;
  padding: 0.6rem 1.2rem;
}

/* Inputs e Selects */
input, select {
  padding: 0.65rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  background-color: #e1ece6;
  font-size: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

/* Rodapé – similar ao teste revisional */
.footer {
  padding-left: 2%;
  padding-right: 2%;
}

.logo-footer {
  width: 100%;
  max-width: 400px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1rem;
}
.footer-table-print {
  display: none;
}
.disclaimer {
  font-size: 14px;
  color: #555555;
  text-align: justify;
}

/* Ajuste para responsividade */
@media (max-width: 768px) {
  html, body {
    font-size: 0.9rem;
  }
  input, select {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  .btn-success, .btn-primary {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
  .footer {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  .disclaimer {
      font-size: 0.7rem;
      margin-top: 0rem;
      margin-left: 0rem;
      margin-right: 0rem;
      margin-bottom: 1rem;
      text-align: justify;
  }
  .logo-footer {
      width: 100%;
      max-width: 250px;
  }


}
