/* ==========================================================================
   TrimFile - Universal Report Issue Modal & Trigger Stylesheet
   Dark neon aesthetic matching TrimFile design system (#e11d48 / obsidian slate)
   Strict prohibition of cartoon emojis: Only crisp vector SVGs and clean typography
   ========================================================================== */

/* Container Card Anchors */
.container,
.studio-container-card,
.studio-container,
.studio-card,
.transcribe-container,
.workspace-card {
  position: relative !important;
}

/* Card Corner Actions Wrapper (GPU Badge + Report Issue Button) */
.card-corner-actions {
  position: absolute !important;
  top: 16px !important;
  right: 20px !important;
  z-index: 30 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  pointer-events: auto !important;
}

/* Reset Report Button positioning when inside Corner Actions Wrapper */
.card-corner-actions .feature-report-btn {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: auto !important;
}

/* Feature Card In-Corner Trigger Button */
.feature-report-btn {
  position: absolute !important;
  top: 18px !important;
  right: 20px !important;
  z-index: 30 !important;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  color: #fda4af !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  outline: none !important;
  user-select: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.feature-report-btn:hover {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  transform: scale(1.15) !important;
  filter: drop-shadow(0 0 8px rgba(225, 29, 72, 0.85)) !important;
  box-shadow: none !important;
}

.feature-report-btn:active {
  transform: scale(0.96) !important;
}

.feature-report-btn svg {
  width: 22px;
  height: 22px;
  color: inherit;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.feature-report-btn:hover svg {
  transform: scale(1.05);
}

/* Tooltip on Hover */
.feature-report-tooltip {
  position: absolute;
  right: calc(100% + 9px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: rgba(13, 16, 23, 0.96);
  border: 1px solid rgba(225, 29, 72, 0.45);
  color: #fecdd3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75), 0 0 10px rgba(225, 29, 72, 0.2);
  z-index: 100;
}

.feature-report-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(13, 16, 23, 0.96);
}

.feature-report-btn:hover .feature-report-tooltip,
.feature-report-btn:focus-visible .feature-report-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .feature-report-btn {
    top: 14px !important;
    right: 14px !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
  }
  .feature-report-btn svg {
    width: 20px;
    height: 20px;
  }
  .feature-report-tooltip {
    right: 0;
    top: calc(100% + 7px);
    transform: translateY(3px);
  }
  .feature-report-tooltip::after {
    top: auto;
    bottom: 100%;
    left: auto;
    right: 8px;
    transform: none;
    border-color: transparent transparent rgba(13, 16, 23, 0.96) transparent;
  }
  .feature-report-btn:hover .feature-report-tooltip,
  .feature-report-btn:focus-visible .feature-report-tooltip {
    transform: translateY(0);
  }
}

/* Modal Overlay & Backdrop */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease;
}

.report-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.report-modal-dialog {
  width: 100%;
  max-width: 530px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, #161922 0%, #0d1017 100%);
  border: 1px solid rgba(225, 29, 72, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(225, 29, 72, 0.22);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.report-modal-overlay.is-active .report-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.report-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.report-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #fb7185;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.25);
}

.report-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.report-active-feature-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.report-active-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fecdd3;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.report-active-feature-badge svg {
  color: #fb7185;
}

.report-modal-close {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.22s ease, color 0.2s ease;
}

.report-modal-close:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff;
  transform: rotate(90deg);
}

.report-modal-close svg {
  width: 18px;
  height: 18px;
}

/* Modal Body */
.report-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 180px);
}

.report-modal-body::-webkit-scrollbar {
  width: 6px;
}

.report-modal-body::-webkit-scrollbar-thumb {
  background: rgba(225, 29, 72, 0.3);
  border-radius: 4px;
}

/* Form Groups */
.report-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.report-field-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.report-field-required {
  color: #fb7185;
  margin-left: 2px;
}

.report-field-optional {
  font-size: 0.72rem;
  font-weight: normal;
  color: #64748b;
}

/* Inputs & Selects */
.report-input,
.report-select,
.report-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 13, 19, 0.85);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: 10px;
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.86rem;
  padding: 10px 14px;
  outline: none;
  transition: all 0.2s ease;
}

.report-input:focus,
.report-select:focus,
.report-textarea:focus {
  border-color: #e11d48;
  background: rgba(14, 18, 26, 0.95);
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.35);
}

.report-textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.45;
}

/* Category Pill Badges */
.report-categories-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-top: 2px !important;
}

.report-category-pill {
  width: auto !important;
  max-width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.18s ease !important;
}

.report-category-pill:hover {
  background: rgba(225, 29, 72, 0.14) !important;
  border-color: rgba(225, 29, 72, 0.4) !important;
  color: #fecdd3 !important;
}

.report-category-pill.is-selected {
  background: rgba(225, 29, 72, 0.24) !important;
  border-color: #e11d48 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.35) !important;
}

