html,
body {
  background-color: rgb(14, 143, 143);
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
}

.login-container {
  position: relative;
  margin: 0 auto;
  bottom: 20px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  border-radius: 16px; /* Rounded corners for the container */
}

.login-container h2 {
  text-align: center;
  margin-bottom: 10px;
}

.login-container form {
  display: flex;
  flex-direction: column;
}

.login-container label {
  font-weight: bold;
  margin-bottom: 5px;
}

.login-container input {
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 16px; /* Rounded corners for inputs */
}

.login-container button {
  padding: 8px; /* Smaller padding for small button */
  background-color: #86898bf9;
  color: #fff;
  border: none;
  border-radius: 16px; /* Rounded corners for button */
  cursor: pointer;
  font-size: 14px; /* Small font size */
}

.login-container button:hover {
  background-color: #0056b3;
}

.password-container {
  position: relative;
}

.password-container input {
  width: 100%;
}

.password-container .toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
  color: #007bff;
}

#swal2-html-container {
  text-align: center;
}

/* Modal container */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25); /* transparan lembut */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal content box */
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Animasi muncul */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Close button (X) */
.close-button {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 20px;
  cursor: pointer;
  color: #888;
}
.close-button:hover {
  color: #000;
}

/* Form field */
.modal-content input {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-content input:focus {
  border-color: #4f46e5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Form structure */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Toggle password eye icon */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #777;
}
.toggle-password:hover {
  color: #333;
}

/* Password container styling */
.password-container {
  position: relative;
}

/* Submit button */
.modal-content button[type="submit"] {
  background-color: #4f46e5;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content button[type="submit"]:hover {
  background-color: #4338ca;
}

