/* Reset básico */
/*Refatorado 2025-11-05*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
  }
  
  /* Cabeçalho */
  h1 {
    text-align: left;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5em;
  }
  
  h2 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 1.8em;
  }
  
  /* Contêineres */
  #form-container {
    max-width: 1000px;
    margin: 0 0 30px 0;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  #list-container {
    margin: 0 0 30px 0;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: fit-content;
    min-width: 100%;
    overflow-x: auto;
  }
  
  /* Formulário */
  #avaliacao-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  #avaliacao-form label {
    font-weight: 600;
    color: #34495e;
  }
  
  #avaliacao-form input, #avaliacao-form button, #avaliacao-form select {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    width: 100%;
  }
  
  #avaliacao-form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
  }
  
  #avaliacao-form select[multiple] {
    height: 100px;
  }
  
  #avaliacao-form select:not([multiple]) {
    height: auto;
  }
  
  #avaliacao-form button {
    grid-column: span 2;
    background: #1769aa;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #avaliacao-form button:hover {
    background: #2980b9;
  }
  
  /* Tabela */
  #avaliacao-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: auto;
  }
  
  #avaliacao-table th, #avaliacao-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.85em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  #avaliacao-table th {
    background: #34495e;
    color: #fff;
    font-weight: 600;
  }
  
  #avaliacao-table tr:nth-child(even) {
    background: #f9f9f9;
  }
  
  #avaliacao-table tr:hover {
    background: #e8f0fe;
  }
  
  /* Botões da tabela */
  #avaliacao-table button {
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
    margin-right: 5px;
  }
  
  #avaliacao-table button:first-child {
    background: #03753c;
    color: #fff;
  }
  
  #avaliacao-table button:first-child:hover {
    background: #27ae60;
  }
  
  #avaliacao-table button:last-child {
    background: #c0392b;
    color: #fff;
  }
  
  #avaliacao-table button:last-child:hover {
    background: #c0392b;
  }

  #search {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
  }
  
  #search:focus {
    outline: none;
    border-color: #007bff;
  }

  /* Adicione ao final do style.css */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 20px;
}

header h1 {
  margin: 0;
  font-size: 1.8em;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-info span {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #333;
}

.btn-logout {
  padding: 8px 16px;
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
}

.btn-logout:hover {
  background: #c82333;
}

.container { max-width: 800px; }

.btn { min-width: 100px; }

/*botão drop da página gerenciar.html*/
.botao_drop { 
  min-width: auto; 
  padding: 6px 12px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f9fa;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-items: left;
}

/* Mensagens de feedback */
  #feedback {
    display: none;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
  }
  
  #feedback.success {
    background: #dff0d8;
    color: #3c763d;
  }
  
  #feedback.error {
    background: #f2dede;
    color: #a94442;
  }

/* Feedback no login */

#feedback.text-error {
  color: #ef4444;
}

#feedback.text-success {
  color: #10b981;
}

.qrcode-section .card {
  background: #fff;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qrcode-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.qrcode-section img {
  border-radius: 8px;
  border: 2px solid #e5e7eb;
}

/* Botão de voltar */
.btn-back {
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: 0.9rem;
  padding: 8px 16px;
}

.btn-back:hover {
  transform: translateX(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.btn-back i {
  margin-right: 6px;
}
  
  /* Responsividade */
  @media (max-width: 768px) {
    #form-container {
      max-width: 100%;
      margin: 0 0 20px 0;
      padding: 15px;
    }
  
    #list-container {
      margin: 0 0 20px 0;
      padding: 15px;
      width: 100%;
      overflow-x: auto;
    }
  
    #avaliacao-form {
      grid-template-columns: 1fr;
    }
  
    #avaliacao-table th, #avaliacao-table td {
      font-size: 0.75em;
      padding: 6px;
    }
  
    #avaliacao-table button {
      padding: 5px 8px;
      font-size: 0.75em;
    }
  
    #avaliacao-form select[multiple] {
      height: 80px;
    }
  
    h1 {
      font-size: 2em;
    }
  
    h2 {
      font-size: 1.5em;
    }
  }