/* ============================================================
   LOCALREACH RESUME BUILDER — FEATURE STYLES & PRINT ENGINE
   Isolated styles for the Step Wizard, Form Inputs, Live Preview,
   Realistic A4 Document Rendering, and High-Fidelity Print CSS.
   ============================================================ */

/* --- Step Wizard Indicators --- */
.step-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5F5E5E;
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.step-item.active {
  background: #EFF2EF;
  color: #006E1C;
  font-weight: 600;
}

.step-item.completed {
  color: #1A1C1B;
}

.step-item .step-num {
  width: 1.375rem;
  height: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #EEEEEC;
  color: #5F5E5E;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-item.active .step-num {
  background: #006E1C;
  color: #FFFFFF;
}

.step-item.completed .step-num {
  background: #4CAF50;
  color: #FFFFFF;
}

/* --- Career & Template Card Radios --- */
.selection-card {
  border: 1.5px solid #DDE2DD;
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 180ms ease;
  position: relative;
}

.selection-card:hover {
  transform: translateY(-2px);
  border-color: #4CAF50;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.06);
}

.selection-card.selected {
  border-color: #006E1C;
  background: #F4F8F4;
  box-shadow: 0 0 0 2px rgba(0, 110, 28, 0.15);
}

.selection-card .select-radio-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 2px solid #BECAB9;
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.selection-card.selected .select-radio-check {
  border-color: #006E1C;
  background: #006E1C;
}

.selection-card.selected .select-radio-check::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 9999px;
}

/* --- Form Fields & Repeater Cards --- */
.form-card {
  background: #FFFFFF;
  border: 1px solid #DDE2DD;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.repeater-item {
  background: #F9F9F7;
  border: 1px solid #DDE2DD;
  border-radius: 0.75rem;
  padding: 1.25rem;
  position: relative;
  transition: border-color 0.15s ease;
}

.repeater-item:hover {
  border-color: #BECAB9;
}

.input-field {
  width: 100%;
  background: #F9F9F7;
  border: 1px solid #DDE2DD;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #1A1C1B;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.input-field:focus {
  border-color: #006E1C;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 110, 28, 0.1);
}

.input-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5F5E5E;
  margin-bottom: 0.375rem;
}

.helper-text {
  font-size: 0.75rem;
  color: #767776;
  margin-top: 0.25rem;
}

/* --- Photo Upload Dropzone --- */
.photo-uploader {
  border: 2px dashed #DDE2DD;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: #F9F9F7;
  cursor: pointer;
  transition: all 0.2s ease;
}

.photo-uploader:hover,
.photo-uploader.dragover {
  border-color: #006E1C;
  background: #F4F8F4;
}

/* --- Fast Generation Loading Overlay --- */
.gen-progress-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gen-progress-modal.show {
  opacity: 1;
  visibility: visible;
}

