/* Reset CSS untuk menghilangkan margin dan padding default */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f7fc;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Container untuk login */
.login-container {
  background-color: #fff;
  width: 100%;
  max-width: 400px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

/* Styling heading */
.login-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

/* Styling untuk form input dan button */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  text-align: left;
  font-size: 14px;
  color: #555;
}

input[type="text"],
input[type="password"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
  outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #5c6bc0;
}

button {
  padding: 10px;
  background-color: #5c6bc0;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #3f51b5;
}

/* Pesan error */
p {
  margin-top: 15px;
  font-size: 14px;
  color: red;
}

/* Styling untuk mobile responsiveness */
@media (max-width: 480px) {
  .login-container {
    width: 90%;
    padding: 20px;
  }

  .login-container h2 {
    font-size: 20px;
  }

  input[type="text"],
  input[type="password"],
  button {
    font-size: 14px;
  }
}
