/* ═══════════════════════════════════════════════════════════════
   Customer Velocity 360 — AI Summary Widget Styles
   Extracted from Data-Summarization.webtemplate.source.html (Phase 7B)
   ═══════════════════════════════════════════════════════════════ */

.collapsible {
  color: #444;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background: none;
}

.active,
.collapsible:hover {
  background-color: #ccc;
}

.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
}

.chevron {
  border: solid #666;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.chevron.collapsed {
  transform: rotate(-135deg);
}

.Summarizationcontainer {
  border: 2px solid transparent;
  border-radius: 10px;
  width: auto;
  overflow: hidden;
  padding: 5px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(90deg, rgb(70, 79, 235) 35%, rgb(71, 207, 250) 70%, rgb(180, 124, 248) 92%) border-box;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

#control {
  max-width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-container {
  display: flex;
  width: 100%;
  padding-left: 8px;
  justify-content: space-between;
  align-items: center;
}

.flex-container svg {
  vertical-align: middle;
}

.ai-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.chevron-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.shimmer {
  height: 10px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.feedback-container {
  display: flex;
  gap: 16px;
}

.thumb-button {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.thumb-button .icon-filled {
  display: none;
  fill: #2A66B8;
}

.thumb-button:hover .icon-filled {
  display: inline;
  fill: #2A66B8;
}

.thumb-button:hover .icon-outline {
  display: none;
}

.thumb-button.selected .icon-filled {
  display: inline;
  fill: #2A66B8;
}

.thumb-button.selected .icon-outline {
  display: none;
}

.thumb-button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: black;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.thumb-button:hover::after {
  opacity: 1;
}

.thumb-button.voted {
  pointer-events: none;
  opacity: 0.7;
}

.thumb-button:hover {
  background-color: lightgray;
}

.copy-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.copy-button:hover svg {
  color: #007bff;
  fill: #007bff;
}