.gen-progress-box {
  background: #FFFFFF;
  border: 1px solid #DDE2DD;
  border-radius: 1.25rem;
  padding: 2rem;
  width: 90%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(12px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gen-progress-modal.show .gen-progress-box {
  transform: translateY(0);
}

/* ============================================================
   A4 RESUME DOCUMENT CANVAS & ZOOM ENGINE
   Exact 210mm x 297mm Sheet Proportions (1 : 1.4142)
   ============================================================ */
.resume-preview-container {
  display: flex;
  justify-content: center;
  background: #E5E7EB;
  border-radius: 1rem;
  padding: 2rem 1rem;
  overflow-x: auto;
  border: 1px solid #DDE2DD;
  min-height: 800px;
}

.resume-zoom-wrapper {
  transform-origin: top center;
  transition: transform 0.15s ease-out;
  display: inline-block;
}

/* Standard A4 Dimensions in Pixels at 96 DPI: 794px × 1123px (or min-height) */
.resume-sheet {
  width: 794px;
  min-height: 1123px;
  background: #FFFFFF;
  color: #1A1C1B;
  padding: 40px 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.45;
  box-sizing: border-box;
  position: relative;
  page-break-after: always;
  break-inside: avoid;
}

/* Common Text Formats Inside Resume Sheet */
.resume-sheet a {
  color: inherit;
  text-decoration: none;
}

.resume-sheet a:hover {
  text-decoration: underline;
}

.resume-bullet-list {
  list-style-type: disc;
  margin: 0.35rem 0 0.35rem 1.25rem;
  padding: 0;
  font-size: 0.8125rem;
  color: #2D3748;
}

.resume-bullet-list li {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.resume-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.resume-skill-badge {
  background: #F4F4F2;
  color: #1A1C1B;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
}

/* ============================================================
   TEMPLATE 1: ATS CLASSIC SPECIFIC STYLES
   ============================================================ */
.template-ats-classic {
  font-size: 0.8125rem;
  color: #1A1C1B;
  line-height: 1.4;
}

.template-ats-classic .ats-header {
  text-align: center;
  border-bottom: 1.5px solid #1A1C1B;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.template-ats-classic .ats-name {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1A1C1B;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
}

.template-ats-classic .ats-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2D3748;
  margin-bottom: 0.35rem;
}

.template-ats-classic .ats-contact-bar {
  font-size: 0.75rem;
  color: #4A5568;
}

.template-ats-classic .ats-section {
  margin-bottom: 1rem;
}

.template-ats-classic .ats-section-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1A1C1B;
  border-bottom: 1px solid #CBD5E0;
  padding-bottom: 0.2rem;
  margin: 0 0 0.5rem 0;
}

.template-ats-classic .ats-text {
  font-size: 0.8125rem;
  color: #2D3748;
  margin: 0;
}

.template-ats-classic .ats-skills-inline {
  line-height: 1.5;
}

.template-ats-classic .ats-entries-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.template-ats-classic .ats-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.15rem;
}

.template-ats-classic .ats-entry-role {
  font-weight: 700;
  color: #1A1C1B;
  font-size: 0.875rem;
}

.template-ats-classic .ats-entry-company {
  font-weight: 600;
  color: #2D3748;
}

.template-ats-classic .ats-entry-dates {
  font-weight: 600;
  color: #4A5568;
  font-size: 0.75rem;
}

.template-ats-classic .ats-entry-loc {
  color: #718096;
  font-size: 0.75rem;
}

.template-ats-classic .ats-entry-stack {
  font-size: 0.75rem;
  color: #4A5568;
  margin-bottom: 0.25rem;
}

.template-ats-classic .ats-link {
  color: #006E1C;
  font-weight: 600;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.template-ats-classic .ats-subtext {
  font-size: 0.75rem;
  color: #718096;
  margin-top: 0.15rem;
}

/* ============================================================
   TEMPLATE 2: MODERN PROFESSIONAL SPECIFIC STYLES
   ============================================================ */
.template-modern-pro {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.template-modern-pro .modern-accent-bar {
  height: 8px;
  background: #006E1C;
  width: 100%;
}

.template-modern-pro .modern-header {
  padding: 32px 40px 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  background: #FAFBF9;
}

.template-modern-pro .modern-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.template-modern-pro .modern-photo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #006E1C;
  flex-shrink: 0;
}

.template-modern-pro .modern-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-modern-pro .modern-name {
  font-size: 1.625rem;
  font-weight: 700;
  color: #1A1C1B;
  margin: 0;
  letter-spacing: -0.02em;
}

.template-modern-pro .modern-subtitle {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #006E1C;
  margin-top: 0.15rem;
}

.template-modern-pro .modern-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1rem;
  font-size: 0.75rem;
  color: #4A5568;
  text-align: right;
}

.template-modern-pro .modern-contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.template-modern-pro .modern-icon {
  color: #006E1C;
  font-weight: bold;
}

.template-modern-pro .modern-grid-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  flex-grow: 1;
}

.template-modern-pro .modern-sidebar {
  background: #F4F6F4;
  padding: 28px 24px;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.template-modern-pro .modern-side-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #006E1C;
  margin: 0 0 0.5rem 0;
  border-bottom: 1.5px solid #CBD5E0;
  padding-bottom: 0.25rem;
}

.template-modern-pro .modern-skill-pill {
  background: #FFFFFF;
  color: #1A1C1B;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid #DDE2DD;
}

