/* ============================================================
   JobzonWallah AI — Premium Design System
   Version 2.0 | jobzonwallah.com
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --jzw-font-heading: 'Playfair Display', serif;
  --jzw-font-body: 'Outfit', sans-serif;
  --jzw-font-[#a83300]: #a83300;
  --jzw-orange: #a83300;
  --jzw-orange-hover: #8c2a00;
  --jzw-orange-light: rgba(168, 51, 0, 0.08);
  --jzw-orange-glow: rgba(168, 51, 0, 0.18);
  --jzw-dark: #2C2C2C;
  --jzw-muted: #666666;
  --jzw-cream: #FAF9F6;
  --jzw-card-bg: #FDFBF7;
  --jzw-white: #ffffff;
  --jzw-border: rgba(168, 51, 0, 0.15);
  --jzw-green: #16a34a;
  --jzw-green-light: rgba(22, 163, 74, 0.1);
  --jzw-red: #dc2626;
  --jzw-red-light: rgba(220, 38, 38, 0.1);
  --jzw-blue: #1a4fd6;
  --jzw-blue-light: rgba(26, 79, 214, 0.08);
  --jzw-radius-card: 2rem;
  --jzw-radius-btn: 0.75rem;
  --jzw-radius-badge: 20px;
  --jzw-shadow: 0 20px 40px -10px rgba(0,0,0,0.04), 0 10px 20px -5px rgba(0,0,0,0.02);
  --jzw-shadow-hover: 0 25px 50px -12px rgba(168, 51, 0, 0.12);
  --jzw-shadow-lifted: 0 30px 60px -15px rgba(0, 0, 0, 0.08);
  --jzw-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base Reset & Module Wrapper ───────────────────────────── */
.jzw-module *,
.jzw-module *::before,
.jzw-module *::after {
  box-sizing: border-box;
}

/* Global Cursor & Caret Fixes across all JZW AI tools and Dashboard */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
.jzw-input,
.jzw-textarea {
  cursor: text !important;
  caret-color: #a83300 !important;
  color: #1a1a1a !important;
}

button,
.jzw-btn,
.jzw-template-card,
.jzw-diff-card,
.jzw-step-pill,
.jzw-next-step,
.jzw-prev-step,
.jzw-link-btn,
.jzw-upload-zone,
label[for],
select,
.jzw-select,
.jzw-live-tpl-btn,
.jzw-hub-card,
.jzw-credit-pack-card,
.jzw-nav-item,
[onclick],
[role="button"] {
  cursor: pointer !important;
}

.jzw-module {
  font-family: var(--jzw-font-body);
  color: var(--jzw-dark);
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.jzw-module h2,
.jzw-module h3,
.jzw-module h4 {
  font-family: var(--jzw-font-heading);
  font-weight: 700;
  color: var(--jzw-dark);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.jzw-module h2 {
  font-size: 26px;
  font-weight: 800;
}

.jzw-module h3 {
  font-size: 20px;
}

.jzw-module p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

/* ── Micro Label ───────────────────────────────────────────── */
.jzw-micro-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--jzw-orange);
  font-family: var(--jzw-font-body);
  margin-bottom: 0.5rem;
}

/* ── Card ──────────────────────────────────────────────────── */
.jzw-card {
  background: var(--jzw-white);
  border: 1px solid var(--jzw-border);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--jzw-shadow);
  transition: var(--jzw-transition);
  position: relative;
}

.jzw-card:hover {
  box-shadow: var(--jzw-shadow-hover);
}

/* ── Form Elements ─────────────────────────────────────────── */
.jzw-form-group {
  margin-bottom: 1.5rem;
}

.jzw-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--jzw-dark);
  margin-bottom: 8px;
  font-family: var(--jzw-font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.jzw-form-hint {
  display: block;
  font-size: 12px;
  color: var(--jzw-muted);
  margin-top: 4px;
}

.jzw-input,
.jzw-textarea,
.jzw-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--jzw-border);
  border-radius: 0.75rem;
  background: #FAF9F6;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--jzw-dark);
  transition: var(--jzw-transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.jzw-input::placeholder,
.jzw-textarea::placeholder {
  color: var(--jzw-muted);
  opacity: 0.6;
}

.jzw-input:focus,
.jzw-textarea:focus,
.jzw-select:focus {
  border-color: var(--jzw-orange);
  background: var(--jzw-white);
  box-shadow: 0 0 0 3px var(--jzw-orange-light);
}

.jzw-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.jzw-select,
select.jzw-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7068' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
  color: #1a1a1a !important;
  background-color: #FAF9F6 !important;
}

.jzw-select option,
select.jzw-select option {
  color: #1a1a1a !important;
  background-color: #ffffff !important;
  font-weight: 500;
  padding: 8px 12px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.jzw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--jzw-radius-btn);
  font-family: var(--jzw-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--jzw-transition);
  text-transform: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.jzw-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.jzw-btn:hover::after {
  opacity: 1;
}

