/* Conta da família: /familia/entrar e /familia/pedidos (protótipo aprovado em 30/10). */
.fc-pagina {
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}
.fc-topo {
  text-align: center;
  margin-bottom: 20px;
}
.fc-cartao {
  background: var(--branco);
  border-radius: 28px;
  padding: 28px 22px;
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.1);
  border: 1px solid #e2e8f0;
}
.fc-cartao h1 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--preto-fonte);
}
.fc-texto {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 20px;
}
.fc-texto strong {
  color: var(--preto-fonte);
}
.fc-rotulo {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--preto-fonte);
}
.fc-campo {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  margin: 0 0 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: var(--branco);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--preto-fonte);
  box-sizing: border-box;
}
.fc-campo:focus {
  outline: none;
  border-color: var(--lilas);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.fc-codigo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.4em;
  text-align: center;
}
.fc-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 44px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #334155;
  cursor: pointer;
}
.fc-check input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--lilas-escuro);
}
.fc-check a,
.fc-link {
  color: #6d28d9;
  font-weight: 800;
}
.fc-botao {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: none;
  border-radius: 18px;
  background: var(--lilas-escuro);
  color: var(--branco);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2);
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.fc-botao:disabled {
  background: #cbd5e1;
  box-shadow: none;
  cursor: wait;
}
.fc-secundario {
  background: var(--branco);
  color: #6d28d9;
  border: 2px solid var(--lilas);
  box-shadow: none;
  min-height: 48px;
}
.fc-secundario:disabled {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}
.fc-acoes-codigo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 12px;
}
.fc-texto-botao {
  background: none;
  border: none;
  padding: 0;
  min-height: 44px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #6d28d9;
  text-decoration: underline;
  cursor: pointer;
}
.fc-texto-botao:disabled {
  color: #475569;
  text-decoration: none;
  cursor: default;
}
.fc-nota {
  margin: 16px 0 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  color: #475569;
}
.fc-erro {
  margin: 0 0 14px;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.fc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.fc-profissional {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
}

/* Meus pedidos */
.fc-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 18px;
}
.fc-pedido {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-pedido-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.fc-pedido h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--preto-fonte);
}
.fc-pedido-info {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
}
.fc-pedido .fc-erro {
  margin: 0;
}
.fc-chip {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}
.fc-chip-aberto {
  background: #dcfce7;
  color: #166534;
}
.fc-chip-encerrado,
.fc-chip-vencido {
  background: #f1f5f9;
  color: #334155;
}
.fc-rodape-conta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-top: 16px;
}
.fc-rodape-conta .fc-texto-botao {
  font-size: 14px;
  color: #475569;
}

/* Verificação de robô: a caixa só abre quando o Cloudflare pede atenção (js/turnstile.js). */
.ts-wrap {
  display: none;
  margin: 0 0 16px;
}
.ts-wrap.ts-aberto {
  display: block;
}

/* Continuar com Google (só aparece com as chaves configuradas) */
.fc-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--branco);
  color: var(--preto-fonte);
  border: 2px solid #e2e8f0;
  box-shadow: none;
}
.fc-google-g {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.fc-ou {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
}
.fc-ou::before,
.fc-ou::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Tela de entrar: só o título, sem texto embaixo (decisão do Wagner, 31/10). */
#fc-form-email h1 {
  margin-bottom: 20px;
}

/* Abas da conta: Pedidos | Avaliações */
.fc-abas {
  display: flex;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px;
  background: #ede9fe;
  border-radius: 999px;
}
.fc-abas a {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: #5b21b6;
  text-decoration: none;
}
.fc-abas a[aria-current='page'] {
  background: var(--branco);
  color: var(--preto-fonte);
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.12);
}

/* Avaliações */
.fc-profissional-linha {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fc-foto {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #ede9fe;
  color: #6d28d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}
.fc-profissional-nome {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--preto-fonte);
}
.fc-profissional-tipo {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}
.fc-chip-publicada {
  background: #dcfce7;
  color: #166534;
}
.fc-chip-em_analise {
  background: #fef3c7;
  color: #92400e;
}
.fc-avaliar {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}
.fc-avaliar h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
}
.fc-estrelas {
  border: none;
  margin: 0 0 14px;
  padding: 0;
}
.fc-estrelas-linha {
  display: flex;
  gap: 4px;
}
.fc-estrela {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
}
.fc-estrela.on {
  color: #f59e0b;
}
.fc-area {
  min-height: 96px;
  resize: vertical;
}
.fc-nome-linha {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}
.fc-confianca {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f5f3ff;
  color: #4c1d95;
}
