.signup-form {
  padding: 5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0;
}

.signup-form .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.signup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.signup-visual {
  height: 100%;
  min-height: 500px;
  background: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.signup-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.signup-form-wrapper {
  padding: 3rem;
}

.form-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #1a202c;
}

.form-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #718096;
  margin: 0 0 2.5rem 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2d3748;
}

.required {
  color: #e53e3e;
}

.form-input,
.form-textarea {
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  color: #2d3748;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #667eea;
}

.checkbox-label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #4a5568;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.checkbox-label a:hover {
  border-bottom-color: #667eea;
}

.form-submit {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-text {
  display: inline-block;
  transition: opacity 0.2s;
}

.submit-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s;
}

.form-submit.loading .submit-text {
  opacity: 0;
}

.form-submit.loading .submit-loading {
  opacity: 1;
}

.spinner {
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

.spinner circle {
  stroke: white;
  stroke-linecap: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 25;
}

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

.form-message {
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: #c6f6d5;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

.form-message.error {
  display: block;
  background: #fed7d7;
  color: #742a2a;
  border: 1px solid #fc8181;
}

.form-footer {
  text-align: center;
  font-size: 0.875rem;
  color: #718096;
  margin-top: 1.5rem;
}

.form-footer a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.form-footer a:hover {
  border-bottom-color: #667eea;
}

/* Responsive */
@media (max-width: 992px) {
  .signup-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .signup-visual {
    min-height: 300px;
    order: 2;
  }

  .signup-form-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .signup-form {
    padding: 3rem 0;
  }

  .signup-form .container {
    padding: 0 1rem;
  }

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

  .signup-visual {
    display: none;
  }
}
