/* Maur CRM Signup - Figma Style */
.maur-container {
  max-width: 480px;
  margin: 60px auto;
  background: #ffffff;
  padding: 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  color: #1a1a1a;
}

.maur-header {
  text-align: center;
  margin-bottom: 32px;
}

.maur-header h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #111;
}

.maur-header p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.maur-header a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

/* Progress Dots */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e5e5;
  transition: all 0.3s;
}

.dot.active {
  background: #111;
}

.step-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-bottom: 32px;
  padding: 0 20px;
}

.step-labels span {
  flex: 1;
  text-align: center;
}

.step-labels span.active {
  color: #111;
  font-weight: 500;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group.half {
  flex: 1;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s;
  box-sizing: border-box;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
  color: #9ca3af;
}

/* Phone Input */
.phone-input {
  display: flex;
  gap: 8px;
}

.country-code {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: #d1d5db;
  color: #6b7280;
  margin-top: 8px;
}

.btn-primary:not(:disabled) {
  background: #111;
  color: #fff;
}

.btn-primary:not(:disabled):hover {
  background: #333;
}

.btn-primary:disabled {
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-back {
  width: auto;
  padding: 14px 20px;
  background: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.btn-back:hover {
  background: #f9fafb;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: #9ca3af;
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.divider span {
  padding: 0 16px;
}

/* Social Buttons */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  margin-bottom: 12px;
  font-size: 14px;
}

.btn-social:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-social svg {
  flex-shrink: 0;
}

/* Plan Selection */
.plan-selection {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.plan-card {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.plan-card:hover {
  border-color: #d1d5db;
}

.plan-card.selected {
  border-color: #111;
  background: #fafafa;
}

.plan-card input[type="radio"] {
  display: none;
}

.plan-info {
  flex: 1;
}

.plan-name {
  font-weight: 600;
  font-size: 16px;
  color: #111;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.plan-desc {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.plan-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 14px;
  transition: all 0.2s;
}

.plan-card.selected .plan-check {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* Alert */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.alert.show {
  display: block;
}

.alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Success Step */
.success-step {
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

.success-step h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.success-step p {
  color: #6b7280;
  margin-bottom: 24px;
}

/* Hide steps by default */
.maur-step {
  display: none;
}

.maur-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 520px) {
  .maur-container {
    margin: 20px;
    padding: 24px;
  }
  
  .step-labels {
    display: none;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}