/* BOOT SCREEN */
#boot {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #ffffff, #f0f0f0);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

}

.boot-content {
  text-align: center;
}

.boot-logo {
  width: 250px;
  margin-bottom: 30px;
}

.loader {
  width: 200px;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 20px auto;
}

.loader .bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #005eb8, #0077d4);
  animation: load 3s forwards;
}

@keyframes load {
  from { width: 0%; }
  to { width: 100%; }
}

#boot p {
  color: #9fb2c9;
  font-size: 13px;
  margin-top: 10px;
}

/* farce fullscreen */
.boot-screen,
.boot {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* back button */
.back-btn {
  width: 100%;
  padding: 14px 0;
  margin-bottom: 15px;
  font-size: 16px;
  background: #fff;
  color: #005eb8;
  border: 2px solid #005eb8;
  cursor: pointer;
  text-align: left;
  padding-left: 16px;
}

.back-btn:active {
  background: #005eb8;
  color: #fff;
}


/* Grid */
#screen-gateway .grid{
 transform:translatex(0px) translatey(0px);
}

/* Card */
#screen-gateway .grid .card{
 transform:scale(0.69);
 perspective:0px;
 margin-left:-42px;
 margin-right:11px;
 margin-top:-28px;
}

/* Secure */
#screen-gateway .secure{
 transform:translatex(0px) translatey(0px);
}


/* Screen Loader */
#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.88);
  z-index: 999999;
  display: none;
}

body.loading #global-loader {
  display: block;
}

.spinner {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;

  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.3);
  border-top-color: #005eb8;

  box-sizing: border-box;
  animation: spin 1s linear infinite;

  transform: translateZ(0);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

body.loading #global-loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* prevent children from stretching and ensure they stay together */
body.loading #global-loader > * {
  flex: 0 0 auto;
}

/* override other .spinner rules so it doesn't absorb space with margin:auto */
body.loading #global-loader .spinner {
  margin: 0; /* don't use auto margins inside loader */
}



#loader-text {
  color: #fff;           /* Text color */
  font-size: 14px;       /* Text size */
  margin: 10px 0 0 0;    /* Space from spinner */
  letter-spacing: 1px;   /* Letter spacing */
  font-weight: 500;      /* Font weight */
  /* ensure the text doesn't force vertical layout */
  min-height: 0;
  align-self: center;
}

 /* print */
@media print {
  body {
    background: #fff !important;
  }

  .screen {
    display: none !important;
  }

  #screen-result {
    display: block !important;
  }

  button,
  .no-print {
    display: none !important;
  }

  #receipt {
    width: 58mm;
    font-size: 12px;
  }
}
