.cf-pdf-batch {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.cf-pdf-batch__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cf-pdf-batch__head strong {
  color: #93c5fd;
  font-size: 0.92rem;
}

.cf-pdf-batch__summary {
  font-size: 0.78rem;
  color: #94a3b8;
}

.cf-pdf-batch__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.cf-pdf-batch__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(51, 65, 85, 0.8);
  font-size: 0.82rem;
}

.cf-pdf-batch__name {
  flex: 1 1 160px;
  color: #e2e8f0;
  word-break: break-word;
}

.cf-pdf-batch__status {
  font-size: 0.75rem;
  font-weight: 600;
}

.cf-pdf-batch__status--queued {
  color: #94a3b8;
}

.cf-pdf-batch__status--uploading,
.cf-pdf-batch__status--processing {
  color: #fbbf24;
}

.cf-pdf-batch__status--ready {
  color: #4ade80;
}

.cf-pdf-batch__status--failed {
  color: #f87171;
}

.cf-pdf-batch__open {
  border: 0;
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
}

.cf-pdf-batch__kyc {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.cf-pdf-batch__kyc--on {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.cf-pdf-batch__kyc--off {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.cf-pdf-batch__open:hover {
  background: #1d4ed8;
}

html[data-theme='light'] .cf-pdf-batch {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border-color: #bfdbfe;
}

html[data-theme='light'] .cf-pdf-batch__head strong {
  color: #1d4ed8;
}

html[data-theme='light'] .cf-pdf-batch__item {
  background: #fff;
  border-color: #e2e8f0;
}

html[data-theme='light'] .cf-pdf-batch__name {
  color: #0f172a;
}

.cf-pdf-browse-overlay {
  display: block;
}
