/* Entrada manual do QR: clareza operacional e foco na digitação. */
.attendance-code-form{
  position:relative;
  isolation:isolate;
  gap:13px!important;
  padding:20px!important;
  overflow:hidden;
  border-color:#cfe4ea!important;
  border-radius:20px!important;
  background:linear-gradient(155deg,#fff 0%,#f8fcfd 100%)!important;
  box-shadow:0 14px 34px rgba(10,70,94,.075)!important;
}
.attendance-code-form:before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-70px;
  right:-65px;
  width:170px;
  height:170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(14,167,170,.13),rgba(14,167,170,0) 70%);
}
.attendance-code-head{
  display:flex;
  align-items:center;
  gap:11px;
  padding-bottom:12px;
  border-bottom:1px solid #e2edf0;
}
.attendance-code-head-icon{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:1px solid #c9e6e8;
  border-radius:13px;
  background:linear-gradient(145deg,#eaf9f8,#fff);
  color:#078b9d;
  box-shadow:0 8px 18px rgba(8,139,157,.09);
}
.attendance-code-head-icon svg,.attendance-code-input-icon svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.attendance-code-head>span:last-child{display:grid;gap:2px}
.attendance-code-head small{color:#0a8799;font-size:8px;font-weight:900;letter-spacing:.14em}
.attendance-code-head strong{color:#14384d;font-size:13px;font-weight:850;letter-spacing:-.01em}
.attendance-code-form label{gap:8px!important}
.attendance-code-label{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#274e61!important;
}
.attendance-code-label em{
  padding:5px 8px;
  border:1px solid #d4e8ec;
  border-radius:999px;
  background:#eef8f9;
  color:#078497;
  font-size:8px;
  font-style:normal;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:none;
}
.attendance-code-form .attendance-input-shell{
  min-height:58px;
  overflow:visible;
  border:1px solid #bfdce3;
  border-radius:16px;
  background:#fff;
  box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(10,72,96,.045);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.attendance-code-form .attendance-input-shell:focus-within{
  transform:translateY(-1px);
  border-color:#079aa5;
  box-shadow:0 0 0 4px rgba(7,154,165,.1),0 13px 26px rgba(7,112,139,.09);
}
.attendance-code-input-icon{
  display:grid!important;
  place-items:center;
  width:52px!important;
  height:56px!important;
  flex:0 0 52px!important;
  border:0!important;
  border-right:1px solid #dcebee!important;
  border-radius:15px 0 0 15px;
  background:linear-gradient(145deg,#effafb,#f8fdfd);
  color:#078b9d!important;
}
.attendance-code-form .attendance-input-shell input{
  height:56px!important;
  padding:0 12px!important;
  color:#14384d!important;
  font-size:12px!important;
  font-weight:760!important;
}
.attendance-code-form .attendance-input-shell input::placeholder{color:#8b9ca5;opacity:1}
.attendance-code-ready{
  flex:0 0 auto;
  margin-right:10px;
  padding:6px 8px;
  border-radius:8px;
  background:#edf7f8;
  color:#72909b!important;
  font:800 8px/1 ui-monospace,SFMono-Regular,Consolas,monospace!important;
  letter-spacing:.03em;
  white-space:nowrap;
}
.attendance-code-help{
  display:flex!important;
  align-items:flex-start;
  gap:7px;
  color:#748b96!important;
  font-size:9px!important;
  line-height:1.5!important;
}
.attendance-code-help>span{
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  flex:0 0 17px;
  border-radius:6px;
  background:#e5f7f2;
  color:#078464;
  font-size:10px;
  font-weight:900;
}
.attendance-code-submit{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:50px!important;
  padding:0 11px 0 17px!important;
  border-radius:14px!important;
  background:linear-gradient(120deg,#064f73,#078aa0)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  box-shadow:0 12px 24px rgba(7,94,125,.19)!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.attendance-code-submit:hover,.attendance-code-submit:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 17px 31px rgba(7,94,125,.26)!important;
  outline:0;
}
.attendance-code-submit i{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  background:rgba(255,255,255,.14);
  font-style:normal;
}
.attendance-code-submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:430px){
  .attendance-code-form{padding:16px!important}
  .attendance-code-ready{display:none!important}
  .attendance-code-form .attendance-input-shell input{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){.attendance-code-form .attendance-input-shell,.attendance-code-submit{transition:none!important}}
