/* ==========================================================================
   MINH THUẬN CV REDESIGN - STYLESHEET
   Main theme: Electric/Neon Blue, Creative Studio Workspace Style
   Includes: Screen layout (Interactive Web) & A4 Print layout (PDF Export)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Colors for Screen (Dark Cinematic Blue Theme) */
  --bg-dark: #060913;
  --bg-panel: #0b132b;
  --bg-panel-hdr: #1c2541;
  --border-color: #3a506b;
  --border-active: #5bc0be;
  
  --blue-electric: #00b4d8;
  --blue-cyan: #90e0ef;
  --blue-navy: #03045e;
  --blue-cobalt: #0077b6;
  --accent-red: #ff3366;
  
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  --glow-blue: rgba(0, 180, 216, 0.25);
  --glow-strong: rgba(0, 180, 216, 0.5);
  --glass-bg: rgba(11, 19, 43, 0.65);
  
  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-electric);
}

/* --------------------------------------------------------------------------
   2. INTERACTIVE STUDIO LAYOUT (SCREEN ONLY)
   -------------------------------------------------------------------------- */
#web-editor {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  background-color: var(--bg-dark);
}

/* --- Top Menu Bar --- */
.menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  background-color: #020617;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 16px;
  font-size: 0.75rem;
  font-family: var(--font-body);
}

.menu-bar__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-bar__logo {
  font-weight: 700;
  color: var(--blue-electric);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.menu-bar__nav {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
}

.menu-bar__nav span {
  cursor: pointer;
  transition: var(--transition-fast);
}

.menu-bar__nav span:hover, 
.menu-bar__nav span.active-tab {
  color: var(--text-primary);
}

.menu-bar__right {
  display: flex;
  align-items: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* --- Grid Workspace --- */
.workspace {
  display: grid;
  grid-template-columns: 350px 1fr;
  height: calc(100vh - 38px - 220px);
  width: 100vw;
  background: var(--bg-dark);
  padding: 8px;
  gap: 8px;
}

.panel {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  background-color: var(--bg-panel-hdr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 12px;
}

.panel__title {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.panel__action {
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0.7;
}

.panel__action:hover {
  opacity: 1;
}

.panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* --- Project Browser & Profile --- */
.project-browser {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
}

.profile-card__avatar-container {
  width: 110px;
  height: 110px;
  margin: 0 auto 12px;
  position: relative;
  border-radius: 50%;
  padding: 4px;
}

.profile-card__avatar-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue-electric), transparent, var(--blue-cyan), transparent, var(--blue-electric));
  animation: rotateGlow 8s linear infinite;
  z-index: 1;
}

@keyframes rotateGlow {
  to { transform: rotate(360deg); }
}

.profile-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 2px solid var(--bg-panel);
}

.profile-card__rec {
  position: absolute;
  top: 4px;
  right: -4px;
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 3;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.profile-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.profile-card__title {
  font-size: 0.8rem;
  color: var(--blue-electric);
  font-weight: 600;
  margin-bottom: 2px;
}

.profile-card__subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.meta-section__title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: var(--transition-fast);
}

.contact-list li:hover {
  background: rgba(56, 189, 248, 0.05);
  border-color: rgba(56, 189, 248, 0.15);
}

.contact-icon {
  font-size: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-value {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

a.contact-value:hover {
  color: var(--blue-electric);
}

.panel-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn--full {
  width: 100%;
}

.btn--blue {
  background: var(--blue-cobalt);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 119, 182, 0.3);
}

.btn--blue:hover {
  background: var(--blue-electric);
  box-shadow: 0 0 15px var(--glow-blue);
  transform: translateY(-1px);
}

.btn--outline-blue {
  background: transparent;
  color: var(--blue-electric);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn--outline-blue:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--blue-electric);
}

.qr-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.01);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.qr-box__code {
  width: 60px;
  height: 60px;
}

.qr-svg {
  width: 100%;
  height: 100%;
}

.qr-box__text {
  display: flex;
  flex-direction: column;
}

.qr-box__text span {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.qr-box__text strong {
  font-size: 0.75rem;
  color: var(--blue-cyan);
}

/* --- Program Monitor & Dynamic Screen --- */
.panel--monitor {
  display: flex;
  flex-direction: column;
}

.monitor-controls-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
}

