/* Registration Page Styles */
.registration-container {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 50px;
  background: 
    radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    var(--bg-secondary);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.registration-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(20, 184, 166, 0.02) 2px, rgba(20, 184, 166, 0.02) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(6, 182, 212, 0.02) 2px, rgba(6, 182, 212, 0.02) 4px);
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

.registration-wrapper {
  position: relative;
  z-index: 1;
}

.registration-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  background: var(--bg-primary);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
  transition: all var(--transition-base);
  border: 2px solid var(--border-color);
}

.progress-step.active .step-number {
  background: var(--accent-gradient);
  color: white;
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.progress-step.completed .step-number {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.progress-step.completed .step-number::after {
  content: '✓';
  font-size: 1.5rem;
}

.step-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.progress-step.active .step-label {
  color: var(--accent-primary);
  font-weight: 600;
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 10px;
  margin-bottom: 35px;
  position: relative;
  transition: background var(--transition-base);
}

.progress-line.completed {
  background: var(--success);
}

/* Registration Form */
.registration-form {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

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

.required {
  color: var(--error);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-base);
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 5px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

/* Products Grid */
.products-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.product-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--bg-primary);
}

.product-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card.selected {
  border-color: var(--accent-primary);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.product-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.product-card.selected .product-checkbox {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.product-card.selected .product-checkbox::after {
  content: '✓';
  color: white;
  font-weight: bold;
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-pricing {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.product-plan-select {
  margin-top: 15px;
}

.product-plan-select select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.skip-products-option {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
}

.skip-products-option:hover {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.skip-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  margin: 0;
}

.skip-checkbox-label input[type="checkbox"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
}

.skip-checkbox-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  flex: 1;
}

.skip-checkbox-text i {
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.skip-checkbox-label input[type="checkbox"]:checked + .skip-checkbox-text {
  color: var(--accent-primary);
}

.skip-checkbox-label input[type="checkbox"]:checked + .skip-checkbox-text i {
  color: var(--accent-primary);
}

.selected-products-summary {
  background: var(--bg-secondary);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.selected-products-summary i {
  margin-right: 8px;
  color: var(--accent-primary);
}

.currency-indicator {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  padding: 10px 15px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    background: #f0f4ff;
  }
  50% {
    transform: scale(1.02);
    background: #e0e7ff;
  }
}

.currency-note {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.85rem;
  font-style: italic;
}

/* Selected Products Review */
.selected-products-review {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.selected-products-review h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.selected-product-item {
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border-left: 4px solid var(--accent-primary);
}

.selected-product-item:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 30px 0 20px 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* Review Section */
.review-section {
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
}

.review-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.review-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
  border-bottom: none;
}

.review-label {
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 120px;
}

.review-value {
  color: var(--text-primary);
  font-weight: 500;
}

.review-product-item {
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border-left: 4px solid var(--accent-primary);
}

.review-product-item:last-child {
  margin-bottom: 0;
}

.review-product-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.review-product-price {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .registration-container {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .registration-wrapper {
    padding: 0 15px;
  }

  .registration-form {
    padding: 25px 20px;
  }

  .progress-indicator {
    padding: 20px 15px;
    flex-wrap: wrap;
  }

  .progress-step {
    margin-bottom: 20px;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .progress-line {
    display: none;
  }

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

  .form-actions {
    flex-direction: column;
    gap: 15px;
  }

  .form-actions button {
    width: 100%;
  }

  .step-title {
    font-size: 1.5rem;
  }
}

/* Loading State */
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Message */
.success-message {
  background: var(--success);
  color: white;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}

