/* ===================== LOGIN & REGISTER PAGE ===================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #007bff 0%, #00aaff 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Container utama */
.container {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  box-sizing: border-box;
}

/* Kotak form login/daftar */
.form-box {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form{
  width:100%;
}
/* Logo */
.form-box .logo {
  width: 250px;
  height: auto;
  margin-bottom: 0px;
}

/* Judul login/daftar */
.login-title {
  font-size: 20px;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 20px;
}

/* Input field */
form input[type="text"],
form input[type="tel"],
form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border 0.2s ease;
}

form input:focus {
  border-color: #007bff;
  outline: none;
}


/* Tombol umum */
.btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Warna tombol */
.btn.green { background: #2ecc71; }
.btn.blue { background: #007bff; }

/* Link "lupa password" dan teks kecil */
.forgot {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: #007bff;
  text-decoration: none;
}

.forgot:hover {
  text-decoration: underline;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 480px) {
  .form-box {
    padding: 20px 20px;
    border-radius: 10px;
  }

  .form-box .logo {
  width: 160px;
  }

  form input {
    font-size: 14px;
    padding: 10px;
  }

  .btn {
    font-size: 14px;
    padding: 10px;
  }

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