/* =========================================================
   NeroPsIA — RÉSUMÉ PDF / REPRISE
========================================================= */

.summary-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #dde3ea;
}

.summary-export-actions button {
  padding: 9px 13px;
  border: 0;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.summary-copy-button {
  background: #e9edf2;
  color: #536174;
}

.summary-pdf-button {
  background: #203b60;
  color: #fff;
}

.summary-export-actions button:disabled {
  opacity: .55;
  cursor: default;
}

.resume-home-box {
  max-width: 760px;
  margin: 18px auto 24px;
  padding: 18px 20px;
  border: 1px solid rgba(30, 55, 85, .08);
  border-radius: 17px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(4px);
  text-align: center;
  box-shadow: 0 8px 24px rgba(20,35,55,.05);
}

.resume-home-box strong {
  display: block;
  margin-bottom: 6px;
  color: #263b58;
  font-size: 14px;
}

.resume-home-box p {
  max-width: 610px;
  margin: 0 auto 12px;
  color: #687588;
  font-size: 12px;
  line-height: 1.5;
}

.resume-home-box button {
  padding: 10px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  color: #203b60;
  font-size: 12px;
  font-weight: 600;
}

body.resume-import-open {
  overflow: hidden;
}

.resume-import-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20,32,48,.48);
  backdrop-filter: blur(5px);
}

.resume-import-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255,255,255,.99);
  box-shadow: 0 24px 70px rgba(13,28,48,.22);
}

.resume-import-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f6;
  color: #687588;
  font-size: 21px;
}

.resume-import-modal h2 {
  margin: 0 40px 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #203b60;
  font-size: 26px;
  font-weight: 500;
}

.resume-import-meta {
  margin-bottom: 18px;
  color: #7a8797;
  font-size: 12px;
}

.resume-import-explainer {
  margin: 0 0 12px;
  color: #536174;
  font-size: 13px;
  line-height: 1.55;
}

#resume-import-context {
  width: 100%;
  min-height: 330px;
  resize: vertical;
  padding: 14px;
  border: 1px solid #cfd7e1;
  border-radius: 13px;
  background: #fbfcfd;
  color: #354155;
  font-size: 13px;
  line-height: 1.55;
}

.resume-import-note {
  margin: 8px 0 0;
  color: #8994a3;
  font-size: 10px;
  line-height: 1.45;
}

.resume-import-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}

.resume-import-actions button {
  padding: 10px 15px;
  border: 0;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
}

.resume-import-cancel {
  background: #e9edf2;
  color: #536174;
}

.resume-import-confirm {
  background: #203b60;
  color: #fff;
}

@media(max-width: 600px) {
  .resume-import-overlay {
    padding: 10px;
  }

  .resume-import-modal {
    padding: 26px 18px 20px;
    max-height: calc(100vh - 20px);
  }

  #resume-import-context {
    min-height: 280px;
  }

  .resume-import-actions,
  .summary-export-actions {
    flex-direction: column;
  }

  .resume-import-actions button,
  .summary-export-actions button {
    width: 100%;
  }
}
