@keyframes slideIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(20px); opacity: 0; }
}

.thought-slideout.open {
  transform: translateX(0) !important;
}

.thought-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.thought-marker {
  transition: all 0.2s ease;
}

.thought-marker:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

.thought-marker.highlight,
.thought-item.highlight {
  animation: pulse 1s ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}

.thought-item {
  padding: 16px;
  margin-bottom: 12px;
  background: #fafafa;
  border-radius: 8px;
  border-left: 3px solid #1890FF;
}

.thought-item.resolved {
  opacity: 0.6;
  border-left-color: #52c41a;
}

.thought-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.thought-user {
  font-weight: 600;
  font-size: 13px;
  color: #262626;
}

.thought-date {
  font-size: 12px;
  color: #8c8c8c;
}

.thought-content {
  font-size: 14px;
  color: #595959;
  margin-bottom: 8px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.thought-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.thought-page {
  font-size: 12px;
  color: #8c8c8c;
  font-family: monospace;
}

.thought-goto {
  padding: 4px 8px;
  background: #1890FF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.thought-screenshot {
  margin: 8px 0;
}

.thought-screenshot img {
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid #d9d9d9;
}

.thought-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.thought-resolve,
.thought-delete,
.thought-github {
  padding: 4px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  font-size: 12px;
  color: #595959;
}

.thought-resolve:hover {
  border-color: #1890FF;
  color: #1890FF;
}

.thought-delete:hover {
  border-color: #ff4d4f;
  color: #ff4d4f;
}

.thought-github:hover {
  border-color: #24292e;
  color: #24292e;
}

.thought-github:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.thought-github-link {
  padding: 4px 12px;
  border: 1px solid #24292e;
  border-radius: 4px;
  background: #24292e;
  color: white;
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
}

.thought-github-link:hover {
  background: #1b1f23;
  border-color: #1b1f23;
}

.thought-section {
  margin-bottom: 24px;
}

.thought-section-title {
  font-size: 12px;
  font-weight: 600;
  color: #8c8c8c;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.no-thoughts {
  text-align: center;
  color: #8c8c8c;
  padding: 40px 20px;
  font-size: 14px;
}
