:root {
  --color: #eeeeee;
  --yellow: #f7be4a;
  --dark-yellow: #b18836;
  --blue: #21409a;
  --light-blue: #284cb5;
  --red: #ad4141;
  --primary: #dd3c2b;
  --sofia: 'Sofia Sans Condensed', sans-serif;
  --montserrat: 'Montserrat', sans-serif;
  --header-height: 90px;
  --footer-height: 80px;
  --button-height: 40px;
  --input-height: 40px;
  --padding: 1.5rem;
  --bgr: #1a1a1d;
  color-scheme: dark;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--sofia);
  background-color: var(--bgr);
  color: var(--color);
  display: flex;
  flex-direction: column;
  position: relative;
}

button,
.button {
  height: var(--button-height);
  padding: 0 1.5rem;
  font-family: var(--sofia);
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  line-height: 1;
  background-color: var(--blue);
  color: #fff;
  font-size: calc(var(--button-height) / 2.5);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: background-color 200ms ease-in-out, box-shadow 200ms ease-in-out;
  position: relative;
}
button span,
.button span {
  margin: auto 0;
  line-height: 2.7;
}
button.yellow,
.button.yellow {
  background-color: var(--dark-yellow);
}
button.whatsapp,
.button.whatsapp {
  background-color: #25d366;
}
button.viber,
.button.viber {
  background-color: #7b519d;
}
button.facebook,
.button.facebook {
  background-color: #3b5998;
}
button.danger,
.button.danger {
  background-color: red;
}
button.white,
.button.white {
  background-color: #fff;
  color: var(--color);
}
button:hover,
.button:hover {
  background-color: var(--light-blue);
  box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.15);
}
button:hover.yellow,
.button:hover.yellow {
  background-color: var(--yellow);
}
button:hover.whatsapp,
.button:hover.whatsapp {
  background-color: #21bd5a;
}
button:hover.viber,
.button:hover.viber {
  background-color: #603a8b;
}
button:hover.facebook,
.button:hover.facebook {
  background-color: #2d4373;
}
button:hover.white,
.button:hover.white {
  background-color: #f4f4f4;
}
button:hover.danger,
.button:hover.danger {
  background-color: #d32f2f;
}
button:active,
.button:active {
  background-color: var(--blue);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.15);
}
button:active.yellow,
.button:active.yellow {
  background-color: var(--dark-yellow);
}
button:active.whatsapp,
.button:active.whatsapp {
  background-color: #25d366;
}
button:active.viber,
.button:active.viber {
  background-color: #7b519d;
}
button:active.facebook,
.button:active.facebook {
  background-color: #3b5998;
}
button:active.white,
.button:active.white {
  background-color: #ffffff;
}
button:active.danger,
.button:active.danger {
  background-color: #b71c1c;
}
button .icon,
.button .icon {
  width: calc(var(--button-height) / 2);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -0.5rem;
  fill: currentColor;
}
button .icon svg,
.button .icon svg {
  width: 100%;
  height: 100%;
}
button .icons,
.button .icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  fill: currentColor;
}
button .icons svg,
.button .icons svg {
  width: calc(var(--button-height) / 2);
  height: calc(var(--button-height) / 2);
}
button.icon,
.button.icon {
  width: var(--button-height);
  height: var(--button-height);
  padding: 0;
}
button.icon .icon,
.button.icon .icon {
  width: var(--button-height);
  height: var(--button-height);
  margin: 0;
}
button.icon .icon svg,
.button.icon .icon svg {
  width: 60%;
}
button .progress,
.button .progress {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  width: calc(100% - 6px);
}
button .progress .bar,
.button .progress .bar {
  width: 0;
  height: 3px;
  border-radius: 3px;
  background-color: lime;
  transition: 100ms linear;
}

svg {
  max-width: 100%;
  max-height: 100%;
}
svg.logo .my {
  fill: var(--blue);
}
svg.logo .actifit {
  fill: var(--red);
}

.loader {
  --color: #fff;
  animation: rotate 1.5s linear infinite;
  transform-origin: center center;
  width: 100%;
  height: 100%;
}
.loader .loader-path {
  stroke-width: 4px;
  stroke: var(--color);
  stroke-dasharray: 150, 200;
  stroke-dashoffset: -10;
  animation: dash 1s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round;
}

.login-block {
  margin: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.login-block .header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}
