.ga-custom-card-wrap{width:100%;max-width:1011px;margin:20px auto}.ga-custom-card{width:100%;position:relative;background-size:100% 100%;background-repeat:no-repeat;overflow:hidden;box-shadow:0 10px 30px #071a3822}.ga-card-field{position:absolute;box-sizing:border-box;line-height:1.05;display:flex;align-items:center;overflow:hidden}.ga-card-field img{width:100%;height:100%;object-fit:cover}.ga-field-qrcode{align-items:stretch}.ga-template-qr{width:100%;height:100%;padding:0!important}.ga-template-qr canvas,.ga-template-qr>img:not(.ga-qr-center-logo){width:100%!important;height:100%!important;object-fit:contain}.ga-custom-card .ga-qr-center-logo{width:18%!important;height:18%!important}@media print{.ga-custom-card-wrap,.ga-custom-card-wrap *{visibility:visible!important}.ga-custom-card-wrap{position:absolute;left:0;top:0;width:100%;max-width:none}}

/* v2.0.37 - conteúdo sempre contido dentro das caixas do template */
.ga-custom-card .ga-card-field{
  max-width:100%;
  max-height:100%;
  min-width:0;
  min-height:0;
  white-space:nowrap;
  overflow:hidden!important;
  text-overflow:clip;
  padding:0 2px;
  box-sizing:border-box;
}
.ga-custom-card .ga-field-name,
.ga-custom-card .ga-field-registration,
.ga-custom-card .ga-field-role_title,
.ga-custom-card .ga-field-modality,
.ga-custom-card .ga-field-belt,
.ga-custom-card .ga-field-teacher,
.ga-custom-card .ga-field-unit,
.ga-custom-card .ga-field-expiry,
.ga-custom-card .ga-field-birth_date,
.ga-custom-card .ga-field-status{
  justify-content:center;
  text-align:center;
}

/* v2.0.38 - auto-fit e QR legível */
.ga-custom-card .ga-card-field{
  overflow:hidden!important;
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:0!important;
}
.ga-custom-card .ga-field-qrcode{
  padding:0!important;
  overflow:visible!important;
}
.ga-custom-card .ga-template-qr{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
}
.ga-custom-card .ga-template-qr canvas{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  image-rendering:pixelated;
}

/* v2.0.50 - impressão fixa e autoajuste de todos os textos */
.ga-print-card .ga-card-field,
.ga-custom-card .ga-card-field{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.ga-print-card{
  overflow:hidden!important;
}
