/* ============================================
   My Bots Dashboard — Dark theme
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #0a0a1a;
  color: #e2e8f0;
  min-height: 100vh;
}

/* ---- Header ---- */
.mybots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(15, 15, 35, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.mybots-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.mybots-nav {
  display: flex;
  gap: 16px;
}
.mybots-nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.mybots-nav a:hover { color: #fff; }
.mybots-auth { display: flex; align-items: center; }
.header-login-btn {
  color: #c4b5fd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 20px;
  transition: all 0.2s;
}
.header-login-btn:hover {
  background: rgba(196, 181, 253, 0.1);
  border-color: rgba(196, 181, 253, 0.5);
}

/* ---- Main ---- */
.mybots-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px;
  min-height: 70vh;
}

/* ---- Loading ---- */
.mybots-loading {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}
.mybots-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  animation: mybots-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes mybots-spin { to { transform: rotate(360deg); } }

/* ---- Auth wall ---- */
.mybots-auth-required {
  text-align: center;
  padding: 80px 20px;
}
.mybots-auth-icon { font-size: 64px; margin-bottom: 16px; }
.mybots-auth-required h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}
.mybots-auth-required p {
  color: #94a3b8;
  margin-bottom: 24px;
}
.mybots-signin-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: opacity 0.2s;
}
.mybots-signin-btn:hover { opacity: 0.9; }
.mybots-signup-hint {
  margin-top: 16px;
  font-size: 13px;
  color: #64748b;
}
.mybots-signup-hint a { color: #a78bfa; }

/* ---- Welcome ---- */
.mybots-welcome h1 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

/* ---- Team section ---- */
.mybots-team-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.mybots-team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mybots-team-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.mybots-team-count { color: #94a3b8; font-weight: 400; }
.mybots-strength {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mybots-strength-label {
  font-size: 13px;
  color: #94a3b8;
}
.mybots-strength-value {
  font-size: 18px;
  font-weight: 700;
  color: #a78bfa;
}
.mybots-strength-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.mybots-strength-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease, background 0.3s;
  background: #8b5cf6;
}
.mybots-synergies {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mybots-synergy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  color: #c4b5fd;
}
.mybots-synergy-badge.complete {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

/* ---- Bot grid ---- */
.mybots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.mybots-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s;
}
.mybots-card:hover { border-color: rgba(139, 92, 246, 0.3); }
.mybots-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}
.mybots-card-avatar img {
  width: 52px;
  height: 52px;
}
.mybots-card-name {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.mybots-card-tier {
  font-size: 12px;
  color: #94a3b8;
  margin: 4px 0 16px;
  text-transform: capitalize;
}
.mybots-card-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.mybots-download-btn, .mybots-visit-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s;
}
.mybots-download-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}
.mybots-visit-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mybots-download-btn:hover, .mybots-visit-btn:hover { opacity: 0.85; }

/* ---- Empty state ---- */
.mybots-empty {
  text-align: center;
  padding: 48px 20px;
}
.mybots-empty-icon { font-size: 56px; margin-bottom: 12px; }
.mybots-empty h3 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.mybots-empty p { color: #94a3b8; margin-bottom: 20px; }
.mybots-build-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
}

