/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f8f5ff;
  padding: 20px;
}

/* Logo Styles */
.logo-wrapper {
  margin-bottom: 20px;
  text-align: center;
}

.logo {
  max-width: 150px;
  height: auto;
}

/* Judul Styles */
.judul {
  color: #9900ff;
  margin-bottom: 30px;
  font-size: 25px;
  text-align: center;
  font-weight: 600;
}

/* Form Styles */
form {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
}

form input:focus {
  border-color: #9900ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(153, 0, 255, 0.1);
}

form button {
  width: 100%;
  padding: 15px;
  background-color: #9900ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #7a00cc;
}

/* Link Styles */
p {
  margin-top: 10px;
  color: #555;
  text-align: center;
  font-size: 14px;
}

a {
  color: #9900ff;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    max-width: 120px;
  }

  .judul {
    font-size: 20px;
    margin-bottom: 20px;
  }

  form {
    padding: 20px;
    max-width: 100%;
  }

  form input,
  form button {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  body.container {
    padding: 15px;
  }

  .logo {
    max-width: 100px;
  }

  .judul {
    font-size: 18px;
  }

  form {
    padding: 15px;
  }

  form input,
  form button {
    padding: 10px;
    font-size: 14px;
  }

  p {
    font-size: 13px;
  }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  body.container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo-wrapper {
    margin-bottom: 10px;
  }

  .logo {
    max-width: 80px;
  }

  .judul {
    margin-bottom: 10px;
    font-size: 16px;
  }

  form {
    padding: 15px;
    margin-bottom: 10px;
  }

  form input {
    margin-bottom: 10px;
    padding: 8px;
  }

  form button {
    padding: 8px;
  }
}
