body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fb;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Container utama */
.login-container {
  background: white;
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  max-width: 400px;
  width: 100%;
  text-align: left;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 25px;
}

.logo img {
  width: 160px;
  height: auto;
}

/* Judul */
h2 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
}

/* Label */
label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #444;
}

/* Input */
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  font-family: inherit;
  line-height: normal;
  box-sizing: border-box;
}

/* Fokus input */
input:focus {
  border-color: #1c8f60;
  outline: none;
  background-color: #fff;
}

/* Tombol */
.btn-submit {
  display: block;
  background: #c8102e;
  color: white;
  border: none;
  padding: 12px 20px;
  margin: 25px auto 0 auto;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #a50c25;
}

/* Link lupa password */
.forgot {
  text-align: center;
  margin-top: 12px;
}

.forgot a {
  color: #c8102e;
  text-decoration: none;
  font-size: 14px;
}

.forgot a:hover {
  text-decoration: underline;
}

/* Pesan */
.form-message {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

/* Checkbox tampilkan password */
.show-password {
  display: flex;
  align-items: center; /* pastikan vertikal rata tengah */
  gap: 6px; /* jarak teks dan checkbox lebih proporsional */
  margin-top: 10px;
  font-size: 14px;
  color: #444;
  line-height: 1; /* stabilkan tinggi teks */
}

.show-password input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin: 0;
  position: relative;
  top: 1px; /* sedikit naik agar sejajar sempurna */
  flex-shrink: 0;
}

.show-password label {
  position: relative;
  top: -3px; /* sejajarkan teks dengan checkbox */
}