/* ── DIY Ad Simulator Styles ── */
.ad-container {
  overflow: hidden;
  margin: 12px 0;
  width: 100%;
}

.ad-sim {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-sim:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ad-sim-id-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #fbc02d;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  z-index: 10;
  text-transform: uppercase;
}

.ad-sim-controls {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.ad-sim-controls i {
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.ad-sim-content {
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-hover);
}

.ad-sim-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.ad-sim-cta {
  background: #1a73e8;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.ad-sim-footer {
  padding: 6px 16px;
  background: var(--bg-hover);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 600px) {
  .ad-sim-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .ad-sim-cta {
    width: 100%;
    text-align: center;
  }
}
