/* Once Fusion Guide - Custom Styles */

  :root {
    --saved-bg: #10131d;
    --saved-surface: #181b26;
    --saved-panel: #222739;
    --saved-border: #3a405a;
    --saved-muted: #9fb0c1;
    --saved-accent: #9cd2f1;
    --saved-text: #f6f5fa;
  }

* {
  box-sizing: border-box;
}

body {
  background-color: #F6F5FA;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.fusion-setup-trigger {
  min-width: 280px;
  border-width: 2px;
}

.fusion-sidebar {
  --bs-offcanvas-width: min(68vw, 620px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.fusion-sidebar .offcanvas-body {
  padding: 1.5rem;
}

.fusion-sidebar .offcanvas-header {
  padding: 1.25rem 1.5rem;
}

.fusion-sidebar .card {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .fusion-setup-trigger {
    width: 100%;
    min-width: 0;
  }

  .fusion-sidebar {
    --bs-offcanvas-width: 100vw;
  }
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Form Elements */
.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
}

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

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-primary:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.btn-lg {
  font-size: 1.1rem;
}

/* Badges */
.badge {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Alerts */
.alert {
  border-radius: 8px;
  border: none;
  animation: slideIn 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .card {
    margin-bottom: 1rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* Utilities */
.text-muted {
  color: #6c757d !important;
}

.font-weight-bold {
  font-weight: 600;
}

.ms-3 {
  margin-left: 1rem;
}

/* Fusion result preview */
.preview-child-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--saved-border);
  border-radius: 10px;
  padding: 0.65rem;
  margin-bottom: 0.5rem;
  background-color: var(--saved-panel);
  color: var(--saved-text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.preview-child-card:hover {
  border-color: var(--saved-accent);
  box-shadow: 0 0.35rem 0.8rem rgba(156, 210, 241, 0.15);
  transform: translateY(-1px);
  background-color: rgba(156, 210, 241, 0.05);
}

.preview-child-card.active {
  border-color: var(--saved-accent);
  background-color: rgba(156, 210, 241, 0.15);
  box-shadow: 0 0.45rem 0.9rem rgba(156, 210, 241, 0.25);
}

.preview-child-card:focus-visible {
  outline: 2px solid var(--saved-accent);
  outline-offset: 2px;
}

.ms-4 {
  margin-left: 1.5rem;
}

.d-block {
  display: block;
}

