html {
  height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  height: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
}

/* Elements */

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #284774;
  font-size: 1rem;
  font-weight: 600;
}

input,
button {
  outline-color: #2b80fc;
  font-family: inherit;
}

input.form-control {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  border: 1px solid #e2e9f2;
  border-radius: 4px;
  padding: 18px 20px;
  color: #1e3e6b;
}

input.form-control::placeholder {
  color: #7a8fab;
}

a {
  text-decoration: none;
}

a,
a:hover,
a:active,
a:focus {
  color: #2b80fc;
}

button {
  position: relative;
  background-color: #2b80fc;
  border: 1px solid #2b80fc;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 15.5px;
  display: block;
  width: 100%;
  cursor: pointer;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0px 10px 30px rgba(35, 132, 227, 0.28);
  opacity: 0;
  transition: opacity 200ms;
  transition-timing-function: ease-in-out;
}

button:hover::before {
  opacity: 1;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-message {
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-size: 1rem;
  padding: 16px 32px;
  width: 100%;
  color: white;
  background: #e01b2e;
  margin-bottom: 2rem;
}

.error-message i {
  margin-right: 8px;
  flex-shrink: 0;
  flex-grow: 0;
}

.success-message {
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-size: 1rem;
  padding: 16px 32px;
  width: 100%;
  color: white;
  background: #288310;
  margin-bottom: 2rem;
}

.success-message i {
  margin-right: 8px;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Barcode scan */
.barcode-scan {
  text-align: center;
  color: #000;
  font-size: 0.875rem;
  line-height: 1.2rem;
}

.barcode-scan i {
  margin-right: 13px;
}

/* Layout */
.auth-layout {
  display: flex;
  overflow-x: hidden;
  justify-content: center;

  width: 100%;

  height: 100%;

  color: #1e3e6b;
}

.auth-layout__content {
  display: flex;
  flex-direction: column;

  width: 100%;
  flex-grow: 1;
  flex-shrink: 0;
  max-width: 600px;
}

.auth-layout__content header {
  flex-shrink: 0;

  padding: 27px 13px;
}

.auth-layout__content main {
  flex-grow: 1;

  padding: 0 13px;
}

.auth-layout__content footer {
  flex-shrink: 0;

  padding: 13px 13px 8px;
}

.auth-layout__slider {
  display: none;

  flex-grow: 1;
  overflow: hidden;
  background-color: #2b80fc;
}

.auth-layout__logo-wrapper {
  display: inline-block;

  margin-bottom: 48px;
}

.auth-layout__logo {
  width: 100%;
  max-width: 270px;
  height: 47px;
}

.auth-layout__title {
  font-size: 1.5rem;
  line-height: 160%;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1e3e6b;
}

.auth-layout__description {
  font-size: 0.875rem;
  line-height: 160%;
}

.auth-layout__footer-text {
  text-align: center;
  color: #7a8fab;

  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 10px 32px;
}

.auth-layout__footer-logo {
  text-align: center;
}

@media only screen and (min-height: 812px) {
  .auth-layout__footer-text {
    margin: 32px;
  }

  .auth-layout__footer-logo {
    margin-bottom: -16px;
  }
}

@media only screen and (min-width: 1024px) {
  .auth-layout__slider {
    display: block;
  }

  .auth-layout__content {
    overflow: auto;
  }

  .auth-layout__content header {
    padding: 50px 56px 36px;
  }

  .auth-layout__content main {
    padding: 0 56px;
  }
}

.slider {
  height: 100%;
  background-color: #2b80fc;
  color: #fff;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider::before {
  content: "";
  background-image: url("/assets/img/slider-mask.png");
  background-position: center;
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slider--loading {
  visibility: hidden;
}

.slider__page {
  padding: 20px;
  z-index: 2;
}

.slider__image {
  margin: 20px;
}
.slider__image::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -60px;
  border-radius: 50%;
  z-index: 1;
  background: linear-gradient(180deg, #2071e7 0%, rgba(41, 122, 240, 0) 100%);
}

.slider__image img {
  max-width: 100%;
  max-height: 450px;
  pointer-events: none;
  z-index: 1;
  position: relative;
}

.slider__texts {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}
.slider__title {
  font-size: 2.375rem;
  font-weight: 600;
  line-height: 3.1rem;
  margin-bottom: 10px;
}

.slider__desc {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.slider__button {
  display: inline-block;
  padding: 17px 58px;
  background: #ffffff;
  border-radius: 6px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #2384e3;
}

.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.slider-pagination__dot {
  width: 10px;
  height: 10px;
  margin: 7px;

  cursor: pointer;

  transition: opacity 500ms;

  opacity: 0.54;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
}

.slider-pagination__dot:hover {
  opacity: 0.75;
}

.slider-pagination__dot:focus {
  outline: none;
}

.slider-pagination__dot--active {
  opacity: 1;
}
