/* ===== GLOBAL ===== */
body {
  font-family: "Inter", "Source Sans 3", sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 20px;
  color: #1f2d3d;
}

.container {
  max-width: 900px;
  margin: auto;
}

/* ===== HEADER ===== */
h1 {
  text-align: center;
  color: #0f2747;
  font-weight: 600;
  margin-bottom: 20px;
}

h2 {
  margin-top: 40px;
  font-weight: 600;
  color: #0f2747;
}

/* ===== CARD ===== */
.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  margin-left: 10px;
  padding-left: 30px;
  border-left: 2px solid #e0e6ed;
}

/* ===== STEP ===== */
.step {
  position: relative;
  margin-bottom: 25px;
  padding-left: 10px;
}

.step span {
  font-size: 15px;
  font-weight: 500;
}

/* ===== DOT BASE ===== */
.step::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

/* ===== DONE ===== */
.done::before {
  background: #22c55e;
}

/* ===== CURRENT (BLINKING EFFECT) ===== */
/* ===== CURRENT (RED ALERT STYLE) ===== */
.current {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.10), transparent);
  border-radius: 14px;
  padding: 12px 12px 12px 14px;
  margin-left: -14px;
}

.current::before {
  background: #dc2626;
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.15);
  animation: pulseRed 1.4s infinite;
}

.current span {
  color: #dc2626;
  font-weight: 800;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37,99,235, 0.7);
  }
  70% {
    transform: scale(1.3);
    box-shadow: 0 0 0 10px rgba(37,99,235, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37,99,235, 0);
  }
}

/* ===== UPCOMING ===== */
.upcoming::before {
  background: #cbd5e1;
}

/* ===== TEXT STYLES ===== */
.done span {
  color: #22c55e;
}

.current span {
  color: #2563eb;
  font-weight: 600;
}

.upcoming span {
  color: #94a3b8;
}

/* ===== SMALL LABEL (optional future use) ===== */
.badge {
  display: inline-block;
  font-size: 11px;
  background: #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 8px;
}
/* ===== BRAND HEADER ===== */
.brand-header {
  background: linear-gradient(135deg, #071f3d, #123b63);
  color: #ffffff;
  border-radius: 22px;
  padding: 28px 34px;
  margin: 30px 0 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 18px 40px rgba(7, 31, 61, 0.18);
}

.brand-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 18px;
  padding: 10px;
}

.brand-text h1 {
  margin: 4px 0 6px;
  text-align: left;
  font-size: 34px;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d9b56f;
  font-weight: 700;
}

.brand-subtitle {
  margin: 0;
  color: #dbeafe;
  font-size: 15px;
}

@media (max-width: 650px) {
  .brand-header {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }

  .brand-text h1 {
    text-align: center;
    font-size: 26px;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }
}
/* ===== FILE INFO CARD ===== */
#clientInfo.card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(217, 181, 111, 0.35);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(7, 31, 61, 0.10);
}

.file-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.section-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #d9b56f;
}

.file-card-header h2 {
  margin: 0;
  color: #071f3d;
  font-size: 30px;
  letter-spacing: -0.4px;
}

.secure-badge {
  background: #071f3d;
  color: #f8fafc;
  border: 1px solid rgba(217, 181, 111, 0.6);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.file-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
}

.info-box span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
}

.info-box strong {
  color: #071f3d;
  font-size: 18px;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .file-card-header {
    flex-direction: column;
  }

  .file-info-grid {
    grid-template-columns: 1fr;
  }

  .file-card-header h2 {
    font-size: 25px;
  }
}
/* ===== TIMELINE SECTION CARD ===== */
.tracker-section {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  margin: 28px 0;
  border: 1px solid rgba(217, 181, 111, 0.22);
  box-shadow: 0 18px 45px rgba(7, 31, 61, 0.08);
}

.tracker-section h2 {
  margin: 0 0 24px;
  font-size: 28px;
  color: #071f3d;
  letter-spacing: -0.4px;
}

.timeline {
  border-left: 2px solid #e2e8f0;
  margin-left: 16px;
  padding-left: 34px;
}

.step {
  margin-bottom: 26px;
  position: relative;
  padding: 2px 0 2px 10px;
}

.step span {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* Better dots */
.step::before {
  left: -43px;
  top: 4px;
  width: 16px;
  height: 16px;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px #e2e8f0;
}

/* Completed */
.done::before {
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18);
}

.done span {
  color: #166534;
}

/* Current */
.current {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.10), transparent);
  border-radius: 14px;
  padding: 12px 12px 12px 14px;
  margin-left: -14px;
}

.current::before {
  background: #2563eb;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.10);
  animation: pulseElite 1.5s infinite;
}

.current span {
  color: #1d4ed8;
  font-weight: 800;
}

/* Upcoming */
.upcoming::before {
  background: #cbd5e1;
}

.upcoming span {
  color: #94a3b8;
}

/* Premium pulse */
@keyframes pulseElite {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 16px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0);
  }
}

@media (max-width: 700px) {
  .tracker-section {
    padding: 24px 20px;
  }

  .tracker-section h2 {
    font-size: 24px;
  }

  .step span {
    font-size: 15.5px;
  }
}
/* ===== PRIMARY FONT (HEADINGS) ===== */
h1, h2, .file-card-header h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.3px;
}
.tracker-section h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 30px;
}
.info-box span,
.info-box strong,
.step span,
.brand-subtitle,
.secure-badge {
  font-family: "Inter", sans-serif;
}
@keyframes pulseRed {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25);
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 0 18px rgba(220, 38, 38, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0);
  }
}
/* ===== FINAL OVERRIDE: CURRENT STAGE RED ===== */
.current {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.12), transparent) !important;
}

.current::before {
  background: #dc2626 !important;
  box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.18) !important;
  animation: pulseRed 1.4s infinite !important;
}

.current span {
  color: #dc2626 !important;
  font-weight: 800 !important;
}