/* Cabine de votação com a identidade do SINAPO (sobre booth.css e forms.css do Helios). */
@font-face { font-family: 'Inter'; src: url(/static/sinapo/fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/static/sinapo/fonts/inter-ext.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url(/static/sinapo/fonts/jakarta.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
:root { --azul: #29166f; --azul-2: #3a26a0; --azul-claro: #ecebf7; --verde: #069140; --verde-escuro: #04722f; --verde-claro: #e3f4ea; --amarelo: #fff200; --linha: #e4e3ee; --fundo: #f6f6fa; --texto: #1b1730; --texto-2: #5c5872; --titulo: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; }

html, body { background: var(--fundo); }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--texto); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--azul-2); }
#wrapper { background: transparent; border: 0; max-width: 860px; margin: 0 auto; padding: 0 16px 32px; }
.edge { background: none; font-size: 1em; display: block; padding: 0; }

#banner { margin: 0 -16px 18px; background: #fff; border-bottom: 1px solid var(--linha); }
.cb-faixa { height: 4px; background: linear-gradient(90deg, var(--azul) 0 50%, var(--verde) 50% 85%, var(--amarelo) 85%); }
.cb-banner { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }
.cb-marca { display: flex; align-items: center; gap: 10px; color: var(--azul); text-align: left; }
.cb-marca img { width: 40px; height: 40px; border-radius: 8px; }
.cb-marca b { font-family: var(--titulo); display: block; font-size: 1.15em; line-height: 1; }
.cb-marca small { color: var(--texto-2); font-size: .8em; }
.cb-sair { font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--linha); color: var(--texto-2); font-size: .9em; }
.cb-sair:hover { background: var(--fundo); color: var(--azul); }

#content { padding: 0; }
#header { text-align: left; padding: 0 0 12px; }
#header h1 { font-family: var(--titulo); color: var(--azul); font-size: 1.6em; line-height: 1.25; }
h3, h4 { font-family: var(--titulo); color: var(--azul); }
h3 { font-size: 1.3em; margin: 0 0 .6em; }

#progress_div { max-width: none; font-size: .95em; margin: 0 0 16px; }
#progress_div table { border-collapse: separate; border-spacing: 6px 0; margin: 0 -6px; }
#progress_div td { border-radius: 10px; padding: 10px 6px; font-weight: 600; border: 0 !important; }
#progress_div td i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-right: 6px; font-size: .85em; background: rgba(0,0,0,.08); }
#progress_div td.unselected { background: #fff; color: var(--texto-2); box-shadow: inset 0 0 0 1px var(--linha); }
#progress_div td.selected { background: var(--azul); color: #fff; }
#progress_div td.selected i { background: var(--amarelo); color: var(--azul); }

#page .panel, .panel { background: #fff; border: 1px solid var(--linha); border-radius: 14px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(27,23,48,.06), 0 6px 20px rgba(27,23,48,.06); }
#page h2 { background: none; border: 0; }
#questions_div { font-size: 1.05em; }
#questions_div ol { padding-left: 1.3em; }
#questions_div li { margin-bottom: .2em; }
#questions_div br { display: none; }

button, .pretty { font-family: inherit; font-size: 1em !important; font-weight: 600; background: var(--azul); color: #fff; border: 0; border-radius: 10px; padding: .75em 1.5em; margin: 4px 0; cursor: pointer; }
button:hover { background: var(--azul-2); }
button[disabled] { opacity: .5; cursor: default; }
#proceed_button { background: var(--verde); padding: .85em 2em; }
#proceed_button:hover { background: var(--verde-escuro); }

form.prettyform { font-size: 1em; }
#answer_form p b { font-family: var(--titulo); color: var(--azul); font-size: 1.25em; line-height: 1.3; }
#answer_form p span { display: block; margin-top: 4px; color: var(--texto-2); font-size: .9em !important; }
#answer_form p br:first-child { display: none; }
div[id^="answer_label_"] { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--linha); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; cursor: pointer; transition: border-color .15s, background .15s; }
div[id^="answer_label_"]:hover { border-color: var(--azul-2); }
div[id^="answer_label_"].selected { background: var(--azul-claro); border-color: var(--azul); }
div[id^="answer_label_"] input { width: 22px; height: 22px; margin: 0; accent-color: var(--azul); flex: none; }
div[id^="answer_label_"] label.answer { flex: 1; font-size: 1.05em; font-weight: 500; cursor: pointer; line-height: 1.4; }
#warning_box { color: var(--verde-escuro) !important; height: auto !important; min-height: 24px; }

#seal_div > div:first-of-type { background: var(--fundo) !important; border: 1px solid var(--linha) !important; border-radius: 12px; padding: 14px 16px !important; }
tt { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--azul-claro); border-radius: 6px; padding: .1em .4em; color: var(--azul); }
textarea { width: 100%; border: 1px solid var(--linha); border-radius: 10px; font-family: ui-monospace, monospace; font-size: .8em; }
#auditbody, #seal_div div[style*="lightyellow"] { border-radius: 10px; }
#seal_div div[style*="lightyellow"] { background: #fffbd6 !important; border-color: #efe39a !important; max-width: none !important; }

#footer { color: var(--texto-2); font-size: .8em; margin-top: 18px; }
#footer #election_hash { font-family: ui-monospace, monospace; }
@media (max-width: 600px) { #page .panel { padding: 18px 16px; } #progress_div td { font-size: .85em; padding: 8px 4px; } #header h1 { font-size: 1.3em; } }
