/* Overall page container */
.page-background {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #e5e5e5;
  font-family: 'Inter', sans-serif;
}

/* Main login card */
.login-card {
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  height: 500px;
}

/* Left image panel */
.left-panel {
  flex: 1;
}

.left-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right form panel */
.right-panel {
  flex: 1;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
}

/* Logo */
.right-panel .logo {
  width: 90px;
  margin-bottom: 15px;
}

/* Title */
.right-panel h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.4;
}

/* Login form wrapper */
.login-form {
  width: 100%;
  max-width: 300px;
}

/* Input field container */
.login-form .input-group {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
  max-width: 300px;
}

/* Input field */
.login-form input {
  width: 100%;
  padding: 12px 40px 12px 15px; /* space for icon */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Icon inside input */
.login-form .icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  cursor: pointer;
  pointer-events: auto;
}

/* Links under inputs */
.signup-link,
.forgot {
  display: block;
  margin: 10px 0;
  font-size: 12px;
  color: #666;
  text-decoration: none;
  text-align: right;
}

/* Login button */
.login-form button {
  width: 100%;
  padding: 12px;
  background-color: #3e3e3e;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.login-form button:hover {
  background-color: #222;
}

/* Error message styling */
.error p {
  color: red;
  font-size: 12px;
  margin-bottom: 10px;
}

/* SIGN UP TEXT BELOW LOGIN */
.signup-text {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
  color: #555;
}

.signup-text a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.signup-text a:hover {
  text-decoration: underline;
}