.animate-flicker {
  animation: flicker 1.2s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.timecode {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-electric);
  letter-spacing: 1px;
}

.monitor-body {
  padding: 0;
  display: flex;
  background: #020205;
}

.monitor-screen {
  flex: 1;
  position: relative;
  overflow-y: auto;
  padding: 24px;
  background: radial-gradient(circle at center, #0a1128 0%, #030611 100%);
  display: flex;
  flex-direction: column;
}

.monitor-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  opacity: 0.6;
  z-index: 10;
}

.screen-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.screen-content.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.screen-header {
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  padding-bottom: 12px;
}

.screen-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.screen-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
  background: linear-gradient(135deg, #fff 0%, var(--blue-electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.screen-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.screen-text p {
  margin-bottom: 12px;
}

.screen-text strong {
  color: var(--blue-cyan);
}

.screen-highlight {
  background: rgba(56, 189, 248, 0.05);
  border-left: 3px solid var(--blue-electric);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
}

/* Bullet item list in screen details */
.screen-bullets {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screen-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
}

.screen-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--blue-electric);
  font-size: 0.8rem;
}

/* Specific item styling for experiences in screen */
.screen-job-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--blue-cyan);
  background: rgba(0, 180, 216, 0.05);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* --- Timeline Panel --- */
.timeline-panel {
  height: 220px;
  background-color: #0b0f19;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  background-color: #070a12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 0 12px;
}

.timeline-bar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timeline-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.control-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  font-size: 0.8rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.control-btn:hover {
  color: var(--blue-electric);
  background: rgba(255, 255, 255, 0.03);
}

.control-btn--play {
  color: var(--blue-electric);
  font-size: 0.9rem;
}

.timeline-info {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.time-marker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.timeline-tracks {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(180deg, #090c15 0%, #07090f 100%);
}

/* Playhead visual overlay */
.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--accent-red);
  z-index: 100;
  pointer-events: none;
  left: 0%; /* Driven by JS script */
  transition: left 0.1s linear; /* slight smoothing */
}

.playhead-handle {
  position: absolute;
  top: 0;
  left: -6px;
  width: 13px;
  height: 13px;
  background-color: var(--accent-red);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
  box-shadow: 0 0 5px var(--accent-red);
}

/* Track row */
.track {
  display: flex;
  height: 38px;
  align-items: center;
  position: relative;
}

