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

* {
  font-size: inherit;
  -webkit-font-smoothing: antialiased;
}

:root {
  --clr-bg-main: #515253;
  --clr-primary: #f90b10;
  --clr-primary-dark: #d34448;
  --clr-bg-light: #fafafa;
}

html,
body {
  height: 100%;
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--clr-bg-main);
  color: var(--clr-bg-light);
  background-image: url(/images/background/transport.webp);
  background-color: rgba(0, 0, 0, 0.8);
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  isolation: isolate;
  z-index: 2;
}

body>* {
  position: relative;
  z-index: 10;
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 3;
  pointer-events: none;
}

img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--clr-bg-main);
  z-index: 999999;
}

.preloader {
  width: 50px;
  height: 50px;
  display: inline-block;
  padding: 0px;
  text-align: left;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -25px;
  margin-top: -25px;
}

.preloader span {
  position: absolute;
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: var(--clr-primary);
  -webkit-animation: preloader 1.3s linear infinite;
  animation: preloader 1.3s linear infinite;
}

.preloader span:last-child {
  animation-delay: -0.8s;
  -webkit-animation-delay: -0.8s;
}

@keyframes preloader {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

.text-white {
  color: #fff !important;
}

.mt-4 {
  margin-top: 1rem;
}

.wrapper {
  margin: 0 auto;
  display: grid;
  padding: 0 1rem;
  min-height: 100vh;
  min-height: 100dvh;
}

.logo {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.logo>img {
  margin: 0 auto;
  max-height: 100px;
  filter: brightness(0) invert(1);
}

.card {
  align-self: center;
  background-color: transparent;
  border-radius: 0.25rem;
}

.card-header,
.card-body {
  padding: 1rem 2rem;
  position: relative;
  border-radius: 0.25rem;
}

.card-header {
  color: white;
  margin-inline: 2rem;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  line-height: 1.2;
  z-index: 1;
  text-align: center;
}

.card-header h1 {
  margin: 0;
}

.form-group,
.input-group {
  margin-bottom: 25px;
}

.md-input {
  --px: 25px;
  --py: 28px;
  position: relative;
}

.md-input .md-form-control {
  background: var(--clr-bg-light) !important;
  color: #222;
  font-size: 1rem;
  padding: var(--py) var(--px) var(--py) var(--px);
  display: block;
  border: none;
  border-radius: 100vw;
  box-shadow: none;
  width: 100%;
  height: 48px;
}

.md-input .highlight {
  position: absolute;
  height: 50%;
  width: 50px;
  top: 23%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

.md-input input:focus,
.md-input input:autofill {
  border-color: #b4bcc0 !important;
  outline: none !important;
}

.md-input label {
  color: #505050;
  font-size: 1rem;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: var(--px);
  top: 18px;
  margin-bottom: 0;
  transition: 0.3s ease all;
  -moz-transition: 0.3s ease all;
  -webkit-transition: 0.3s ease all;
}

.md-input .md-form-control:focus~label,
.md-input .md-form-control:valid~label,
.md-input .md-form-control:autofill~label {
  top: 0px;
  left: var(--px);
  font-size: 0.75rem;
  color: var(--clr-primary);
}

.va-middle {
  vertical-align: middle !important;
}

.btn {
  --_bg: var(--clr-primary);
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.2s ease-in-out;
  border: none;
  border-radius: 100vw;
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

.btn:focus {
  outline: none !important;
}

.btn-primary {
  color: white;
  background-color: var(--_bg);
}

.btn-primary:hover {
  --_bg: var(--clr-primary-dark);
  box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2);
  background-color: var(--_bg);
  color: white;
}

.btn-primary:active,
.btn-primary:focus {
  --_bg: var(--clr-primary-dark);
  box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.2);
  background-color: var(--_bg);
  color: white;
}

.submit_signin>.material-icons {
  margin-top: -2px;
}

.fs-18 {
  font-size: 18px !important;
}

.error_list {
  list-style: none;
  padding: 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  align-items: end;
  padding: 1rem;
  text-align: center;
  justify-content: center;
  margin-top: 4rem;
}

.flags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

@media screen and (min-width: 900px) {
  .wrapper {
    grid-template-columns: 1fr min(100vw, 600px) 1fr;
  }

  .logo img {
    max-height: 150px;
  }
}