 .{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.wrapper {
  width: 100%;
  max-width: 500px;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.wrapper:hover {
  transform: translateY(0);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 26px;
  margin-bottom: 25px;
  text-align: center;
  color: #2c3e50;
  transition: font-size 0.3s ease;
}

.subheading {
  font-size: 16px;
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 20px;
}

label {
  font-size: 15px;
  color: #34495e;
  margin-bottom: 8px;
  display: block;
}

input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 18px;
  color: #34495e;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background-color: #3498db;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s, transform 0.2s ease-in-out;
}

.submit-btn:hover {
  background-color: #2980b9;
}

.submit-btn:active {
  background-color: #2980b9;
  transform: scale(0.98);
}

.action-links {
  text-align: center;
  margin-top: 15px;
}

.action-links a {
  font-size: 16px;
  color: #3498db;
  text-decoration: none;
  margin: 0 10px;
  transition: text-decoration 0.3s ease, color 0.3s ease;
}

.action-links a:hover {
  text-decoration: underline;
  color: #2980b9;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 450px;
  padding: 10px 40px 10px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.eye-icon {
  position: absolute;
  right: 10px;
  top: 69%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #888;
}

.form-section {
  display: none;
}

#reset-section, #registration-section {
  padding: 25px;
}

#reset-section h1, #registration-section h1 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 25px;
  color: #2c3e50;
}

#back-to-login, #back-to-login-from-register {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  color: #3498db;
  text-decoration: none;
}

#back-to-login:hover, #back-to-login-from-register:hover {
  text-decoration: underline;
  color: #2980b9;
}

footer {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 25px;
  text-align: center;
  margin-top: 30px;
}

footer p {
  font-size: 16px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .wrapper {
    max-width: 450px;
    padding: 35px;
  }

  h1 {
    font-size: 22px;
  }

  .submit-btn {
    font-size: 16px;
  }

  .input-group {
    margin-bottom: 18px;
  }

  .action-links a {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .wrapper {
    max-width: 100%;
    padding: 20px;
  }

  h1 {
    font-size: 20px;
  }

  .submit-btn {
    font-size: 14px;
  }

  .input-group {
    margin-bottom: 15px;
  }

  .action-links a {
    font-size: 12px;
  }
}