@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --brown: #884A1F;
  --light-brown: #C8983B;
  --black: #210000;
  --green: #3C4C33;
  --light-green: #8DAC9A;

  --color-scheme-1: #031235;
  --color-scheme-2: #4AA2AB;
  --color-scheme-3: #A2CDCF;
  --color-scheme-4: #C73E10;
  --color-scheme-5: #EA9603;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100vh;
  width: 100vw;

  font-family: "Kanit", sans-serif;
  overflow: hidden;
}

body {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;

  font-family: "Kanit", sans-serif;
}

/* login-container */
.login-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  height: 100%;
}

.login-container .row {
  height: 100%;
}

#form-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* bagian background login (kolom kiri) */
#login-background-container {
  width: 50%;
  padding: 1rem;

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

#login-background-container img {
  width: 80%;

  user-select: none;
  pointer-events: none;
}

/* bagian form login */
#login-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  color: var(--color-scheme-1) !important;
  padding: 1.5rem 2rem;

  font-size: 14px;
}

#login-form-container img {
  width: 120px;
  /* margin-bottom: 12px; */
}

#login-form-container h3 {
  font-size: 22px;
  margin: 18px auto;
  font-weight: 500;
}

#login-form-container .form-group {
  width: 100%;
  margin-bottom: 16px;
}

#login-form-container .form-control {
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  padding-left: 0;

  margin-top: 6px;
  border-bottom: 2.3px solid var(--color-scheme-2) !important;
}

#login-form-container .login-button-group {
  width: 100%;
  display: flex;
}

#button-login {
  background-color: var(--color-scheme-1);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 400;

  border: none;
  outline: none;

  padding: 0.5rem 1rem;
  margin-right: 8px;
  width: 50%;
}

#button-register {
  background-color: var(--color-scheme-2);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 400;

  border: none;
  outline: none;

  padding: 0.5rem 1rem;
  width: 50%;
}

#forgot-password-button {
  width: 100%;
  margin-top: 18px;
  font-weight: 300;
}

#space-container {
  display: none;
}

/* bagian popup register */
.popup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #22222299;

  display: none;
  justify-content: center;
  align-items: center;

  font-size: 14px;

  color: var(--color-scheme-1);

  z-index: 3000;
}

/* #termsConditionPopup .popup-title {
  position: sticky;
  top: 0;
}

#termsConditionPopup #termsConditionPopupCloseButton {
  position: sticky !important;
  float: right;
  top: 0;
  right: 0;
} */

.popup-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  width: 576px;
  max-width: 768px;
  background-color: #fff;
  padding: 1rem 2rem;

  position: relative;

  max-height: 80%;
}

#registerPopupCloseButton,
#forgetPasswordPopupCloseButton,
#termsConditionPopupCloseButton,
#legalPopupCloseButton {
  position: absolute !important;

  top: 12px;
  right: 12px;

  width: 24px;
  height: 24px;

  cursor: pointer;
  background-color: #fff;
  border-radius: 24px;

  padding: 1px;
  display: grid;
  place-items: center;

  z-index: 800;
}

#registerPopupCloseButton img {
  user-select: none;
  pointer-events: none;
}

.popup-content .popup-title {
  color: var(--color-scheme-1);

  text-align: center;

  background-color: #fff;
  /* position: sticky;
    top: 1rem;
    left: 0; */
}

#register-form-container,
#forget-password-form-container {
  height: 75%;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 12px;

  overflow-y: auto;
}

#register-form-container .form-group,
#forget-password-form-container .form-group {
  width: 100%;
  margin-bottom: 16px;
}

#register-form-container .form-control,
#forget-password-form-container .form-group {
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  margin: 0;
  padding: 0;

  margin-top: 6px;
  border-bottom: 2.3px solid var(--color-scheme-2) !important;
}

#register-form-container .form-control:focus{
  outline: none;
  box-shadow: none;
}

#registerSubmitButton,
#forgetPasswordSubmitButton,
#legalSubmitButton,
#timerSubmitButton {
  background-color: var(--color-scheme-1);
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  color: #fff;

  margin-top: 12px;
}

/* bagian syarat dan ketentuan */
#terms-condition-content,
#legal-content {
  overflow-y: scroll;
  color: #000 !important;
}

/* modal bagian timer */
#timer-container {
  text-align: center;
  font-family: "Kanit";
}

.timer-content-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;

  line-height: 0.8;

  font-family: "Electronic Highway Sign";
}

.timer-content {
  position: relative;
  display: block;
  font-size: 24px;
  width: 50px;
  text-align: center;
}

/* bagian event berakhir */
#event-end-container {
	/* background-color: #fff; */
	display: none;
  flex-direction: column !important;
	justify-content: center !important;
	align-items: center !important;
	color: #fff;
}

#event-end-container .event-end-text {
  text-shadow: 0px 0px 12px #650088;
  color: #fff;
  font-size: 2rem;
  text-align: center;
  margin: 0;
  font-weight: 700;
}


/* versi mobile */
@media screen and (max-width: 575.999px) {
  body {
    font-size: 12px;
    overflow: hidden;
  }

  .login-container .row {
    /* align-items: flex-start !important; */
    display: flex !important;
    flex-direction: column;
    height: 100vh;

    justify-content: center;
  }

  #login-background-container {
    width: 100%;
    height: 200px;
    /* background-color: yellow; */
  }

  #login-form-container img {
    width: 50px;
    /* margin-bottom: 12px; */
  }

  #login-form-container h3 {
    font-size: 18px;
    margin: 9px auto;

    font-weight: 700;
  }

  #login-background-container img {
    width: 60%;
    height: auto;
  }

  #form-container, #event-end-container {
    height: auto;
  }

  .popup-content {
    width: 100%;
    padding: 1rem;
  }

  #space-container {
    display: flex;
    height: 200px;
  }
}

#login-form-container .form-control:focus {
  outline: none;
  box-shadow: none;
}

.swal2-container {
  z-index: 99999;
}

.modal-backdrop .fade .show{
  z-index: 9999;
}

.modal-backdrop{
  z-index: 9999;
}

#forgetPasswordEmail {
  border: none;
}

#forgetPasswordEmail:focus {
  border: none;
  box-shadow: none;
}

.refreshIcon {
  top: -45px;
  color: #fff;
}