body {
  font-family: 'Nunito', sans-serif;
}

.content-wrapper {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}

.card {
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 6px 22px rgba(16, 24, 40, 0.08);
}

.card-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.main-sidebar .nav-link p {
  font-weight: 600;
}

.main-sidebar .nav-header {
  color: #a8b4c9;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.table td,
.table th {
  vertical-align: middle;
}

.table {
  font-size: 0.86rem;
}

.table td,
.table th {
  padding-top: 0.38rem;
  padding-bottom: 0.38rem;
}

.table thead th {
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #0f172a;
  border-bottom: 1px solid #94a3b8;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 1;
}

.table.table-sticky-first thead th:first-child {
  left: 0;
  z-index: 3;
  background: #f1f5f9;
}

.table.table-sticky-first tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #ffffff;
  box-shadow: 1px 0 0 rgba(15, 23, 42, 0.08);
}

.table tbody tr:nth-of-type(odd) {
  background-color: #ffffff;
}

.table tbody tr:nth-of-type(even) {
  background-color: #f7fafc;
}

.table tbody tr:hover {
  background-color: #eaf2ff;
}

.table tbody tr.row-focus {
  background-color: #cfe3ff;
}

.table.table-sticky-first tbody tr:nth-of-type(even) td:first-child {
  background-color: #f7fafc;
}

.table.table-sticky-first tbody tr:hover td:first-child {
  background-color: #eaf2ff;
}

.table.table-sticky-first tbody tr.row-focus td:first-child {
  background-color: #cfe3ff;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 0.55rem;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  font-size: 0.84rem;
  min-height: 32px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  margin-top: 0.5rem;
  font-size: 0.82rem;
}

.btn {
  border-radius: 0.5rem;
  font-weight: 700;
}

.dataTables_filter input {
  border-radius: 0.45rem;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.55rem;
}

.table-responsive {
  border-radius: 0.6rem;
}

