.page-container-pdf {
    position: relative;
    margin: 20px auto;
    border: 1px solid black;
    display: block;
    width: 894px;
  }
  
  .selection-box-pdf {
    position: absolute;
    border: 2px solid #0055b0;
    background: rgba(0, 123, 255, 0.15);
    cursor: move;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    user-select: none;          /* Standard */
    -webkit-user-select: none;  /* Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;
  }
  
  .selection-box-pdf:hover {
    border-color: #007BFF;
    background: rgba(0, 123, 255, 0.2);
  }
  
  .delete-btn-import-pdf {
    position: absolute;
    top: 0;
    right: 0px;
    background: #dc3545; /* Rouge moderne */
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 2px;
    padding: 5px;
  }
  
  .delete-btn-import-pdf:hover {
    background: #c82333;
  }
  
  .uploader-import-pdf {
    padding: 20px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  }
  
  .uploader-import-pdf h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
  }
  
  .uploader-import-pdf .hint {
    margin: 0 0 12px;
    font-size: 13px;
  }
  
  /* Cache l’input natif */
  #ImportTemplatePdf-fileImport { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
  
  /* Bouton “lite” : outline, fond blanc, micro-hover */
  .btn-file-import-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 5px 0px 0px;
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  .btn-file-import-pdf .icon { width: 20px; height: 20px; opacity: .7; }
  
  .btn-file-import-pdf:hover { transform: translateY(-1px); }
  .btn-file-import-pdf:active { transform: translateY(0); }
  .btn-file-import-pdf:focus-visible { outline: none; border-color: rgba(92,184,92,.45); }
  
  /* Nom de fichier */
  .file-name-import-pdf {
    margin-bottom : 15px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .selection-box-pdf .resize-handle-pdf {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 0, 0, 0.8); /* Bleu moderne et semi-transparent */
    border: 2px solid #fff;             /* Bordure blanche pour le contraste */
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  
  .selection-box-pdf .resize-handle-pdf:hover {
    background: rgba(0, 123, 255, 1);
    transform: scale(1.2);
  }
  
  .selection-box-pdf .top-left { top: -5px; left: -5px; cursor: nwse-resize; }
  .selection-box-pdf .top-right { top: -5px; right: -5px; cursor: nesw-resize; }
  .selection-box-pdf .bottom-left { bottom: -5px; left: -5px; cursor: nesw-resize; }
  .selection-box-pdf .bottom-right { bottom: -5px; right: -5px; cursor: nwse-resize; }