* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Mencegah highlight biru saat elemen diklik di mobile */
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #e9eff6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* Mencegah scroll mental di beberapa browser mobile */
  overflow: hidden; 
  flex-direction: column; 
  
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* Mencegah scroll mental di beberapa browser mobile */
  overflow: hidden;
}
.app-logo {
  width: 220px; 
  height: auto;
  margin-bottom: 15px; 
}

.container {
  width: 90%;
  max-width: 350px;
  background: white;
  background: linear-gradient(0deg, #ffffff 0%, #f4f7fb 100%);
  border-radius: 40px;
  padding: 30px 35px;
  border: 5px solid #ffffff;
  box-shadow: rgba(133, 189, 215, 0.3) 0px 30px 60px -12px;
}

.heading {
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  color: #1089d3;
  margin-bottom: 20px;
}

.form .input {
  width: 100%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 15px;
  margin-top: 15px;
  box-shadow: #cff0ff 0px 10px 10px -5px;
  font-size: 14px;
}

.form .input:focus {
  outline: none;
  box-shadow: #b3e5fc 0px 0px 0px 2px;
}

/* --- Area Options (Remember & Forgot) --- */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 12px;
}

.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #707070;
}

.remember-me input {
  margin-right: 5px;
  accent-color: #1089d3; /* Warna checkbox custom */
}

.forgot-link {
  color: #1089d3;
  text-decoration: none;
}

/* --- Buttons --- */
.login-button {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, #1089d3 0%, #12b1d1 100%);
  color: white;
  padding: 15px;
  margin-top: 25px;
  border-radius: 15px;
  border: none;
  box-shadow: rgba(16, 137, 211, 0.3) 0px 15px 10px -5px;
  cursor: pointer;
  transition: transform 0.2s;
}

.login-button:active {
  transform: scale(0.96);
}

/* --- Register Area --- */
.register-container {
  margin-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #707070;
}

.register-link {
  display: inline-block;
  margin-top: 5px;
  color: #1089d3;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.register-link:hover {
  border-bottom-color: #1089d3;
}
/* --- Wrapper Password & Ikon Mata --- */
.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper .input {
  width: 100%;
  padding-right: 45px; /* Memberi ruang agar teks tidak tertutup ikon */
}

.eye-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  fill: #aaa;
  width: 20px;
  height: 20px;
  margin-top: 7px; /* Menyesuaikan posisi karena ada margin-top di input */
  transition: fill 0.2s;
}

.eye-icon:hover {
  fill: #1089d3;
}

/* --- Pesan Error Validasi --- */
.error-msg {
  color: #e74c3c;
  font-size: 11px;
  margin-top: 5px;
  margin-left: 10px;
  display: none; /* Disembunyikan secara default */
}