/* Ad Panel Styles */
.ad-panel {
  margin: 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  animation: adPanelSlideIn 0.5s ease-out;
  flex-shrink: 0;
}

.ad-panel:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

.ad-panel-inner {
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.ad-panel-inner:hover {
  text-decoration: none;
}

.ad-panel-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.ad-panel-icon svg {
  filter: none;
}

.ad-panel-content {
  flex: 1;
  min-width: 0;
}

.ad-panel-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ad-panel-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* Animation */
@keyframes adPanelSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Light theme adjustments */
[data-theme="light"] .ad-panel {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border-color: rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .ad-panel:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ad-panel {
    margin: 8px;
  }
  
  .ad-panel-inner {
    padding: 12px;
    gap: 10px;
  }
  
  .ad-panel-icon {
    width: 32px;
    height: 32px;
  }
  
  .ad-panel-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .ad-panel-title {
    font-size: 12px;
  }
  
  .ad-panel-desc {
    font-size: 10px;
  }
}