.track-header {
  width: 150px;
  min-width: 150px;
  height: 100%;
  background-color: #0d1222;
  border-right: 2px solid var(--border-color);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  z-index: 5;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.track-icon {
  font-size: 0.95rem;
}

.track-info {
  display: flex;
  flex-direction: column;
}

.track-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.track-type {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.track-lane {
  flex: 1;
  height: 100%;
  position: relative;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 50px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* Timeline clips */
.clip {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 4px;
  background-color: var(--blue-navy);
  border: 1px solid var(--blue-cobalt);
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  overflow: hidden;
}

.clip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--blue-electric);
}

.clip-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.clip:hover {
  transform: scaleY(1.05);
  box-shadow: 0 0 10px var(--glow-blue);
  border-color: var(--blue-electric);
  z-index: 10;
}

.clip.active-clip {
  background-color: var(--blue-cobalt);
  border-color: var(--blue-cyan);
  box-shadow: 0 0 12px var(--glow-strong);
}

.clip.active-clip::before {
  background-color: var(--blue-cyan);
}

/* Theme variations for clips */
.clip--rowena { background: #0c2340; border-color: #1d4ed8; }
.clip--namperfume { background: #1e3a8a; border-color: #2563eb; }
.clip--falux { background: #172554; border-color: #1d4ed8; }
.clip--eclipse { background: #1e40af; border-color: #3b82f6; }
.clip--actio { background: #2e1065; border-color: #4c1d95; }

.clip--westcoast { background: #082f49; border-color: #0369a1; }
.clip--lavender { background: #0f172a; border-color: #334155; }
.clip--achievement { background: #14532d; border-color: #15803d; }
.clip--achievement::before { background-color: #22c55e; }

.clip--skills { background: #0f766e; border-color: #0d9488; }
.clip--skills::before { background-color: #14b8a6; }
.clip--ai { background: #6b21a8; border-color: #8b5cf6; }
.clip--ai::before { background-color: #a78bfa; }

.clip--edu { background: #854d0e; border-color: #a16207; }
.clip--edu::before { background-color: #eab308; }
.clip--other-skills { background: #1e293b; border-color: #475569; }

/* Waveform dummy anim */
.waveform-animation {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  opacity: 0.4;
}

.waveform-animation::before,
.waveform-animation::after,
.waveform-animation-bar {
  content: "";
  display: block;
  width: 2px;
  background-color: #fff;
  border-radius: 1px;
}

.waveform-animation::before {
  height: 80%;
  animation: wave 1s ease-in-out infinite alternate;
}
.waveform-animation::after {
  height: 50%;
  animation: wave 0.8s ease-in-out infinite alternate 0.2s;
}

@keyframes wave {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE ADJUSTMENTS FOR SCREEN VIEW
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .workspace {
    grid-template-columns: 280px 1fr;
  }
  .track-header {
    width: 110px;
    min-width: 110px;
  }
}

@media (max-width: 768px) {
  .workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: auto;
    overflow-y: auto;
  }
  
  #web-editor {
    overflow-y: auto;
    height: auto;
  }
  
  .panel--project {
    height: auto;
  }
  
  .panel--monitor {
    height: 380px;
  }
  
  .timeline-panel {
    height: auto;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .timeline-tracks {
    overflow-x: auto;
    height: auto;
  }
  
  .track-lane {
    width: 600px; /* Force overflow scroll on mobile so clip tracks can be clicked */
  }
  
  .playhead {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   4. PRINT LAYOUT / PDF EXPORT STYLE (A4 PORTRAIT)
   -------------------------------------------------------------------------- */
.print-only {
  display: none; /* Hidden on screen by default */
}

@media print {
  #web-editor, .menu-bar, .timeline-panel, .panel-actions, .control-btn {
    display: none !important;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body, html {
    background-color: #ffffff !important;
    color: #0f172a !important;
    overflow: visible !important;
    height: auto !important;
    width: auto !important;
    font-size: 8.5pt !important;
    font-family: var(--font-body);
  }

  .print-only {
    display: block !important;
  }

  @page {
    size: A4 portrait;
    margin: 0 !important; /* Zero margin to allow full-bleed background columns */
  }

  .print-page {
    width: 210mm;
    height: 297mm;
    background-color: #ffffff !important;
    page-break-after: always;
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 75mm 135mm; /* Asymmetric Grid Layout */
    overflow: hidden;
  }

  .print-page:last-child {
    page-break-after: avoid;
  }

  /* Left Column (Dark Blue Sidebar) */
  .print-column--left {
    background-color: #070e24 !important; /* Deep Blue Theme matching web editor */
    color: #e2e8f0 !important;
    padding: 12mm 8mm 12mm 10mm;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    border-right: 1.5px solid rgba(56, 189, 248, 0.25) !important;
  }

  /* Right Column (Light Creative Main Content) */
  .print-column--right {
    background-color: #fafcff !important; /* Ice blue light background */
    color: #0f172a !important;
    padding: 12mm 12mm 12mm 10mm;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
  }

  /* Left Column Header/Title styling */
  .print-column--left .print-section-title {
    font-family: var(--font-heading);
    font-size: 9.5pt;
    font-weight: 800;
    color: var(--blue-electric) !important;
    border-bottom: 1.5px solid rgba(56, 189, 248, 0.3);
    padding-bottom: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Right Column Section Title styling */
  .print-column--right .print-section-title {
    font-family: var(--font-heading);
    font-size: 10pt;
    font-weight: 800;
    color: #03045e !important; /* Deep blue headings */
    border-bottom: 1.5px solid var(--blue-cobalt);
    padding-bottom: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Portrait photo for A4 (Rounded Square grid viewport) */
  .print-avatar-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2px;
    border: 2px solid var(--blue-electric);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .print-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Head not cut off */
  }

  /* Print Header styling inside Right Column */
  .print-header {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--blue-cobalt);
    padding-bottom: 8px;
    margin-bottom: 4px;
  }

  .print-name {
    font-family: var(--font-heading);
    font-size: 17pt;
    font-weight: 800;
    color: #03045e !important;
    letter-spacing: -0.5px;
    line-height: 1.1;
  }

  .print-title {
    font-family: var(--font-heading);
    font-size: 9pt;
    font-weight: 700;
    color: var(--blue-cobalt) !important;
    letter-spacing: 1px;
    margin-top: 2px;
  }
  
  .print-subtitle {
    font-family: var(--font-heading);
    font-size: 7.5pt;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
  }

  .print-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
    margin-top: 8px;
    font-size: 7.2pt;
    color: #475569;
  }

  .print-contact-grid span {
    color: var(--blue-cobalt) !important;
    font-weight: bold;
    margin-right: 2px;
  }

  /* Print Section Summary Box */
  .print-section--summary {
    background: rgba(0, 180, 216, 0.04) !important; /* Tinted quote box */
    border-left: 3px solid var(--blue-electric);
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
    font-size: 7.8pt;
    line-height: 1.4;
    color: #334155;
    margin-bottom: 2px;
  }

  /* Bullet lists (Left Column - Dark Blue) */
  .print-column--left .print-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 7.2pt;
    line-height: 1.35;
    color: #cbd5e1 !important;
  }

  .print-column--left .print-list li {
    position: relative;
    padding-left: 10px;
  }

  .print-column--left .print-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--blue-electric) !important;
    font-size: 6.5pt;
    top: 0px;
  }

  /* Bullet lists (Right Column - Light Grid) */
  .print-column--right .print-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 7.5pt;
    line-height: 1.38;
    color: #334155 !important;
  }

  .print-column--right .print-list li {
    position: relative;
    padding-left: 12px;
  }

  .print-column--right .print-list li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--blue-cobalt) !important;
    font-size: 7pt;
    top: -0.5px;
  }

  .print-column--right .print-list--check li::before {
    content: "✓";
    font-weight: 700;
    color: #16a34a !important;
  }

  /* Education item in print */
  .edu-item {
    display: flex;
    gap: 8px;
    font-size: 7pt;
    line-height: 1.3;
  }

  .edu-year {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--blue-cyan) !important;
    min-width: 28px;
  }

  .edu-info strong {
    color: #ffffff !important;
  }

  .edu-info p {
    color: #cbd5e1 !important;
    margin-top: 1px;
    font-size: 6.5pt;
  }

  /* Job experience items with vertical timeline track */
  .job-timeline-container {
    position: relative;
  }

  .job-timeline-track {
    position: absolute;
    left: 3px;
    top: 4px;
    bottom: 4px;
    width: 1.5px;
    background-color: rgba(0, 119, 182, 0.25) !important;
    z-index: 1;
  }

  .job-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    page-break-inside: avoid;
  }

  .job-item::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 3.5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--blue-cobalt) !important;
    border: 1.5px solid #fafcff !important;
    z-index: 2;
  }

  .job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .job-company {
    font-family: var(--font-heading);
    font-size: 8.5pt;
    font-weight: 700;
    color: #0f172a !important;
  }

  .job-time {
    font-family: var(--font-mono);
    font-size: 7pt;
    color: #64748b !important;
  }

  .job-role {
    font-size: 7.5pt;
    font-weight: 600;
    color: var(--blue-cobalt) !important;
    margin-bottom: 2px;
  }

  .job-tasks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 7.3pt;
    line-height: 1.35;
    color: #334155 !important;
  }

  .job-tasks li {
    position: relative;
    padding-left: 8px;
  }

  .job-tasks li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #64748b !important;
  }

  /* Freelance item */
  .freelance-item {
    font-size: 7.5pt;
    margin-bottom: 4px;
    position: relative;
    padding-left: 10px;
  }
  
  .freelance-item::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 1.5px;
    font-size: 6pt;
    color: var(--blue-cobalt) !important;
  }

  .freelance-item strong {
    color: #0f172a !important;
  }

  .freelance-item p {
    color: #475569 !important;
    line-height: 1.3;
    margin-top: 1px;
  }

  /* QR Code section print */
  .print-qr-section {
    margin-top: 6px;
    align-items: center;
    text-align: center;
  }

  .print-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100%;
  }

  .print-qr-img {
    width: 70px;
    height: 70px;
    background: #ffffff !important;
    padding: 4px;
    border-radius: 6px;
  }

  .print-qr-label {
    font-size: 6pt;
    font-weight: 600;
    color: var(--blue-cyan) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

