/* Lista de Pacientes: um cartão branco com cabeçalho (título, busca, exportar, novo) e a tabela dentro. */
.pac-cartao { padding: 16px 16px 4px; }
.pac-cabeca { display: flex; align-items: center; gap: 16px; padding: 0 0 30px; }
.pac-cabeca h1 { margin: 0 !important; font-size: 24px; font-weight: 400; color: #212121; flex: 1 1 0; min-width: 0; }
.pac-busca { position: relative; flex: 0 1 471px; }
.pac-busca svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #616161; pointer-events: none; }
.pac-busca input { width: 100%; height: 43px; border: 1px solid #dcdcdc; border-radius: 4px; padding: 0 14px 0 46px; font-size: 14px; color: #212121; background: #fff; }
.pac-busca input::placeholder { color: #757575; }
.pac-busca input:focus { outline: none; border-color: var(--marca); box-shadow: 0 0 0 1px var(--marca); }
.pac-botoes { flex: 1 1 0; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.pac-exportar { border: 0; background: none; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-transform: uppercase;
  color: #424242; cursor: pointer; padding: 8px 4px; border-radius: 4px; }
.pac-exportar:hover { background: rgba(0,0,0,.05); }
.pac-exportar svg { width: 20px; height: 20px; }
.pac-botoes .btn.primario { height: 36px; padding: 0 16px; font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.2); }

.pac-tabela { width: 100%; border-collapse: collapse; }
.pac-tabela th { text-align: left; font-size: 12px; font-weight: 400; color: #616161; padding: 20px 12px 20px; border-bottom: 1px solid #e0e0e0; white-space: nowrap; }
.pac-tabela th.pac-ordem { cursor: pointer; user-select: none; }
.pac-tabela th.pac-ordem svg { width: 15px; height: 15px; vertical-align: -3px; margin-left: 4px; color: #424242; transition: transform .15s; }
.pac-tabela th.pac-ordem.desc svg { transform: rotate(180deg); }
.pac-tabela td { height: 59px; padding: 0 12px; border-bottom: 1px solid #e0e0e0; font-size: 15px; color: #212121; white-space: nowrap; }
.pac-tabela tbody tr { cursor: pointer; }
.pac-tabela tbody tr:hover td { background: #f7f7f7; }
.pac-tabela tbody tr:last-child td { border-bottom: 0; }
.pac-nome { display: flex; align-items: center; gap: 19px; }
.pac-avatar { width: 32px; height: 32px; border-radius: 50%; background: #e0e0e0; color: #757575; display: grid; place-items: center; font-size: 12px; font-weight: 500; flex: none; }
.pac-tabela .pac-vazio-cel { color: #9e9e9e; }
.pac-acoes { width: 1%; text-align: right; }
.pac-acoes a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #616161; margin-left: 4px; vertical-align: middle; }
.pac-acoes a:hover { background: rgba(0,0,0,.06); }
.pac-acoes a svg { width: 18px; height: 18px; }
.pac-acoes a.pac-whats { color: #25a244; }
.pac-acoes a.pac-whats svg { width: 19px; height: 19px; }
.pac-acoes .pac-sem { display: inline-block; width: 32px; margin-left: 4px; }

@media (max-width: 900px) {
  .pac-cabeca { flex-wrap: wrap; }
  .pac-busca { order: 3; flex: 1 1 100%; }
  .pac-tabela .pac-opc { display: none; }
}
