/* GOOGLE FONT (Roboto:300,400,500) */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap");
:root

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

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

/* CSS untuk form transparan saat diisi otomatis */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: white !important;
  /* Change text color to white */
  transition: background-color 5000s ease-in-out 0s;
  /* Transition background */
  background-color: transparent !important;
  /* Set transparent background */
}

/* HTML RESET */
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

input,
button {
  border: none;
  outline: none;
}

/* ION-ICON RESET */
ion-icon {
  --ionicon-stroke-width: 40px;
  font-size: 24px;
}

/* BACKGROUND-IMAGE WRAPPER */
@media (min-width: 577px) {

  .background_wrapper {
    position: relative;
    /* min-width: 100%; */
    /* height: 120vh; */

    /* display: grid; */
    align-items: center;
    justify-content: center;
  }

  .background_wrapper::before {
    content: "";
    position: absolute;
    min-width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url("../img/hero_lamsel.jpg"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.88);
    z-index: -1;
  }



  /* LOGIN-FORM */
  .login_form_wrapper {
    z-index: 999;
    position: relative;
    background-color: hsla(0, 0%, 10%, 0.1);
    border: 2px solid hsl(0, 0%, 90%);
    color: hsla(0, 0%, 100%, 0.897);

    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem 3.5rem;
    width: 26.25rem;
  }

}

/* TITLE */
.title {
  display: block;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: hsl(0, 0%, 90%);
  letter-spacing: 1px;
}

/* LOGIN-FORM-CONTENT */
.login_form_content {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}

.login_content_box {
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
  border-bottom: 2px solid hsl(0, 0%, 90%);
}

.login_content_box--input {
  width: 100%;
  position: relative;
}

/* LOGIN-INPUT */
.login__input {
  width: 100%;
  padding-block: 0.8rem;
  background-color: transparent;
  color: hsl(0, 0%, 90%);
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
}

/* LOGIN-LABEL */
.login__label {
  position: absolute;
  left: 0;
  top: 13px;
  font-weight: 400;
  transition: top 0.3s, font-weight 0.3s;
}

.password--input {
  padding-right: 1.8rem;
}

.password__hidden {
  position: absolute;
  right: 0;
  top: 15px;
  z-index: 10;
  cursor: pointer;
}

.remember_login,
.remember_login_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.remember_login {
  margin-bottom: 1rem;
}

.remember_login_content {
  column-gap: 0.4rem;
}

.remember_login_input {
  width: 0.95rem;
  height: 0.95rem;
}

.forget__login {
  color: hsl(0, 0%, 90%);
}

.forget__login:hover {
  text-decoration: underline;
}

/* BUTTON LOGIN */
.button__login {
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.5rem;
  background-color: #0093dd;
  /* background-color: hsla(0, 0%, 100%, 0.796); */
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  transition: background-color 0.4s ease;
  letter-spacing: 0.5px;
  color: aliceblue;
}

.button__login:hover {
  background-color: #0093dd;
  /* background-color: hsla(0, 0%, 0%, 0.796); */
  color: hsl(0, 0%, 90%);
}

/* REGISTER LOGIN */
.register__login {
  text-align: center;
}

.register__login a {
  color: #0093dd;
  /* color: hsla(61, 98%, 47%, 0.897); */
  font-weight: 500;
}

.register__login a:hover {
  text-decoration: underline;
}

/* INPUT FOCUS TRANSITION */
.login__input:focus+.login__label {
  top: -12px;
  font-weight: 500;
}

/* STICKY INPUT ON FOCUS WITH TRANSITION */
.login__input:not(:placeholder-shown).login__input:not(:focus)+.login__label {
  top: -12px;
}


@media (max-width: 576px) {
  .background_wrapper {
    position: relative;
    /* min-width: 100%; */
    /* height: 110vh; */

    /* display: grid; */
    /* align-items: center; */
    justify-content: center;
  }

  .col-md-12 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .background_wrapper::before {
    content: "";
    position: absolute;
    min-width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url("../img/hero_lamsel.jpg"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.88);
    z-index: -1;
  }

  .login_form_wrapper {
    width: 22.25rem;
    padding: 2.5rem 2rem 3.5rem;

    z-index: 999;
    position: relative;
    background-color: hsla(0, 0%, 10%, 0.1);
    border: 2px solid hsl(0, 0%, 90%);
    color: hsla(0, 0%, 100%, 0.897);

    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    /* padding: 2.5rem 2rem 3.5rem;
    width: 26.25rem; */

  }

  .jarak-10 {
    margin-top: 50px;
  }

  .swal-overlay--show-modal .swal-modal {
    position: fixed;
    top: 0;
    left: 2.5%;

  }
}

input[type="number"] {
  -webkit-appearance: textfield;
  /* Untuk Chrome */
  -moz-appearance: textfield;
  /* Untuk Firefox */
  appearance: textfield;
  /* Untuk browser lainnya */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}