* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* font-size: 14px; */
  font-size: 12.25px;
  font-family: 'Montserrat', sans-serif;
}

html, body {
  height: 100%;
}

body {
  line-height: 1.5;
  /* 1.5; */
  background-color: #F1F3F6;
  color: #34495E;
  overflow-y: scroll;
}

header, main, footer {
  padding: 2px calc((100% - 1180px) / 7) 0;
}

main {
  margin-top: 15px;
  margin-bottom: 54px;
  min-height: calc(100vh - 245px);
  overflow: auto;
}


a {
  color: #525850;
  text-decoration: none;
}

a:hover {
  color: #4738b8;
  text-decoration: underline;
}

textarea, input:not([type="submit"]) {
  font-size: 13.25px;
  color: #414a58;
  background: #FFFFFF;
  border: 1px solid #E4E5E7;
  border-radius: 3px;
  margin-right: 7px;
  padding: 5px;
}

/* Menu */
.menu-container {
  display: flex;
  align-items: center;
  background-color: #d0d2d3;
  padding-left: 3px;
  padding-right: 3px;
}

.menu-dev{
  background-color: lightcoral !important;
}

.menu-options {
  flex-grow: 1;
  height: 100%;
}

.menu-options>div {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
}

.menu-buttons {
  justify-content: flex-end;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  background-color: #eee;
  cursor: pointer;
  margin-left: 3px;
  margin-right: 3px;
}

.button:hover {
  background-color: #ddd;
}

/* fim menu */

/* Todos os links de submit */
a.button, input[type="submit"] {
  background-color: #242f8c;
  border-radius: 3px;
  color: #FFFFFF;
  padding: 8px 27px;
  display: inline-block;
  font-weight: 700;
}

a.button:hover, input[type="submit"]:hover {
  background-color: #5678d1;
  color: #FFFFFF;
  cursor: pointer;
  text-decoration: none;
}

/* Formulario */
form div {
  margin-bottom: 5px;
}

form input[type="radio"] {
  margin-left: 18px;
}

form label {
  display: inline-block;
  margin-bottom: 9px;
}

/* Formata <td> com fundo cinza e texto grande*/
td.data {
  font-weight: bold;
  font-size: 1.2em;
  background-color: #d0d2d3;
  padding: 7px;
  border-radius: 5px;
}


/*
div.error {
  color: #FFFFFF;
  background-color: #C0392B;
  padding: 18px;
  margin-bottom: 36px;
  font-weight: bold;
  text-align: center;
}
*/

div.flash {
  color: #FFFFFF;
  font-weight: bold;
  background-color: #34495E;
  padding: 18px;
  margin-bottom: 36px;
  text-align: center;
}

.error {
  color: #C0392B;
  font-weight: bold;
  display: block;
  text-align: left !important;
  margin-left: 7px;
}

/*
.error+textarea, .error+input {
  border-color: #C0392B !important;
  border-width: 2px !important;
}
*/
textarea {
  padding: 7px;
  /* width: 100%; */
  /* height: 266px; */
}

button {
  background: none;
  padding: 0;
  border: none;
  color: #62CB31;
  text-decoration: none;
}

button:hover {
  color: #4EB722;
  text-decoration: underline;
  cursor: pointer;
}

/* Login */
.login {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 33px;
}

.input-login {
  padding: 0.75em 8px;
  width: 100%;
  color: #6A6C6F;
  background: #FFFFFF;
  border: 1px solid #E4E5E7;
  border-radius: 3px;
}

.login-form {
  width: 43%;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}

.login-form div {
  padding: 7px;
}

table {
  background: white;
  border: 1px solid #E4E5E7;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 13px;
  font-size: smaller;
}

.table-clean,
.table-clean tr{
  border: none;
  border-bottom: none;
}

/* Cabeçalho do pedido: aplica no table e filhos * /
.order-header,
.order-header th,
.order-header td {
  background-color: #f6f8f8;
  margin: 3px;
  padding: 3px;
  border: none;
  box-shadow: none;
}

/* Retira o zebrado */
.order-header tr:nth-child(2n) {
  background-color: transparent !important;
}

/* table > * {
  font-size: 16px; /* Defina o tamanho da fonte desejado * /
}
*/


td, th {
  /*border-right: 2px solid white; nao pode*/
  text-align: left;
  padding: 7px 9px;
  font-size: 12px;
}

tr {
  border-bottom: 1px solid #E4E5E7;
  font-size: 0.875em;
}

.warning {
  background-color: yellow !important;
  /* Cor amarelo claro */
}

.danger {
  background-color: rgb(255, 134, 134) !important;
  /* Cor vermelho claro */
}

.alert {
  background-color: #fffb84 !important;
  /* Cor amarelo claro */
}

/* Fundo zebrado nas linhas */
tr:nth-child(2n) {
  background-color: #F7F9FA;
}