.jzw-btn-primary {
  background: var(--jzw-orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(209, 79, 30, 0.25);
}

.jzw-btn-primary:hover {
  background: var(--jzw-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(209, 79, 30, 0.3);
}

.jzw-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(209, 79, 30, 0.2);
}

.jzw-btn-outline {
  background: transparent;
  border: 1.5px solid var(--jzw-border);
  color: var(--jzw-dark);
}

.jzw-btn-outline:hover {
  border-color: var(--jzw-orange);
  color: var(--jzw-orange);
  background: var(--jzw-orange-light);
}

.jzw-btn-secondary {
  background: var(--jzw-cream);
  color: var(--jzw-dark);
  border: 1px solid var(--jzw-border);
}

.jzw-btn-secondary:hover {
  background: var(--jzw-white);
  border-color: var(--jzw-orange);
  color: var(--jzw-orange);
}

.jzw-btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.jzw-btn-icon {
  padding: 10px;
  border-radius: 8px;
}

.jzw-btn:disabled,
.jzw-btn.jzw-btn-loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.jzw-btn-loading .jzw-btn-text {
  opacity: 0;
}

.jzw-btn-loading::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: jzw-spin 0.65s linear infinite;
}

.jzw-btn-outline.jzw-btn-loading::before,
.jzw-btn-secondary.jzw-btn-loading::before {
  border-color: rgba(14, 14, 14, 0.15);
  border-top-color: var(--jzw-dark);
}

/* ── Hub Grid ──────────────────────────────────────────────── */
.jzw-hub {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.jzw-hub-header {
  text-align: center;
  margin-bottom: 3rem;
}

.jzw-hub-header h2 {
  font-family: var(--jzw-font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.jzw-hub-header p {
  font-size: 16px;
  color: var(--jzw-muted);
  max-width: 520px;
  margin: 0 auto;
}

.jzw-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.jzw-hub-card {
  background: var(--jzw-white);
  border: 1px solid var(--jzw-border);
  border-radius: var(--jzw-radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--jzw-transition);
  box-shadow: var(--jzw-shadow);
  cursor: pointer;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.jzw-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--jzw-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.jzw-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jzw-shadow-lifted);
  border-color: rgba(209, 79, 30, 0.2);
}

.jzw-hub-card:hover::before {
  transform: scaleX(1);
}

.jzw-hub-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--jzw-orange-light);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--jzw-transition);
}

.jzw-hub-card:hover .jzw-hub-card-icon {
  background: var(--jzw-orange-glow);
  transform: scale(1.06);
}

.jzw-hub-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--jzw-orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jzw-hub-card h3 {
  font-family: var(--jzw-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--jzw-dark);
}

