/* =============================================
   STRATEGY LAB SIDEBAR CTA WIDGET
   ============================================= */

.sl-sidebar-cta {
  background: var(--card-background, #fff);
  border: 1.5px solid var(--accent-color, #0b7a4b);
  border-radius: 14px;
  padding: 1rem 1rem 0.85rem;
  margin: 0.75rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.sl-sidebar-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color, #0b7a4b), var(--accent-color-darker, #085c38));
}

.sl-cta-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.sl-cta-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.sl-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-color, #0b7a4b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sl-cta-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.sl-cta-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--body-text-color, #1a1a2e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sl-cta-sub {
  font-size: 0.72rem;
  color: var(--body-text-color-muted, #667);
  line-height: 1.3;
}

.sl-cta-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.sl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
}

.sl-btn-primary {
  background: var(--accent-color, #0b7a4b);
  color: #fff !important;
  flex: 1;
}
.sl-btn-primary:hover { opacity: 0.88; }

.sl-btn-ghost {
  background: transparent;
  color: var(--accent-color, #0b7a4b) !important;
  border: 1.5px solid var(--accent-color, #0b7a4b);
}
.sl-btn-ghost:hover { opacity: 0.8; }

/* Dark mode adjustments */
[data-scheme="dark"] .sl-cta-title {
  color: var(--body-text-color, rgba(255,255,255,0.87));
}
[data-scheme="dark"] .sl-btn-primary {
  color: #0a1f14 !important;
}