footer {
  border-top: 1px solid #E4E5E7;
  padding-top: 3px;
  padding-bottom: 2px;
  background: #F7F9FA;
  height: 33px;
  color: #6A6C6F;
  text-align: center;
  display: grid;
  grid-template-columns: auto 1fr auto;
  /* Define column widths */
}

footer div {
  box-sizing: border-box;
  padding: 5px;
}

.muted-small {
  color: gray;
  font-size: 0.8em;
}

/* Paginação */
.pagination {
  display: inline-block;
  margin-top: 7px;
  margin-bottom: 7px;
  padding: 3px;
}

.pagination p {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
}

.pagination a {
  color: black;
  float: left;
  padding: 7px 13px;
  text-decoration: none;
  transition: background-color .3s;
  font-size: 0.875em;
}

.pagination a.active {
  background-color: #265a92;
  color: white;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}


/* Titulo de cada pagina no centro */
.titulo {
  font-size: 1.4em;
  margin-bottom: 13px;
  text-align: center;
}

.icone {
  width: 19px;
  height: 19px;
  margin-right: 5px;
}

.logo {
  width: 55px;
  aspect-ratio: auto 55 / 34;
  height: 34px;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
  text-decoration: none;
}

.alert {
  margin-left: 33px;
  margin-right: 33px;
  padding: 7px;
  margin-bottom: 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.alert-success {
  background-color: #dff0d8;
  color: #4f8357;
}

.alert-info {
  background-color: #d9edf7;
  color: #3a87ad;
}

.alert-warning {
  background-color: #fcf8e3;
  color: #8a6d3b;
}

.alert-error {
  background-color: #f2dede;
  color: #a94442;
}

/* Filtragem */

.filter-button {
  background-color: #242f8c;
  border-radius: 3px;
  color: #FFFFFF;
  padding: 10px 27px;
  display: inline-block;
  font-weight: 700;
}

.filter-button:hover {
  background-color: #5678d1;
  color: #FFFFFF;
  cursor: pointer;
  text-decoration: none;
}

.filter-form {
  display: none;
  transition: height 3s ease;
  overflow: hidden;
}

.filter-form.active {
  display: block;
  height: auto;
}

.filter-form form {
  background-color: #ffffff;
  padding: 13px;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Formulario de cadastro */
.form-edit {
  background-color: #ffffff;
  padding: 13px;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.border-dialog {
  padding: 10px 133px 10px 133px;
}

.form-row {
  display: flex;
  /* Alinha os elementos espalhados */
  /* justify-content: space-between; */
}

.form-column {
  flex: 1;
  padding: 0 10px;
  display: flex;
  align-items: center;
}

.form-column-left {
  flex: 1;
  padding: 0 10px;
  display: flex;
  align-items: left;
}


.form-row button {
  margin-left: auto;
}

.form-column label {
  display: inline-block;
  margin-right: 10px;
  width: 33%;
  text-align: right;
  margin-right: 10px;
  margin-bottom: 0;
  font-weight: bold;
}

.form-column input {
  padding: 5px;
  color: #414a58;
  background: #FFFFFF;
  border: 1px solid #E4E5E7;
  border-radius: 3px;
  margin-right: 7px;
}

.form-column p {
  padding: 5px;
  color: #6A6C6F;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

/* Define six size classes using percentages */
.size-1 {
  width: 10%;
}

.size-2 {
  width: 20%;
}

.size-3 {
  width: 30%;
}

.size-4 {
  width: 40%;
}

.size-5 {
  width: 50%;
}

.size-6 {
  width: 60%;
}

/* maxio 70% */
.size-7 {
  width: 66%;
}

fieldset {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
}

legend {
  font-weight: bold;
  padding: 5px 10px;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
}

/* Accordion: Fechar parte de áreas da tela */
details {
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f8fbfc;
  margin: 8px 0;
  overflow: hidden;
  margin-bottom: 1px;
}

summary {
  cursor: pointer;
  padding: 8px 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary.title {
  display: flex;               /* ativa flexbox */
  justify-content: center;     /* centraliza o texto */
  align-items: center;         /* alinha verticalmente */
  padding: 8px;
  cursor: pointer;
  background-color: #d0d2d3;
}

summary::marker,
summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '▾';
  transition: transform .18s ease;
  margin-left: 8px;
  font-size: 14px;
}

details[open] summary::after {
  transform: rotate(180deg);
}

/* Fim Accordion */

/* Optional: Responsive adjustments  */
@media (max-width: 768px) {
  .input {
    width: 100%;
    /* Make all inputs full width on smaller screens */
  }

  table {
    width: 100%;
    /* Adjust for smaller screens */
  }
}

.custom-select {
  padding: 5px 7px;
  font-size: 12.2px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  margin-right: 3px;
  /* Máximo de 50 caracteres */
  max-width: 40ch;
}

.shadow {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

/* Linha separando formularios */

.separator {
  border: 0;
  height: 1px;
  background-color: #ccc;
  margin: 20px 5%;

}

/* fim */