.jzw-hub-card p {
  font-size: 14px;
  color: var(--jzw-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Template Selector ─────────────────────────────────────── */
.jzw-template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.jzw-template-card {
  border: 2px solid var(--jzw-border);
  border-radius: var(--jzw-radius-card);
  padding: 1rem;
  cursor: pointer;
  transition: var(--jzw-transition);
  text-align: center;
  position: relative;
}

.jzw-template-card:hover {
  border-color: var(--jzw-orange);
  background: var(--jzw-orange-light);
}

.jzw-template-card.active {
  border-color: var(--jzw-orange);
  background: var(--jzw-orange-light);
  box-shadow: 0 0 0 3px rgba(209, 79, 30, 0.15);
}

.jzw-template-card.active::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 22px;
  height: 22px;
  background: var(--jzw-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.jzw-template-preview {
  height: 100px;
  background: #faf9f7;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  padding: 12px;
  display: flex;
  gap: 8px;
}

.jzw-template-name {
  font-family: var(--jzw-font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--jzw-dark);
}

/* Template mini-previews: Professional */
.jzw-tpl-preview-professional {
  gap: 10px;
}

.jzw-tpl-preview-professional .tpl-mini-sidebar {
  width: 30%;
  background: #1e3a5f;
  border-radius: 4px;
  flex-shrink: 0;
}

.jzw-tpl-preview-professional .tpl-mini-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.jzw-tpl-preview-professional .tpl-mini-content span {
  display: block;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  margin-bottom: 6px;
}

.jzw-tpl-preview-professional .tpl-mini-content span:nth-child(1) { width: 100%; }
.jzw-tpl-preview-professional .tpl-mini-content span:nth-child(2) { width: 80%; }
.jzw-tpl-preview-professional .tpl-mini-content span:nth-child(3) { width: 60%; }
.jzw-tpl-preview-professional .tpl-mini-content span:nth-child(4) { width: 90%; }
.jzw-tpl-preview-professional .tpl-mini-content span:nth-child(5) { width: 45%; }

/* Template mini-previews: Modern */
.jzw-tpl-preview-modern {
  flex-direction: column;
  gap: 0;
}

.jzw-tpl-preview-modern .tpl-mini-topbar {
  height: 8px;
  background: var(--jzw-orange);
  border-radius: 4px;
  margin-bottom: 10px;
  width: 100%;
  flex-shrink: 0;
}

.jzw-tpl-preview-modern .tpl-mini-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.jzw-tpl-preview-modern .tpl-mini-lines span {
  display: block;
  height: 5px;
  background: #e0ddd8;
  border-radius: 3px;
}

.jzw-tpl-preview-modern .tpl-mini-lines span:nth-child(1) { width: 55%; background: #1a1a1a; height: 8px; }
.jzw-tpl-preview-modern .tpl-mini-lines span:nth-child(2) { width: 100%; }
.jzw-tpl-preview-modern .tpl-mini-lines span:nth-child(3) { width: 85%; }
.jzw-tpl-preview-modern .tpl-mini-lines span:nth-child(4) { width: 70%; }

/* Template mini-previews: Minimal */
.jzw-tpl-preview-minimal {
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 14px 16px;
}

.jzw-tpl-preview-minimal .tpl-mini-line {
  height: 5px;
  background: #e0ddd8;
  border-radius: 3px;
  margin-bottom: 4px;
}

.jzw-tpl-preview-minimal .tpl-mini-line:nth-child(1) { width: 45%; background: #333; height: 7px; }
.jzw-tpl-preview-minimal .tpl-mini-line:nth-child(3) { width: 90%; }
.jzw-tpl-preview-minimal .tpl-mini-line:nth-child(5) { width: 75%; }

.jzw-tpl-preview-minimal hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 4px 0;
  width: 100%;
}

/* Template mini-previews: Creative */
.jzw-tpl-preview-creative {
  gap: 10px;
}

.jzw-tpl-preview-creative .tpl-mini-colorbar {
  width: 6px;
  background: linear-gradient(to bottom, var(--jzw-orange), #f59e0b);
  border-radius: 3px;
  flex-shrink: 0;
}

.jzw-tpl-preview-creative .tpl-mini-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.jzw-tpl-preview-creative .tpl-mini-body span {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #e0ddd8;
}

.jzw-tpl-preview-creative .tpl-mini-body span:nth-child(1) { width: 50%; background: var(--jzw-orange); height: 8px; border-radius: 4px; }
.jzw-tpl-preview-creative .tpl-mini-body span:nth-child(2) { width: 100%; }
.jzw-tpl-preview-creative .tpl-mini-body span:nth-child(3) { width: 80%; }
.jzw-tpl-preview-creative .tpl-mini-body span:nth-child(4) { width: 65%; }

/* ── Resume Output — Shared ───────────────────────────────── */
.jzw-resume {
  max-width: 794px;
  margin: 2rem auto;
  background: #fff;
  font-family: var(--jzw-font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--jzw-dark);
  border: 1px solid var(--jzw-border);
  border-radius: var(--jzw-radius-card);
  overflow: hidden;
  box-shadow: var(--jzw-shadow);
}

.jzw-resume-header {
  margin-bottom: 1.5rem;
}

.jzw-resume-name {
  font-family: var(--jzw-font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--jzw-dark);
  margin: 0 0 0.35rem;
}

.jzw-resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 13px;
  color: var(--jzw-muted);
}

.jzw-resume-contact span::before {
  margin-right: 4px;
}

.jzw-resume h2 {
  font-family: var(--jzw-font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 1.5rem 0 0.75rem;
  color: var(--jzw-dark);
}

.jzw-resume-section {
  margin-bottom: 1rem;
}

.jzw-resume-entry {
  margin-bottom: 1rem;
}

.jzw-resume-entry-title {
  font-weight: 700;
  font-size: 14px;
}

.jzw-resume-entry-sub {
  font-size: 13px;
  color: var(--jzw-muted);
  margin-bottom: 0.35rem;
}

.jzw-resume-entry-date {
  font-size: 12px;
  color: var(--jzw-muted);
}

.jzw-resume ul {
  margin: 0.35rem 0 0 1.2rem;
  padding: 0;
}

.jzw-resume li {
  margin-bottom: 0.25rem;
  font-size: 13px;
}

.jzw-skill-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--jzw-radius-badge);
  font-size: 12px;
  font-weight: 600;
  margin: 3px 4px 3px 0;
  background: var(--jzw-cream);
  color: var(--jzw-dark);
  border: 1px solid var(--jzw-border);
}

/* ── Professional Template ─────────────────────────────────── */
.jzw-resume.jzw-tpl-professional {
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-top: 5px solid #1e3a5f;
  font-family: var(--jzw-font-body);
}

.jzw-resume.jzw-tpl-professional .jzw-resume-header {
  text-align: center;
  border-bottom: 3px double #cbd5e1;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.jzw-resume.jzw-tpl-professional .jzw-resume-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1e3a5f;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.jzw-resume.jzw-tpl-professional .jzw-resume-contact {
  justify-content: center;
  color: #475569;
  font-size: 13px;
}

.jzw-resume.jzw-tpl-professional h2 {
  color: #1e3a5f;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #1e3a5f;
  padding-bottom: 4px;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.jzw-resume.jzw-tpl-professional .jzw-skill-tag {
  background: #f1f5f9;
  color: #1e3a5f;
  border: 1px solid #cbd5e1;
  font-weight: 600;
}

/* ── Modern Template ───────────────────────────────────────── */
.jzw-resume.jzw-tpl-modern {
  padding: 2.5rem 2rem;
  background: #fffdfa;
  border-top: 6px solid var(--jzw-orange);
}

.jzw-resume.jzw-tpl-modern .jzw-resume-header {
  margin-bottom: 1.5rem;
  background: #fff8f5;
  border: 1px solid #fde8e0;
  border-radius: 12px;
  padding: 1.5rem;
}

.jzw-resume.jzw-tpl-modern .jzw-resume-header h1 {
  color: #0f172a;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.jzw-resume.jzw-tpl-modern .jzw-res-title {
  color: var(--jzw-orange);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 0.5rem;
}

.jzw-resume.jzw-tpl-modern h2 {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--jzw-orange);
  border-left: 4px solid var(--jzw-orange);
  padding-left: 12px;
  border-bottom: none;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.jzw-resume.jzw-tpl-modern .jzw-skill-tag {
  background: #fff1ec;
  color: #a83300;
  border: 1px solid #fcdad0;
  font-weight: 600;
}

/* ── Minimal Template ──────────────────────────────────────── */
.jzw-resume.jzw-tpl-minimal {
  padding: 2.5rem 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.jzw-resume.jzw-tpl-minimal .jzw-resume-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.jzw-resume.jzw-tpl-minimal .jzw-resume-header h1 {
  font-weight: 400;
  font-size: 30px;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.jzw-resume.jzw-tpl-minimal .jzw-resume-contact {
  color: #64748b;
  font-size: 12px;
}

.jzw-resume.jzw-tpl-minimal h2 {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 4px;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.jzw-resume.jzw-tpl-minimal .jzw-skill-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 500;
}

/* ── Creative Template ─────────────────────────────────────── */
.jzw-resume.jzw-tpl-creative {
  padding: 0;
  background: #ffffff;
}

.jzw-resume.jzw-tpl-creative .jzw-resume-header {
  background: linear-gradient(135deg, #1e293b 0%, #d14f1e 100%);
  color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 1.75rem;
}

.jzw-resume.jzw-tpl-creative .jzw-resume-header h1 {
  color: #ffffff !important;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.jzw-resume.jzw-tpl-creative .jzw-res-title {
  color: #ffe4d6 !important;
  font-weight: 600;
  font-size: 15px;
}

.jzw-resume.jzw-tpl-creative .jzw-resume-contact {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px;
}

.jzw-resume.jzw-tpl-creative .jzw-resume-summary,
.jzw-resume.jzw-tpl-creative .jzw-resume-experience,
.jzw-resume.jzw-tpl-creative .jzw-resume-education,
.jzw-resume.jzw-tpl-creative .jzw-resume-skills {
  padding: 0 1.75rem 1rem;
}

.jzw-resume.jzw-tpl-creative h2 {
  color: #d14f1e;
  font-style: italic;
  font-weight: 800;
  font-size: 17px;
  border-bottom: 2px solid #fed7aa;
  padding-bottom: 4px;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.jzw-resume.jzw-tpl-creative .jzw-skill-tag {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
  border: 1px solid #fdba74;
  font-weight: 700;
}

.jzw-resume.jzw-tpl-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(to bottom, var(--jzw-orange), #f59e0b);
  flex-shrink: 0;
}

.jzw-resume.jzw-tpl-creative .jzw-resume-body {
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  margin-left: 8px;
  flex: 1;
}

.jzw-resume.jzw-tpl-creative .jzw-resume-name {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--jzw-orange), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jzw-resume.jzw-tpl-creative h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--jzw-dark);
  border-bottom: none;
}

.jzw-resume.jzw-tpl-creative h2::before {
  margin-right: 8px;
  font-size: 16px;
}

.jzw-resume.jzw-tpl-creative .jzw-section-experience h2::before { content: '💼'; }
.jzw-resume.jzw-tpl-creative .jzw-section-education h2::before { content: '🎓'; }
.jzw-resume.jzw-tpl-creative .jzw-section-skills h2::before { content: '⚡'; }
.jzw-resume.jzw-tpl-creative .jzw-section-projects h2::before { content: '🚀'; }
.jzw-resume.jzw-tpl-creative .jzw-section-summary h2::before { content: '✨'; }

.jzw-resume.jzw-tpl-creative .jzw-skill-tag {
  background: linear-gradient(135deg, rgba(209, 79, 30, 0.1), rgba(245, 158, 11, 0.1));
  color: var(--jzw-orange);
  border: none;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── Upload Zone ───────────────────────────────────────────── */
.jzw-upload-zone {
  border: 2px dashed var(--jzw-border);
  border-radius: var(--jzw-radius-card);
  padding: 2.5rem;
  text-align: center;
  background: var(--jzw-cream);
  transition: var(--jzw-transition);
  cursor: pointer;
  position: relative;
}

.jzw-upload-zone:hover,
.jzw-upload-zone.dragover {
  border-color: var(--jzw-orange);
  background: var(--jzw-orange-light);
}

.jzw-upload-zone.dragover {
  transform: scale(1.01);
}

.jzw-upload-zone svg {
  width: 48px;
  height: 48px;
  stroke: var(--jzw-muted);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 1rem;
  transition: var(--jzw-transition);
}

.jzw-upload-zone:hover svg,
.jzw-upload-zone.dragover svg {
  stroke: var(--jzw-orange);
  transform: translateY(-2px);
}

.jzw-upload-zone-title {
  font-family: var(--jzw-font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--jzw-dark);
  margin-bottom: 0.25rem;
}

.jzw-upload-hint {
  font-size: 12px;
  color: var(--jzw-muted);
  margin-top: 0.5rem;
}

.jzw-upload-filename {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
  padding: 6px 14px;
  background: var(--jzw-white);
  border: 1px solid var(--jzw-border);
  border-radius: var(--jzw-radius-badge);
  font-size: 13px;
  font-weight: 600;
  color: var(--jzw-orange);
}

/* ── Input Toggle (file vs paste) ──────────────────────────── */
.jzw-input-toggle {
  display: inline-flex;
  border: 1.5px solid var(--jzw-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.jzw-input-toggle button {
  padding: 8px 20px;
  font-family: var(--jzw-font-body);
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--jzw-muted);
  cursor: pointer;
  transition: var(--jzw-transition);
}

.jzw-input-toggle button.active {
  background: var(--jzw-orange);
  color: #fff;
}

/* ── Score Gauge ───────────────────────────────────────────── */
.jzw-score-gauge {
  width: 160px;
  height: 160px;
  position: relative;
  margin: 0 auto 1.5rem;
}

.jzw-score-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.jzw-score-gauge-bg {
  fill: none;
  stroke: var(--jzw-cream);
  stroke-width: 10;
}

.jzw-score-gauge-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
}

.jzw-score-gauge-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.jzw-score-gauge-number {
  font-family: var(--jzw-font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.jzw-score-gauge-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--jzw-muted);
  display: block;
  margin-top: 2px;
}

.jzw-score-good { color: var(--jzw-green); }
.jzw-score-ok { color: var(--jzw-orange); }
.jzw-score-bad { color: var(--jzw-red); }

/* ── Keywords ──────────────────────────────────────────────── */
.jzw-keywords-wrap {
  margin: 1.5rem 0;
}

.jzw-keywords-section-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--jzw-dark);
}

.jzw-keyword {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--jzw-radius-badge);
  font-size: 12px;
  font-weight: 600;
  margin: 4px;
  transition: var(--jzw-transition);
}

.jzw-keyword-present {
  background: rgba(22, 163, 74, 0.1);
  color: var(--jzw-green);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.jzw-keyword-missing {
  background: rgba(220, 38, 38, 0.1);
  color: var(--jzw-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ── Chat Styles ───────────────────────────────────────────── */
.jzw-chat-container {
  max-height: 500px;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--jzw-cream);
  border-radius: var(--jzw-radius-card);
  border: 1px solid var(--jzw-border);
  scroll-behavior: smooth;
}

.jzw-chat-container::-webkit-scrollbar {
  width: 5px;
}

.jzw-chat-container::-webkit-scrollbar-track {
  background: transparent;
}

.jzw-chat-container::-webkit-scrollbar-thumb {
  background: var(--jzw-border);
  border-radius: 10px;
}

.jzw-chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  animation: jzw-fadeIn 0.3s ease;
  position: relative;
  word-wrap: break-word;
}

.jzw-chat-ai {
  background: var(--jzw-white);
  border: 1px solid var(--jzw-border);
  border-bottom-left-radius: 4px;
  margin-right: auto;
}

.jzw-chat-ai::before {
  content: '🤖';
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 14px;
  background: var(--jzw-cream);
  padding: 0 4px;
  border-radius: 4px;
}

.jzw-chat-user {
  background: var(--jzw-orange);
  color: #fff;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.jzw-chat-typing {
  display: flex;
  gap: 5px;
  padding: 14px 22px;
  margin-right: auto;
  max-width: 80px;
  background: var(--jzw-white);
  border: 1px solid var(--jzw-border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  margin-bottom: 12px;
}

.jzw-chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jzw-muted);
  animation: jzw-typing 1.2s ease-in-out infinite;
}

.jzw-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.jzw-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes jzw-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.jzw-chat-input-area {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--jzw-border);
}

.jzw-chat-input-area .jzw-input {
  flex: 1;
}

.jzw-chat-summary {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--jzw-orange-light);
  border: 1px solid rgba(209, 79, 30, 0.15);
  border-radius: var(--jzw-radius-card);
}

.jzw-chat-summary h3 {
  font-family: var(--jzw-font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--jzw-orange);
}

/* ── Job Match Cards ───────────────────────────────────────── */
.jzw-match-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.jzw-match-card {
  background: var(--jzw-white);
  border: 1px solid var(--jzw-border);
  border-radius: var(--jzw-radius-card);
  padding: 1.5rem;
  box-shadow: var(--jzw-shadow);
  transition: var(--jzw-transition);
  position: relative;
  animation: jzw-slideUp 0.35s ease both;
}

.jzw-match-card:hover {
  box-shadow: var(--jzw-shadow-hover);
  transform: translateY(-2px);
}

.jzw-match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.jzw-match-card-title {
  font-family: var(--jzw-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--jzw-dark);
}

.jzw-match-card-company {
  font-size: 13px;
  color: var(--jzw-muted);
  margin-top: 2px;
}

.jzw-match-score {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--jzw-radius-badge);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.jzw-match-score-high {
  background: var(--jzw-green-light);
  color: var(--jzw-green);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.jzw-match-score-medium {
  background: var(--jzw-orange-light);
  color: var(--jzw-orange);
  border: 1px solid rgba(209, 79, 30, 0.2);
}

.jzw-match-score-low {
  background: var(--jzw-red-light);
  color: var(--jzw-red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.jzw-match-card-desc {
  font-size: 14px;
  color: var(--jzw-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.jzw-match-skills-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--jzw-muted);
  margin-bottom: 0.35rem;
}

.jzw-match-skill-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--jzw-radius-badge);
  font-size: 11px;
  font-weight: 600;
  margin: 3px 3px 3px 0;
}

.jzw-match-skill-matched {
  background: var(--jzw-green-light);
  color: var(--jzw-green);
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.jzw-match-skill-missing {
  background: var(--jzw-cream);
  color: var(--jzw-muted);
  border: 1px solid var(--jzw-border);
}

/* ── Credits / Pricing ─────────────────────────────────────── */
.jzw-credits-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--jzw-cream);
  border: 1px solid var(--jzw-border);
  border-radius: var(--jzw-radius-badge);
  font-size: 13px;
  font-weight: 600;
  color: var(--jzw-dark);
}

.jzw-credits-bar svg {
  width: 18px;
  height: 18px;
  stroke: var(--jzw-orange);
  fill: none;
}

.jzw-credits-bar .jzw-credit-count {
  color: var(--jzw-orange);
  font-weight: 700;
}

.jzw-credit-packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.jzw-credit-pack {
  background: var(--jzw-white);
  border: 2px solid var(--jzw-border);
  border-radius: var(--jzw-radius-card);
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--jzw-transition);
  position: relative;
}

.jzw-credit-pack:hover {
  border-color: var(--jzw-orange);
  box-shadow: var(--jzw-shadow-hover);
  transform: translateY(-2px);
}

.jzw-credit-pack.active {
  border-color: var(--jzw-orange);
  background: var(--jzw-orange-light);
  box-shadow: 0 0 0 3px rgba(209, 79, 30, 0.12);
}

.jzw-credit-pack.popular::before {
  content: 'Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--jzw-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--jzw-radius-badge);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jzw-credit-pack-credits {
  font-family: var(--jzw-font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--jzw-orange);
  line-height: 1;
}

.jzw-credit-pack-label {
  font-size: 13px;
  color: var(--jzw-muted);
  margin: 4px 0 12px;
  font-weight: 500;
}

.jzw-credit-pack-price {
  font-family: var(--jzw-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--jzw-dark);
}

.jzw-credit-pack-price .jzw-currency {
  font-size: 14px;
  font-weight: 600;
  vertical-align: top;
  margin-right: 1px;
}

/* ── Result Container ──────────────────────────────────────── */
.jzw-result {
  display: none;
  margin-top: 2rem;
}

.jzw-result.active {
  display: block;
  animation: jzw-fadeIn 0.4s ease;
}

.jzw-result-content {
  background: var(--jzw-white);
  border: 1px solid var(--jzw-border);
  border-radius: var(--jzw-radius-card);
  padding: 2rem;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  max-height: 500px;
  overflow-y: auto;
}

.jzw-result-content::-webkit-scrollbar {
  width: 5px;
}

.jzw-result-content::-webkit-scrollbar-thumb {
  background: var(--jzw-border);
  border-radius: 10px;
}

.jzw-result-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ── Login Prompt ──────────────────────────────────────────── */
.jzw-login-prompt {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--jzw-cream);
  border: 1px solid var(--jzw-border);
  border-radius: var(--jzw-radius-card);
}

