.code-container {
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
    & .code-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: #2d333b;
      padding: 8px 16px;
      color: #e6edf3;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      
      & .language-label {
        font-size: 14px;
        font-weight: 600;
      }
      
      & .buttons {
        display: flex;
        gap: 8px;
        
        & button {
          background-color: #444c56;
          color: #e6edf3;
          border: none;
          border-radius: 4px;
          padding: 4px 8px;
          font-size: 12px;
          cursor: pointer;
          display: flex;
          align-items: center;
          gap: 4px;
          transition: background-color 0.2s;
          
          &:hover {
            background-color: #545d68;
          }
          
          & svg {
            width: 14px;
            height: 14px;
          }
        }
      }
    }
    
    & .code-block {
      margin: 0;
      padding: 16px;
      overflow: auto;
      background-color: #282c34;
      height: 300px; /* Fixed height */
      
      /* Custom scrollbar styling */
      scrollbar-width: thin;
      scrollbar-color: #444c56 #282c34;
      
      /* For Chrome, Edge, and Safari */
      &::-webkit-scrollbar {
        width: 8px;
        height: 8px;
      }
      
      &::-webkit-scrollbar-track {
        background: #282c34;
      }
      
      &::-webkit-scrollbar-thumb {
        background-color: #444c56;
        border-radius: 4px;
        border: 2px solid #282c34;
      }
      
      &::-webkit-scrollbar-corner {
        background: #282c34;
      }
      
      /* Hide arrows on scrollbar */
      &::-webkit-scrollbar-button {
        display: none;
      }
      
      & code {
        font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
        font-size: 14px;
        line-height: 1.5;
      }
    }
    
    & .copy-notification {
      position: absolute;
      top: 50px;
      right: 16px;
      background-color: #2ea043;
      color: white;
      padding: 6px 12px;
      border-radius: 4px;
      font-size: 12px;
      opacity: 0;
      transition: opacity 0.3s;
      
      &.active {
        opacity: 1;
      }
    }
  }

  /* Language selector styling */
  .language-selector {
    background-color: #444c56;
    color: #e6edf3;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    margin-right: 8px;
  }