/* Urna eletrônica (brincadeira temporária). Ver instruções em js/urna.js */
.urna-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 12px; }
.urna-overlay.aberta { display: flex; }
.urna-caixa { position: relative; background: #d8d6cf; border-radius: 14px; padding: 14px; width: 100%; max-width: 760px; box-shadow: 0 10px 40px rgba(0,0,0,.6); color: #111; font-family: Arial, Helvetica, sans-serif; }
.urna-fechar { position: absolute; top: -12px; right: -12px; width: 32px; height: 32px; border-radius: 50%; border: none; background: #c0392b; color: #fff; font-size: 16px; cursor: pointer; }
.urna-corpo { display: flex; gap: 14px; flex-wrap: wrap; }
.urna-tela { flex: 1 1 300px; min-height: 280px; background: #e9efe4; border: 4px solid #555; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; font-size: 14px; }
.urna-cabecalho { font-size: 12px; color: #333; }
.urna-cargo { font-size: 20px; font-weight: bold; margin: 6px 0 10px; }
.urna-numero-linha { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.urna-rotulo { font-size: 13px; }
.urna-caixa-digito { display: inline-flex; width: 32px; height: 40px; border: 2px solid #111; align-items: center; justify-content: center; font-size: 26px; font-weight: bold; background: #fff; }
.urna-info { flex: 1; margin-top: 8px; position: relative; }
.urna-linha { margin: 3px 0; font-size: 14px; }
.urna-linha span { color: #444; display: inline-block; min-width: 60px; }
.urna-foto { position: absolute; right: 0; top: 0; width: 70px; height: 86px; border: 2px solid #555; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; overflow: hidden; }
.urna-foto img { width: 100%; height: 100%; object-fit: cover; }
.urna-aviso-grande { font-size: 20px; font-weight: bold; margin-top: 10px; }
.urna-aviso-pequeno { font-size: 16px; margin-top: 6px; font-weight: bold; }
.urna-rodape { border-top: 1px solid #555; padding-top: 6px; font-size: 11px; color: #222; }
.urna-teclado { flex: 0 0 220px; margin: 0 auto; background: #2b2b2b; border-radius: 8px; padding: 10px; color: #fff; }
.urna-logo { text-align: center; font-weight: bold; font-size: 12px; margin-bottom: 8px; line-height: 1.3; }
.urna-logo small { font-weight: normal; color: #bbb; }
.urna-teclas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.urna-tecla { height: 44px; border-radius: 5px; border: none; background: #111; color: #fff; font-size: 20px; font-weight: bold; cursor: pointer; border-bottom: 3px solid #000; }
.urna-tecla:active { transform: translateY(2px); }
.urna-acoes { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; margin-top: 10px; }
.urna-acao { height: 48px; border: none; border-radius: 5px; font-size: 10px; font-weight: bold; cursor: pointer; }
.urna-branco { background: #f4f4f4; color: #111; }
.urna-corrige { background: #f08a24; color: #111; }
.urna-confirma { background: #1faa4b; color: #fff; }
.urna-acao:active { transform: translateY(2px); }
.urna-fim { text-align: center; margin: auto; }
.urna-fim-texto { font-size: 72px; font-weight: bold; letter-spacing: 6px; }
.urna-fim-msg { margin: 10px 0 14px; font-size: 15px; line-height: 1.5; }
.urna-botao-ok { background: #043573; color: #fff; border: none; padding: 8px 22px; border-radius: 6px; font-size: 14px; cursor: pointer; }
@media (max-width: 560px) { .urna-teclado { flex-basis: 100%; } }
