@font-face {
  font-family: "nunito";
  src: url(Nunito_Sans/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.ttf);
  padding: 1px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "nunito";
}



body, html {
  width: 100%;
  height: 100%;
  overflow: auto; /* supaya background full dan bisa scroll */
  background: white;
}

/* Background image full page + scroll OK */
.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100vh;
  min-height: 100%;
  z-index: 1;
  display: block;
}
.bg-phone {
 display: none;
}

/* Login box absolute */
.login-wrap {
  position: absolute;
  right: 150px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  padding: 30px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 20px rgba(16,24,40,0.1);
  z-index: 5;
}

/* Title */
.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 35px;
}

.title img.logo {
  width: 130px;
  margin-bottom: 10px;
}

.title h1 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 5px;
}

/* Field */
.field {
  margin-bottom: 30px;
}

.wrap-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wrap-label label {
  font-size: 15px;
  font-weight: 500;
}

.icon-label {
  width: 20px;
  opacity: 0.8;
}

.input {
  width: 100%;
  padding: 16px 18px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1.3px solid rgba(0,0,0,0.2);
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.input:focus {
  border-color: #90c4f7;
  transform: translateY(-1px);
}

/* Button */
.btn {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg,#cfe3f6,#b7dff6);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(43,124,191,0.15);
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(43,124,191,0.25);
}

/* ============================
   RESPONSIVE
   ============================ */
/* Tablet */
@media (max-width: 1024px) {
 .login-wrap {
    position: relative;
    right: 0;
    left: 0;
    top: auto;
    transform: none;
    margin: 50px auto;
    width: 90%;
    max-width: 360px;
    padding: 40px 20px;
    border-radius: 16px;
  }
  .title img.logo {
    width: 110px;
  }

  .login-wrap {
     right: 100px;
  }

  .bg {
    object-fit: cover;
  }

  .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 35px;
}

.title img.logo {
  width: 130px;
  margin-bottom: 10px;
}

.title h1 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 5px;
}

/* Field */
.field {
  margin-bottom: 20px;
}

.wrap-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wrap-label label {
  font-size: 13px;
  font-weight: 500;
}

.icon-label {
  width: 18px;
  opacity: 0.8;
}

.input {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  font-size: 12px;
}

.input:focus {
  border-color: #90c4f7;
  transform: translateY(-1px);
}

/* Button */
.btn {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg,#cfe3f6,#b7dff6);
  font-size: 12px;
  font-weight: 600;

}

.bg-phone {
width: 100%;
position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1; 
   display: none;
 object-fit: cover !important;
}

.bg-tab {
width: 100%;
position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1; 
   display: block;
 object-fit: cover !important;
}


  .bg {
    width: 100%;
    height: auto;
    min-height: 100%;
    display: none;
 
  }

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(43,124,191,0.25);
}

}

/* Mobile */
@media (max-width: 600px) {
  body, html {
    overflow: auto;
  }

  
.bg-phone {
width: 100%;
display: block;
position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1; 
 object-fit: cover !important;
}

  .bg {
    display: none;
 
  }
  .bg-tab {
    display: none;
 
  }

  .login-wrap {
    position: relative;
    right: 0;
    left: 0;
    top: auto;
    transform: none;
    margin: 50px auto;
    width: 90%;
    max-width: 360px;
    padding: 40px 20px;
    border-radius: 16px;
  }

  .title img.logo {
    width: 100px;
  }

  .title h1 {
    font-size: 18px;
  }

  .input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .btn {
    padding: 12px;
    font-size: 15px;
  }
}

@media (min-width: 1500px) {
 
.login-wrap {
  position: absolute;
  right: 200px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  padding: 40px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 20px rgba(16,24,40,0.1);
  z-index: 5;
}

/* Field */
.field {
  margin-bottom: 40px;
}

  .title img.logo {
    width: 130px;
  }

  .title h1 {
    font-size: 24px;
  }

  .input {
    padding: 12px 14px;
    font-size: 18x;
  }

  .btn {
    padding: 18px;
    font-size: 16px;
  }
  wrap-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wrap-label label {
  font-size: 18px;
  font-weight: 500;
}

.icon-label {
  width: 20px;
  opacity: 0.8;
}

.input {
  width: 100%;
  padding: 18px 18px;
  margin-top: 6px;
  font-size: 18px;
 
}


}

