* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
}

.signup-wrapper {
  display: flex;
  height: 100vh;
}

.signup-left {
  width: 50%;
  background-color: #fdf0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-left img {
  max-width: 100%;
  height: auto;
}

.signup-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.form-container {
  max-width: 420px;
  width: 100%;
}

.form-container h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  color: #1e003e;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 15px;
  border: 1px solid #d3c8f3;
  border-radius: 8px;
  background: #faf8ff;
  color: #333;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #999;
}

.checkbox {
  font-size: 13px;
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.checkbox input {
  margin-top: 3px;
}

.signup-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background-color: #7c47f3;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.signup-btn:hover {
  background-color: #672ee0;
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #7532e0;
  font-size: 14px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive: image below form on mobile */
@media (max-width: 900px) {
  .signup-wrapper {
    flex-direction: column;
    height: auto;
  }

  .signup-left,
  .signup-right {
    width: 100%;
  }

  .signup-left {
    text-align: center;
  }

  .signup-left img {
    max-width: 100%;
    height: auto;
  }
}