.jzw-login-prompt svg {
  width: 48px;
  height: 48px;
  stroke: var(--jzw-muted);
  fill: none;
  margin-bottom: 1rem;
}

.jzw-login-prompt h3 {
  font-family: var(--jzw-font-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.jzw-login-prompt p {
  color: var(--jzw-muted);
  margin-bottom: 1.5rem;
}

/* ── Utilities ─────────────────────────────────────────────── */
.jzw-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.jzw-col-2 {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 220px;
}

.jzw-text-center { text-align: center; }
.jzw-text-muted { color: var(--jzw-muted); }
.jzw-mb-0 { margin-bottom: 0; }
.jzw-mb-1 { margin-bottom: 0.5rem; }
.jzw-mb-2 { margin-bottom: 1rem; }
.jzw-mb-3 { margin-bottom: 1.5rem; }
.jzw-mt-2 { margin-top: 1rem; }
.jzw-mt-3 { margin-top: 1.5rem; }

.jzw-error-msg {
  color: var(--jzw-red);
  font-size: 13px;
  font-weight: 600;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.jzw-error-msg::before {
  content: '⚠';
  font-size: 14px;
}

.jzw-divider {
  border: none;
  border-top: 1px solid var(--jzw-border);
  margin: 1.5rem 0;
}

/* ── Loading Spinner ───────────────────────────────────────── */
.jzw-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  flex-direction: column;
  gap: 1rem;
}

.jzw-loading::before {
  content: '';
  width: 36px;
  height: 36px;
  border: 3px solid var(--jzw-border);
  border-top-color: var(--jzw-orange);
  border-radius: 50%;
  animation: jzw-spin 0.7s linear infinite;
}

.jzw-loading-text {
  font-size: 14px;
  color: var(--jzw-muted);
  font-weight: 500;
}

/* ── Toast Notifications ───────────────────────────────────── */
.jzw-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: var(--jzw-font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  z-index: 99999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  max-width: 380px;
  line-height: 1.45;
}

.jzw-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.jzw-toast-success {
  background: var(--jzw-green);
}

.jzw-toast-error {
  background: var(--jzw-red);
}

.jzw-toast-info {
  background: var(--jzw-blue);
}

/* ── Suggestions ───────────────────────────────────────────── */
.jzw-suggestions {
  margin-top: 1.5rem;
}

.jzw-suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--jzw-border);
  font-size: 14px;
  line-height: 1.55;
}

