* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-box h2 {
  font-size: 28px;
  color: #1e293b;
  text-align: center;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: #64748b;
  text-align: center;
  margin-bottom: 28px;
}

.input-field {
  margin-bottom: 18px;
position: relative;
overflow: hidden;
}
.input-field .show{
  position: absolute;
  right: 10px;
  top: 15px;
  cursor: pointer;
}
.input-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.input-field input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

.form-options a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
}

.form-options a:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #4338ca;
}

.toggle-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #64748b;
}

.toggle-text a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
}

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

/* Utility Class to hide forms */
.hidden {
  display: none;
}