.login-block .header svg {
  width: 75%;
}
.login-block .header span {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.75rem;
  font-weight: bold;
}
.login-block .header span span {
  font-weight: 100;
}
.login-block form {
  width: 100%;
  gap: 1rem;
}
.login-block form h2 {
  text-transform: uppercase;
  font-weight: 500;
}
.login-block form.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.login-block form.active.initialize {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
  transition: transform 500ms ease-in-out, opacity 500ms ease-in-out;
}
.login-block form .group {
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.login-block form .group .row {
  width: 100%;
}
.login-block form .row.buttons {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
form h3 {
  font-family: var(--montserrat);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--blue);
}

.row,
#reader__dashboard_section_csr {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.3rem;
  position: relative;
}
.row label,
#reader__dashboard_section_csr label {
  font-size: 0.9rem;
  transition: color 200ms ease;
  font-weight: 300;
}
.row input,
.row textarea,
.row select,
#reader__dashboard_section_csr input,
#reader__dashboard_section_csr textarea,
#reader__dashboard_section_csr select {
  width: 100%;
  height: var(--input-height);
  border-radius: 4px;
  border: none;
  outline: none;
  padding: 0 0.5rem;
  font-family: var(--sofia);
  font-size: 1rem;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
  transition: box-shadow 200ms ease;
}
.row input::-moz-placeholder,
.row textarea::-moz-placeholder,
.row select::-moz-placeholder,
#reader__dashboard_section_csr input::-moz-placeholder,
#reader__dashboard_section_csr textarea::-moz-placeholder,
#reader__dashboard_section_csr select::-moz-placeholder {
  color: #999;
}
.row input::placeholder,
.row textarea::placeholder,
.row select::placeholder,
#reader__dashboard_section_csr input::placeholder,
#reader__dashboard_section_csr textarea::placeholder,
#reader__dashboard_section_csr select::placeholder {
  color: #999;
}
.row input:focus,
.row textarea:focus,
.row select:focus,
#reader__dashboard_section_csr input:focus,
#reader__dashboard_section_csr textarea:focus,
#reader__dashboard_section_csr select:focus {
  box-shadow: 0px 0px 3px 0px var(--blue);
}
.row input:focus ~ label,
.row textarea:focus ~ label,
.row select:focus ~ label,
#reader__dashboard_section_csr input:focus ~ label,
#reader__dashboard_section_csr textarea:focus ~ label,
#reader__dashboard_section_csr select:focus ~ label {
  color: var(--blue);
}
.row input:focus ~ .icon,
.row textarea:focus ~ .icon,
.row select:focus ~ .icon,
#reader__dashboard_section_csr input:focus ~ .icon,
#reader__dashboard_section_csr textarea:focus ~ .icon,
#reader__dashboard_section_csr select:focus ~ .icon {
  fill: var(--blue);
}
.row input.invalid,
.row textarea.invalid,
.row select.invalid,
#reader__dashboard_section_csr input.invalid,
#reader__dashboard_section_csr textarea.invalid,
#reader__dashboard_section_csr select.invalid {
  box-shadow: 0px 0px 0px 1px var(--red) !important;
}
.row input.invalid ~ label,
.row textarea.invalid ~ label,
.row select.invalid ~ label,
#reader__dashboard_section_csr input.invalid ~ label,
#reader__dashboard_section_csr textarea.invalid ~ label,
#reader__dashboard_section_csr select.invalid ~ label {
  color: var(--red) !important;
}
.row input.invalid ~ .icon,
.row textarea.invalid ~ .icon,
.row select.invalid ~ .icon,
#reader__dashboard_section_csr input.invalid ~ .icon,
#reader__dashboard_section_csr textarea.invalid ~ .icon,
#reader__dashboard_section_csr select.invalid ~ .icon {
  fill: var(--red);
}
.row textarea,
#reader__dashboard_section_csr textarea {
  resize: none;
  height: unset;
  padding: 0.5rem;
  max-height: 150px;
}
.row.single,
#reader__dashboard_section_csr.single {
  flex-direction: row;
  gap: 1rem;
}
.row.single input,
#reader__dashboard_section_csr.single input {
  height: var(--button-height);
}
.row.prefix .icon,
#reader__dashboard_section_csr.prefix .icon {
  height: var(--input-height);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  transition: fill 200ms ease;
  fill: var(--color);
}
.row.prefix .icon svg,
#reader__dashboard_section_csr.prefix .icon svg {
  width: 60%;
  height: auto;
}
.row.prefix input,
#reader__dashboard_section_csr.prefix input {
  z-index: 0;
  padding-left: var(--input-height);
}
.row.buttons,
#reader__dashboard_section_csr.buttons {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
}
.row .error,
#reader__dashboard_section_csr .error {
  font-size: 0.7rem;
  padding: 0.15rem 0.3rem;
  background-color: red;
  color: white;
  border-radius: 4px;
  position: absolute;
  bottom: calc(var(--input-height) + 8px);
  right: 0;
  z-index: 100;
  filter: drop-shadow(0px 2px 7px rgba(0, 0, 0, 0.1));
}
.row .error::before,
#reader__dashboard_section_csr .error::before {
  content: '';
  position: absolute;
  top: 100%;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid red;
}

#reader__dashboard_section_csr {
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.group {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
}
.group .row {
  flex: 1;
}

header {
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem var(--padding);
}
header svg {
  width: 100%;
  height: auto;
}

#reader {
  width: 100%;
  border: none !important;
}
#reader > div:first-child {
  display: none;
}
#reader video,
#reader canvas {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 6px !important;
  overflow: hidden !important;
}

section .content {
  padding: 0 var(--padding) var(--padding);
}

footer {
  margin-top: auto;
  padding: 1rem var(--padding);
  background-color: #444444;
  color: rgba(255, 255, 255, 0.3);
}
footer .copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer a {
  color: var(--dark-yellow);
  text-decoration: none;
}

.check-container {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: var(--bgr);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  transform: scale(0.7);
  transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
}
.check-container .data {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.check-container .success {
  color: seagreen;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.check-container .type {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.check-container .type.blue {
  color: var(--blue);
}
.check-container .type.red {
  color: var(--red);
}
.check-container .type.yellow {
  color: var(--yellow);
}
.check-container .name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.check-container .instructor {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.check-container .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.check-container h3 {
  color: orange;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.5rem;
}
.check-container.in {
  transform: scale(1);
  opacity: 1;
}

select {
  margin: 0.5rem auto 0.5rem;
}

#reader__scan_region {
  margin: 1rem auto 0.5rem;
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

#reader__scan_region img {
  width: 50vw;
  margin-bottom: 2rem;
  filter: invert(1);
}

#html5-qrcode-anchor-scan-type-change {
  display: none !important;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  30%,
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
} /*# sourceMappingURL=check.css.map */
