.code-container {
    position: relative;
  }
  
  .copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
  }
  
  .copy-button:hover {
    background-color: #e1e1e1;
  }