/* Wrapper input */
.input-wrap{
  position: relative;
  width: 100%;
}

/* Page layout (Rajawali-style) */
body{
  background: var(--primary-color);
}

.login-page{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
}

.login-box{
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  border: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.error{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background:#ffecec;
  border:1px solid #ffbcbc;
  color:#a30000;
  font-size:14px;
}
/* Spasi antar field */
.field{
  margin-bottom: 12px;
}



/* Input */
.input-wrap input{
  width: 100%;
  box-sizing: border-box;

  /* ruang untuk icon kiri & kanan */
  padding-left: 44px;
  padding-right: 44px;

  height: 44px;
  border-radius: 12px;
}

/* Icon kiri (user/lock) */
.icon-left{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Tombol mata (kanan) */
.icon-right-btn{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);

  border: 0;
  background: transparent;
  padding: 6px;
  line-height: 1;
  cursor: pointer;

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

  opacity: .7;
}

.icon-right-btn:hover{
  opacity: 1;
}

/* Biar tombol mata tidak menggeser layout */
.icon-right-btn svg{
  display: block;
}

/* Optional: rapihin judul/logo kalau perlu */
.login-logo{
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

.login-title{
  text-align: center;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 800;
}

.login-btn{
  width: 100%;
  margin-top: 4px;
}

/* footer */
.login-footer{
  margin-top: 16px;
  text-align: center;
  opacity: .85;
  font-size:8pt;
}
