/* Website generator-specific styles - only unique overrides */

:root {
  --website-primary: #168aad;
  --website-primary-hover: #1a759f;
  --website-secondary: #34a0a4;
  --website-bg-light: #f0f9ff;
  --website-bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  --website-text-gray: #6b7280;
  --website-text-dark: #374151;
  --border-light: 1px solid #e5e7eb;
  
  /* Override shared primary colors for nav-button.primary */
  --primary: var(--website-primary);
  --primary-hover: var(--website-primary-hover);
  --primary-foreground: white;
}

/* Unique background gradient for website generator */
.wizard-container {
  background: var(--website-bg-gradient);
}

/* Website-specific color overrides */
.step-indicator.active {
  background: var(--website-primary);
  color: white;
}

.step-indicator.completed {
  background: #9ca3af;
  color: white;
}

.step-connector.completed {
  background: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--website-primary);
}

.checkbox-item:hover,
.checkbox-item.selected {
  border-color: var(--website-primary);
  background: var(--website-bg-light);
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--website-primary);
}

.color-schemes {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Base card styling with hover lift */
.card-interactive {
  border: var(--border-light);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-interactive:hover {
  border-color: var(--website-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 138, 173, 0.15);
}

.card-interactive.selected {
  border-color: var(--website-primary);
  background: var(--website-bg-light);
}

.color-scheme {
  border: 2px solid #e5e7eb;
}

.color-scheme-info h3 {
  margin: 0 0 0.15rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--website-text-dark);
}

.color-scheme-info p {
  margin: 0;
  color: var(--website-text-gray);
  font-size: 0.8rem;
}

.color-palette {
  display: flex;
  gap: 0.5rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Base button classes */
.btn-website {
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-website--primary {
  background: var(--website-primary);
  color: white;
}

.btn-website--primary:hover {
  background: var(--website-primary-hover);
  transform: translateY(-1px);
}

.btn-website--secondary {
  background: var(--website-secondary);
  color: white;
  border: 1px solid var(--website-primary);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.btn-website--secondary:hover {
  background: var(--website-primary);
  transform: translateY(-1px);
}

.emoji-animation-section {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.toggle-section {
  border: var(--border-light);
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.2s;
}

.toggle-section.active {
  border-color: var(--website-primary);
  background: var(--website-bg-light);
}

.toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
  background: #d1d5db;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-switch.active {
  background: var(--website-primary);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle-switch.active::after {
  transform: translateX(26px);
}

.summary-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.success-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--website-bg-gradient);
  border-radius: 12px;
  margin: 1rem 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--website-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.platform-recommendations {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.platform-card {
  border: var(--border-light);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.platform-card:hover {
  border-color: var(--website-primary);
  box-shadow: 0 4px 12px rgba(22, 138, 173, 0.1);
}

.platform-info h4 {
  margin: 0 0 0.25rem 0;
  color: var(--website-text-dark);
  font-size: 1rem;
  font-weight: 600;
}

.platform-info p {
  margin: 0 0 0.5rem 0;
  color: var(--website-text-gray);
  font-size: 0.8rem;
}

.platform-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-features li {
  color: var(--website-text-gray);
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}

.platform-features li::before {
  content: "•";
  color: var(--website-primary);
  margin-right: 0.5rem;
}

.platform-button {
  background: var(--website-primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.platform-button:hover {
  background: var(--website-primary-hover);
}

.platform-button.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.platform-button.secondary:hover {
  background: #e5e7eb;
}

.tips-section {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.25rem;
}

.tips-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem 0;
  color: #92400e;
  font-weight: 600;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-list li {
  color: #92400e;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.tip-number {
  background: #fbbf24;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

@media (max-width: 768px) {
  .wizard-container {
    padding: 1rem 0;
  }
  .wizard-title {
    font-size: 2rem;
  }
  .step-content {
    padding: 2rem 1.5rem;
  }
  .step-progress {
    gap: 0.5rem;
  }
  .step-indicator {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .step-connector {
    width: 20px;
  }
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Color Picker Modal */
.color-picker-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  padding: 2rem;
}

.color-picker-content {
  max-width: 900px;
  height: 80vh;
  margin: 0 auto;
  background: #f8fdf4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
}

.color-picker-sidebar {
  width: 300px;
  padding: 2rem;
  background: #e8f5e8;
  border-right: 1px solid #d1d5db;
  overflow-y: auto;
}

.color-picker-preview {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.color-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.color-picker-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #184e77;
  margin: 0;
}

.color-picker-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-section {
  margin-bottom: 2rem;
}

.color-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #168aad;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.color-input-group {
  margin-bottom: 1rem;
}

.color-input-label {
  display: block;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.color-input-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-input {
  width: 50px;
  height: 40px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  padding: 0;
}

.color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

.color-hex-input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.9rem;
}

.color-hex-input:focus {
  outline: none;
  border-color: #168aad;
}

.website-preview {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: auto;
}

.preview-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.preview-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

.preview-subsection {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1.5rem 0 0.75rem 0;
}

.preview-text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.preview-buttons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.preview-button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid;
}

.preview-button.primary {
  color: white;
}

.preview-button.secondary {
  background: transparent;
}

.preview-nav {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid;
}

.preview-nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.preview-highlight {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.color-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.color-action-button {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid;
  text-align: center;
}

.color-action-button.cancel {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #d1d5db;
}

.color-action-button.cancel:hover {
  background: #e5e7eb;
}

.color-action-button.save {
  background: #168aad;
  color: white;
  border-color: #168aad;
}

.color-action-button.save:hover {
  background: #1a759f;
}

@media (max-width: 768px) {
  .color-picker-content {
    flex-direction: column;
    height: 90vh;
  }
  .color-picker-sidebar {
    width: 100%;
    max-height: 300px;
  }
}

/* Color scheme styling */
.color-scheme {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--website-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s;
  cursor: pointer;
}

.color-scheme:hover {
  border-color: var(--website-primary);
  box-shadow: 0 4px 12px rgba(52, 168, 83, 0.15);
}

.color-scheme.selected {
  border-color: var(--website-primary);
  background: rgba(52, 168, 83, 0.15);
  box-shadow: 0 4px 15px rgba(23, 74, 37, 0.2);
}