

.ai-extractor__header {
  border-bottom: 1px solid rgba(46, 60, 138, 0.08);
  background: #2e3c8a14;
  border-radius: 16px;
}

.ai-extractor__drop {
  border: 1.5px dashed rgba(46, 60, 138, 0.3);
  border-radius: 16px;
  min-height: 220px;
  transition: all 0.2s ease;
  background: var(--brand-white);
  cursor: pointer;
}

.ai-extractor__drop:hover {
  border-color: var(--brand-primary);
  background: #2e3c8a14;
}

.ai-extractor__drop.is-dragover {
  border-color: var(--brand-primary);
  background: rgba(46, 60, 138, 0.04);
}

.ai-extractor__upload-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(46, 60, 138, 0.08);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  font-size: 28px;
}

.ai-extractor__file {
  min-height: 220px;
  border: 1.5px dashed rgba(46, 60, 138, 0.3);
  border-radius: 16px;
  background: #f4f6ff;
  padding: 20px;
  cursor: default;
}

.ai-extractor__file-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(46, 60, 138, 0.08);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  font-size: 32px;
}

.ai-extractor__processing {
  min-height: 320px;
}

.ai-extractor__processing .ai-extractor__upload-icon {
  animation: floatPulse 1.8s ease-in-out infinite;
}

.ai-extractor__processing .ai-extractor__upload-icon i {
  animation: floatPulse 1.8s ease-in-out infinite;
}

@keyframes floatPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-8px);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.ai-extractor__progress {
  height: 8px;
  border-radius: 12px;
  background: rgba(46, 60, 138, 0.18);
  overflow: hidden;
}

.ai-extractor__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brand-primary);
  transition: width 0.3s ease;
}

.extraction-banner {
  border: 1px solid rgba(46, 60, 138, 0.12);
  border-radius: 14px;
  background: #f4f6ff;
  padding: 14px 16px;
}

.extraction-banner__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(46, 60, 138, 0.08);
  color: var(--brand-primary);
  font-size: 22px;
}

/* Duplicate Warning Banner Styles */
.duplicate-warning-banner {
  border-left: 4px solid #ffc107;
  animation: slideDown 0.3s ease-out;
  background-color: #fff3cd;
  border-color: #ffc107;
}

.duplicate-warning-banner i {
  color: #ffc107;
  margin-top: 0.25rem;
}

.duplicates-list {
  max-height: 300px;
  overflow-y: auto;
}

.duplicates-list .bg-light {
  transition: background-color 0.2s ease;
}

.duplicates-list .bg-light:hover {
  background-color: #f8f9fa !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
