:root {
  --muted: #cdd3e5;
  --muted-strong: #e1e5f1;
  --muted-soft: #bdc6dc;
}

.input-help,
.status-copy span,
.analysis-actions,
.analysis-details,
.trust-line,
.action-heading p,
.processing-note,
.steps p,
.footer-brand span,
.footer-links a,
footer > p,
.uploader-name,
.media-facts small,
.format-option span {
  color: #c0c8dc;
}

.ghost-button,
.status-cancel {
  color: #c3c9dc;
}

.analysis-details pre {
  color: #c5cce0;
}

.rights-confirmation {
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  max-width: 790px;
  margin-top: 24px;
  padding: 15px 18px;
  border: 1px solid rgba(193, 157, 255, .42);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(168, 124, 255, .11), rgba(92, 226, 231, .055));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 10px 28px rgba(0, 0, 0, .18);
  color: #edf0f8;
  font-size: .84rem;
  font-weight: 620;
  line-height: 1.5;
  text-align: left;
}

.rights-confirmation:hover {
  border-color: rgba(193, 157, 255, .68);
  background: linear-gradient(145deg, rgba(168, 124, 255, .16), rgba(92, 226, 231, .075));
}

.custom-checkbox {
  width: 23px;
  height: 23px;
  margin-top: 0;
  border: 2px solid #aeb8d4;
  border-radius: 6px;
  background: rgba(5, 8, 18, .72);
}

.custom-checkbox svg {
  width: 16px;
}

.rights-confirmation input:checked + .custom-checkbox {
  border-color: var(--violet-bright);
  background: var(--violet-bright);
  box-shadow: 0 0 0 4px rgba(168, 124, 255, .12);
}

#download-video,
#extract-audio {
  position: relative;
  overflow: hidden;
}

#download-video::after,
#extract-audio::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent 0%, #c7b0ff 20%, #5ce2e7 50%, #c7b0ff 80%, transparent 100%);
  box-shadow: 0 0 14px rgba(92, 226, 231, .55);
}

.rights-confirmation:has(#rights-confirmation:checked) + .delivery-grid .video-action:has(.format-option[aria-checked="true"]) #download-video:disabled::after,
body:has(#operation-modal:not([hidden])) #extract-audio::after {
  opacity: 1;
  animation: alienreel-operation-progress 1.05s ease-in-out infinite;
}

@keyframes alienreel-operation-progress {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@media (max-width: 620px) {
  .rights-confirmation {
    padding: 14px;
    font-size: .8rem;
  }
}