/* ---- Recommendations ---- */
.mybots-recommendations {
  margin-bottom: 32px;
}
.mybots-recommendations h2 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
}
.mybots-rec-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mybots-rec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}
.mybots-rec-card:hover { border-color: rgba(139, 92, 246, 0.3); }
.mybots-rec-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.mybots-rec-avatar img { width: 32px; height: 32px; }
.mybots-rec-info { flex: 1; min-width: 0; }
.mybots-rec-name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.mybots-rec-reason {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}
.mybots-rec-type {
  font-size: 10px;
  color: #58a6ff;
  margin-top: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mybots-rec-add {
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: #c4b5fd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.mybots-rec-add:hover { background: rgba(139, 92, 246, 0.25); }

/* ---- CTA ---- */
.mybots-cta {
  text-align: center;
  padding: 24px 0;
}
.mybots-build-more-btn {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}
.mybots-build-more-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

/* ---- Messaging Connect ---- */
.mybots-card-messaging {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mybots-connect-btn {
  width: 100%;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  color: #86efac;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.mybots-connect-btn:hover { background: rgba(34, 197, 94, 0.2); }
.mybots-connect-btn:disabled { opacity: 0.5; cursor: wait; }
.mybots-connect-result {
  margin-top: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}
.mybots-connect-code {
  font-family: monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  text-align: center;
  color: #f59e0b;
  padding: 8px 0;
}
.mybots-connect-instructions {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  line-height: 1.6;
}
.mybots-connect-instructions code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #e2e8f0;
}
.mybots-connect-error { color: #f87171; font-size: 13px; }
.mybots-bindings { margin-top: 8px; }
.mybots-bindings-title {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.mybots-binding-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
}
.mybots-binding-channel {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}
.mybots-binding-user { color: #94a3b8; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mybots-binding-disconnect {
  background: none;
  border: none;
  color: #f87171;
  cursor: pointer;
  font-size: 11px;
  padding: 2px 6px;
}
.mybots-binding-disconnect:hover { text-decoration: underline; }

/* ---- Team Optimization ---- */
.mybots-optimization {
  margin-bottom: 32px;
}
.mybots-optimization-header {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 14px 14px 0 0;
  padding: 16px 20px;
}
.mybots-optimization-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.mybots-optimization-header p {
  font-size: 13px;
  color: #94a3b8;
  margin: 4px 0 0;
}
.mybots-optimization-body {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 20px;
}
.mybots-opt-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.mybots-radar-chart {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
}
.mybots-opt-insights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.mybots-weak-spot {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(234, 179, 8, 0.06);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-left: 3px solid #eab308;
  border-radius: 10px;
  padding: 12px 14px;
}
.mybots-weak-spot-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.mybots-weak-spot-text {
  flex: 1;
  min-width: 0;
}
.mybots-weak-spot-title {
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 2px;
}
.mybots-weak-spot-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}
.mybots-weak-spot-cta {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 6px;
  color: #fbbf24;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.mybots-weak-spot-cta:hover {
  background: rgba(234, 179, 8, 0.2);
}
.mybots-synergy-suggest {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-left: 3px solid #22c55e;
  border-radius: 10px;
  padding: 12px 14px;
}
.mybots-synergy-suggest-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.mybots-synergy-suggest-text {
  flex: 1;
  min-width: 0;
}
.mybots-synergy-suggest-title {
  font-size: 13px;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 2px;
}
.mybots-synergy-suggest-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}
.mybots-synergy-suggest-cta {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 6px;
  color: #86efac;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.mybots-synergy-suggest-cta:hover {
  background: rgba(34, 197, 94, 0.2);
}
.mybots-diversity {
  margin-top: 4px;
}
.mybots-diversity-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.mybots-diversity-title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}
.mybots-diversity-score {
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
}
.mybots-diversity-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;

/* ---- Connect Section ---- */
.mybots-connect-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}
.mybots-connect-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.mybots-connect-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.mybots-connect-learn-more {
  font-size: 13px;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
}
.mybots-connect-learn-more:hover { text-decoration: underline; }
.mybots-connect-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}
.mybots-connect-desc code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 13px;
  color: #f59e0b;
}
.mybots-connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.mybots-connect-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.mybots-connect-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.mybots-connect-card-code {
  font-family: monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #f59e0b;
  margin-bottom: 10px;
}
.mybots-connect-card-actions {
  margin-bottom: 8px;
}
.mybots-connect-gen-btn {
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  color: #a5b4fc;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.mybots-connect-gen-btn:hover { background: rgba(99, 102, 241, 0.25); }
.mybots-connect-gen-btn:disabled { opacity: 0.5; cursor: wait; }
.mybots-connect-card-links {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.mybots-qc-tg {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 136, 204, 0.18);
  border: 1px solid rgba(0, 136, 204, 0.35);
  border-radius: 6px;
  color: #5cc8f0;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.mybots-qc-tg:hover { background: rgba(0, 136, 204, 0.3); }
.mybots-qc-wa {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 6px;
  color: #6ee7a0;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.mybots-qc-wa:hover { background: rgba(37, 211, 102, 0.25); }
.mybots-qc-copy {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.mybots-qc-copy:hover { background: rgba(255, 255, 255, 0.12); color: #e2e8f0; }
.mybots-diversity-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
}
.mybots-diversity-segment {
  height: 100%;
  transition: width 0.4s ease;
  min-width: 2px;
}
.mybots-diversity-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.mybots-diversity-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
}
.mybots-diversity-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mybots-opt-empty {
  text-align: center;
  padding: 12px;
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 640px) {
  .mybots-opt-layout {
    grid-template-columns: 1fr;
  }
  .mybots-radar-chart {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}
>>>>>>> ad4bd29 (feat: ML recommendation engine, smart landing page, cross-sell widgets, benchmark engine + ecosystem dashboard)

/* ---- Footer ---- */
.mybots-footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  font-size: 13px;
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .mybots-header { padding: 12px 16px; }
  .mybots-main { padding: 20px 16px; }
  .mybots-welcome h1 { font-size: 22px; }
  .mybots-grid { grid-template-columns: 1fr; }
  .mybots-connect-grid { grid-template-columns: 1fr 1fr; }
  .mybots-team-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mybots-connect-header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mybots-nav-home { display: none; }
}

/* ---- Focus visible ---- */
.mybots-logo:focus-visible,
.mybots-nav a:focus-visible,
.header-login-btn:focus-visible,
.mybots-signin-btn:focus-visible,
.mybots-build-btn:focus-visible,
.mybots-build-more-btn:focus-visible,
.mybots-download-btn:focus-visible,
.mybots-visit-btn:focus-visible,
.mybots-rec-add:focus-visible,
.mybots-card:focus-visible {
  outline: 2px solid var(--urbot-primary, #6366f1);
  outline-offset: 2px;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .mybots-spinner {
    animation: none !important;
  }
  .mybots-card,
  .mybots-rec-card,
  .mybots-strength-fill,
  .mybots-synergy-badge,
  .mybots-nav a,
  .header-login-btn,
  .mybots-signin-btn,
  .mybots-download-btn,
  .mybots-visit-btn,
  .mybots-build-more-btn,
  .mybots-rec-add {
    transition: none !important;
    animation: none !important;
  }
}

/* ── ML Insights Panel ───────────────────────────────────────────────── */

.ml-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.ml-insight-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.3s;
}

.ml-insight-card:hover {
  border-color: rgba(255,255,255,0.2);
}

.ml-insight-card.cohort {
  border-left: 3px solid #8b5cf6;
}

.ml-insight-card.engagement.growing {
  border-left: 3px solid #22c55e;
}

.ml-insight-card.engagement.steady {
  border-left: 3px solid #eab308;
}

.ml-insight-card.engagement.declining {
  border-left: 3px solid #ef4444;
}

.ml-insight-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.ml-insight-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.ml-insight-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.ml-insight-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.35rem;
}

/* ---- Quick stats bar ---- */
.mybots-qs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.2rem;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.qs-item { display: inline-flex; align-items: center; gap: 0.3rem; }
.qs-icon { font-size: 1rem; }
.qs-item strong { color: #fff; }
.qs-link {
  margin-left: auto;
  font-size: 0.8rem;
  color: #a5b4fc;
  text-decoration: none;
  white-space: nowrap;
}
.qs-link:hover { text-decoration: underline; }

/* ============================================
   ROI Calculator Section
   ============================================ */

.mybots-roi-section {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.mybots-roi-header {
  margin-bottom: 16px;
}

.mybots-roi-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.mybots-roi-subtitle {
  font-size: 0.82rem;
  color: #64748b;
}

/* Hero savings */
.mybots-roi-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 14px;
}

.mybots-roi-total-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: #22c55e;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mybots-roi-total-label {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
  font-weight: 600;
}

.mybots-roi-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.mybots-roi-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mybots-roi-stat-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1;
}

.mybots-roi-stat-lbl {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 2px;
}

/* Motivational message */
.mybots-roi-motivational {
  background: rgba(139, 92, 246, 0.08);
  border-left: 3px solid #8b5cf6;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #c4b5fd;
  font-style: italic;
  margin-bottom: 18px;
}

/* Per-bot breakdown */
.mybots-roi-breakdown {
  margin-top: 6px;
}

.mybots-roi-breakdown-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.mybots-roi-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mybots-roi-bot-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s;
}

.mybots-roi-bot-row:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.mybots-roi-bot-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.1rem;
}

.mybots-roi-bot-avatar img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mybots-roi-bot-info {
  flex: 1;
  min-width: 0;
}

.mybots-roi-bot-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 2px;
}

.mybots-roi-bot-rate {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 5px;
}

.mybots-roi-bot-bar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  height: 4px;
  overflow: hidden;
}

.mybots-roi-bot-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.mybots-roi-bot-savings {
  text-align: right;
  flex-shrink: 0;
}

.mybots-roi-bot-savings-amt {
  font-size: 1rem;
  font-weight: 700;
  color: #22c55e;
  line-height: 1;
}

.mybots-roi-bot-savings-lbl {
  font-size: 0.65rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* No data state */
.mybots-roi-no-data {
  font-size: 0.85rem;
  color: #475569;
  text-align: center;
  padding: 12px 0 4px;
  font-style: italic;
}

/* Footer note */
.mybots-roi-note {
  font-size: 0.68rem;
  color: #334155;
  text-align: right;
  margin-top: 12px;
  font-style: italic;
}

@media (max-width: 600px) {
  .mybots-roi-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .mybots-roi-total-amount { font-size: 2rem; }
  .mybots-roi-stats { gap: 16px; }
}

