.dashboard-container {
  margin-left: 240px;
  flex: 1;
  width: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f4f7f6; 
}

.topbar {
  padding: 15px 30px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main__content {
  padding: 30px;
}

.back-link {
  margin-bottom: 15px;
}

.back-link a {
  text-decoration: none;
  color: #3498db;
  font-weight: bold;
}

.link-view {
  text-decoration: none;
}

.admin-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.card-header {
  background: #f1f3f5;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.card-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.user-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
  background: #fff;
}

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

.admin-table th {
  background: #fafafa;
  text-align: left;
  padding: 12px 20px;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #777;
  border-bottom: 2px solid #eee;
}

.admin-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  font-size: 0.9rem;
}

/* Novas classes para substituir os estilos inline */
.text-center {
  text-align: center;
}
.text-muted {
  color: #888;
  font-size: 0.8rem;
}
.d-inline {
  display: inline;
}

.footer-action {
  padding: 20px;
  text-align: right;
  border-top: 1px solid #eee;
}

.pj-row-header {
  background-color: #fcfcfc;
  font-weight: bold;
}

.pj-row-header td {
  border-bottom: none;
  padding-top: 25px;
}

.pj-activation-cell {
  vertical-align: middle;
  text-align: center;
  border-left: 1px solid #eee;
}

.badge-pj-ready {
  background: #e3f2fd;
  color: #0d47a1;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 4px;
}

.btn-confirm {
  background: #2d3748;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-cancel {
  color: #e53e3e;
  text-decoration: none;
  margin-left: 5px;
  font-weight: bold;
}

/* Badges de Status do Usuário */
.badge-status-pendente {
  background: #fff4e5;
  color: #b45d00;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: bold;
}
.badge-status-ativo {
  background: #e6fffa;
  color: #047857;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: bold;
}

/* Status de Documentos */
.status-tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-pendente {
  background: #fff4e5;
  color: #b45d00;
}
.tag-aprovado {
  background: #e6fffa;
  color: #047857;
}
.tag-rejeitado {
  background: #fff5f5;
  color: #c53030;
}

.btn-mini {
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-size: 0.8rem;
}
.btn-approve {
  background: #38a169;
  color: white;
}
.btn-reject {
  background: #e53e3e;
  color: white;
  text-decoration: none;
}

.wrapper-activate-pj {
  display: flex;
  justify-content: end;
  padding: 20px;
}

.wrapper-activate-pj span{
  color: var(--text-primary-dark);
}

.btn-activate-pj {
  background: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
