/* 📄 userModules.css – Estilização de Permissões por Usuário */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6f8;
  color: #333;
  padding: 30px;
  margin: 0;
}

main {
  max-width: 1100px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
}

h2 {
  font-size: 20px;
  margin-top: 30px;
  color: #2c3e50;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

select,
input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.modulos-grid {
  max-height: 400px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.modulos-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fdfdfd;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: background-color 0.2s;
}

.modulos-grid label:hover {
  background-color: #eef4ff;
  border-color: #90b7ff;
}

button[type="submit"] {
  background-color: #2c3e50;
  color: white;
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #1a252f;
}