.template-modern-pro .modern-edu-item {
  margin-bottom: 0.75rem;
}

.template-modern-pro .modern-item-role {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1A1C1B;
}

.template-modern-pro .modern-item-inst {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4A5568;
}

.template-modern-pro .modern-item-date {
  font-size: 0.7rem;
  color: #718096;
}

.template-modern-pro .modern-item-detail {
  font-size: 0.7rem;
  color: #006E1C;
  font-weight: 600;
}

.template-modern-pro .modern-bullet-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
}

.template-modern-pro .modern-bullet-list li {
  margin-bottom: 0.5rem;
}

.template-modern-pro .modern-subtle {
  color: #718096;
  font-size: 0.7rem;
}

.template-modern-pro .modern-lang-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.template-modern-pro .modern-lang-name {
  font-weight: 600;
  color: #1A1C1B;
}

.template-modern-pro .modern-lang-level {
  color: #718096;
}

.template-modern-pro .modern-main-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.template-modern-pro .modern-main-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #006E1C;
  border-bottom: 1.5px solid #006E1C;
  padding-bottom: 0.25rem;
  margin: 0 0 0.75rem 0;
}

.template-modern-pro .modern-text {
  font-size: 0.8125rem;
  color: #2D3748;
  line-height: 1.45;
  margin: 0;
}

.template-modern-pro .modern-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.template-modern-pro .modern-job-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.template-modern-pro .modern-job-role {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1A1C1B;
}

.template-modern-pro .modern-job-company {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #006E1C;
}

.template-modern-pro .modern-job-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: #718096;
}

.template-modern-pro .modern-job-loc {
  font-size: 0.72rem;
  color: #718096;
  margin-bottom: 0.2rem;
}

.template-modern-pro .modern-job-stack {
  font-size: 0.75rem;
  color: #4A5568;
  background: #F4F6F4;
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.template-modern-pro .modern-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.template-modern-pro .modern-proj-card {
  background: #F9FAF9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.75rem;
}

.template-modern-pro .modern-proj-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.template-modern-pro .modern-proj-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1A1C1B;
}

.template-modern-pro .modern-proj-links a {
  color: #006E1C;
  font-weight: 600;
  font-size: 0.72rem;
  margin-left: 0.5rem;
}

/* ============================================================
   TEMPLATE 3: EXECUTIVE SPECIFIC STYLES
   ============================================================ */
.template-executive {
  padding: 40px 48px;
}

.template-executive .exec-header {
  border-bottom: 2px solid #1A1C1B;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.template-executive .exec-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.template-executive .exec-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1A1C1B;
  flex-shrink: 0;
}

.template-executive .exec-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-executive .exec-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1A1C1B;
  text-transform: uppercase;
  margin: 0;
}

.template-executive .exec-title {
  font-size: 1rem;
  font-weight: 600;
  color: #4A5568;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.template-executive .exec-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4A5568;
  background: #F7FAFC;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
}

.template-executive .exec-section {
  margin-bottom: 1.25rem;
}

.template-executive .exec-heading {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1A1C1B;
  border-bottom: 1px solid #CBD5E0;
  padding-bottom: 0.25rem;
  margin: 0 0 0.625rem 0;
}

.template-executive .exec-summary-text {
  font-size: 0.8125rem;
  color: #2D3748;
  line-height: 1.5;
  margin: 0;
}

.template-executive .exec-competency-badge {
  background: #EDF2F7;
  color: #1A1C1B;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  border-left: 3px solid #006E1C;
}

.template-executive .exec-experience-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.template-executive .exec-entry-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.2rem;
}

.template-executive .exec-role {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1A1C1B;
  margin: 0;
}

.template-executive .exec-company {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4A5568;
}

.template-executive .exec-date {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1A1C1B;
}

.template-executive .exec-tech-scope {
  font-size: 0.75rem;
  color: #4A5568;
  margin-bottom: 0.25rem;
}

.template-executive .exec-initiatives-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.template-executive .exec-init-header {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1A1C1B;
  margin-bottom: 0.15rem;
}

.template-executive .exec-init-role {
  font-weight: 500;
  color: #4A5568;
}

