* {
  box-sizing: border-box;
}

:root {
  --azul: #2563eb;
  --azul-escuro: #1d4ed8;
  --verde: #059669;
  --verde-escuro: #047857;
  --vermelho: #dc2626;
  --vermelho-escuro: #b91c1c;
  --amarelo: #f59e0b;
  --amarelo-escuro: #d97706;
  --whatsapp: #25d366;
  --whatsapp-escuro: #1ebe5d;
  --cinza-texto: #4b5563;
  --borda: #e5e7eb;
  --branco: #ffffff;
  --preto: #0f172a;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 34px;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(5, 150, 105, 0.12), transparent 35%),
    linear-gradient(135deg, #e8eefc, #f8fafc);
  color: #111827;
}

.app {
  max-width: 1120px;
  margin: 0 auto;
}

.cabecalho {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.marca-sistema {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.icone-sistema {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #059669);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

header h1 {
  margin: 0;
  font-size: 38px;
  letter-spacing: 0.5px;
  color: var(--preto);
}

header p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 16px;
}

.login-container {
  margin-top: 12px;
}

.login-card {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.login-info {
  padding: 42px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(5, 150, 105, 0.92)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 35%);
}

.tag-sistema {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.login-info h2 {
  margin: 28px 0 14px;
  font-size: 34px;
  line-height: 1.1;
}

.login-info p {
  margin: 0;
  color: #e0f2fe;
  line-height: 1.6;
  font-size: 16px;
}

.lista-beneficios {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.lista-beneficios div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lista-beneficios strong {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.lista-beneficios span {
  color: #f8fafc;
  font-weight: 600;
}

.login-acoes {
  padding: 38px;
}

.grid-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.form-box {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.form-cadastro {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.form-box h3 {
  margin: 0 0 22px;
  font-size: 23px;
  color: var(--preto);
}

.card {
  background: var(--branco);
  padding: 28px;
  margin-bottom: 26px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.card h2 {
  margin-top: 0;
  font-size: 26px;
  color: var(--preto);
}

.campo {
  margin-bottom: 17px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.campo-completo {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: #111827;
}

input,
select {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 15px;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--azul);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.campo-ajuda {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

button,
.btn-whatsapp {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: var(--azul);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

button:hover,
.btn-whatsapp:hover {
  background: var(--azul-escuro);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

button:active,
.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-secundario {
  background: var(--verde);
}

.btn-secundario:hover {
  background: var(--verde-escuro);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.22);
}

.btn-google {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #cbd5e1;
}

.btn-google:hover {
  background: #f8fafc;
  color: #111827;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.google-logo {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
}

.google-logo svg {
  width: 100%;
  height: 100%;
}

.btn-link {
  margin-top: 12px;
  background: transparent;
  color: var(--azul);
  padding: 9px;
  font-size: 14px;
  text-align: center;
}

.btn-link:hover {
  background: #eff6ff;
  color: var(--azul-escuro);
  box-shadow: none;
}

.texto-ajuda {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.btn-sair {
  width: auto;
  background: var(--vermelho);
  padding: 10px 18px;
}

.btn-sair:hover {
  background: var(--vermelho-escuro);
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.22);
}

.btn-cancelar {
  margin-top: 10px;
  background: #6b7280;
}

.btn-cancelar:hover {
  background: #4b5563;
}

.btn-verificar {
  margin-top: 10px;
  background: var(--azul);
}

.btn-verificar:hover {
  background: var(--azul-escuro);
}

.box-verificacao {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #facc15;
  border-radius: 14px;
  background: #fefce8;
}

.box-verificacao h3 {
  margin-top: 0;
  color: #854d0e;
}

.box-verificacao p {
  color: #713f12;
  line-height: 1.5;
}

#statusLogin,
#statusApp {
  margin-top: 18px;
  font-weight: 800;
  color: #334155;
}

.topo-sistema {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

#usuarioLogado {
  margin: 0;
  color: #475569;
}

.area-pesquisa {
  margin-bottom: 22px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--borda);
  border-radius: 12px;
}

#contadorClientes {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14px;
  color: #64748b;
}

.cliente {
  padding: 16px;
  border: 1px solid var(--borda);
  border-radius: 14px;
  margin-bottom: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.cliente strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--preto);
}

.cliente span,
.info-extra {
  display: block;
  color: var(--cinza-texto);
  margin-bottom: 4px;
}

.data {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}

.acoes-cliente {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn-whatsapp {
  width: auto;
  padding: 9px 13px;
  background: var(--whatsapp);
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-escuro);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.24);
}

.btn-editar {
  width: auto;
  padding: 9px 13px;
  background: var(--amarelo);
  font-size: 14px;
}

.btn-editar:hover {
  background: var(--amarelo-escuro);
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.22);
}

.btn-excluir {
  width: auto;
  padding: 9px 13px;
  background: var(--vermelho);
  font-size: 14px;
}

.btn-excluir:hover {
  background: var(--vermelho-escuro);
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.22);
}

.oculto {
  display: none;
}

@media (max-width: 900px) {
  .login-card {
    grid-template-columns: 1fr;
  }

  .login-info {
    padding: 32px;
  }

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

  .campo-completo {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  body {
    padding: 18px;
  }

  .marca-sistema {
    flex-direction: column;
    text-align: center;
  }

  header h1 {
    font-size: 30px;
  }

  .login-acoes,
  .login-info,
  .card {
    padding: 22px;
  }

  .login-card {
    border-radius: 22px;
  }

  .topo-sistema {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .btn-sair,
  .btn-whatsapp,
  .btn-editar,
  .btn-excluir {
    width: 100%;
  }

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


/* TABELA HORIZONTAL DE LEADS */
.area-pesquisa-topo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

.area-pesquisa-campo {
  min-width: 0;
}

.btn-excel {
  width: auto;
  min-width: 190px;
  background: #0f766e;
  white-space: nowrap;
}

.btn-excel:hover {
  background: #115e59;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

.tabela-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--borda);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tabela-clientes {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
  font-size: 14px;
}

.tabela-clientes thead {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.tabela-clientes th,
.tabela-clientes td {
  padding: 13px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
  color: #334155;
}

.tabela-clientes th {
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.tabela-clientes tbody tr:hover {
  background: #f8fafc;
}

.tabela-clientes tbody tr:last-child td {
  border-bottom: none;
}

.tabela-clientes .col-nome {
  font-weight: 800;
  color: #0f172a;
}

.tabela-clientes .col-endereco {
  min-width: 240px;
}

.td-acoes {
  min-width: 250px;
  white-space: nowrap;
}

.btn-tabela {
  width: auto;
  padding: 8px 10px;
  margin-right: 6px;
  font-size: 13px;
  border-radius: 10px;
}

.td-acoes .btn-tabela:last-child {
  margin-right: 0;
}

.mensagem-lista {
  padding: 18px;
  border: 1px solid var(--borda);
  border-radius: 14px;
  background: #ffffff;
  color: #475569;
  font-weight: 700;
}

@media (max-width: 900px) {
  .area-pesquisa-topo {
    grid-template-columns: 1fr;
  }

  .btn-excel {
    width: 100%;
  }
}


/* AJUSTE COMPACTO DA TABELA - MAIS COLUNAS VISÍVEIS NA TELA */
body {
  padding: 22px 18px;
}

.app {
  max-width: 1560px;
  width: 100%;
}

.card {
  padding: 22px;
}

#telaApp .card:last-child {
  padding: 24px 26px;
}

.area-pesquisa {
  padding: 14px 18px;
}

.area-pesquisa-topo {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}

.area-pesquisa input {
  padding: 12px 14px;
  font-size: 14px;
}

.btn-excel {
  min-width: 180px;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 14px;
}

.tabela-wrapper {
  width: 100%;
  overflow-x: auto;
}

.tabela-clientes {
  width: 100%;
  min-width: 1180px;
  table-layout: fixed;
  font-size: 10.5px;
  line-height: 1.25;
}

.tabela-clientes th,
.tabela-clientes td {
  padding: 8px 8px;
  vertical-align: middle;
  word-break: break-word;
}

.tabela-clientes th {
  font-size: 11px;
  line-height: 1.2;
}

.tabela-clientes .col-nome {
  font-size: 11px;
  line-height: 1.25;
}

.tabela-clientes .col-endereco {
  min-width: 0;
}

.tabela-clientes th:nth-child(1),
.tabela-clientes td:nth-child(1) {
  width: 12%;
}

.tabela-clientes th:nth-child(2),
.tabela-clientes td:nth-child(2) {
  width: 14%;
}

.tabela-clientes th:nth-child(3),
.tabela-clientes td:nth-child(3) {
  width: 10%;
}

.tabela-clientes th:nth-child(4),
.tabela-clientes td:nth-child(4) {
  width: 15%;
}

.tabela-clientes th:nth-child(5),
.tabela-clientes td:nth-child(5) {
  width: 8%;
}

.tabela-clientes th:nth-child(6),
.tabela-clientes td:nth-child(6) {
  width: 8%;
}

.tabela-clientes th:nth-child(7),
.tabela-clientes td:nth-child(7) {
  width: 13%;
}

.tabela-clientes th:nth-child(8),
.tabela-clientes td:nth-child(8) {
  width: 9%;
}

.tabela-clientes th:nth-child(9),
.tabela-clientes td:nth-child(9) {
  width: 11%;
}

.td-acoes {
  min-width: 0;
  white-space: nowrap;
}

.btn-tabela {
  padding: 6px 7px;
  margin-right: 4px;
  font-size: 10.5px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  body {
    padding: 18px;
  }

  .app {
    max-width: 100%;
  }

  .tabela-clientes {
    min-width: 1120px;
  }
}

/* CARDS DE LEADS NA DASHBOARD - MODELO COMPACTO COM 3 CARDS POR LINHA */
.cards-clientes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.card-cliente {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--borda);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card-cliente:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 15px 32px rgba(15, 23, 42, 0.10);
}

.card-cliente-topo {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.card-cliente-identidade {
  min-width: 0;
}

.card-cliente-identidade h3 {
  margin: 0 0 6px;
  color: var(--preto);
  font-size: 18px;
  line-height: 1.2;
  word-break: break-word;
}

.card-cliente-empresa {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
}

.status-cliente {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.2;
}

.status-novo {
  background: #dcfce7;
  color: #166534;
}

.status-em-contato {
  background: #e0f2fe;
  color: #075985;
}

.status-qualificado {
  background: #f3e8ff;
  color: #6b21a8;
}

.status-em-andamento {
  background: #fef3c7;
  color: #92400e;
}

.card-cliente-data {
  flex: 0 0 auto;
  max-width: 120px;
  padding: 6px 7px;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

.card-cliente-detalhes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  flex: 1;
}

.info-card {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}

.info-card span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.info-card strong {
  display: block;
  color: #334155;
  font-size: 12.5px;
  line-height: 1.3;
  word-break: break-word;
}

.info-card-completo {
  grid-column: 1 / -1;
}

.card-cliente .acoes-cliente {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.card-cliente .btn-whatsapp,
.card-cliente .btn-editar,
.card-cliente .btn-excluir {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  margin: 0;
  border-radius: 11px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 1180px) {
  .cards-clientes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .cards-clientes {
    grid-template-columns: 1fr;
  }

  .card-cliente-topo {
    flex-direction: column;
  }

  .card-cliente-data {
    max-width: none;
    text-align: left;
  }

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

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

/* AÇÕES EM MASSA - PESQUISA COMPACTA E BOTÕES */
.area-pesquisa-topo-massa {
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
}

.area-pesquisa-topo-massa .area-pesquisa-campo {
  max-width: 780px;
}

.acoes-massa {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px;
  align-items: end;
  justify-content: end;
}

.btn-acao-massa,
.btn-apagar-massa {
  width: auto;
  min-width: 145px;
  padding: 12px 13px;
  border-radius: 12px;
  font-size: 13px;
  white-space: nowrap;
}

.btn-acao-massa {
  background: #475569;
}

.btn-acao-massa:hover {
  background: #334155;
  box-shadow: 0 10px 22px rgba(71, 85, 105, 0.18);
}

.btn-limpar-selecao {
  background: #64748b;
}

.btn-limpar-selecao:hover {
  background: #475569;
}

.btn-apagar-massa {
  background: #dc2626;
}

.btn-apagar-massa:hover {
  background: #b91c1c;
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.24);
}

.area-pesquisa-topo-massa .btn-excel {
  width: auto;
  min-width: 170px;
  padding: 12px 13px;
  font-size: 13px;
}

/* CHECKBOX DE SELEÇÃO NO CARD */
.card-cliente-topo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}

.selecao-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.selecao-lead input {
  width: 14px;
  height: 14px;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.selecao-lead:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

@media (max-width: 1180px) {
  .area-pesquisa-topo-massa {
    grid-template-columns: 1fr;
  }

  .area-pesquisa-topo-massa .area-pesquisa-campo {
    max-width: 100%;
  }

  .acoes-massa {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .btn-acao-massa,
  .btn-apagar-massa,
  .area-pesquisa-topo-massa .btn-excel {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .acoes-massa {
    grid-template-columns: 1fr;
  }

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

  .selecao-lead {
    width: fit-content;
  }
}

/* CAMPO OBSERVAÇÃO */
#observacao {
  width: 100%;
}

/* BOTÃO IMPORTAR EXCEL */
.btn-importar {
  width: auto;
  min-width: 180px;
  padding: 12px 13px;
  border-radius: 14px;
  font-size: 13px;
  background: #2563eb;
  white-space: nowrap;
}

.btn-importar:hover {
  background: #1d4ed8;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.acoes-massa {
  grid-template-columns: repeat(5, auto);
}

@media (max-width: 1180px) {
  .btn-importar {
    width: 100%;
    min-width: 0;
  }

  .acoes-massa {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .acoes-massa {
    grid-template-columns: 1fr;
  }
}

/* STATUS ATUALIZADOS */
.status-nao-qualificado {
  background: #fee2e2;
  color: #991b1b;
}

.status-possui-acao-em-outro-escritorio {
  background: #e0f2fe;
  color: #075985;
}

.status-acao-prescrita {
  background: #fef3c7;
  color: #92400e;
}

.status-em-andamento {
  background: #dcfce7;
  color: #166534;
}

/* CAMPO DE SENHA COM BOTÃO OLHO */
.campo-senha {
  position: relative;
  display: flex;
  align-items: center;
}

.campo-senha input {
  padding-right: 52px;
}

.btn-olho-senha {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 10px;
  background: transparent;
  color: #475569;
  box-shadow: none;
  font-size: 18px;
  line-height: 1;
}

.btn-olho-senha:hover {
  background: #f1f5f9;
  color: #0f172a;
  box-shadow: none;
  transform: translateY(-50%);
}

.btn-olho-senha:active {
  transform: translateY(-50%);
}

.icone-olho {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* BOTÃO MODO CLARO / ESCURO */
.acoes-topo-sistema {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-tema {
  width: auto;
  min-width: 145px;
  padding: 10px 16px;
  background: #0f172a;
  color: #ffffff;
  white-space: nowrap;
}

.btn-tema:hover {
  background: #1e293b;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

/* MODO ESCURO */
body.modo-escuro {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(5, 150, 105, 0.16), transparent 35%),
    linear-gradient(135deg, #020617, #0f172a);
  color: #e5e7eb;
}

body.modo-escuro header h1,
body.modo-escuro .card h2,
body.modo-escuro .form-box h3,
body.modo-escuro label,
body.modo-escuro .card-cliente-identidade h3 {
  color: #f8fafc;
}

body.modo-escuro header p,
body.modo-escuro #usuarioLogado,
body.modo-escuro #contadorClientes,
body.modo-escuro .campo-ajuda,
body.modo-escuro .texto-ajuda,
body.modo-escuro .card-cliente-data {
  color: #cbd5e1;
}

body.modo-escuro .card,
body.modo-escuro .form-box,
body.modo-escuro .login-card,
body.modo-escuro .area-pesquisa,
body.modo-escuro .card-cliente,
body.modo-escuro .mensagem-lista {
  background: #0f172a;
  border-color: #334155;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

body.modo-escuro .topo-sistema {
  background: linear-gradient(135deg, #0f172a, #111827);
}

body.modo-escuro input,
body.modo-escuro select {
  background: #111827;
  border-color: #475569;
  color: #f8fafc;
}

body.modo-escuro input::placeholder {
  color: #94a3b8;
}

body.modo-escuro input:focus,
body.modo-escuro select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

body.modo-escuro .info-card,
body.modo-escuro .card-cliente-data,
body.modo-escuro .selecao-lead {
  background: #111827;
  border-color: #334155;
}

body.modo-escuro .info-card span {
  color: #94a3b8;
}

body.modo-escuro .info-card strong,
body.modo-escuro .cliente span,
body.modo-escuro .info-extra {
  color: #e2e8f0;
}

body.modo-escuro .card-cliente-topo,
body.modo-escuro .card-cliente .acoes-cliente {
  border-color: #334155;
}

body.modo-escuro .card-cliente-empresa {
  background: #1e3a8a;
  color: #dbeafe;
}

body.modo-escuro .btn-google {
  background: #111827;
  color: #f8fafc;
  border-color: #475569;
}

body.modo-escuro .btn-google:hover {
  background: #1f2937;
  color: #ffffff;
}

body.modo-escuro .btn-link {
  color: #93c5fd;
}

body.modo-escuro .btn-link:hover {
  background: #1e293b;
  color: #bfdbfe;
}

body.modo-escuro .btn-tema {
  background: #f8fafc;
  color: #0f172a;
}

body.modo-escuro .btn-tema:hover {
  background: #e2e8f0;
}

body.modo-escuro .box-verificacao {
  background: #422006;
  border-color: #a16207;
}

body.modo-escuro .box-verificacao h3,
body.modo-escuro .box-verificacao p {
  color: #fef3c7;
}

body.modo-escuro #statusLogin,
body.modo-escuro #statusApp {
  color: #dbeafe;
}

body.modo-escuro .btn-olho-senha {
  color: #cbd5e1;
}

body.modo-escuro .btn-olho-senha:hover {
  background: #1f2937;
  color: #ffffff;
}

@media (max-width: 700px) {
  .acoes-topo-sistema {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .btn-tema,
  .btn-sair {
    width: 100%;
  }
}

