/* Geral */
body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background-color: #f9f9f9;
  padding: 2rem;
  margin: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

input[type="file"] {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  color: transparent;
  background-color: #1a4e80;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.Label-Titulo {
    font-weight: bold;
}

.Label-Titulo::before {
    content: "";
    display: inline-block;
    padding-left: 60px; /* cria espaçamento visual */
}

input[type="file"]:hover {
  background-color: #163d66;
}


h3 {
  margin-top: 2rem;
  color: #1a4e80;
  border-bottom: 2px solid #1a4e80;
  padding-bottom: 0.5rem;
}

/* Tabela principal - ESTILO AZUL */
.tabela-principal table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid #2c6fb3; /* Azul mais moderno */
  border-radius: 6px;
  overflow: hidden; /* importante para aplicar o border-radius nas bordas internas */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.tabela-principal th,
.tabela-principal td {
  border: 1px solid #2c6fb3;
  padding: 30px;
  text-align: center;
  min-height: 50px;
  font-size: 18px;
  font-weight: 200;
  padding-top: 20px;
  padding-bottom: 20px;
}

.tabela-principal th {
  background-color: #2c6fb3; /* Azul mais suave */
  color: white;
  font-weight: bold;
}

.tabela-principal tr:nth-child(even) td {
  background-color: #f0f6fc; /* Azul-claro alternado */
}

.tabela-principal tr:hover td {
  background-color: #e1effb; /* Azul-claro no hover */
}

.tabela-principal tr.highlight-folga {
  background-color: #e9fce9;
  border-left: 6px solid #85d88b; /* Folga - azul bem claro */
}

.tabela-principal tr.highlight-plantao {
  background-color: #ffd6d6;
  font-weight: bold;
}

/* Tabela oculta - estilo azul refinado */
.tabela-oculta table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid #2c6fb3;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.tabela-oculta th,
.tabela-oculta td {
  border: 1px solid #2c6fb3;
  padding: 20px 10px;
  text-align: center;
  word-wrap: break-word;
  font-size: 16px;
  font-weight: 300;
}

.tabela-oculta th {
  background-color: #2c6fb3;
  color: white;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.tabela-oculta tr:nth-child(even) td {
  background-color: #f0f6fc;
}

.tabela-oculta tr:hover td {
  background-color: #e1effb;
}

.tabela-oculta tr.highlight-folga {
  background-color: #e9fce9;
  border-left: 6px solid #85d88b;
}

.tabela-oculta tr.highlight-plantao {
  background-color: #ffd6d6;
  font-weight: bold;
}


@media (max-width: 768px) {

  .container {
    padding: 1rem;
  }

  input[type="file"] {
    width: 33vw;
  }

.Label-Titulo {
    font-weight: bold;
}

.Label-Titulo::before {
    content: "";
    display: inline-block;
    padding-left: 10px; /* cria espaçamento visual */
}

  /* Tabelas roláveis horizontalmente */
  .tabela-principal table,
  .tabela-oculta table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    color: black !important;
    border-radius: 0.5rem;
  }

  /* Tabela principal - ajustes móveis */
  .tabela-principal th,
  .tabela-principal td {
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    min-width: 300px;
    border-style: solid;
  }

  /* Tabela oculta - ajustes móveis */
  .tabela-oculta th,
  .tabela-oculta td {
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    min-width: 33.1vw;
    border-style: solid;
  }

  /* Títulos */
  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}