.quick-actions .btn {
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.form-control-navbar {
  min-width: 260px;
  border-radius: 0.45rem 0 0 0.45rem;
}

.btn-navbar {
  border: 1px solid #ced4da;
  border-left: 0;
  border-radius: 0 0.45rem 0.45rem 0;
  background: #fff;
}

.wiz-step h5 {
  font-weight: 800;
  color: #1e293b;
}

.analysis-base-card .card-body {
  font-size: 0.92rem;
  line-height: 1.35;
}

.analysis-base-card p {
  margin-bottom: 0.38rem;
}

.analysis-base-card .card .card-header .card-title {
  font-size: 0.94rem;
}

.analysis-base-card .card .card-body {
  font-size: 0.88rem;
}

.analysis-base-card ul {
  margin-bottom: 0.38rem;
}

.queue-alert-chip {
  display: inline-block;
  font-size: 0.74rem;
  line-height: 1.2;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  margin: 0.08rem 0.14rem 0.08rem 0;
  border: 1px solid transparent;
  white-space: nowrap;
}

.queue-alert-chip i {
  margin-right: 0.2rem;
}

.queue-alert-critical {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #b91c1c;
}

.queue-alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

tr.row-status-pend-cert {
  background: #fffdf5;
}

tr.row-status-pend-decision {
  background: #f4fbff;
}

tr.row-status-observado {
  background: #fff7f7;
}

tr.row-status-listo {
  background: #f6fff8;
}

.profile-analysis-shell > .card-header .card-title {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.profile-analysis-shell {
  --pa-accent: #0f766e;
  --pa-accent-soft: #ecfeff;
  --pa-accent-border: #99f6e4;
  --pa-ink-soft: #475569;
}

.profile-analysis-shell > .card-header {
  background: linear-gradient(90deg, #ecfeff 0%, #ffffff 72%);
  border-bottom-color: #d1fae5;
}

.profile-analysis-shell > .card-header .card-title {
  color: #0f172a;
}

.profile-analysis-shell .card-title {
  font-size: 0.95rem;
}

.profile-analysis-shell .card-outline.card-warning,
.profile-analysis-shell .card-outline.card-info,
.profile-analysis-shell .card-outline.card-secondary,
.profile-analysis-shell .card-outline.card-success {
  border-top-width: 2px;
}

.profile-analysis-shell .card-outline.card-info {
  border-top-color: var(--pa-accent);
}

.profile-analysis-shell .card-outline.card-secondary {
  border-top-color: #64748b;
}

.profile-analysis-shell .card-outline.card-success {
  border-top-color: #15803d;
}

.profile-analysis-shell label {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #334155;
}

.profile-analysis-shell .form-control,
.profile-analysis-shell .custom-select {
  font-size: 0.86rem;
  min-height: 34px;
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
}

.profile-analysis-shell .btn {
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-analysis-shell .btn-primary {
  background: #0f766e;
  border-color: #0f766e;
}

.profile-analysis-shell .btn-primary:hover,
.profile-analysis-shell .btn-primary:focus {
  background: #0c5f59;
  border-color: #0c5f59;
}

.profile-analysis-shell .btn-outline-primary {
  color: #0f766e;
  border-color: #0f766e;
}

.profile-analysis-shell .btn-outline-primary:hover,
.profile-analysis-shell .btn-outline-primary:focus {
  background: #0f766e;
  border-color: #0f766e;
}

.profile-analysis-shell .card,
.profile-analysis-shell .btn,
.profile-analysis-shell .queue-alert-chip {
  transition: all 0.18s ease;
}

.profile-analysis-shell .card.card-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.profile-analysis-shell .btn:hover {
  transform: translateY(-1px);
}

.profile-analysis-shell .form-control:focus,
.profile-analysis-shell .custom-select:focus,
.profile-analysis-shell .btn:focus {
  box-shadow: 0 0 0 0.18rem rgba(15, 118, 110, 0.18);
  border-color: #2dd4bf;
}

.profile-analysis-shell p {
  margin-bottom: 0.42rem;
  color: var(--pa-ink-soft);
}

.profile-analysis-shell p strong {
  color: #0f172a;
}

.profile-analysis-shell .queue-table,
.profile-analysis-shell .certs-table {
  font-size: 0.82rem;
}

.profile-analysis-shell .queue-table thead th,
.profile-analysis-shell .certs-table thead th {
  background: linear-gradient(180deg, #e6fffb 0%, #ccfbf1 100%);
  border-bottom-color: #99f6e4;
  color: #134e4a;
}

.profile-analysis-shell .queue-table th,
.profile-analysis-shell .queue-table td,
.profile-analysis-shell .certs-table th,
.profile-analysis-shell .certs-table td {
  padding-top: 0.34rem;
  padding-bottom: 0.34rem;
}

.profile-analysis-shell .certs-summary {
  background: var(--pa-accent-soft);
  border: 1px solid var(--pa-accent-border);
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
}

.profile-analysis-shell .summary-detail-pre {
  font-size: 0.8rem;
  line-height: 1.35;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
  padding: 0.45rem 0.5rem;
  max-height: 140px;
  overflow: auto;
}

.profile-analysis-shell .card.card-outline {
  margin-bottom: 0.85rem;
}

.profile-analysis-shell .badge {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.profile-analysis-shell.focus-mode .focus-hide {
  display: none;
}

@media (max-width: 767.98px) {
  .profile-analysis-shell > .card-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.4rem;
  }

  .profile-analysis-shell > .card-header .btn {
    width: 100%;
  }

  .profile-analysis-shell .form-row > [class*='col-'] {
    margin-bottom: 0.45rem;
  }

  .profile-analysis-shell .queue-table,
  .profile-analysis-shell .certs-table {
    font-size: 0.78rem;
  }

  .profile-analysis-shell .certs-summary {
    padding: 0.45rem 0.5rem;
  }
}
