/* ----------- Google Font Import - Poppins ----------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #93aae8;
}

.welcome-fail {
  display: none;
}

.main-form {
  display: none;
}

.container {
  position: relative;
  border-radius: 6px;
  padding: 30px;
  margin: 0 15px;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.main-form.container {
  max-width: 900px;
  width: 100%;
}

.container header {
  position: relative;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.container header::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 3px;
  width: 27px;
  border-radius: 8px;
  background-color: #5c85f6;
}

.container form {
  position: relative;
  margin-top: 16px;
  background-color: #fff;
  overflow: none;
}

.container form .form {
  background-color: #fff;
  transition: 0.3s ease;
}

form.secActive .form.first {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

.container form .title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0;
  color: #333;
}

.main-form.container form .fields {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.main-form form .fields .input-field {
  display: flex;
  width: calc(100% / 3 - 15px);
  flex-direction: column;
  margin: 4px 0;
}

.input-field label {
  font-size: 12px;
  font-weight: 500;
  color: #2e2e2e;
}

.input-field input,
select {
  outline: none;
  font-size: 12px;
  font-weight: 400;
  color: #333;
  border-radius: 5px;
  border: 1px solid #aaa;
  padding: 0 15px;
  height: 42px;
  margin: 8px 0;
}

.input-field input {
  width: 100%;
}

.input-field input :focus,
.input-field select:focus {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
}

.input-field select,
.input-field input[type="date"] {
  color: #707070;
}

.input-field input[type="date"]:valid {
  color: #333;
}

.container form button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  max-width: 200px;
  width: 100%;
  border: none;
  outline: none;
  color: #fff;
  border-radius: 5px;
  margin: 15px 0;
  padding: 15px 32px;
  background-color: #93aae8;
  transition: all 0.3s linear;
  cursor: pointer;
}

.welcome-screen.container form button {
  max-width: none;
}

.welcome-fail.container form button {
  max-width: none;
}

.container form {
  font-size: 14px;
  font-weight: 400;
}

form button:hover {
  background-color: #7b98e9;
}

.error {
  clear: both;
  color: #ec3644;
}

.message {
  clear: both;
  display: none;
  color: #000000;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}
.confirmed {
  clear: both;
  display: none;
  color: #000000;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}
.confirmed_error {
  clear: both;
  display: none;
  color: #000000;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

.not-allowed {
  color: #ff0000;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  margin-top: 50px;
}

.logo {
  text-align: center;
}

#button_reset {
  text-align: center;
  display: none;
}

#button_reset button {
  display: inline;
}

.terms-and-conditions {
  display: flex;
  width: calc(100% / 3 - 15px);
  line-height: 43px;
  margin-top: 15px;
}

.terms-and-conditions span {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

.login-info {
  font-size: 12px;
  font-weight: 400;
  color: #9a9a9a;
}

.login-info a,
.login-info a:visited {
  color: #93aae8;
}

.form-footer {
  font-size: 12px;
  font-weight: 400;
  color: #9a9a9a;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.form-footer a,
.form-footer a:visited {
  color: #93aae8;
}

.logout-button {
  position: fixed;
  right: 0;
  top: 0;
  background: white;
  padding: 10px;
  cursor: pointer;
}

.submit-button-container {
  display: block !important;
}

.submit-button-container button {
  float: right;
}

.captcha-disclaimer {
  font-size: 12px;
  font-weight: 400;
  color: black;
  position: fixed;
  right: 100px;
  bottom: 20px;
  width: 400px;
}

.captcha-disclaimer a,
.captcha-disclaimer a:visited {
  color: blue;
}

.terms-popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.terms-popup-content {
  width: 100%;
  max-width: 800px;
  height: calc(100% - 60px);
  margin-left: auto;
  margin-right: auto;
}

.terms-popup-content iframe {
  width: 100%;
  height: 100%;
}

.terms-popup-content-close {
  background-color: #93aae8;
  color: #fff;
  display: inline-block;
  box-sizing: border-box;
  float: right;
  line-height: 45px;
  text-align: center;
  width: 45px;
  cursor: pointer;
  margin: 5px 0;
  border-radius: 5px;
  font-size: 20px;
}

.language-switcher {
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}
.language-switcher-hr {
  display: none;
}
.language-switcher img {
  width: 30px;
  height: 30px;
}

.select2-selection {
  height: 42px !important;
}

.select2-selection__rendered {
  line-height: 42px !important;
  font-size: 12px !important;
  color: #333 !important;
}

@media only screen and (max-width: 600px) {
  .fields {
    display: block;
    width: 100% !important;
  }

  .input-field {
    display: block;
    width: 100% !important;
  }

  .input-field label,
  .input-field input,
  .input-field select,
  .form-row button {
    display: block;
    width: 100% !important;
  }

  .form {
    position: relative !important;
  }

  .logo {
    margin-top: 40px;
  }

  .body {
    padding: 100px !important;
  }

  .submit-button-container {
    display: block;
    width: 100% !important;
  }

  .submit-button-container button {
    float: none;
    max-width: none !important;
  }

  .terms-and-conditions {
    display: block;
    width: 100%;
    line-height: 43px;
    margin-top: 15px;
  }

  .main-form {
    margin-top: 75px;
    margin-bottom: 150px;
  }

  .captcha-disclaimer {
    width: calc(100% - 120px);
    padding-right: 20px;
  }
}
