@import url("usuarios.css?v=1");

[hidden] {
  display: none !important;
}

.app {
  width: min(1480px, calc(100vw - 48px));
  max-width: none;
}

.btn-busca-flutuante {
  display: none;
  position: fixed;
  top: 18px;
  left: 130px;
  z-index: 1001;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.btn-menu,
#btnAtualizarPassagens,
.btn-busca-flutuante {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.35);
  color: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.painel {
  overflow: hidden;
}

.painel-acoes {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-acao.secundario {
  background: #e8eef7;
  color: #0f172a;
  box-shadow: none;
}

.resumo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px 24px;
}

.resumo-grid div {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.resumo-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.resumo-grid strong {
  color: #0f172a;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.15;
  word-break: keep-all;
}

.resumo-grid strong .valor-principal {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.15;
}

.periodo-card {
  background: linear-gradient(135deg, #f8fafc, #eef6ff) !important;
}

.periodo-card strong {
  font-size: 18px;
}

.filtros {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 150px 150px 180px;
  gap: 12px;
  padding: 0 24px 20px;
}

.filtros input,
.filtros select,
.filtro-data {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 0 12px;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
}

.filtro-data {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 7px 12px;
}

.filtro-data span {
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.filtro-data input {
  min-height: 28px;
  padding: 0;
  border: none;
  border-radius: 0;
}

.busca-resumo {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  padding: 0 24px 20px;
}

.busca-card {
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 15px;
  min-width: 0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.busca-card span,
.busca-card small {
  display: block;
}

.busca-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.busca-card strong {
  display: block;
  margin: 5px 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.busca-card small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.busca-card small .valor-principal {
  color: #15803d;
  font-size: 15px;
  line-height: 1.15;
}

.busca-card.pendente {
  border-color: #fecaca;
}

.busca-card.andamento {
  border-color: #fde68a;
}

.busca-card.pago {
  border-color: #bbf7d0;
}

.busca-card.total {
  border-color: #bfdbfe;
}

.financeiro-resumo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px 22px;
}

.financeiro-card {
  border: 1px solid #dbe4ef;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 17px;
  min-width: 0;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.financeiro-card.destaque {
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border-color: #99f6e4;
}

.financeiro-card span,
.financeiro-card small,
.financeiro-card strong {
  display: block;
}

.financeiro-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.financeiro-card strong {
  margin: 7px 0;
  color: #0f172a;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.financeiro-card small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.financeiro-card strong .valor-principal {
  color: #15803d;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.1;
}

.financeiro-card strong .valor-real {
  font-size: 12px;
}

.dias-resumo {
  margin: 0 24px 24px;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.dias-topo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #dbe4ef;
}

.dias-topo div {
  padding: 18px 20px;
}

.dias-topo div + div {
  border-left: 1px solid #dbe4ef;
}

.dias-topo span,
.dia-linha span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dias-topo strong {
  display: block;
  margin: 5px 0;
  color: #0f172a;
  font-size: 20px;
}

.dias-topo small {
  color: #64748b;
  font-weight: 800;
}

.dias-lista {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
}

.dia-linha {
  display: grid;
  grid-template-columns: 100px 1fr 52px 140px;
  align-items: center;
  gap: 14px;
}

.dia-barra {
  height: 9px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.dia-barra i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #2563eb);
}

.dia-linha strong {
  color: #0f172a;
  font-size: 14px;
  text-align: right;
}

.dia-linha small {
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

td.valor {
  color: #15803d;
  white-space: nowrap;
}

.valor-principal {
  color: #15803d;
  font-weight: 900;
  white-space: nowrap;
}

.valor-real {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

td.status-cell {
  text-transform: uppercase;
  color: #2563eb;
}

.acoes-cell {
  width: 130px;
  min-width: 130px;
  text-align: right;
}

.acoes-passagem {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.linha-passagem {
  cursor: pointer;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.linha-passagem:hover {
  background: #f8fafc;
}

.linha-passagem:focus {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: -3px;
}

.passageiro-cell strong,
.passageiro-cell small {
  display: block;
}

.passageiro-cell strong {
  color: #0f172a;
  line-height: 1.25;
}

.passageiro-cell small {
  margin-top: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.btn-detalhe {
  min-height: 34px;
  border: none;
  border-radius: 999px;
  padding: 0 12px;
  background: #e8eef7;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.btn-detalhe:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.linha-detalhe {
  display: none;
}

.linha-detalhe.aberto {
  display: table-row;
}

.linha-detalhe td {
  padding: 0 20px 18px;
  background: #f8fafc;
}

.detalhe-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.detalhe-card div {
  min-width: 0;
}

.detalhe-card span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detalhe-card strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.detalhe-card .valor-real {
  font-size: 11px;
}

.detalhe-acoes {
  grid-column: 1 / -1;
}

.btn-mini {
  min-height: 34px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  padding: 0 12px;
  background: #e8eef7;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.btn-mini.destaque {
  background: #eef2f7;
  color: #0f172a;
}

.btn-mini.perigo {
  background: #f1f5f9;
  color: #991b1b;
}

.btn-mini.neutro {
  background: #e8eef7;
  color: #0f172a;
}

.btn-mini:disabled {
  opacity: 0.65;
  cursor: wait;
}

.sem-acao {
  color: #94a3b8;
  font-weight: 900;
}

.modal-edicao {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 23, 42, 0.62);
  padding: 18px;
  overflow-y: auto;
}

.modal-edicao.aberto {
  display: grid;
  place-items: center;
}

.modal-card {
  width: min(720px, 100%);
  background: white;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
  overflow: hidden;
}

.modal-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid #dbe4ef;
}

.modal-topo span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-topo strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 21px;
}

.modal-topo button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #eef2f7;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.form-edicao {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
}

.form-edicao label {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.form-edicao input {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 0 12px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.form-edicao .campo-largo {
  grid-column: 1 / -1;
}

.status-edicao {
  grid-column: 1 / -1;
  min-height: 20px;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.status-edicao.erro {
  color: #b91c1c;
}

.status-edicao.sucesso {
  color: #15803d;
}

.status-edicao.salvando {
  color: #2563eb;
}

.form-edicao .btn-acao {
  grid-column: 1 / -1;
}

.modal-card-confirmacao {
  width: min(560px, 100%);
}

.confirmacao-corpo {
  padding: 20px;
}

.confirmacao-corpo p {
  margin-bottom: 14px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.confirmacao-resumo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff7f7;
}

.confirmacao-resumo div {
  min-width: 0;
}

.confirmacao-resumo span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirmacao-resumo strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.confirmacao-acoes {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 720px) {
  .resumo-grid,
  .financeiro-resumo {
    grid-template-columns: 1fr;
  }

  .filtros {
    grid-template-columns: 1fr;
  }

  .painel-acoes {
    width: 100%;
    justify-content: stretch;
  }

  .painel-acoes .btn-acao {
    flex: 1;
    min-width: 92px;
  }

  .busca-resumo,
  .financeiro-resumo {
    grid-template-columns: 1fr;
    padding-left: 12px;
    padding-right: 12px;
  }

  .dias-resumo {
    margin-left: 12px;
    margin-right: 12px;
  }

  .dias-topo {
    grid-template-columns: 1fr;
  }

  .dias-topo div + div {
    border-left: none;
    border-top: 1px solid #dbe4ef;
  }

  .dia-linha {
    grid-template-columns: 74px 1fr 32px;
  }

  .dia-linha small {
    grid-column: 2 / -1;
    text-align: left;
    margin-top: -4px;
  }

  .acoes-passagem {
    flex-direction: column;
  }

  .acoes-cell {
    width: auto;
    min-width: 96px;
  }

  .detalhe-card {
    grid-template-columns: 1fr;
  }

  .linha-detalhe td {
    padding: 0 12px 14px;
  }

  .form-edicao {
    grid-template-columns: 1fr;
  }

  .confirmacao-resumo {
    grid-template-columns: 1fr;
  }

  .confirmacao-acoes {
    flex-direction: column-reverse;
  }
}

/* POLIMENTO VISUAL 1.0.1 */

.resumo-grid div,
.filtros input,
.filtros select,
.filtro-data,
.modal-card {
  border-color: rgba(219, 228, 239, 0.95);
}

.resumo-grid div {
  background: rgba(248, 250, 252, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.filtros input,
.filtros select,
.form-edicao input {
  min-height: 48px;
}

.filtro-data input {
  min-height: 28px;
}

.btn-mini {
  min-width: 42px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.btn-mini:hover {
  transform: translateY(-1px);
}

.modal-card {
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}

@media (max-width: 720px) {
  .resumo-grid {
    grid-template-columns: 1fr;
  }

  .filtros {
    padding-left: 12px;
    padding-right: 12px;
  }

  .acoes-passagem {
    align-items: stretch;
  }

  .linha-detalhe td {
    display: table-cell;
    width: 100%;
  }

  .detalhe-card {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .btn-mini {
    min-height: 42px;
  }
}

@media (max-width: 720px) {
  #btnAtualizarPassagens {
    display: none !important;
  }

  .btn-busca-flutuante {
    left: auto;
    right: 18px;
    display: grid;
    place-items: center;
  }

  .painel-acoes {
    width: auto;
    justify-content: flex-end;
  }

  #btnBackupPassagensCsv,
  #btnBackupPassagensJson {
    display: none;
  }

  .resumo-grid,
  .busca-resumo,
  .financeiro-resumo {
    display: none;
  }

  .filtros {
    display: none;
    grid-template-columns: 1fr;
    padding: 0 12px 18px;
  }

  .filtros.aberta {
    display: grid;
  }

  .dias-resumo {
    display: block;
    margin: 12px;
  }

  .dias-topo {
    grid-template-columns: 1fr 1fr;
  }

  .dias-topo div + div {
    border-left: 1px solid #dbe4ef;
    border-top: none;
  }

  .linha-detalhe td {
    padding: 0 16px 14px;
    background: #ffffff;
  }

  .detalhe-card {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 0 16px;
    border: none;
    border-top: 1px solid #dbe4ef;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .detalhe-acoes {
    grid-column: 1 / -1;
  }

  .acoes-passagem {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .acoes-passagem .btn-mini {
    flex: 1;
    min-width: 0;
  }
}

/* Referencia visual SaaS - Caixa Geral */

body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(180deg, #f6f7fb 0%, #eef2f7 100%);
  color: #111827;
}

.app {
  width: min(1560px, calc(100vw - 52px));
  max-width: none;
}

.btn-menu,
.btn-busca-flutuante,
#btnAtualizarPassagens {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: #111827;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.btn-menu:hover,
.btn-busca-flutuante:hover,
#btnAtualizarPassagens:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.menu-lateral {
  background: rgba(255, 255, 255, 0.97);
  color: #111827;
  border-right: 1px solid #e5e7eb;
  box-shadow: 18px 0 42px rgba(15, 23, 42, 0.14);
}

.menu-lateral h2 {
  color: #111827;
}

.menu-lateral a {
  background: transparent;
  color: #4b5563;
  border: 1px solid transparent;
}

.menu-lateral a:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #e5e7eb;
}

.usuario-box {
  border-top-color: #e5e7eb;
}

.usuario-box span {
  color: #6b7280;
}

.fechar-menu {
  color: #111827;
}

.topo {
  display: flex;
  min-height: 188px;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(37, 99, 235, 0.09));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.topo::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 460px;
  height: 260px;
  background: rgba(37, 99, 235, 0.08);
  transform: rotate(-12deg);
}

.logo-fly {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.titulo-topo h1 {
  color: #111827;
  font-size: 32px;
  letter-spacing: 0;
}

.titulo-topo p {
  color: #6b7280;
  font-size: 15px;
}

.painel {
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.painel-topo {
  border-bottom-color: #e5e7eb;
}

.painel-topo span {
  color: #6b7280;
  letter-spacing: 0;
}

.painel-topo strong {
  color: #111827;
}

.btn-acao {
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  box-shadow: none;
}

.btn-acao.secundario {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.status {
  color: #15803d;
}

.resumo-grid,
.busca-resumo,
.financeiro-resumo {
  gap: 16px;
}

.resumo-grid div,
.busca-card,
.financeiro-card,
.dias-resumo,
.modal-card,
.confirmacao-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.resumo-grid span,
.busca-card span,
.financeiro-card span,
.dias-resumo span,
.modal-topo span {
  color: #6b7280;
  letter-spacing: 0;
}

.resumo-grid strong,
.busca-card strong,
.financeiro-card strong {
  color: #111827;
  letter-spacing: 0;
}

.valor-destaque,
.valor-principal,
.financeiro-card strong {
  color: #15803d !important;
}

.filtros {
  gap: 12px;
}

.filtros input,
.filtros select,
.filtro-data,
.form-edicao input,
.form-edicao select,
.modal-card input,
.modal-card select,
.modal-card textarea {
  border-color: #e5e7eb;
  background: #ffffff;
  box-shadow: none;
}

.filtro-data span {
  color: #6b7280;
}

.tabela-wrapper {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  overflow: auto;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

thead th {
  background: #f9fafb;
  color: #6b7280;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0;
}

tbody tr {
  background: #ffffff;
}

tbody tr:nth-child(even) {
  background: #fbfdff;
}

tbody td {
  border-bottom: 1px solid #eef2f7;
}

.status-badge {
  border-radius: 999px;
}

.btn-mini {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  box-shadow: none;
}

.btn-mini.perigo {
  color: #991b1b;
  background: #fff1f2;
}

.detalhe-card {
  border-color: #e5e7eb;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.dia-barra {
  background: #e5e7eb;
}

.dia-barra span {
  background: linear-gradient(90deg, #0f766e, #2563eb);
}

@media (min-width: 1100px) {
  .tabela-wrapper table {
    min-width: 1280px;
  }

  .tabela-wrapper th,
  .tabela-wrapper td {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 720px) {
  body {
    background: #f3f6fb;
  }

  .app {
    width: 100%;
  }

  .topo {
    min-height: 156px;
    margin-top: 58px;
    border-radius: 22px;
  }

  .titulo-topo h1 {
    font-size: 27px;
  }

  #btnAtualizarPassagens {
    display: none !important;
  }

  .btn-busca-flutuante {
    display: grid;
    place-items: center;
    left: auto;
    right: 18px;
  }

  .resumo-grid,
  .busca-resumo,
  .financeiro-resumo {
    display: none;
  }

  .filtros {
    display: none;
    grid-template-columns: 1fr;
    padding: 0 12px 18px;
  }

  .filtros.aberta {
    display: grid;
  }

  .painel {
    border-radius: 18px;
  }

  .tabela-wrapper {
    border-radius: 18px;
  }

  .detalhe-card {
    border: none;
    box-shadow: none;
  }
}

/* Mais identidade Fly Brasil sem perder o visual limpo */

body {
  background:
    linear-gradient(115deg, rgba(5, 46, 58, 0.96) 0 18%, transparent 18.1%),
    radial-gradient(circle at 88% 6%, rgba(37, 99, 235, 0.20), transparent 28%),
    linear-gradient(180deg, #eef5fb 0%, #f7fafc 42%, #edf2f7 100%);
}

.topo {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(37, 99, 235, 0.88)),
    #0f766e;
  border-color: rgba(255, 255, 255, 0.45);
}

.topo::after {
  background: rgba(255, 255, 255, 0.14);
}

.titulo-topo h1,
.titulo-topo p {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}

.logo-fly {
  background: #ffffff;
  border: 6px solid rgba(255, 255, 255, 0.72);
}

.painel,
.resumo-grid div,
.busca-card,
.financeiro-card,
.dias-resumo,
.modal-card,
.confirmacao-card,
.tabela-wrapper {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96));
}

.painel-topo {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98));
}

.financeiro-card:nth-child(1),
.busca-card:nth-child(1) {
  border-left: 5px solid #0f766e;
}

.financeiro-card:nth-child(2),
.busca-card:nth-child(2) {
  border-left: 5px solid #2563eb;
}

.financeiro-card:nth-child(3),
.busca-card:nth-child(3) {
  border-left: 5px solid #f59e0b;
}

.financeiro-card:nth-child(4),
.busca-card:nth-child(4) {
  border-left: 5px solid #111827;
}

thead th {
  background: #0f766e;
  color: #ffffff;
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background: #f3f8fb;
}

tbody tr:hover {
  background: #eef9f7;
}

.dias-resumo {
  overflow: hidden;
}

.dias-topo {
  background: #f8fafc;
}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(180deg, #062b36 0, #0f766e 178px, #eef5fb 178px);
  }

  .topo {
    background: linear-gradient(135deg, #0f766e, #2563eb);
  }
}
