* {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}


.login-container {
  display: flex;
  justify-content: end;
  align-items: center;
  height: 100vh;
  background-image: url('login-image.webp');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  padding: 0px 13%;
}

.login-box {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
  width: 380px; /* thoda wide */
  text-align: center;
  text-transform: capitalize;
}

.login-box h2 {
  margin-bottom: 25px;
  color: #222;
  font-weight: bold;
  font-size: 22px;
}

.login-box form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.input-group {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 10px 0;
  display: flex;
  align-items: center;
}
.input-group input {
  width: 100%;
  padding: 12px 40px 12px 38px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.input-group input:focus {
  border-color: #007bff;
  box-shadow: 0px 0px 6px rgba(0, 123, 255, 0.4);
}
.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 15px;
  pointer-events: none;
}
.eye-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s;
}
.eye-toggle:hover {
  color: #007bff;
}

.login-box button {
  width: 100%;
  max-width: 320px;
  padding: 12px;
  margin-top: 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.login-box button:hover {
  background: #0056b3;
}
.back-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.back-btn:hover {
  background: #5a6268;
}
