.dashboard-container {
  padding: 2rem;
  font-family: 'Arial', sans-serif;
  background-color: #f5f6fa;
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.dashboard-subtitle {
  margin: 0.2rem 0 0 0;
  color: #000;
  font-size: 0.95rem;
}

.new-user-btn {
  background-color: #1e3a8a;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.new-user-btn:hover {
  background-color: #162d6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.filters-container {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.filters-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #333;
}

.filters-subtitle {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.filters-content {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.filters-input {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
  min-width: 200px;
  transition: all 0.2s ease;
}

.filters-input:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
  outline: none;
}

.filters-select {
  padding: 0.5rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  background: #fff;
  color: #333;
  cursor: pointer;
  min-width: 140px;
  transition: all 0.2s ease;
}

.filters-select:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
  outline: none;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.card {
  background-color: white;
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.2);
  background: #f8faff;
  border: 1px solid #1e3a8a33;
}

.card-label {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.card-value {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.card-extra {
  font-size: 0.8rem;
  color: #666;
}

.card-extra.positive {
  color: #1e3a8a;
  font-weight: 600;
}

.user-table-container {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.user-table-container h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #333;
}

.user-table-container p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
}

.user-table th,
.user-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.user-table th {
  background-color: #f3f4f6;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
}

.user-table tr {
  transition: background-color 0.2s ease;
}

.user-table tr:hover {
  background-color: #f0f4ff;
}

.profile-badge {
  background-color: #1e3a8a;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 500;
  display: inline-block;
  text-transform: capitalize;
}

.status-badge.ativo {
  background-color: #1e3a8a;
}

.status-badge.inativo {
  background-color: #6c757d;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.action-btn {
  border: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.action-btn.detalhes {
  background-color: #e6f2ff;
  color: #004085;
  border: 1px solid #b8d4ff;
}

.action-btn.detalhes:hover {
  background-color: #cce4ff;
  transform: translateY(-1px);
}

.action-btn.editar {
  background-color: #fff3cd;
  color: #856405;
  border: 1px solid #ffeaa7;
}

.action-btn.editar:hover {
  background-color: #ffeaa7;
  transform: translateY(-1px);
}

.action-btn.excluir {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f1b0b7;
}

.action-btn.excluir:hover {
  background-color: #f1b0b7;
  transform: translateY(-1px);
}

.save-btn {
  background-color: #1e3a8a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-btn:hover {
  background-color: #162d6b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
}

.edit-btn {
  background-color: #fff3cd;
  color: #856405;
  border: 1px solid #ffeaa7;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-btn:hover {
  background-color: #ffeaa7;
  transform: translateY(-1px);
}

html[data-bs-theme="dark"] .dashboard-container {
  background-color: #121212;
  color: #e0e0e0;
}

html[data-bs-theme="dark"] .dashboard-header,
html[data-bs-theme="dark"] .dashboard-title,
html[data-bs-theme="dark"] .dashboard-subtitle {
  color: #e0e0e0;
}

html[data-bs-theme="dark"] .new-user-btn {
  background-color: #1e3a8a;
}

html[data-bs-theme="dark"] .new-user-btn:hover {
  background-color: #162d6b;
}

html[data-bs-theme="dark"] .filters-container,
html[data-bs-theme="dark"] .user-table-container {
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

html[data-bs-theme="dark"] .filters-title,
html[data-bs-theme="dark"] .user-table-container h2 {
  color: #e0e0e0;
}

html[data-bs-theme="dark"] .filters-subtitle,
html[data-bs-theme="dark"] .user-table-container p {
  color: #bdbdbd;
}

html[data-bs-theme="dark"] .filters-input,
html[data-bs-theme="dark"] .filters-select {
  background: #232323;
  color: #e0e0e0;
  border-color: #333;
}

html[data-bs-theme="dark"] .filters-input:focus,
html[data-bs-theme="dark"] .filters-select:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2);
}

html[data-bs-theme="dark"] .cards-container .card {
  background-color: #181818;
  color: #e0e0e0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

html[data-bs-theme="dark"] .highlight:hover {
  background: #1a1f2e;
  border: 1px solid #1e3a8a33;
}

html[data-bs-theme="dark"] .card-label {
  color: #888;
}

html[data-bs-theme="dark"] .card-value {
  color: #e0e0e0;
}

html[data-bs-theme="dark"] .card-extra {
  color: #bdbdbd;
}

html[data-bs-theme="dark"] .card-extra.positive {
  color: #1e3a8a;
}

html[data-bs-theme="dark"] .user-table th {
  background-color: #232323;
  color: #e0e0e0;
}

html[data-bs-theme="dark"] .user-table td {
  color: #e0e0e0;
  border-bottom: 1px solid #333;
}

html[data-bs-theme="dark"] .user-table tr:hover {
  background-color: #1a1f2e;
}

html[data-bs-theme="dark"] .profile-badge {
  background-color: #1e3a8a;
}

html[data-bs-theme="dark"] .action-btn.detalhes {
  background-color: #e6f2ff;
  color: #004085;
  border: 1px solid #b8d4ff;
}

html[data-bs-theme="dark"] .action-btn.detalhes:hover {
  background-color: #cce4ff;
}

html[data-bs-theme="dark"] .action-btn.editar {
  background-color: #fff3cd;
  color: #856405;
  border: 1px solid #ffeaa7;
}

html[data-bs-theme="dark"] .action-btn.editar:hover {
  background-color: #ffeaa7;
}

html[data-bs-theme="dark"] .action-btn.excluir {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f1b0b7;
}

html[data-bs-theme="dark"] .action-btn.excluir:hover {
  background-color: #f1b0b7;
}