/* Reset dan dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Parallax background */
.parallax-bg {
  background-image: url('bg-login.jpg'); /* Ganti dengan gambar Anda */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

/* Pastikan html & body full height dan tidak bisa scroll */
html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

/* Container utama */
.auth {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

.auth h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 30px;
  margin-top: 0; /* Pastikan tidak ada jarak atas */

}

/* Form input */
.auth form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.3s;
}

.auth form input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(201, 78, 78, 0.5);
}

.auth form input::placeholder {
  font-size: 160px;
  color: #888; /* opsional: ubah warna placeholder jika perlu */
}

/* Tombol login */
.auth form .btn-login {
  width: 100%;
  padding: 14px;
  background-color: #33BFFF;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth form .btn-login:hover {
  background-color: #1693CC;
}

/* Link daftar */
.auth form p {
  margin-top: 20px;
  font-size: 14px;
  color: #fff;
}

.auth form a {
  color: #33BFFF;
  text-decoration: none;
  font-weight: 600;
}

.auth form a:hover {
  text-decoration: underline;
}

.logo {
  display: block;
  margin: 0 auto;
  padding: 0;
  line-height: 0; /* Hindari spasi vertikal dari line-height default */
  border: none;
}

.auth img.logo {
  display: block;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  border: none;
  vertical-align: middle; /* Hilangkan spasi dari inline image */
}



/* Animasi */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive: HP kecil */
@media (max-width: 480px) {
  .auth {
    width: 90%;
    padding: 25px 20px;
    border-radius: 15px;
  }

  .auth h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .auth form input,
  .auth form button {
    font-size: 14px;
     padding: 14px;
  }
    .auth form input::placeholder {
    font-size: 14px;
  }

  .auth form p,
  .auth form a {
    font-size: 12px;
  }
}
