* {
  padding: 0%;
  margin-top: 0%;
  margin-left: 0%;
}

body {
  font-family: Arial, sans-serif;
  background-color: white;
  color: #e67300;
  text-align: center;
  padding: 30px;
}

.container {
  max-width: 410px;
  margin: 0 auto;
  border: 2px solid #e67300;
  border-radius: 12px;
  padding: 20px;
}

.logo {
  max-width: 150px;
  margin: 0 auto 20px auto;
  display: block;
}

h1 {
  margin-bottom: 20px;
}

input[type="text"] {
  width: 100%;
  padding: 12px 10px;
  margin: 10px 0 15px 0;
  border: 2px solid #e67300;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

button {
  width: 100%;
  background-color: #ff8000;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.5s ease;
}

button:hover {
  background-color: #e15a00;
}

#resultado {
  margin-top: 20px;
  text-align: left;
  font-size: 16px;
}

#linkAdmin {
  margin-top: 25px;
  font-size: 14px;
  display: inline-block;
  color: #e67300;
  text-decoration: none;
  cursor: pointer;
}

#linkAdmin:hover {
  text-decoration: underline;
}

.status-valido {
  color: green;
  font-weight: bold;
}

.status-fora {
  color: red;
  font-weight: bold;
}

.info-colaborador {
  margin-top: 10px;
  line-height: 1.6;
}

.data-registro {
  font-size: 0.9em;
  color: #a65600;
  margin-left: 12px;
  display: block;
}

.avisos {
  font-size: 0.9em;
  color: #cc6600;
  margin-left: 12px;
  font-weight: bold;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  border-radius: 10px;
  padding: 30px 20px 20px 20px;
  width: 320px;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1.8px solid #e67300;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
  text-align: left;
}

.modal-content button {
  margin-top: 20px;
  background-color: #e67300;
  border: none;
  padding: 12px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: #bf5c00;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-weight: bold;
  font-size: 20px;
  color: #e67300;
  cursor: pointer;
}

.error-msg {
  color: red;
  margin-top: 15px;
  font-size: 0.9em;
  font-weight: bold;
}

.upload-wrapper {
  margin-top: 12px;
  background-color: #f7d9b3;
  /* tom de laranja claro */
  padding: 10px;
  border-radius: 8px;
}

.upload-wrapper input[type="file"] {
  width: 100%;
  border: none;
  background: transparent;
  color: #333;
  font-size: 0.95em;
}

.upload-wrapper a {
  display: inline-block;
  margin-top: 5px;
  color: #e67300;
  font-size: 0.9em;
  text-decoration: underline;
}
#resultado {
  margin-top: 20px;
  text-align: left;
  font-size: 16px;
}
.status-vermelho {
  color: red;
  font-weight: bold;
}

.status-verde {
  color: green;
  font-weight: bold;
}

.status-cinza {
  color: gray;
  font-weight: bold;
}

.info-box {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 10px 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

#resultado p {
  margin: 5px 0;
  line-height: 1.5;
}

#resultado a {
  color: blue;
  text-decoration: underline;
  font-size: 0.9rem;
}

.ver-pdf-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.9em;
  color: #e67300;
  font-weight: bold;
  text-decoration: none;
}

.ver-pdf-link:hover {
  text-decoration: underline;
  color: #bf5c00;
}

/* Estiliza o input file como botão alaranjado */
input[type="file"] {
  display: block;
  /* Para ficar em linha própria (abaixo do texto) */
  margin-top: 6px;
  /* Espaço em cima para distância do texto */
  padding: 8px 8px;
  background-color: #e67300;
  /* Laranja */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 47px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  width: fit-content;
  /* Ajusta largura ao conteúdo */
}

/* Cor e estilo ao passar o mouse */
input[type="file"]:hover {
  background-color: #bf5c00;
  /* Laranja mais escuro */
}

/* Se quiser remover o padrão do input file e deixar só o botão, esconder o texto default */
input[type="file"]::-webkit-file-upload-button {
  background-color: #e67300;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
  background-color: #bf5c00;
}

/* Botão upload com cor laranja suave e translucidez */
input[type="file"] {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 5px 5px;
  background-color: rgba(230, 115, 0, 0.6);
  /* laranja com 60% opacidade */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  width: fit-content;
  transition: background-color 0.3s ease;
}

/* Hover deixa a cor um pouco mais opaca, ainda suave */
input[type="file"]:hover {
  background-color: rgba(191, 92, 0, 0.8);
  /* laranja mais escuro com 80% opacidade */
}

/* Botão upload padrão do input para navegadores WebKit */
input[type="file"]::-webkit-file-upload-button {
  background-color: rgba(255, 128, 0, 0.6);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
  background-color: rgba(191, 92, 0, 0.8);
}

.nr-certificado label {
  display: inline-block;
  margin-right: 20px;
  font-size: 0.9em;
  color: #ff7b00;
  font-weight: bold;
  cursor: pointer;

}