.template-executive .exec-bottom-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.template-executive .exec-edu-block {
  margin-bottom: 0.5rem;
}

.template-executive .exec-edu-degree {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1A1C1B;
}

.template-executive .exec-edu-inst {
  font-size: 0.75rem;
  color: #4A5568;
}

.template-executive .exec-subtext {
  font-size: 0.72rem;
  color: #718096;
}

.template-executive .exec-cert-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
}

.template-executive .exec-cert-list li {
  margin-bottom: 0.35rem;
}

/* ============================================================
   TEMPLATE 4: CREATIVE SHOWCASE SPECIFIC STYLES
   ============================================================ */
.template-creative {
  padding: 40px 44px;
}

.template-creative .creative-header {
  margin-bottom: 1.25rem;
}

.template-creative .creative-header-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.template-creative .creative-avatar-frame {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #1A1C1B;
  flex-shrink: 0;
}

.template-creative .creative-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-creative .creative-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #006E1C;
}

.template-creative .creative-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1A1C1B;
  margin: 0;
  letter-spacing: -0.02em;
}

.template-creative .creative-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #4A5568;
}

.template-creative .creative-links-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.template-creative .creative-badge-link {
  background: #1A1C1B;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.template-creative .creative-badge-plain {
  background: #F4F4F2;
  color: #4A5568;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid #DDE2DD;
}

.template-creative .creative-section {
  margin-bottom: 1.25rem;
}

.template-creative .creative-heading {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1A1C1B;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.template-creative .creative-heading::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: #E2E8F0;
}

.template-creative .creative-bio {
  font-size: 0.8125rem;
  color: #2D3748;
  line-height: 1.5;
  margin: 0;
}

.template-creative .creative-skill-chip {
  background: #F4F8F4;
  color: #006E1C;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 6px;
  border: 1px solid #DDE2DD;
}

.template-creative .creative-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.template-creative .creative-project-card {
  background: #FAFBF9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.75rem;
}

.template-creative .creative-proj-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.template-creative .creative-proj-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1A1C1B;
  margin: 0;
}

.template-creative .creative-proj-view {
  font-size: 0.7rem;
  font-weight: 700;
  color: #006E1C;
}

.template-creative .creative-proj-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: #718096;
  margin-bottom: 0.2rem;
}

.template-creative .creative-proj-tools {
  font-size: 0.72rem;
  color: #4A5568;
  margin-bottom: 0.25rem;
}

.template-creative .creative-exp-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.template-creative .creative-exp-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
}

.template-creative .creative-exp-role {
  font-weight: 700;
  color: #1A1C1B;
}

.template-creative .creative-exp-org {
  font-weight: 600;
  color: #006E1C;
}

.template-creative .creative-exp-time {
  font-size: 0.75rem;
  color: #718096;
}

.template-creative .creative-exp-stack {
  font-size: 0.72rem;
  color: #4A5568;
  margin-bottom: 0.2rem;
}

.template-creative .creative-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 0.75rem;
}

.template-creative .creative-subheading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1A1C1B;
  margin: 0 0 0.35rem 0;
}

.template-creative .creative-edu-item {
  font-size: 0.75rem;
  color: #2D3748;
}

/* ============================================================
   TEMPLATE 5: ACADEMIC & RESEARCH SPECIFIC STYLES
   ============================================================ */
.template-academic {
  padding: 40px 48px;
  font-family: Georgia, Cambria, 'Times New Roman', Times, serif;
}

.template-academic .academic-header {
  text-align: center;
  border-bottom: 2px solid #2D3748;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.template-academic .academic-name {
  font-size: 1.625rem;
  font-weight: bold;
  color: #1A1C1B;
  margin: 0 0 0.2rem 0;
}

.template-academic .academic-title {
  font-size: 0.9375rem;
  font-style: italic;
  color: #4A5568;
  margin-bottom: 0.35rem;
}

.template-academic .academic-contact-line {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  color: #4A5568;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.template-academic .academic-section {
  margin-bottom: 1.25rem;
}

