/* theme: modern */

.resume-page {
  font-family: 'Inter', sans-serif;
  color: #334155;
  line-height: 1.6;
}

.resume-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 3rem 4rem;
  background-color: #F8FAFC;
  border-bottom: 2px solid var(--resume-accent, #6366F1);
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.header-text { flex: 1; }

.name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.label {
  font-size: 1.25rem;
  color: var(--resume-accent, #6366F1);
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-info, .social-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748B;
}
.social-profiles { margin-top: 0.5rem; }

.contact-item, .social-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-item a, .social-item a { color: inherit; text-decoration: none; transition: color 0.15s; }
.contact-item a:hover, .social-item a:hover { color: var(--resume-accent, #6366F1); }

.resume-icon { width: 1.1rem; height: 1.1rem; color: var(--resume-accent, #6366F1); opacity: 0.8; }

/* Sections */
.resume-section {
  padding: 2rem 4rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #0F172A;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 40px;
  background: var(--resume-accent, #6366F1);
}

.summary-text { font-size: 1rem; color: #475569; }

/* Timeline based layout */
.timeline-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.timeline-item { position: relative; padding-left: 1.5rem; border-left: 2px solid #E2E8F0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--resume-accent, #6366F1);
  border: 2px solid white;
}

.item-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; flex-wrap: wrap; gap: 0.5rem; }
.item-primary { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.item-title { font-size: 1.125rem; font-weight: 600; color: #0F172A; }
.item-subtitle { font-size: 0.95rem; font-weight: 500; color: var(--resume-accent, #6366F1); }
.item-extra { font-size: 0.85rem; color: #64748B; font-family: 'Fira Code', monospace; }
.item-date { font-size: 0.85rem; font-weight: 500; color: #64748B; background: #F8FAFC; padding: 0.2rem 0.5rem; border-radius: 4px; }

.item-summary { font-size: 0.95rem; margin-bottom: 0.5rem; }
.item-highlights { list-style: none; padding-left: 0; font-size: 0.9rem; color: #475569; }
.item-highlights li { position: relative; padding-left: 1.25rem; margin-bottom: 0.25rem; }
.item-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--resume-accent, #6366F1);
  font-weight: bold;
}

/* Pill Grid Layout */
.pill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.pill-group-title { font-size: 1rem; font-weight: 600; color: #0F172A; margin-bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center; }
.item-level { font-size: 0.75rem; font-weight: 500; color: white; background: var(--resume-accent, #6366F1); padding: 0.1rem 0.4rem; border-radius: 10px; }
.pill-items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { font-size: 0.85rem; background: #F1F5F9; color: #334155; padding: 0.3rem 0.6rem; border-radius: 6px; border: 1px solid #E2E8F0; }

/* References */
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.reference-item { background: #F8FAFC; padding: 1.5rem; border-radius: 8px; border-left: 4px solid var(--resume-accent, #6366F1); }
.reference-item p { font-style: italic; color: #475569; margin-bottom: 0.75rem; }
.reference-item footer { font-weight: 600; color: #0F172A; font-size: 0.9rem; }
