/* Autorização de retirada de kit por terceiros (inc/autorizacao-kit.php).
   Mora dentro do acordeão escuro de "Informações da Etapa". */
.rmg-autkit__aviso {
  padding: .75rem 1rem;
  background: rgba(255, 204, 0, .08);
  border: 1px solid rgba(255, 204, 0, .25);
  border-radius: var(--radius-sm, 4px);
  color: rgba(255, 255, 255, .85);
}
.rmg-autkit__abrir,
.rmg-autkit__gerar { border: none; cursor: pointer; margin-top: .25rem; }
.rmg-autkit__branco { font-size: .82rem; color: rgba(255, 255, 255, .6); }
.rmg-autkit__branco a,
.rmg-autkit__branco a:visited { color: var(--yellow, #ffcc00); text-decoration: underline; }

.rmg-autkit__form { margin-top: 1.25rem; }
.rmg-autkit__form[hidden] { display: none; }
.rmg-autkit__form fieldset {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md, 6px);
  padding: .9rem 1rem 1rem;
  margin: 0 0 1rem;
  min-width: 0;
}
.rmg-autkit__form legend {
  padding: 0 .35rem;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--yellow, #ffcc00);
}
.rmg-autkit__form label {
  display: block;
  margin-bottom: .75rem;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
}
.rmg-autkit__form label:last-child { margin-bottom: 0; }
.rmg-autkit__form input[type="text"] {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .7rem .9rem;
  border-radius: var(--radius-md, 6px);
  border: 1px solid rgba(255, 255, 255, .2);
  background: #fff;
  color: #1a1a1a;
  font-size: 1rem; /* 16px: iPhone não dá zoom ao focar */
  font-family: inherit;
}
.rmg-autkit__form input[aria-invalid="true"] { border-color: #ff5a5f; box-shadow: 0 0 0 2px rgba(255, 90, 95, .35); }
.rmg-autkit__arquivo input { font-size: .9rem; color: rgba(255, 255, 255, .85); max-width: 100%; }
.rmg-autkit__dica { margin: 0 0 .6rem; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.rmg-autkit__previa {
  display: block;
  margin-top: .75rem;
  max-width: 100%;
  max-height: 220px;
  border-radius: var(--radius-sm, 4px);
}
.rmg-autkit__previa[hidden] { display: none; }

.rmg-autkit__assinatura {
  background: #fff;
  border-radius: var(--radius-md, 6px);
  overflow: hidden;
}
.rmg-autkit__assinatura canvas {
  display: block;
  width: 100%;
  height: 160px;
  touch-action: none; /* o dedo assina em vez de rolar a página */
  cursor: crosshair;
}
.rmg-autkit__assinatura.is-invalida { box-shadow: 0 0 0 2px #ff5a5f; }
.rmg-autkit__limpar {
  margin-top: .5rem;
  padding: .35rem 0;
  background: none;
  border: none;
  color: var(--yellow, #ffcc00);
  font: inherit;
  font-size: .8rem;
  text-decoration: underline;
  cursor: pointer;
}
.rmg-autkit__erro { color: #ff8a8e; font-weight: 700; font-size: .85rem; }
.rmg-autkit__erro:empty { display: none; }
.rmg-autkit__gerar[disabled] { opacity: .6; cursor: wait; }
.rmg-autkit__pronto {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-md, 6px);
  background: rgba(46, 204, 113, .1);
  border: 1px solid rgba(46, 204, 113, .35);
}
.rmg-autkit__pronto[hidden] { display: none; }
.rmg-autkit__pronto .btn { border: none; cursor: pointer; margin-right: .75rem; }
.rmg-autkit__privacidade { margin-top: 1rem; font-size: .75rem; color: rgba(255, 255, 255, .5); }
