@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(Img/Bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

/* Mengatur Kotak Login */
/* Adjusted for smaller login box */
.wrapper {
  width: 100%;
  max-width: 300px; /* Reduced width */
  background: rgba(248, 246, 248, 0.11);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px); /* Slightly less blur */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); /* Slightly smaller shadow */
  color: #fff;
  border-radius: 8px; /* Reduced border radius */
  padding: 20px 30px; /* Reduced padding */
}

/* Title */
.wrapper h1 {
  font-size: 1.75rem; /* 28px, reduced font size */
  text-align: center;
}

/* Input Box */
.wrapper .input-box {
  position: relative;
  width: 100%;
  height: 40px; /* Reduced height */
  margin: 20px 0; /* Reduced margin */
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px; /* Reduced border radius */
  font-size: 12px; /* 14px, reduced font size */
  color: #fff;
  padding: 10px 30px 10px 10px; /* Reduced padding */
}

.input-box i {
  position: absolute;
  font-size: 1rem; /* 16px, reduced icon size */
  right: 20px;
  top: 50px;
  transform: translateY(-250%);
}

/* Button */
.wrapper .btn {
  width: 100%;
  height: 35px; /* Reduced height */
  background: #fff;
  border: none;
  outline: none;
  border-radius: 30px; /* Reduced border radius */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); /* Slightly smaller shadow */
  cursor: pointer;
  font-size: 0.875rem; /* 14px, reduced font size */
  color: black;
  font-weight: 600;
}

@media (max-width: 768px) {
  .wrapper {
    width: 90%; /* Adjust width for smaller screens */
    padding: 15px; /* Adjust padding for smaller screens */
  }

  .wrapper h1 {
    font-size: 24px; /* Adjust font size for smaller screens */
  }

  .input-box input {
    font-size: 12px; /* Adjust input font size for smaller screens */
  }

  .wrapper .btn {
    height: 30px; /* Adjust button height for smaller screens */
    font-size: 12px; /* Adjust button font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .wrapper {
    width: 95%; /* Further adjust width for very small screens */
  }

  .wrapper h1 {
    font-size: 20px; /* Further adjust font size for very small screens */
  }

  .input-box input {
    font-size: 10px; /* Further adjust input font size for very small screens */
  }

  .wrapper .btn {
    height: 28px; /* Further adjust button height for very small screens */
    font-size: 10px; /* Further adjust button font size for very small screens */
  }
}