/* Diagnostics Accordion */
.report-diag-toggle {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: auto !important;
  color: #64748b !important;
  font-size: 0.75rem !important;
  font-family: inherit !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.report-diag-toggle:hover {
  color: #cbd5e1 !important;
}

.report-diag-box {
  display: none;
  background: rgba(6, 8, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: monospace;
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 6px;
}

.report-diag-box.is-open {
  display: block;
}

/* Modal Footer / Actions */
.report-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  box-sizing: border-box;
}

.report-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.report-btn-cancel {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: auto !important;
  transition: all 0.2s ease !important;
}

.report-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.report-btn-submit {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 8px 22px !important;
  border-radius: 10px !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4) !important;
  transition: all 0.22s ease !important;
}

.report-btn-submit:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(225, 29, 72, 0.6) !important;
}

.report-btn-submit:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

@media (max-width: 480px) {
  .report-modal-dialog {
    max-width: calc(100vw - 16px) !important;
    margin: 0 auto;
    border-radius: 16px;
  }
  .report-modal-header {
    padding: 16px 16px 12px;
  }
  .report-modal-body {
    padding: 14px 16px;
    gap: 14px;
  }
  .report-modal-footer {
    padding: 12px 16px 16px;
    justify-content: flex-end;
  }
  .report-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
  .report-btn-cancel {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
  }
  .report-btn-submit {
    padding: 7px 18px !important;
    font-size: 0.82rem !important;
  }
}

/* Success View */
.report-success-view {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 24px;
  gap: 14px;
}

.report-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

.report-success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.report-success-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  max-width: 380px;
  line-height: 1.5;
  margin: 0;
}

.report-ticket-chip {
  font-family: monospace;
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 6px;
}

#report-btn-done {
  width: auto !important;
  min-width: 140px !important;
}

/* ==========================================================================
   Live GPU Hardware Acceleration Badge Styles
   Positioned below action buttons (e.g. below 'Compress Video').
   Strict vendor brand colors: Intel (Blue), NVIDIA (Green), AMD (Red)
   Strictly zero cartoon emojis: Vector SVG and glowing pulse dot only.
   ========================================================================== */

/* Action Button GPU Capsule Wrap (Placed below action buttons like Compress Video) */
.action-gpu-capsule-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 16px 0 16px 0 !important;
  box-sizing: border-box !important;
  animation: gpuCapsuleSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes gpuCapsuleSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.action-gpu-capsule-wrap .card-gpu-badge {
  display: inline-flex !important;
  padding: 6px 16px !important;
  font-size: 0.8rem !important;
  gap: 8px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.action-gpu-capsule-wrap .gpu-pulse-dot {
  width: 8px !important;
  height: 8px !important;
}

.action-gpu-capsule-wrap .gpu-chip-icon {
  width: 15px !important;
  height: 15px !important;
}

/* GPU Hardware Badge */
.card-gpu-badge {
  display: none !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 4px 11px !important;
  border-radius: 9999px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  user-select: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card-gpu-badge.is-active {
  display: inline-flex !important;
  animation: gpuBadgeFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes gpuBadgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-2px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Live Hardware Pulse Dot */
.gpu-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  animation: gpuPulse 1.9s infinite ease-in-out;
}

@keyframes gpuPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 currentColor;
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px transparent;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 transparent;
  }
}

.gpu-chip-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.gpu-badge-text {
  display: inline-block;
  vertical-align: middle;
}

/* --- Brand Colors: Intel (Blue) --- */
.card-gpu-badge.gpu-brand-intel {
  background: rgba(2, 132, 199, 0.14) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.24) !important;
}
.card-gpu-badge.gpu-brand-intel:hover {
  background: rgba(2, 132, 199, 0.24) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45) !important;
  transform: translateY(-1px) scale(1.02) !important;
}
.card-gpu-badge.gpu-brand-intel .gpu-pulse-dot {
  background: #38bdf8 !important;
  color: rgba(56, 189, 248, 0.65) !important;
}
.card-gpu-badge.gpu-brand-intel .gpu-chip-icon {
  color: #38bdf8 !important;
}

/* --- Brand Colors: NVIDIA (Green) --- */
.card-gpu-badge.gpu-brand-nvidia {
  background: rgba(101, 163, 13, 0.14) !important;
  border: 1px solid rgba(132, 204, 22, 0.45) !important;
  color: #a3e635 !important;
  box-shadow: 0 0 14px rgba(101, 163, 13, 0.24) !important;
}
.card-gpu-badge.gpu-brand-nvidia:hover {
  background: rgba(101, 163, 13, 0.24) !important;
  border-color: #a3e635 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(132, 204, 22, 0.45) !important;
  transform: translateY(-1px) scale(1.02) !important;
}
.card-gpu-badge.gpu-brand-nvidia .gpu-pulse-dot {
  background: #84cc16 !important;
  color: rgba(132, 204, 22, 0.65) !important;
}
.card-gpu-badge.gpu-brand-nvidia .gpu-chip-icon {
  color: #a3e635 !important;
}

