/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%; /* Full viewport height */
  overflow: hidden; /* Prevent scrolling */
}

body {
  background-image: url("sistem.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  text-decoration: none;
}
.title {
  position: absolute;
  top: 10%;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.title h1 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7); /* Add a shadow for better visibility */
  margin: 0;
}
/* Home Section */
.home {
  position: relative;
  height: 100%; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("sistem.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 0;
}

.form_container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 320px;
  width: 100%;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Input Box */
.input_box {
  position: relative;
  margin-top: 20px;
  width: 100%;
  height: 40px;
}

.input_box input,
.input_box select {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  padding: 0 30px;
  color: #333;
  font-size: 14px;
  background-color: #f9f9f9;
  border-bottom: 1.5px solid #aaaaaa;
  transition: all 0.2s ease;
}

.input_box input:focus,
.input_box select:focus {
  border-color: #7d2ae8;
}

.input_box i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #707070;
}

.input_box i.user,
.input_box i.dropdown-icon {
  left: 10px;
}

/* Dropdown select box styling */
.input_box select {
  appearance: none; /* Remove default browser arrow */
  background-color: transparent;
  cursor: pointer;
}

.input_box i.dropdown-icon {
  right: 10px;
  pointer-events: none; /* Prevent interaction with the icon */
}

.input_box select:focus ~ i.dropdown-icon {
  color: #7d2ae8;
}

/* Submit Button */
.button {
  background: #7d2ae8;
  margin-top: 20px;
  width: 100%;
  padding: 10px 0;
  border-radius: 8px;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.button:hover {
  background: #6931c8;
}