.template-academic .academic-heading {
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1A1C1B;
  border-bottom: 1px solid #A0AEC0;
  padding-bottom: 0.15rem;
  margin: 0 0 0.5rem 0;
}

.template-academic .academic-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #2D3748;
  margin: 0;
}

.template-academic .academic-entries {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.template-academic .academic-entry-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #1A1C1B;
}

.template-academic .academic-entry-sub {
  font-size: 0.75rem;
  font-style: italic;
  color: #4A5568;
}

.template-academic .academic-details {
  font-size: 0.75rem;
  color: #4A5568;
}

.template-academic .academic-pub-list {
  padding-left: 1.25rem;
  margin: 0;
  font-size: 0.8125rem;
  color: #2D3748;
}

.template-academic .academic-pub-item {
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.template-academic .academic-doi {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #006E1C;
}

.template-academic .academic-pub-desc {
  font-size: 0.75rem;
  color: #4A5568;
  margin-top: 0.15rem;
}

/* ============================================================
   TEMPLATE 6: FRESHER / STARTER SPECIFIC STYLES
   ============================================================ */
.template-fresher {
  padding: 36px 44px;
}

.template-fresher .fresher-header {
  border-bottom: 2px solid #006E1C;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.template-fresher .fresher-header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.template-fresher .fresher-photo-wrap {
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #006E1C;
  flex-shrink: 0;
}

.template-fresher .fresher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.template-fresher .fresher-name {
  font-size: 1.625rem;
  font-weight: 700;
  color: #1A1C1B;
  margin: 0;
}

.template-fresher .fresher-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #006E1C;
}

.template-fresher .fresher-contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #4A5568;
}

.template-fresher .fresher-section {
  margin-bottom: 1rem;
}

.template-fresher .fresher-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #006E1C;
  border-bottom: 1px solid #DDE2DD;
  padding-bottom: 0.2rem;
  margin: 0 0 0.5rem 0;
}

.template-fresher .fresher-text {
  font-size: 0.8125rem;
  color: #2D3748;
  margin: 0;
}

.template-fresher .fresher-skill-pill {
  background: #F4F8F4;
  color: #1A1C1B;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #DDE2DD;
}

.template-fresher .fresher-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.template-fresher .fresher-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.template-fresher .fresher-degree {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1A1C1B;
}

.template-fresher .fresher-proj-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1A1C1B;
}

.template-fresher .fresher-links a {
  color: #006E1C;
  font-weight: 600;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.template-fresher .fresher-year {
  font-size: 0.75rem;
  font-weight: 600;
  color: #718096;
}

.template-fresher .fresher-inst {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4A5568;
}

.template-fresher .fresher-gpa {
  font-size: 0.75rem;
  color: #006E1C;
}

.template-fresher .fresher-details {
  font-size: 0.72rem;
  color: #718096;
}

.template-fresher .fresher-stack {
  font-size: 0.75rem;
  color: #4A5568;
  margin-bottom: 0.15rem;
}

.template-fresher .fresher-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.template-fresher .fresher-subheading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #006E1C;
  margin: 0 0 0.35rem 0;
}

/* ============================================================
   HIGH-FIDELITY PRINT STYLESHEET
   Invoked when user clicks "Print" or presses Ctrl/Cmd + P
   Hides all UI chrome, formats genuine A4 portrait page output.
   ============================================================ */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm;
  }

  /* Hide entire website UI and application chrome */
  header,
  footer,
  .site-header,
  .mobile-menu-dropdown,
  #toast-container,
  .app-preloader-overlay,
  .resume-builder-ui-nav,
  .resume-controls-panel,
  .step-wizard-bar,
  .resume-action-buttons,
  .modal-backdrop,
  .gen-progress-modal {
    display: none !important;
  }

  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .resume-preview-container {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: visible !important;
    display: block !important;
  }

  .resume-zoom-wrapper {
    transform: none !important;
    display: block !important;
    width: 100% !important;
  }

  .resume-sheet {
    width: 100% !important;
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    page-break-after: auto !important;
    break-inside: auto !important;
  }

  .ats-entry,
  .modern-job-card,
  .exec-entry,
  .creative-exp-item,
  .academic-entry,
  .fresher-entry {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
}