/* --- Brand Colors: AMD (Red) --- */
.card-gpu-badge.gpu-brand-amd {
  background: rgba(225, 29, 72, 0.14) !important;
  border: 1px solid rgba(244, 63, 94, 0.45) !important;
  color: #fda4af !important;
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.24) !important;
}
.card-gpu-badge.gpu-brand-amd:hover {
  background: rgba(225, 29, 72, 0.24) !important;
  border-color: #fb7185 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.45) !important;
  transform: translateY(-1px) scale(1.02) !important;
}
.card-gpu-badge.gpu-brand-amd .gpu-pulse-dot {
  background: #f43f5e !important;
  color: rgba(244, 63, 94, 0.65) !important;
}
.card-gpu-badge.gpu-brand-amd .gpu-chip-icon {
  color: #fb7185 !important;
}

/* --- Brand Colors: Apple Silicon (Violet) --- */
.card-gpu-badge.gpu-brand-apple {
  background: rgba(168, 85, 247, 0.14) !important;
  border: 1px solid rgba(192, 132, 252, 0.45) !important;
  color: #e9d5ff !important;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.24) !important;
}
.card-gpu-badge.gpu-brand-apple:hover {
  background: rgba(168, 85, 247, 0.24) !important;
  border-color: #c084fc !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.45) !important;
  transform: translateY(-1px) scale(1.02) !important;
}
.card-gpu-badge.gpu-brand-apple .gpu-pulse-dot {
  background: #c084fc !important;
  color: rgba(192, 132, 252, 0.65) !important;
}
.card-gpu-badge.gpu-brand-apple .gpu-chip-icon {
  color: #c084fc !important;
}

/* --- Brand Colors: Generic / ARM / Qualcomm (Emerald) --- */
.card-gpu-badge.gpu-brand-generic {
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
  color: #6ee7b7 !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.24) !important;
}
.card-gpu-badge.gpu-brand-generic:hover {
  background: rgba(16, 185, 129, 0.24) !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.45) !important;
  transform: translateY(-1px) scale(1.02) !important;
}
.card-gpu-badge.gpu-brand-generic .gpu-pulse-dot {
  background: #10b981 !important;
  color: rgba(16, 185, 129, 0.65) !important;
}
.card-gpu-badge.gpu-brand-generic .gpu-chip-icon {
  color: #34d399 !important;
}

/* Floating Hardware Info Toast on Click */
.trimfile-gpu-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-18px) scale(0.96);
  z-index: 1000000;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(15, 18, 25, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.trimfile-gpu-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.trimfile-gpu-toast.gpu-toast-intel {
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(2, 132, 199, 0.3);
}
.trimfile-gpu-toast.gpu-toast-nvidia {
  border: 1px solid rgba(132, 204, 22, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(132, 204, 22, 0.3);
}
.trimfile-gpu-toast.gpu-toast-amd {
  border: 1px solid rgba(244, 63, 94, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(225, 29, 72, 0.3);
}
.trimfile-gpu-toast.gpu-toast-apple {
  border: 1px solid rgba(192, 132, 252, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.3);
}
.trimfile-gpu-toast.gpu-toast-generic {
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.3);
}

.trimfile-gpu-toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trimfile-gpu-toast-icon svg {
  width: 18px;
  height: 18px;
}
.trimfile-gpu-toast.gpu-toast-intel .trimfile-gpu-toast-icon {
  color: #38bdf8;
  background: rgba(2, 132, 199, 0.18);
}
.trimfile-gpu-toast.gpu-toast-nvidia .trimfile-gpu-toast-icon {
  color: #a3e635;
  background: rgba(101, 163, 13, 0.18);
}
.trimfile-gpu-toast.gpu-toast-amd .trimfile-gpu-toast-icon {
  color: #fda4af;
  background: rgba(225, 29, 72, 0.18);
}
.trimfile-gpu-toast.gpu-toast-apple .trimfile-gpu-toast-icon {
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.18);
}
.trimfile-gpu-toast.gpu-toast-generic .trimfile-gpu-toast-icon {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.18);
}

.trimfile-gpu-toast-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.trimfile-gpu-toast-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
}

.trimfile-gpu-toast-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
}

.trimfile-gpu-toast-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Responsiveness for Corner Actions & GPU Badge */
@media (max-width: 860px) {
  .card-gpu-badge {
    padding: 3px 9px !important;
    font-size: 0.7rem !important;
    max-width: 210px !important;
  }
  .card-gpu-badge .gpu-badge-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .card-corner-actions {
    top: 14px !important;
    right: 14px !important;
    gap: 7px !important;
  }
  .card-gpu-badge {
    padding: 3px 8px !important;
    font-size: 0.67rem !important;
    max-width: 160px !important;
  }
}

@media (max-width: 480px) {
  .card-corner-actions {
    top: 12px !important;
    right: 12px !important;
    gap: 6px !important;
  }
  .card-gpu-badge {
    padding: 2px 7px !important;
    font-size: 0.64rem !important;
    max-width: 130px !important;
  }
}
