.account-type-selector {
  margin-bottom: 2rem;
}
.account-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.account-type-option {
  cursor: pointer;
}
.account-type-option input[type="radio"] {
  display: none;
}
.account-type-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.account-type-card:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.account-type-option input[type="radio"]:checked + .account-type-card {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff, #eef2ff);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}
.account-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.account-title {
  font-weight: 600;
  color: #2c3e50;
  display: block;
  margin-bottom: 0.25rem;
}
.account-description {
  font-size: 0.85rem;
  color: #718096;
  display: block;
}
.form-section {
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}
.account-fields {
  margin-bottom: 1.5rem;
}
.legal-fields {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.account-fields {
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .account-type-options {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .legal-fields {
    padding: 1rem;
  }
}
.form-label input:required + .label-text::after {
  content: " *";
  color: #e53e3e;
}
.legal-fields .form-label input:required {
  border-left: 3px solid #667eea;
}
.form-label input::placeholder {
  color: #a0aec0;
  font-size: 0.9rem;
}
.error-message {
  background: #fed7d7;
  border: 1px solid #feb2b2;
  border-radius: 6px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}
.error-icon {
  color: #c53030;
  font-weight: bold;
  margin-right: 0.5rem;
}
.password-strength {
  margin-top: 0.5rem;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  overflow: hidden;
}
.password-strength-fill {
  height: 100%;
  transition: all 0.3s ease;
  width: 0%;
}
.password-strength.weak .password-strength-fill {
  background: #e53e3e;
  width: 33%;
}
.password-strength.medium .password-strength-fill {
  background: #d69e2e;
  width: 66%;
}
.password-strength.strong .password-strength-fill {
  background: #38a169;
  width: 100%;
}
.password-match {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  padding: 0.5rem;
  border-radius: 4px;
  display: none;
}
.password-match.match {
  background: #c6f6d5;
  color: #22543d;
  border: 1px solid #9ae6b4;
  display: block;
}
.password-match.mismatch {
  background: #fed7d7;
  color: #742a2a;
  border: 1px solid #feb2b2;
  display: block;
}
.container {
  border-radius: 20px;
}
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem;
  border-radius: 20px;
}
.auth-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.auth-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.auth-logo .logo-icon {
  font-size: 2.5rem;
}
.auth-logo h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #2c3e50;
  margin: 0;
}
.auth-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}
.auth-header p {
  color: #718096;
  font-size: 1rem;
  margin: 0;
}
.auth-form {
  margin-bottom: 2rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4a5568;
}
.checkbox-label input[type="checkbox"] {
  display: none;
}
.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e0;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}
.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #667eea;
  border-color: #667eea;
}
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.password-hint {
  font-size: 0.8rem;
  color: #718096;
  margin-top: 0.5rem;
  line-height: 1.4;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  width: 100%;
}
.label-text {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.form-label input,
.form-label textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  color: #2d3748;
}
.form-label input:focus,
.form-label textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}
.form-label input:hover,
.form-label textarea:hover {
  border-color: #cbd5e0;
}
.auth-btn {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #0052cc 0%, #0066cc 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.auth-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3),
    0 5px 20px rgba(118, 75, 162, 0.2);
}
.auth-btn:active {
  transform: translateY(-1px);
}
.btn-text {
  font-weight: 600;
}
.btn-icon {
  font-size: 1.2rem;
}
.auth-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.auth-footer p {
  color: #718096;
  margin: 0;
}
.auth-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.auth-link:hover {
  color: #0047b3;
  text-decoration: underline;
}
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .auth-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  .auth-header h1 {
    font-size: 1.5rem;
  }
  .auth-logo {
    flex-direction: column;
    gap: 0.5rem;
  }
  .auth-logo h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .auth-container {
    padding: 1rem 0.5rem;
  }
  .auth-card {
    padding: 1.5rem 1rem;
  }
  .form-label input,
  .form-label textarea {
    padding: 0.875rem 1rem;
  }
  .auth-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-card {
  animation: slideInUp 0.6s ease-out;
}
.captcha-container {
    margin: 20px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.8);
    }
}