.dcrf-wrap { max-width: 960px; margin: 0 auto; padding: 24px 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.dcrf-center { min-height: 60vh; display: flex; align-items: center; justify-content: center; }

.dcrf-hero { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; border-radius: 18px; padding: 28px 26px; margin-bottom: 24px; }
.dcrf-hero-greeting { font-size: .85rem; opacity: .85; margin-bottom: 4px; }
.dcrf-hero-title { font-size: 1.5rem; margin: 0 0 18px; }
.dcrf-hero-note { font-size: .78rem; opacity: .75; margin-top: 10px; }

.dcrf-progress-wrap { margin-bottom: 20px; }
.dcrf-progress-bar { background: rgba(255,255,255,.15); border-radius: 999px; height: 10px; overflow: hidden; }
.dcrf-progress-fill { background: #2ecc71; height: 100%; border-radius: 999px; transition: width .3s ease; }
.dcrf-progress-label { font-size: .78rem; opacity: .8; margin-top: 6px; }

.dcrf-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: .9rem; cursor: pointer; border: none; }
.dcrf-btn-primary { background: #2ecc71; color: #0a0a0a; }
.dcrf-btn-lg { padding: 14px 28px; font-size: 1rem; }
.dcrf-btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.dcrf-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.dcrf-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.dcrf-card-module { text-align: center; }
.dcrf-card-icon { font-size: 1.6rem; margin-bottom: 6px; }
.dcrf-card-label { font-weight: 700; font-size: .88rem; color: #1a1a1a; }
.dcrf-card-status { font-size: .72rem; color: #999; margin-top: 4px; }
.dcrf-card-status-ok { color: #1e8e3e; font-weight: 700; }
.dcrf-card-link { text-decoration: none; color: inherit; transition: transform .12s ease, box-shadow .12s ease; }
.dcrf-card-link:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }

/* ── Navegação / cabeçalhos de módulo ─────────────────────────────────── */
.dcrf-back { display: inline-block; margin-bottom: 14px; color: #2563EB; text-decoration: none; font-size: .85rem; font-weight: 600; }
.dcrf-hero-sm { padding: 22px 24px; }
.dcrf-hero-sm .dcrf-hero-title { font-size: 1.3rem; margin-bottom: 6px; }
.dcrf-progress-dark .dcrf-progress-bar { background: #eee; }
.dcrf-progress-dark .dcrf-progress-fill { background: #2563EB; }
.dcrf-loading { color: #999; padding: 24px; text-align: center; }
.dcrf-empty { color: #999; text-align: center; padding: 20px; }

/* ── Formulários ───────────────────────────────────────────────────────── */
.dcrf-form { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.dcrf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; }
.dcrf-field label { font-weight: 700; font-size: .85rem; color: #333; }
.dcrf-field-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.dcrf-field-row .dcrf-field { margin-bottom: 0; min-width: 160px; }
.dcrf-textarea, .dcrf-input { border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; font-size: .9rem; font-family: inherit; width: 100%; box-sizing: border-box; background: #fff; color: #1a1a1a; }
.dcrf-input-sm { padding: 6px 8px; font-size: .8rem; }
.dcrf-range { vertical-align: middle; margin-right: 8px; }
.dcrf-form-actions { text-align: right; margin-top: 6px; }
.dcrf-save-status { font-size: .78rem; color: #888; min-height: 18px; margin-top: 4px; }
.dcrf-save-status.ok { color: #1e8e3e; font-weight: 700; }
.dcrf-save-status.err { color: #e74c3c; font-weight: 700; }

.dcrf-btn-secondary { background: #fff; color: #2563EB; border: 1.5px solid #2563EB; }
.dcrf-btn-icon { background: none; border: none; font-size: 1rem; cursor: pointer; padding: 4px 8px; }

/* ── Listas (objetivos/obstáculos/recursos) ───────────────────────────── */
.dcrf-list { display: flex; flex-direction: column; gap: 10px; }
.dcrf-list-item { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dcrf-list-item-main { flex: 1; min-width: 220px; }
.dcrf-list-item-title { font-weight: 700; font-size: .9rem; margin-top: 4px; color: #1a1a1a; }
/* Classes genéricas pra qualquer título (h2/h3) criado via JS dentro
   de um card/formulário branco — o tema do site define h1-h6 em
   branco por padrão (dark mode), então título sem essas classes
   (ou sem color explícito) fica invisível em cima do card branco. */
.dcrf-card-title { margin: 0 0 12px; font-size: 1.05rem; color: #1a1a1a; }
.dcrf-report-title { margin: 0 0 10px; color: #1a1a1a; }
.dcrf-list-item-meta { font-size: .78rem; color: #888; margin-top: 2px; }
.dcrf-list-item-actions { display: flex; align-items: center; gap: 8px; }
.dcrf-tag { display: inline-block; background: #eef4ff; color: #2563EB; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-right: 6px; }
.dcrf-tag-blue { background: #eef4ff; color: #2563EB; }
.dcrf-tag-orange { background: #fff4e5; color: #b8720a; }

.dcrf-card-guia { background: #f8f9fb; }
.dcrf-card-guia ul { margin: 8px 0 0; padding-left: 18px; font-size: .85rem; color: #555; }
.dcrf-card-guia li { margin-bottom: 4px; }

/* ── Relatório "Como Eu Corro" ─────────────────────────────────────────── */
.dcrf-report { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 24px; }
.dcrf-report h2 { margin-top: 0; }
.dcrf-report-section { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; }
.dcrf-report-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.dcrf-report-label { font-weight: 800; color: #2563EB; font-size: .82rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.dcrf-report-text { font-size: .92rem; line-height: 1.6; color: #333; }

/* ── Assinatura oficial da devolutiva ─────────────────────────────────────── */
.dcrf-report-assinatura { margin-top: 28px; padding-top: 20px; border-top: 1px solid #eee; text-align: center; }
.dcrf-report-assinatura-data { font-size: .8rem; color: #888; margin-bottom: 4px; }
.dcrf-report-assinatura img { max-width: 340px; width: 100%; margin: 0 auto; }
.dcrf-devolutiva-cabecalho { text-align: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #1a1a2e; }
.dcrf-devolutiva-logo { max-width: 120px; max-height: 90px; margin: 0 auto 10px; }
.dcrf-devolutiva-marca { font-weight: 800; font-size: 1.15rem; color: #1a1a2e; }
.dcrf-devolutiva-credencial { color: #666; font-size: .78rem; margin-top: 6px; }
.dcrf-devolutiva-local-data { color: #888; font-size: .85rem; margin-bottom: 20px; }

/* ── Quiz comportamental ───────────────────────────────────────────────── */
.dcrf-quiz-card { text-align: left; }
.dcrf-quiz-numero { font-size: .76rem; color: #999; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.dcrf-quiz-pergunta { margin: 8px 0 18px; font-size: 1.1rem; color: #1a1a1a; }
.dcrf-quiz-opcoes { display: flex; flex-direction: column; gap: 10px; }
.dcrf-quiz-opcao { text-align: left; background: #fff; border: 1.5px solid #ddd; border-radius: 10px; padding: 12px 16px; font-size: .9rem; cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.dcrf-quiz-opcao:hover { border-color: #2563EB; background: #f7faff; }
.dcrf-quiz-opcao-selecionada { border-color: #2563EB; background: #eef4ff; font-weight: 700; }
.dcrf-quiz-nav { display: flex; justify-content: space-between; margin-top: 18px; }

/* ── Resultado do Perfil Comportamental ───────────────────────────────── */
.dcrf-avisos-lgpd { background: #fff8e6; border: 1px solid #ffe4a3; border-radius: 10px; padding: 12px 14px; font-size: .82rem; color: #5a4300; margin-bottom: 20px; }
.dcrf-perfil-barras { margin-bottom: 24px; }
.dcrf-perfil-barra-row { margin-bottom: 10px; }
.dcrf-perfil-barra-label { font-size: .85rem; font-weight: 700; margin-bottom: 4px; color: #1a1a1a; }
.dcrf-perfil-barra-track { background: #eee; border-radius: 999px; height: 10px; overflow: hidden; }
.dcrf-perfil-barra-fill { background: #2563EB; height: 100%; border-radius: 999px; }

/* ── Rodas ─────────────────────────────────────────────────────────────── */
.dcrf-roda-def { font-size: .92rem; color: #333; margin: 8px 0 12px; }
.dcrf-roda-contexto { background: #f8f9fb; border-radius: 10px; padding: 12px 14px; font-size: .82rem; color: #555; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }

/* ── Abas (Provas) ─────────────────────────────────────────────────────── */
.dcrf-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 2px solid #eee; }
.dcrf-tab { background: none; border: none; padding: 10px 14px; font-size: .82rem; font-weight: 700; color: #888; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.dcrf-tab:hover { color: #2563EB; }
.dcrf-tab-active { color: #2563EB; border-bottom-color: #2563EB; }

/* ── Menu do topo (páginas públicas: login e cadastro de coach) ──────────── */
.dcrf-topbar { background: #1a1a2e; color: #fff; }
.dcrf-topbar-inner { max-width: 960px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.dcrf-topbar-marca { font-weight: 800; letter-spacing: .02em; }
.dcrf-topbar-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dcrf-topbar-links a { color: #cfd3e6; text-decoration: none; font-size: .85rem; font-weight: 600; }
.dcrf-topbar-links a:hover { color: #fff; }
.dcrf-topbar-cta { background: #2ecc71; color: #0a0a0a !important; padding: 8px 16px; border-radius: 999px; }

/* ── Cadastro de coach (público) ──────────────────────────────────────────── */
.dcrf-cadastro-sucesso { text-align: center; padding: 40px 20px; }
.dcrf-cadastro-sucesso .icone { font-size: 2.6rem; margin-bottom: 10px; }
.dcrf-erro-lista { background: #fdecea; border: 1px solid #f5c2c0; color: #a12622; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: .85rem; }
.dcrf-erro-lista ul { margin: 4px 0 0; padding-left: 18px; }
.dcrf-checkbox-linha { display: flex; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: .85rem; color: #444; }
.dcrf-checkbox-linha input { margin-top: 3px; }

/* ── Selo de status (usado na tela admin de Coaches) ──────────────────────── */
.dcrf-selo { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.dcrf-selo-pendente { background: #fff4e5; color: #b8720a; }
.dcrf-selo-aprovado { background: #e9f9ef; color: #1e8e3e; }
.dcrf-selo-rejeitado { background: #fdecea; color: #a12622; }

/* ── Diálogo / Conversa (chat) ─────────────────────────────────────────────── */
.dcrf-chat-lista { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; padding-right: 4px; }
.dcrf-chat-bolha { max-width: 78%; padding: 8px 12px; border-radius: 12px; font-size: .88rem; }
.dcrf-chat-mine { align-self: flex-end; background: #2563EB; color: #fff; border-bottom-right-radius: 3px; }
.dcrf-chat-other { align-self: flex-start; background: #f1f1f4; color: #1a1a1a; border-bottom-left-radius: 3px; }
.dcrf-chat-nome { font-size: .68rem; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.dcrf-chat-corpo { white-space: pre-wrap; word-break: break-word; }
.dcrf-respostas-rapidas { display: flex; flex-wrap: wrap; gap: 6px; }


/* ── Faixa de contexto ("Nome, você está em: X") no topo de cada módulo ──── */
.dcrf-contexto-strip {
  max-width: 960px; margin: 0 auto; padding: 10px 16px 0;
  font-size: .82rem; color: #666;
}
.dcrf-contexto-nome { font-weight: 700; color: #1a1a1a; }

/* ── Cabeçalho de perfil (foto + dados do aluno) no topo da Minha Jornada ── */
.dcrf-perfil-topo { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.dcrf-perfil-foto-area { position: relative; flex: 0 0 auto; text-align: center; }
.dcrf-perfil-foto { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); display: block; }
.dcrf-perfil-foto-form { margin-top: 6px; }
.dcrf-perfil-foto-trocar { font-size: .72rem; color: #2563EB; font-weight: 700; cursor: pointer; display: inline-block; }
.dcrf-perfil-foto-trocar:hover { text-decoration: underline; }
.dcrf-perfil-foto-trocar input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dcrf-perfil-foto-erro { font-size: .72rem; color: #c0392b; margin-top: 4px; max-width: 140px; }
.dcrf-perfil-dados { flex: 1; min-width: 200px; }
.dcrf-perfil-nome { margin: 0 0 6px; font-size: 1.3rem; }
.dcrf-perfil-linha { font-size: .84rem; color: #666; margin-bottom: 2px; }
@media (max-width: 480px) { .dcrf-perfil-topo { flex-direction: column; text-align: center; } .dcrf-perfil-dados { text-align: center; } }




