/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: "Segoe UI", sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

/* Layout Dashboard */
.dashboard {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 240px;
    background-color: #2c3e50;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sidebar-header h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.sidebar-menu a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 12px 10px;
    display: block;
    border-radius: 4px;
    margin: 5px 0;
    font-size: 16px;
}

.sidebar-menu a:hover {
    background-color: #34495e;
}

.sidebar-menu .sair {
    margin-top: auto;
    background-color: #c0392b;
    text-align: center;
}

.content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* Botões e inputs padrão */
input, button {
    margin: 5px;
    padding: 4px;
    width: 100%;
    max-width: 400px;
    font-size: 16px;
    height: 30px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #2980b9;
}


/* --- Modal --- */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-conteudo {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

#fechar-modal {
  background: none;
  border: none;
  font-size: 24px;
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

.lista-icones {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(40px,1fr));
  gap: 10px;
  margin-top: 20px;
}

.lista-icones i {
  font-size: 28px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.lista-icones i:hover {
  background-color: #3498db;
  color: white;
}

/* --- Dashboard (exemplo resumido) --- */
.dashboard {
  display: flex;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.sidebar {
  width: 240px;
  background: #222;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.sidebar-header h2 {
  margin: 0 0 10px;
}

.sidebar-menu a {
  color: #ddd;
  padding: 10px 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-menu a.active, .sidebar-menu a:hover {
  color: #3498db;
}

.sidebar-menu a.sair {
  margin-top: auto;
  color: #e74c3c;
  font-weight: bold;
}

/* Main content */
.content {
  flex-grow: 1;
  padding: 20px;
  background: #f8f9fa;
}

tr.inativo {
    background-color: rgba(255, 0, 0, 0.08); /* vermelho com opacidade fraca */
}

footer{
	background-color: #fff; 
	padding: 5px 0; 
	margin-top:20px; 
	width: 100%; 
	position: fixed;
	left: 0px; 
	bottom: 0px;
}
