/* ============================================
   Resume Templates — Production Quality
   Shared between preview & PDF rendering
   ============================================ */

.resume {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    line-height: 1.55;
    max-width: 800px;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
}

.resume h2.section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8b8fa3;
    margin: 0 0 14px;
    padding-bottom: 6px;
    border-bottom: 1.5px solid #e5e7eb;
    font-weight: 600;
}

.resume .section { margin-bottom: 26px; }

.resume .contact-line {
    font-size: 0.82rem;
    color: #8b8fa3;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.resume .contact-line span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #d1d5db;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.resume .contact-line span:first-child::before { display: none; }

.resume .exp-item { margin-bottom: 18px; }

.resume .exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.resume .exp-title { font-weight: 600; font-size: 0.95rem; }

.resume .exp-dates {
    font-size: 0.78rem;
    color: #8b8fa3;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 16px;
}

.resume .exp-company { color: #6b7280; font-size: 0.88rem; }
.resume .exp-desc { margin: 6px 0 0; font-size: 0.87rem; color: #374151; }

.resume .edu-item { margin-bottom: 12px; }
.resume .edu-name { font-weight: 600; font-size: 0.93rem; }
.resume .edu-details { font-size: 0.85rem; color: #6b7280; }

.resume .skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.resume .skill-tag {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f1f3f5;
    color: #374151;
}

.resume .langs { font-size: 0.88rem; color: #374151; }
.resume .about-text { font-size: 0.88rem; color: #374151; }

.resume .photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ============================================
   Classic — clean, timeless, B&W
   ============================================ */

.resume-classic { padding: 44px 48px; }

.resume-classic .header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 2px solid #1a1a2e;
    margin-bottom: 28px;
}

.resume-classic .header-info h1 {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 2px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.resume-classic .header-info .position {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0 0 8px;
    font-weight: 400;
}

/* ============================================
   Modern — blue accent, timeline feel
   ============================================ */

.resume-modern .header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    padding: 36px 48px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.resume-modern .header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
    letter-spacing: -0.01em;
}

.resume-modern .header .position {
    font-size: 1rem;
    margin: 0 0 8px;
    opacity: 0.9;
    font-weight: 400;
}

.resume-modern .header .contact-line { color: rgba(255,255,255,0.75); }
.resume-modern .header .contact-line span::before { background: rgba(255,255,255,0.35); }
.resume-modern .header .photo { border: 3px solid rgba(255,255,255,0.3); }

.resume-modern .body { padding: 32px 48px; }

.resume-modern h2.section-title {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.resume-modern .exp-item {
    padding-left: 16px;
    border-left: 2px solid #e5e7eb;
}

.resume-modern .exp-company { color: #2563eb; font-weight: 500; }

.resume-modern .skill-tag {
    background: #eff6ff;
    color: #1d4ed8;
}

/* ============================================
   Minimal — airy, light, editorial
   ============================================ */

.resume-minimal { padding: 52px 60px; line-height: 1.75; }

.resume-minimal .header { margin-bottom: 40px; }

.resume-minimal .header h1 {
    font-size: 2.1rem;
    font-weight: 300;
    margin: 0 0 4px;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.resume-minimal .header .position {
    font-size: 0.95rem;
    color: #b0b3bf;
    margin: 0 0 10px;
    font-weight: 300;
}

.resume-minimal .header .contact-line { color: #b0b3bf; font-size: 0.78rem; }
.resume-minimal .header .contact-line span::before { background: #d1d5db; }

.resume-minimal .about-block {
    border-left: 2px solid #e5e7eb;
    padding-left: 20px;
    margin-bottom: 32px;
}

.resume-minimal .about-text {
    font-style: italic;
    color: #6b7280;
    font-size: 0.9rem;
}

.resume-minimal h2.section-title {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: #b0b3bf;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 18px;
}

.resume-minimal .exp-company { color: #b0b3bf; }

.resume-minimal .skills-text {
    font-size: 0.88rem;
    color: #6b7280;
}

/* ============================================
   Professional — sidebar layout
   ============================================ */

.resume-professional {
    display: flex;
    min-height: 1050px;
}

.resume-professional .sidebar {
    width: 240px;
    background: #1a1a2e;
    color: #fff;
    padding: 36px 24px;
    flex-shrink: 0;
}

.resume-professional .sidebar .photo {
    display: block;
    margin: 0 auto 20px;
    border: 3px solid rgba(255,255,255,0.12);
}

.resume-professional .sidebar h3 {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.4);
    margin: 20px 0 10px;
    font-weight: 600;
}

.resume-professional .sidebar .contact-item {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 5px;
    word-break: break-all;
}

.resume-professional .sidebar .skill-item {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    padding: 3px 0;
}

.resume-professional .sidebar .lang-item {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    padding: 2px 0;
}

.resume-professional .sidebar .edu-item { margin-bottom: 10px; }
.resume-professional .sidebar .edu-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}
.resume-professional .sidebar .edu-details {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.5);
}

.resume-professional .main-content {
    flex: 1;
    padding: 36px 32px;
}

.resume-professional .main-content h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.resume-professional .main-content .position {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 24px;
}

.resume-professional .exp-item {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.resume-professional .exp-item:last-child { border-bottom: none; }

/* ============================================
   Compact — dense, two-column body
   ============================================ */

.resume-compact { padding: 28px 36px; font-size: 0.84rem; line-height: 1.5; }

.resume-compact .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a1a2e;
    margin-bottom: 14px;
}

.resume-compact .header h1 {
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: -0.01em;
}

.resume-compact .header .position {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 2px 0 0;
}

.resume-compact .header .contact-right {
    text-align: right;
    font-size: 0.78rem;
    color: #6b7280;
}

.resume-compact .header .contact-right div { margin-bottom: 2px; }

.resume-compact .about-text { margin: 0 0 12px; font-size: 0.82rem; }

.resume-compact .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.resume-compact h2.section-title { margin-bottom: 10px; }
.resume-compact .exp-title { font-size: 0.88rem; }
.resume-compact .exp-dates { font-size: 0.72rem; }
.resume-compact .exp-company { font-size: 0.78rem; }
.resume-compact .exp-desc { font-size: 0.8rem; }
.resume-compact .exp-item { margin-bottom: 12px; }

.resume-compact .skill-tag {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
}