.jzw-suggestion-item:last-child {
  border-bottom: none;
}

.jzw-suggestion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--jzw-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

/* ── Setup Phase (interview) ───────────────────────────────── */
.jzw-setup-phase {
  animation: jzw-fadeIn 0.3s ease;
}

.jzw-chat-phase {
  animation: jzw-fadeIn 0.3s ease;
}

.jzw-difficulty-options {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.jzw-difficulty-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--jzw-border);
  border-radius: 8px;
  background: transparent;
  font-family: var(--jzw-font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--jzw-transition);
  text-align: center;
  color: var(--jzw-dark);
}

.jzw-difficulty-btn:hover {
  border-color: var(--jzw-orange);
  background: var(--jzw-orange-light);
}

.jzw-difficulty-btn.active {
  border-color: var(--jzw-orange);
  background: var(--jzw-orange);
  color: #fff;
}

/* ── Keyframe Animations ───────────────────────────────────── */
@keyframes jzw-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jzw-spin {
  to { transform: rotate(360deg); }
}

@keyframes jzw-slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jzw-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes jzw-scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Print Styles ──────────────────────────────────────────── */
@media print {
  body * {
    visibility: hidden;
  }
  .jzw-resume,
  .jzw-resume * {
    visibility: visible;
  }
  .jzw-resume {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 1.5rem;
  }
  .jzw-result-actions {
    display: none !important;
  }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .jzw-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jzw-hub-header h2 {
    font-size: 26px;
  }

  .jzw-credit-packs {
    grid-template-columns: repeat(2, 1fr);
  }

  .jzw-module {
    padding: 1.5rem 1rem;
  }

  .jzw-card {
    padding: 1.5rem;
  }

  .jzw-resume.jzw-tpl-professional {
    flex-direction: column;
  }

  .jzw-resume.jzw-tpl-professional .jzw-resume-sidebar,
  .jzw-resume.jzw-tpl-professional .jzw-resume-main {
    width: 100%;
  }

  .jzw-chat-bubble {
    max-width: 90%;
  }

  .jzw-row {
    flex-direction: column;
  }

  .jzw-col-2 {
    flex: 1 1 100%;
  }

  .jzw-match-card-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .jzw-hub-grid {
    grid-template-columns: 1fr;
  }

  .jzw-hub {
    padding: 2rem 0.75rem;
  }

  .jzw-hub-header h2 {
    font-size: 22px;
  }

  .jzw-template-grid {
    grid-template-columns: 1fr;
  }

  .jzw-credit-packs {
    grid-template-columns: 1fr;
  }

  .jzw-module h2 {
    font-size: 22px;
  }

  .jzw-btn {
    width: 100%;
    justify-content: center;
  }

  .jzw-result-actions {
    flex-direction: column;
  }

  .jzw-difficulty-options {
    flex-direction: column;
  }

  .jzw-upload-zone {
    padding: 1.75rem 1rem;
  }

  .jzw-chat-input-area {
    flex-direction: column;
  }

  .jzw-chat-input-area .jzw-btn {
    width: 100%;
  }

  .jzw-score-gauge {
    width: 130px;
    height: 130px;
  }

  .jzw-score-gauge-number {
    font-size: 32px;
  }

  .jzw-resume {
    font-size: 13px;
  }

  .jzw-resume-name {
    font-size: 22px;
  }

  .jzw-credits-bar {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ============================================================
   Resume Builder Template Styles (for PDF & HTML Export)
   ============================================================ */

.jzw-resume {
  display: block !important;
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Hanken Grotesk', sans-serif;
  line-height: 1.6;
  font-size: 11pt;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

/* Force every direct child of the resume to be a full-width block */
.jzw-resume > * {
  display: block !important;
  width: 100% !important;
  float: none !important;
}

.jzw-resume h1, .jzw-resume h2, .jzw-resume h3 {
  margin-top: 0;
  color: #000000;
}

.jzw-resume-header {
  margin-bottom: 25px;
}

.jzw-resume-summary,
.jzw-resume-experience,
.jzw-resume-education,
.jzw-resume-skills {
  margin-bottom: 25px;
}

.jzw-skill-tag {
  display: inline-block;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 4px;
  margin: 0 6px 6px 0;
  font-size: 0.9em;
}

/* 1. Professional Template */
.jzw-tpl-professional {
  font-family: 'Times New Roman', serif;
}
.jzw-tpl-professional .jzw-resume-header {
  text-align: center;
  border-bottom: 2px solid #000;
  padding-bottom: 15px;
}
.jzw-tpl-professional h2 {
  text-transform: uppercase;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  font-size: 14pt;
  margin-bottom: 15px;
}

/* 2. Modern Template */
.jzw-tpl-modern {
  font-family: 'Hanken Grotesk', sans-serif;
}
.jzw-tpl-modern .jzw-resume-header {
  text-align: left;
  border-left: 4px solid #a83300;
  padding-left: 20px;
}
.jzw-tpl-modern h2 {
  color: #a83300;
  font-weight: 700;
  font-size: 16pt;
}

/* 3. Minimal Template */
.jzw-tpl-minimal {
  font-family: 'Inter', sans-serif;
  color: #333;
}
.jzw-tpl-minimal .jzw-resume-header {
  text-align: left;
  margin-bottom: 40px;
}
.jzw-tpl-minimal h1 {
  font-weight: 300;
  font-size: 28pt;
  letter-spacing: -1px;
}
.jzw-tpl-minimal h2 {
  font-size: 12pt;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
}

/* 4. Creative Template */
.jzw-tpl-creative {
  font-family: 'Playfair Display', serif;
}
.jzw-tpl-creative .jzw-resume-header {
  background: #a83300;
  color: #fff;
  padding: 30px;
  margin: -40px -40px 30px -40px;
  text-align: center;
}
.jzw-tpl-creative .jzw-resume-header h1 {
  color: #fff;
}
.jzw-tpl-creative h2 {
  font-style: italic;
  color: #a83300;
}
.jzw-tpl-creative .jzw-skill-tag {
  background: rgba(168, 51, 0, 0.1);
  color: #a83300;
  border: 1px solid #a83300;
}

/* ── Multi-Step Resume Wizard Styles ────────────────────────── */
.jzw-wizard-header h2 {
  font-family: var(--jzw-font-heading);
  color: var(--jzw-dark);
}

.jzw-stepper-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.jzw-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid #e5e7eb;
}

.jzw-step-pill:hover {
  border-color: #a83300;
  color: #a83300;
}

.jzw-step-pill.completed {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.jzw-step-pill.active {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.jzw-step-pill .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
}

.jzw-step-pill.active .step-num,
.jzw-step-pill.completed .step-num {
  background: rgba(255, 255, 255, 0.25);
}

.jzw-ai-improve-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  border: 1.5px solid #fdba74;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.1);
}

.jzw-ai-improve-btn:hover {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  border-color: #f97316;
  color: #9a3412;
  transform: translateY(-1px);
}

.jzw-ai-improve-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
