/* ============================================
   FILE: resume.css
   PURPOSE: Resume section — preview, buttons, state
   ============================================ */

.resume-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ── Preview Box ── */
.resume-preview-box {
  width: 340px;
  min-height: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.resume-preview-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: linear-gradient(
  135deg,
  var(--accent-primary),
  var(--accent-secondary),
  transparent 60%
);
  opacity: 0;
  transition: opacity 0.4s;
 z-index: 0;
  padding: 1px;
}

.resume-preview-box:hover {
  box-shadow: var(--shadow-card), var(--glow-intense);
  transform: translateY(-6px);
}



.resume-preview-box:hover::before { opacity: 0.4; }

.resume-preview,
.resume-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ── Empty State ── */
.resume-empty {
  text-align: center;
  padding: 60px 28px;
border: 1px dashed var(--border-hover);
  border-radius: var(--radius-md);
background: var(--bg-elevated);
  width: 100%;
  max-width: 500px;
}

.resume-empty i {
  font-size: 2.5rem;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: block;
}

.resume-empty h3 {
  color: var(--accent-primary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.resume-empty p {
  color: var(--text-faint);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

/* ── Placeholder ── */
.resume-placeholder {
  font-family: var(--font-mono);
  color: var(--text-faint);
  text-align: center;
  padding: 24px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* ── Actions ── */
.resume-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Updated Text ── */
.resume-updated {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.resume-updated i { color: var(--accent-primary); }

/* ── Note ── */
.resume-note {
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
  max-width: 460px;
  line-height: 1.6;
}

.resume-note i    { color: var(--accent-secondary); }
.resume-note code { color: var(--accent-primary); font-family: var(--font-mono); }