/* ===== Container principal ===== */
.lu-container {
  background: #f5f7fa;
  padding: 25px;
  border-radius: 12px;
  font-family: 'Nunito', 'Segoe UI', Roboto, Arial, sans-serif;
  color: #333;
}

/* ===== Título ===== */
.lu-container h1 {
  font-size: 40px;
  font-weight: 500;
  color: #6b3b85;
}

/* ===== Formulário de busca ===== */
.lu-container form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lu-container form input[type='text'] {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  width: 240px;
  transition: all 0.2s;
}

.lu-container form input[type='text']:focus {
  border-color: #6b3b85;
  box-shadow: 0 0 5px rgba(107, 59, 133, 0.3);
  outline: none;
}

.lu-container form button {
  padding: 10px 18px;
  background: #6b3b85;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.lu-container form button:hover {
  background: #53296b;
  transform: scale(1.03);
}

/* ===== Tabela ===== */
.lu-container table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.lu-container thead {
  background: #1aa49b;
  color: #000;
  text-align: left;
  font-size: 15px;
}

.lu-container th,
.lu-container td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid #e6e6e6;
}

.lu-container tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.lu-container tbody tr:hover {
  background: #e3f7f5;
  cursor: pointer;
  transition: background 0.2s;
}

/* ===== Paginação ===== */
.lu-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: right;
  align-items: center;
  font-size: 14px;
  gap: 10px;
}

.lu-pagination .lu-total {
  color: #444;
  font-weight: 500;
}

.lu-pagination .lu-nav a,
.lu-pagination .lu-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #6b3b85;
  font-weight: bold;
  transition: all 0.2s;
}

.lu-pagination .lu-nav a:hover {
  background: #6b3b85;
  color: white;
  transform: scale(1.05);
}

/* ===== Modal ===== */
.lu-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lu-modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 25px;
  border-radius: 12px;
  max-width: 1200px;
  max-height: 100vh;
  overflow-y: auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lu-close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
}

.lu-close:hover {
  color: #6b3b85;
}

/* ===== Títulos no modal ===== */
.lu-modal h3 {
  color: #6b3b85;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

/* ===== Grid do modal ===== */
.lu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.lu-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.lu-grid b {
  display: block;
  margin-bottom: 4px;
  color: #333;
  font-weight: 600;
}
