﻿body {
  background: #ffffff;
  color: #3a3a3a;
  font-family: "Poppins", "Helvetica", "Arial", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

body,
html {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

.root {
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
}

.section {
  width: 50%;
  height: 100vh;
  position: relative;
}

.logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.bg {
    background-color: #000000;
    background: url(../images/background-pattern.svg) fixed;
    background-size: cover;
}

.login {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.login-container {
  max-width: 360px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome {
  padding: 2rem 1rem;
  text-align: center;
}

form {
  width: 320px;
  margin: 1rem auto;
}

.tandc {
  background-color: #fefefe;
  font-size: 0.81rem;
  color: #000000;
  height: 450px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

.tandc .header {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.tandc .content {
  padding: 1rem 1.2rem 1rem 1rem;
  text-align: justify;
  color: #333;
}

.group {
  position: relative;
  margin: 2rem 0;
}

input {
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  display: block;
  border-bottom: 1px solid #c6c6c6;
  width: 300px;
  height: 44px;
  background: #f8f8f8 0% 0% no-repeat padding-box;
  border: 1px solid #eeeeee;
  border-radius: 5px;
  opacity: 1;
}

input:focus {
  outline: none;
}

input:focus ~ .label,
input:valid ~ .label {
  top: -14px;
  font-size: 12px;
  color: #2196f3;
}

input:focus ~ .bar:before {
  width: 320px;
}

input[type="password"] {
  letter-spacing: 0.3em;
}

.label {
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  -webkit-transition: 300ms ease all;
  transition: 300ms ease all;
  text-align: left;
  font: normal normal normal 12px/17px Open Sans;
  letter-spacing: 0px;
  color: #849095;
  opacity: 1;
}

.bar {
  position: relative;
  display: block;
  width: 320px;
}

.bar:before {
  content: "";
  height: 2px;
  width: 0;
  bottom: 0px;
  position: absolute;
  background: #2196f3;
  -webkit-transition: 300ms ease all;
  transition: 300ms ease all;
  left: 0%;
}

.button {
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  background-color: #3bb8c1;
  color: #fff;
  border: none;
  padding: 1rem 1.8rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  outline: none;
  box-shadow: none;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button:hover {
  background-color: #3bb8c1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18), 0 2px 2px rgba(0, 0, 0, 0.12);
}

.form .checkbox {
  position: relative;
}

.form .checkbox input {
  opacity: 0;
  position: absolute;
  margin-right: -20px;
}

.form .checkbox div {
  margin-left: 27px;
}

.form .checkbox span {
  position: absolute;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.27);
  display: block;
  top: 1px;
  left: 0;
  width: 1.2rem;
  height: 1.2rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 3px;
}

.form .checkbox input[id="remember"]:checked ~ .rememberSpan {
  background-image: url(../images/tick.svg);
  background-size: 16px;
  display: block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  width: 1.25em;
  height: 1.25em;
  background-repeat: no-repeat;
  background-position: 50%;
  background-color: #333;
}

.form .checkbox input[id="terms"]:checked ~ .termsSpan {
  background-image: url(../images/tick.svg);
  background-size: 16px;
  display: block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  width: 1.25em;
  height: 1.25em;
  background-repeat: no-repeat;
  background-position: 50%;
  background-color: #333;
}

.error {
  color: red;
  text-align: center;
  font-weight: 500;
  width: 100%;
  padding: 0.5rem 0;
  border-radius: 3px;
}

.options {
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.9rem;
}

.options ul {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-type: none;
}

.options ul li {
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.options .default {
  font-weight: 500;
}

.options .default li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.options .default li .toggle-text {
  overflow: hidden;
  width: 250px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.options .default .down-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.36s ease-in-out;
}

.options .default .arrow-selected {
  transform: rotate(-180deg);
}

.options .tenant-list {
  display: block;
  overflow-y: auto;
  border-top: 1px solid #efefef;
  transition: max-height 0.36s ease-in-out;
}

.options .tenant-list li {
  transition: all 0.12s ease-in-out;
}

.options .tenant-list li:hover {
  background-color: #e9e9e9;
  color: #1a1a1a;
}

.options .display-none {
  visibility: hidden;
  max-height: 0;
}

.options .display-block {
  visibility: visible;
  max-height: 210px;
}

select {
  display: none;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.loading {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 0.12rem solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  -webkit-animation: spin 720ms infinite linear;
  animation: spin 720ms infinite linear;
}

.searchContainer {
  border: none;
  display: none;
  border-top: 1px solid #efefef;
  transition: all 0.12s ease-in-out;
}

.searchContainer input {
  outline: none;
  border: none;
  padding: 1rem 0.75rem;
  font-size: 0.9rem;
}

.display-search {
  display: block;
}

@media screen and (max-width: 768px) {
  .bg {
    display: none;
  }

  .login {
    width: 100%;
  }
}

::-webkit-scrollbar {
  width: 4px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #ddd;
}

.show-me {
  display: block;
}

.hide-me {
  display: none;
}
