/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
}

/* Center the form on the page */
body {
  justify-content: center;
  align-items: center;
}

/* Wrapper for form */
.form-wrapper {
  background: #ffffffcc;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.8s ease;
  flex-grow: 1;
  margin-top: 40px;
}

/* Heading */
.register-form h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 24px;
  text-align: center;
}

/* Form groups */
.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  transition: 0.3s;
  outline: none;
  background-color: #f9f9f9;
}

input:focus {
  border-color: #7b61ff;
  background-color: #fff;
  box-shadow: 0 0 0 3px #cbbfff88;
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: #7b61ff;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  background: #6a50e6;
  transform: translateY(-2px);
}

/* Login link */
.login-link {
  margin-top: 16px;
  text-align: center;
  color: #333;
  font-size: 0.95rem;
}

.login-link a {
  color: #7b61ff;
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Footer styles */
.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #555;
  background: transparent;
}

/* Entry animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 480px) {
  .form-wrapper {
    padding: 30px 20px;
    margin-top: 20px;
  }

  .register-form h1 {
    font-size: 1.6rem;
  }
}
