@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /*background: #f4f5f7;*/
  background-image: url("bg_login.webp");
}

/* Login Container */
.login-container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 350px;
}

h2 {
  font-size: 24px;
  color: #333;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* make space for the eye icon */
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}


/* Input Fields */
input {
  width: 100%;
  padding: 12px;
  margin: 12px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  background: #f9f9f9;
}

/* Focus on Input */
input:focus {
  border-color: #ff8800;
  outline: none;
  background: #fff;
}

/* Forgot Password Link */
.forgot-pass {
  text-align: right;
  font-size: 14px;
  margin-bottom: 12px;
}

.forgot-pass a {
  color: #34495e;
  text-decoration: none;
}

.forgot-pass a:hover {
  text-decoration: underline;
}

/* Submit Button */
button {
  width: 100%;
  background-color: #890c25;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
}

button:hover {
  background-color: #2c3e50;
}

/* Switch Between Forms */
.switch-form {
  font-size: 14px;
  margin-top: 15px;
}

.switch-form a {
  color: #34495e;
  font-weight: bold;
  text-decoration: none;
}

.switch-form a:hover {
  text-decoration: underline;
}

/* Error Messages */
.error {
  color: red;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}
