.signup-container {
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-muted);
}

.signup-wrapper {
  width: 100%;
  max-width: 1000px;
  background: var(--bg-white);
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.signup-hero {
  background: url("/images/hero-farm.svg") center/cover no-repeat,
    linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 3rem 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.signup-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.signup-hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1rem;
  margin: 0 0 2rem;
  opacity: 1;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.9;
}

.signup-form-wrapper {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signup-header {
  text-align: center;
  margin-bottom: 2rem;
}

.signup-header h1 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.signup-header p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

.signup-form {
  width: 100%;
  margin-bottom: 1.5rem;
}

.signup-form .form-group {
  margin-bottom: 1.25rem;
}

.signup-form .form-group label {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.signup-form .form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.9375rem;
  background: var(--surface-muted);
  transition: all 0.2s ease;
}

.signup-form .form-group input:hover {
  background: var(--bg-white);
  border-color: var(--primary-light);
}

.signup-form .form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--focus-ring);
  background: var(--bg-white);
}

.signup-form .form-group input::placeholder {
  color: var(--text-tertiary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.password-input-wrapper {
  position: relative;
}

.password-input-wrapper input {
  padding-right: 3rem;
}

.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.toggle-password:hover {
  color: var(--primary-color);
}

.toggle-password:focus {
  outline: none;
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

/* Submit Button */
.btn-signup {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-signup:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-signup:active {
  transform: translateY(0);
}

.btn-signup:disabled,
.btn-signup.loading {
  background: var(--text-tertiary);
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.btn-signup:disabled:hover,
.btn-signup.loading:hover {
  background: var(--text-tertiary);
  transform: none;
  box-shadow: none;
}

/* Button Loader */
.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
.signup-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider-color);
}

.signup-footer p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

.signup-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.signup-footer a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .signup-container {
    padding: 1rem;
  }

  .signup-wrapper {
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .signup-hero {
    padding: 2rem 1.5rem;
    min-height: 250px;
  }

  .signup-hero h2 {
    font-size: 1.5rem;
  }

  .signup-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .signup-header h1 {
    font-size: 1.5rem;
  }

  .signup-header p {
    font-size: 0.875rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .signup-form .form-group input,
  .btn-signup {
    font-size: 1rem;
    padding: 1rem;
  }

  .password-input-wrapper input {
    padding-right: 3.5rem;
  }
}
