/* =============================================
   Teleconsulta – estilos da página pública
   ============================================= */

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-v42-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-v42-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-v42-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0;
  background-color: #f5f5f5;
  color: #333;
  font-family: "Noto Sans", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- header ---------- */
.tc-header {
  align-items: center;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
  opacity: 1;
  text-align: center;
  width: 100%;
}

.tc-logos {
  align-items: center;
  display: flex;
  gap: 24px;
  height: 40px;
  justify-content: center;
  width: 100%;
}

.tc-header img {
  height: 40px;
  margin: 0;
}

/* ---------- conteúdo principal ---------- */
.tc-content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  width: 100%;
  flex: 1;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* ---------- card ---------- */
.tc-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
  width: 100%;
}

.tc-form-container {
    max-width: 400px;
    gap: 16px;
    display: flex;
    flex-direction: column;
}

/* ---------- título ---------- */
.tc-titulo {
  font-size: 40px;
  font-weight: 800;
  color: #6495ED;
  line-height: 115%;
  letter-spacing: 0%;
  justify-content: center;
  display: flex;
  margin-top: 32px;
  margin-bottom: 16px;
}

.header {
  margin: 0;
  margin-bottom: 16px;
}

/* ---------- subtítulo ---------- */
.tc-subtitulo {
  font-size: 16px;
  line-height: 145%;
  letter-spacing: 0%;
  color: #091E42;
  text-align: center;
}

/* ---------- formulário ---------- */
.tc-form {
  text-align: left;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.form-group {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  size: 16px;
  line-height: 145%;
  letter-spacing: 0%;
  color: #1D3374;
}

.form-group input {
  font-weight: 400;
  size: 16px;
  line-height: 145%;
  letter-spacing: 0%;
  color: #9DA5B3;
}

.tc-form .form-control {
  height: 44px;
  border-radius: 3px;
  border: 1px solid #9DA5B3;
  font-size: 1rem;
  color: #091E42;
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;
}

.tc-form .form-control:focus {
  border-color: #1a3a6b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(26,58,107,.20);
}

.tc-form .form-control.tc-form-control-danger {
  border-color: #DC143C;
}

.tc-form .form-control.tc-form-control-danger:focus {
  border-color: #DC143C;
  box-shadow: 0 0 0 2px rgba(220,20,60,.20);
}

.tc-details-danger {
  color: #DC143C;
  font-size: 14px;
  font-weight: 400;
  line-height: 145%;
}

/* ---------- botão ---------- */
.tc-btn {
  gap: 8px;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  padding: 12px 16px;
  background-color: #557CF2;
  height: 40px;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0%;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
}

.tc-btn:disabled {
  background-color: #8BB3F7;
  opacity: 1;
  cursor: default;
}

/* ---------- spinner / loading ---------- */
.tc-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 8px;
  gap: 24px;
}

.tc-loading-texto {
  color: #091E42;
  font-weight: 400;
  font-size: 16px;
  line-height: 145%;
  letter-spacing: 0%;
  text-align: center;
}

.tc-spinner {
  width: 2em;
  height: 2em;
  font-size: 16px;
  border: .35em solid rgba(0, 0, 0, .1);
  border-left-color: #557CF2;
  border-radius: 50%;
  animation: tc-spin 0.75s linear infinite;
  margin: 8px auto 0;
}

@keyframes tc-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- aviso CPF válido ---------- */
.tc-aviso-cpf {
  font-weight: 400;
  font-size: 14px;
  color: #44546F;
  letter-spacing: normal;  
  line-height: 145%;
}

/* ---------- não encontrado ---------- */
.tc-nao-encontrado {
  text-align: center;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.tc-resultado .tc-titulo,
.tc-nao-encontrado .tc-titulo {
  font-weight: 600;
  font-size: 24px;
  line-height: 115%;
  letter-spacing: 0%;
  text-align: center;
  color: #1D3374;
}

.tc-nao-encontrado-info {
  font-weight: 400;
  font-size: 16px;
  line-height: 145%;
  letter-spacing: 0%;
  text-align: center;
  color: #091E42;
  margin-bottom: 16px;
}

.tc-nao-encontrado-link {
  font-weight: 400;
  font-size: 16px;
  line-height: 145%;
  letter-spacing: 0%;
  text-align: center;
  color: #4264CD;
  text-decoration: none;
}

.tc-nao-encontrado-link:hover {
  text-decoration: underline;
}

/* ---------- resultado ---------- */
.tc-resultado {
  max-width: 400px;
}

.tc-resultado-descricao {
  font-weight: 400;
  font-size: 15px;
  color: #091E42;
  align-items: center;
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.tc-profissional-em-atendimento,
.tc-profissional-dados-basicos,
.tc-profissional-dados-consulta {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  gap: 16px;
}

.tc-profissional-dados-basicos {
  gap: 16px;
}

.tc-profissional-dados-consulta {
  gap: 0;
  max-width: 400px;
  gap: 16px;
}

.tc-profissional-data {
  color: #1D3374;
  font-size: 24px;
  font-weight: 600;
  line-height: 115%;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 16px;
}

.tc-profissional-resumo {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.tc-profissional-resumo-consulta {
  margin-bottom: 12px;
}

.tc-profissional-resumo p,
.tc-profissional-resumo label {
  color: #091E42;
  font-size: 16px;
  font-weight: 400;
  line-height: 145%;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
}

.tc-profissional-resumo strong {
  color: #091E42;
  font-weight: 600;
}

.tc-profissional-dados-lista {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
  width: 100%;
  margin-bottom: 16px;
}

.tc-profissional-dados-lista p,
.tc-profissional-dados-lista label {
  color: #091E42;
  font-size: 16px;
  font-weight: 400;
  line-height: 145%;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
}

.tc-profissional-dados-lista strong {
  color: #091E42;
  font-weight: 600;
}

.tc-profissional-protocolo {
  color: #091E42;
  font-weight: 400;
  font-size: 14px;
  line-height: 145%;
  letter-spacing: 0;
  text-align: center;
}

.tc-profissional-alerta {
  color: #DC143C;
  font-size: 24px;
  font-weight: 600;
  line-height: 115%;
  letter-spacing: 0;
  text-align: center;
}

.tc-profissional-aviso,
.tc-profissional-erro {
  color: #DC143C;
  font-size: 14px;
  font-weight: 400;
  line-height: 145%;
  letter-spacing: 0;
  text-align: center;
}

/* ---------- profissional fora de horário ---------- */
.tc-profissional-fora-horario {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  gap: 16px;
}

.tc-profissional-fora-horario-msg {
  color: #1D3374;
  font-size: 24px;
  font-weight: 600;
  line-height: 115%;
  letter-spacing: 0;
  text-align: center;
}

/* ---------- profissional encerrada ---------- */
.tc-profissional-encerrada {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.tc-profissional-encerrada-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  max-width: 400px;
}

.tc-profissional-encerrada-msg {
  color: #1D3374;
  font-size: 24px;
  font-weight: 600;
  line-height: 115%;
  letter-spacing: 0;
  text-align: center;
}
