/* EXCEL to PDF — matches the Deecliq Data Transfer shape exactly. */
.e2p-fit.e2p-scope {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 1600px; margin: 0 auto;
  padding: 90px 4vw 60px;
}

.e2p-hero { text-align: center; flex-shrink: 0; }
.e2p-hero h1 {
  font-size: 1.5rem !important; font-weight: 800 !important;
  color: var(--brand, #22c55e) !important;
  margin: 0 0 4px !important;
}
#e2pScope .e2p-hero p {
  font-size: .85rem !important; color: var(--txt-2, #64748b) !important;
  margin: 0 !important;
}

#e2pScope .e2p-card {
  max-width: 100% !important; width: 100%;
  padding: 24px 32px !important;
  background: var(--page-bg, #f8fafc) !important;
  border: 1px solid var(--border, #e2e8f0) !important;
  box-shadow: none !important;
  margin: 0 auto !important;
}
.e2p-input-view { display: flex; flex-direction: column; }

.e2p-input-section { display: flex; min-height: 280px; }
.e2p-scope .e2p-dropzone {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  padding: 26px 20px;
  border: 2px dashed var(--brand, #22c55e);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  color: var(--txt, #0f172a);
  background: transparent;
  transition: border-color .2s ease, background .2s ease;
}
.e2p-scope .e2p-dropzone:hover,
.e2p-scope .e2p-dropzone.e2p-dragover {
  border-color: var(--brand-dark, #16a34a);
  background: rgba(34,197,94,.05);
}
.e2p-scope .e2p-dropzone i {
  color: var(--brand, #22c55e);
  font-size: 2.2rem;
  display: inline-block;
  animation: e2pIconFloat 2.4s ease-in-out infinite;
}
@keyframes e2pIconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .e2p-scope .e2p-dropzone i { animation: none; }
}
.e2p-drop-title { font-weight: 700; margin-top: 10px; font-size: .95rem; color: var(--txt, #0f172a); }
.e2p-drop-sub { font-size: .8rem; opacity: .65; margin-top: 4px; color: var(--txt-2, #64748b); }

.e2p-file-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
}
.e2p-file-row i.fa-file-excel { font-size: 1.4rem; color: var(--brand, #22c55e); }
.e2p-file-name { font-weight: 700; font-size: .88rem; color: var(--txt, #0f172a); word-break: break-all; }
.e2p-file-size { font-size: .76rem; color: var(--txt-2, #64748b); }
.e2p-remove {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--red, #ef4444); border: none; border-radius: 50%;
  color: #fff; font-size: .85rem; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.e2p-remove:hover { background: #dc2626; transform: scale(1.08); }

.e2p-shake { animation: e2pShake .4s ease; }
@keyframes e2pShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(7px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .e2p-shake { animation: none; }
}

.e2p-error {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  background: var(--page-bg, #f8fafc);
  border: 1px dashed var(--brand, #22c55e);
  color: var(--txt, #0f172a); font-size: .85rem;
}

.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

#e2pScope #e2pConvertBtn,
#e2pScope #e2pDownloadBtn {
  background: linear-gradient(135deg, var(--brand, #22c55e), var(--brand-dark, #16a34a));
  border: none;
  padding: 13px 26px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(34,197,94,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
#e2pScope #e2pConvertBtn:hover,
#e2pScope #e2pDownloadBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(34,197,94,.45);
}
#e2pScope #e2pConvertBtn:active,
#e2pScope #e2pDownloadBtn:active { transform: translateY(0); }
#e2pScope .btn-warning { padding: 13px 26px; font-weight: 700; font-size: .95rem; border-radius: 12px; }

/* ── Processing screen — identical ring + step pattern as Transfer. ── */
.e2p-processing { padding: 10px 0 4px; }

.e2p-ring-wrap { position: relative; width: 140px; height: 140px; margin: 0 auto 18px; }
.e2p-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.e2p-ring-track { fill: none; stroke: var(--border, #e2e8f0); stroke-width: 8; }
.e2p-ring-fill {
  fill: none; stroke: var(--brand, #22c55e); stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset .2s ease;
  filter: drop-shadow(0 0 6px rgba(34,197,94,.45));
}
.e2p-ring-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--txt, #0f172a);
}
.e2p-ring-count { font-size: 2.1rem; line-height: 1; }
.e2p-ring-percent { font-size: 1.1rem; opacity: .7; margin-left: 2px; }

.e2p-process-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-bottom: 22px;
}
.e2p-process-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700;
  color: var(--txt-2, #64748b);
  opacity: .55;
  transition: opacity .2s ease;
}
.e2p-process-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface, #fff);
  border: 2px solid var(--border, #e2e8f0);
  color: var(--txt-2, #64748b);
  font-size: .9rem;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.e2p-process-line { width: 36px; height: 2px; background: var(--border, #e2e8f0); }
.e2p-process-step.e2p-step-active { opacity: 1; }
.e2p-process-step.e2p-step-active .e2p-process-icon {
  border-color: var(--brand, #22c55e);
  color: var(--brand, #22c55e);
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
  animation: e2pPulseStep 1.3s ease-in-out infinite;
}
.e2p-process-step.e2p-step-done { opacity: 1; }
.e2p-process-step.e2p-step-done .e2p-process-icon {
  border-color: #16a34a; color: #fff; background: #16a34a;
}
@keyframes e2pPulseStep {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
  50%      { box-shadow: 0 0 0 8px rgba(34,197,94,.04); }
}
@media (prefers-reduced-motion: reduce) {
  .e2p-process-step.e2p-step-active .e2p-process-icon { animation: none; }
}

.e2p-progress-text { font-size: .85rem; margin-top: 10px; color: var(--txt, #0f172a); font-weight: 600; text-align: center; }

/* ── Result screen ── */
.e2p-result-icon { text-align: center; font-size: 2.6rem; color: #16a34a; margin-bottom: 6px; }
.e2p-autosave { margin-top: 10px; text-align: center; font-size: .82rem; color: var(--txt-2, #64748b); }

.hidden { display: none !important; }
#e2pScope .controls.hidden { display: none !important; }