/* Botão customizado para anexar arquivo */
.btn-anexar {
  display: inline-block;
  margin-top: 10px;
  /* fica abaixo dos checkboxes */
  padding: 8px 16px;
  background-color: rgb(255, 123, 0);
  color: white;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  font-size: 0.9em;
}

/* Hover no botão */
.btn-anexar:hover {
  background-color: rgb(255, 123, 0);
}

/* Texto do arquivo escolhido */
#nome-arquivo {
  display: inline-block;
  margin-left: 12px;
  font-size: 0.85em;
  color: #ffffff;
  vertical-align: middle;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body {
  background-color: white;
  color: #e67300;
  font-family: Arial, sans-serif;
  padding: 30px;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-bottom: 25px;
  font-weight: bold;
}

form {
  width: 413px;
  padding: 20px;
  box-sizing: border-box;
  background: #fff9f3;
margin-bottom: 5px;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

small {
  font-weight: normal;
  color: #a65600;
  display: block;
  margin-bottom: 5px;
  font-size: 0.9em;
}

input[type="text"],
input[type="date"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1.8px solid #e67300;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  text-align: center;

}

input[type="text"]:focus,
input[type="date"]:focus {
  border-color: #bf5c00;
  outline: none;
}

#codigoColaborador {
  margin-bottom: 10px;
}

#nomeColaborador {
  margin-bottom: 10px;
}

#funcaoColaborador {
  margin-bottom: 30px;
}


.nr-group {
  border: 1.5px solid #f29100;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 18px;
  background: #fff5e6;
  box-shadow: 0 2px 5px rgba(230, 115, 0, 0.15);
}

.nr-group label {
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 5px;
  display: block;
  color: #cc7000;
}

.nr-group small {
  font-weight: normal;
  font-size: 0.9em;
  color: #a56f00;
  margin-bottom: 10px;
  display: block;
}

.nr-group input[type="date"] {
  padding: 8px;
  font-size: 1em;
  border: 1.6px solid #e67300;
  border-radius: 8px;
  width: 100%;
}

.checkboxes {
  display: flex;
  gap: 79px;
  margin-top: 10px;
}

.checkboxes label {
  font-weight: normal;
  color: #a65600;
  margin: 0;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 6px;
  user-select: none;
}

.checkboxes input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  border-radius: 4px;
  border: 1.5px solid #e67300;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.checkboxes input[type="checkbox"]:hover {
  border-color: #bf5c00;
  background-color: #fcd8b6;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.092);
}

button {
  margin-top: 25px;
  background-color: #ff8000;
  border: none;
  padding: 14px;
  color: white;
  font-weight: bold;
  font-size: 1.28em;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(230, 115, 0, 0.912);
}

button:hover {
  background-color: #bf5c00;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(191, 92, 0, 0.6);
}

#listaColaboradores {
  width: 100%;
  max-width: 1000px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(230, 115, 0, 0.1);
}

th,
td {
  padding: 10px 15px;
  border-bottom: 1px solid #f5ad47;
  text-align: center;
  vertical-align: middle;
}

th {
  background-color: #fff2e6;
  font-weight: 700;
  color: #e78600;
}

tr:hover {
  background-color: #fff7e1;
  transition: background-color 0.3s ease;
}

.acoes button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #ff8000;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  margin-right: 8px;
  font-size: 1.2em;
  line-height: 1;
  box-shadow: inset 0 0 0 0 #e67300;
  transition: box-shadow 0.3s ease;
}

.acoes button:hover {
  background-color: #bf5c00;
  color: white;
  box-shadow: inset 200px 0 0 0 #bf5c00;
}

#voltarLink {
  margin-top: 30px;
  color: #e67300;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

#voltarLink:hover {
  text-decoration: underline;
  color: #bf5c00;
}

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  button {
    width: 100%;
    font-size: 15px;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  p {
    font-size: 14px;
    text-align: justify;
  }

  input,
  select,
  textarea {
    font-size: 14px;
    padding: 10px;
  }

  button {
    width: 100%;
    padding: 14px;
    font-size: 14px;
  }
}
.status-verde {
  color: green;
  font-weight: bold;
}

.status-vermelho {
  color: red;
  font-weight: bold;
}

.status-cinza {
  color: gray;
  font-weight: bold;
}

.status-amarelo {
  color: orange;
  font-weight: bold;
}

.info-box {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: #fafafa;
}
   /* Botão PDF igual ao botão Editar */
.ver-pdf-btn {
  display: inline-block;
  background-color: #ff8000;
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1em;
  line-height: 1.2;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(230, 115, 0, 0.912);
}

.ver-pdf-btn:hover {
  background-color: #bf5c00;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(191, 92, 0, 0.6);
  color: white;
}
/* Botões de ações (Editar e Excluir) */
.acoes button {
  background-color: #ff8000; /* laranja */
  color: white;
  border: none;
  padding: 8px 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-right: 6px;
  box-shadow: 0 3px 6px rgba(230, 115, 0, 0.4);
}

.acoes button:hover {
  background-color: #bf5c00; /* laranja escuro */
  transform: scale(1.05);
  box-shadow: 0 5px 10px rgba(191, 92, 0, 0.5);
}

 